*{
    font-family: 'Indie Flower', cursive;
}

body{
    height: 100vh;
    margin: 0;
}

h1{
    margin: 0;
    text-align: center;
    padding-top: 10px;
}

#underLetter>div{
    margin-left: 2px;
    margin-right: 2px;
    font-size: 2em;
}

#underLetter{
    display: flex;
    justify-content: center;
}

#listOfLetter{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#listOfLetter>button{
    font-size: 2em;
    width: 50px;
    height: 50px;
    padding: 5px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    outline: inherit;
}

section{
    position: absolute;
    bottom: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

section>div:nth-child(3){
    font-size: 1.5em;
    text-align: center;
    margin-top: 2%;
}

#modal{
    opacity: 0;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s;
    z-index: -1;
}

#modal>div{
    background-color: white;
    border-radius: 25px;
    border: solid 5px black;
    width: 60%;
    margin: auto;
    padding: 5%;
    text-align: center;
    font-size: 1.5em;
}

#modal a{
    color: black;
    text-decoration: unset;
    border: solid 1px black;
    border-radius: 5px;
    padding: 2%;
}

#life{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-bottom: 5%;
}

#life>div{
    position: absolute;
    font-size: 1.5em;
}

i{
    font-size: 4em;
    color: #b82d2d;
}

/* Animation */

.oof{
    -webkit-animation-name: cssAnimation;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease;
    -webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes cssAnimation{

    0% {
      -webkit-transform: scale(1);
    }
    50% {
      -webkit-transform: scale(1.2);
    }
    100%{
       -webkit-transform: scale(1);
    }

}
