@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');

* {
    margin: 0;
    padding: 0;
}


body {
    /* display: flex;
    flex-direction: column-reverse;
    justify-items: center;
    justify-content: center; */
    background: #101010;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    cursor: crosshair;
}

/* button {
    border-radius: 5px;
    text-transform: uppercase;
    border: none;
    background-color:#43B0F1;
    padding: 1em;
    font-family: 'Josefin Sans', sans-serif;
    color: #fff;
    font-size: 20px;
    margin: .5em .2em .4em .2em;
    transition: transform .2s ease-in;
    animation: bubble-in;
}

button:hover {
    transform: scale(1.11);
    color: #b3d6f5;
    background: #1471af;
}

button:active {
    transform: scale(0.9);
    color: #ffffff;
    background: #14283a;
} */
.container {
    display: flex;
    justify-content: center;
}
.header {
    /* text-align: center; */
    position: absolute;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    color: #fff;
    /* font-size: 35px; */
    margin: 2em 0 0 0 ;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header p {
    font-size: 25px;
}

.title {
    margin-top: 10px; 
    font-size: 19px;
    word-wrap: break-word;
}

.functions {
    margin: .5em 0 0 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 0;
}

/* .btnToggle {
    margin: 0 0 0 0;
    transition: all 0.3s ease-in-out;
    color: #000;
} */

.btnToggle:hover{
    background-color: rgb(102, 102, 102);
    color: #000;
}
.header hr {
    color: #ececec;
    margin: auto;
    width: 45%;
    animation : slide-in2 .7s ease-in-out;

}

.hostCanvas {
    display: flex;
    justify-content: center;
}



@keyframes SlideOut {
    0% {
        font-size: 35px;
        opacity: 0;
        margin: 15em 0 25em 0;
    }
    25% {
        opacity: 1;
        margin: 15em 0 25em 0;
    }
    50% {
        margin: 15em 0 25em 0;
    }
    75% {
        margin: 15em 0 25em 0;
        font-size: 35px;
    }
    to {
        margin: 1em 0 0 0;
        font-size: 15px;
    }
}

input {
    border: 1px solid #fff;
    border-radius:2px;
    margin: 5px;
    font-family: Poppins;
    text-align: center;
    width: 65px;
}

canvas {
    /* border-radius: 10px; */
    margin-top: 15em;
    display: block;
    position: absolute;
    background-color: #ffffff;
    width: 75vw;
    height: 75vh;
    animation : slide-in .7s ease-in-out;
    padding: 1px;
}

@keyframes slide-in {
    from {
        width: 20px;
        height: 20px;
        opacity: 0;
    }
}

@keyframes slide-in2 {
    from {
        width: 20px;
        opacity: 0;
    }
}

@keyframes bubble-in {
    from {
        width: 20px;
        height: 20px;   
    }
}


/* Responsive Canvas*/
@media (min-width:720px) {
    canvas {
        margin-top: 17em;
        height: 70vh;
        width: 70vw;
    }
}

@media (max-width:990px) {
    canvas {
        height: 80vh;
        width: 80vw;
    }
    .header {
        margin-top:.5em;
    }
}

@media (max-width:450px) {
    canvas {
        margin-top: 22em;
        height: 50vh;
        width: 50vw;
    }
    .notice {
        font-size:12px;
    }
    .functions {
        align-items: center;
        flex-direction: column;
    }
    .functions button {
        margin-top:.2em;
    }
    input {
        width: 100px;
    }
    .header p {
        font-size: 15px;
    }
    .title p{
        font-size:25px;
    }

}