@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
body{
    background-color: aliceblue;
    /* overflow: hidden; */

}
.title{
    font-family: "Futura";
    font-weight: bold;
    font-size: 104px;
    text-align: center;
    position: relative;
    top: 10vh;
    transition: 1s;
}

#inputContainer{
    position: relative;
    top: -120px;
    transition: .5s;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
.topic{
    font-family: "Futura";
    position: relative;
    /* top: 5vh; */
    font-size: 64px;
    font-weight: bold;

    opacity: 0;
    transition: 1s 1s;
    text-align: center;
}
#topic{
    font-family: "Futura";
    padding: 0px 10px;
    width: 400px;
    height: 64px;
    font-size: 32px;
    border: 3px solid black;
    outline: none;
}
#slogan{
    font-family: "Futura";
    margin-top: 20px;
    padding: 0px 10px;
    width: 600px;
    height: 96px;
    font-size: 40px;
    border: 3px solid black;
    outline: none;

}
.button{
    font-family: "Futura";
    font-weight: lighter;
    margin-top: 20px;
    width: 240px;
    height: 64px;
    font-size: 30px;
    background-color: black;
    border: 4px solid black;
    color: white;
    transition: color .1s, background-color .1s, scale .1s;
}
.button:hover{
    background-color: inherit;
    color: black;
}

.button:active{
    transform: scale(0.9);
    outline: none;
}
.falseLetters{
    height: fit-content;
    display: flex;
    position: relative;
    /* top: 10vh; */
    flex-wrap: wrap;
    transition: .5s;
    align-items: center;
    align-self: center;
    transition: .5s 1s;
    justify-content: center;
    height: 120px;
}
.falseLetters p{
    font-weight: bold;
    font-family: sans-serif;
    width: 60px;
    height: 80px;
    margin-left: 5px;
    margin-top: 0px;
    color: white;
    background-color: red;
    font-size: 40px;
    text-align: center;
    line-height: 80px;
    border-radius: 5px;
}
.falseLetter{
    animation: false .5s;
}
@keyframes false{
    0%{
        transform: scale(0);
    }
    50%{
        transform: scale(1.2);
    }
    100%{
        transform: scale(1);
    }
}
.alertDiv{
    color: red;
    font-family: 'Righteous', cursive;
    width: 300px;
    height: 50px;
    position: relative;
    /* top: 10vh; */
    left: calc(50% - 150px);
    text-align: center;
    font-size: 20px;
    animation: scaling 1s;
}
@keyframes scaling{
    0%{
        transform: scale(0);
    }
    50%{
        transform: scale(2);
    }
    100%{
        transform: scale(1);
    }
}
#container{
    height: fit-content;
    display: flex;
    position: relative;
    /* top: 15vh; */
    flex-wrap: wrap;
    opacity: 0;
    transition: .5s;
    align-items: center;
    align-self: center;
    transform: scale(0);
    transition: .5s 1s;
    justify-content: center;
}
.word{
    margin: 10px 25px;
    /* margin-left: 15px;
    margin-right: 15px; */
}
.box{
    font-family: sans-serif;
    font-weight: bold;
    width: 60px;
    height: 80px;
    margin: 5px 5px;
    color: white;
    background-color: white;
    font-size: 40px;
    text-align: center;
    line-height: 80px;
    border-radius: 5px;
    transform: rotateY(0deg);
    float: left;
    transition: 1s;

    -webkit-box-shadow: 0px 6px 19px 5px rgba(0,0,0,0.21); 
    box-shadow: 0px 6px 19px 5px rgba(0,0,0,0.21);
}
.uncoverAdded{
    background-color: white;
    color: white;
    animation: turnGreen .8s .2s forwards;
    transition: 1s;
    transform: rotateY(180deg);
    /* border: 1px solid; */
    cursor: pointer;
}
@keyframes turnGreen{
    from{
        color: white;
        background-color: white;
    }
    to{
        color: green;
        background-color: green;
    }
}
.clicked{
    background-color: green;
    color: green;
    transform: rotateY(0deg);
    /* border: 1px solid; */
    transition: 1s;
    animation: clicked .8s .2s forwards;
}
@keyframes clicked{
    from{
        color: green;
        background-color: green;
    }
    to{
        color: black;
        background-color: white;
    }
}
.break{
    float: left;
    border-radius: 2px;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 65px;
    width: 5px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: black;
}
#show{
    position: fixed;
    /* transform: scale(0); */
    margin-top: 0px;
    top: 40px;
    left: 40px;
    /* transition: .5s 1.5s; */
    font-size: 15px;
    width: 150px;
    height: 40px;
    outline: none;
    border: 3px solid #373737;
}
#newGame{
    position: fixed;
    /* transform: scale(0); */
    margin-top: 0px;
    right: 40px;
    top: 40px;
    width: 150px;
    height: 40px;
    font-size: 15px;
    border: 3px solid #373737;

    /* transition: .5s 1.5s; */
    outline: none;
}
#random{
    position: relative;
    outline: none;

}
#randomNumbers{
    outline: none;
}
.appear{
    /* position: absolute; */
    margin-top: 0px;
    left: calc(50% - 75px);
    top: -50%;
    /* transform: scale(0); */
    transition: transform .5s 1.5s;
}
.scaling{
    animation: scalingRandom 2.5s;
    -webkit-animation: scalingRandom 2.5s;
}
@keyframes scalingRandom{
    0%{
        transform: scale(1);
    }
    20%{
        width: 200px;
        height: 200px;
        border-radius: 100px;
    }
    50%{
        transform: scale(2) translateY(-50px) rotate(1080deg);
        width: 200px;
        height: 200px;
        border-radius: 100px;
    }
    70%{
        transform: scale(2) translateY(-50px) rotate(1080deg);
        width: 200px;
        height: 200px;
        border-radius: 100px;
    }
    80%{
        transform: scale(2) translateY(-50px) rotate(1080deg);
        width: 200px;
        height: 200px;
        border-radius: 100px;
    }
    /* 50%{
        transform: scale(2) translateY(-100%) rotate(360deg);
    } */
    /* 80%{
        transform: scale(1) translateY(-100%) rotate(360deg);
    } */
    100%{
        transform: scale(1) rotate(0deg);
    }
}
@-webkit-keyframes scalingRandom{
    0%{
        -webkit-transform: scale(1);
    }
    20%{
        width: 200px;
        height: 200px;
        border-radius: 100px;
    }
    50%{
        -webkit-transform: scale(2) translateY(-50px) rotate(1080deg);
        width: 200px;
        height: 200px;
        border-radius: 100px;
    }
    70%{
        -webkit-transform: scale(2) translateY(-50px) rotate(1080deg);
        width: 200px;
        height: 200px;
        border-radius: 100px;
    }
    80%{
        -webkit-transform: scale(2) translateY(-50px) rotate(1080deg);
        width: 200px;
        height: 200px;
        border-radius: 100px;
    }
    100%{
        -webkit-transform: scale(1) rotate(0deg);
    }
}
.bottomContainer{
    position: relative;
    margin-left: auto;
    margin-right: auto;
    top: 20vh;
    width: 500px;
    opacity: 0;
    transition: opacity .5s 1.5s;
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 60px; */
}
.scale{
    transform: scale(0);
}



.secondaryButton{
    background-color: inherit;
    color: black;
}
.secondaryButton:hover{
    background-color: black;
    color: white;
}





