*{
    margin: 0;
    padding: 0;
}

html{
    font-family: x-locale-heading-primary,zillaslab,Palatino,"Palatino Linotype",x-locale-heading-secondary,serif;
    font-size: 16pt;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-image: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
}
body{
    width: inherit;
    height: inherit;
}
header{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}
h1{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 10vh;
    text-align: center;
}
h1{
    padding: 24px 24px;
    animation: lightening 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate ;
}
@keyframes lightening {
    0%{
        color: rgba(255,255,255,0.8);
    }
    20%{
        color: rgba(1,1,1,0.8);
    }
    40%{
        color: rgba(255,100,100,0.8);
    }
    60%{
        color: rgba(225,255,255,0.8);
    }
    80%{
        color: rgba(1,1,1,0.8);
    }
    100%{
        color: rgba(1,1,1,0.8);
    }
}

main{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    height: 90vh;
}
section{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: flex-start;
    width: 400px;
    height: 200px;
}
.lid{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-content: center;
    align-items: center;
    width: 150px;
    height: 60px;
    border-radius: 30px;
    font-size: 20pt;
    color: rgba(255,255,255,0.8);
    background-color: #168e5b;
}
i:hover{
    color: white;
    cursor: pointer;
}
.content{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    position: absolute;
    width: 150px;
    height: 60px;
    border-radius: 30px;
    background-color: white;
    color: rgba(1,1,1,0.0);
    z-index: 9999;
    cursor: pointer;
}
.content:hover{
    color: rgba(1,1,1,0.5);
}
/*cubic-bezier(0.175, 0.885, 0.32, 1.275)*/
.animate{
    animation: open 1s ease-in-out  forwards;
    transform-origin: center top;

}
@keyframes open {
    0%{
        transform: rotateX(0deg);
        transform-style: preserve-3d;
    }
    100%{
        transform: rotateX(180deg);
        transform-style: preserve-3d;
    }
}
.animate-out{
    animation: close 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transform-origin: center top;
}
@keyframes close {
    0%{
        transform: rotateX(180deg);
        transform-style: preserve-3d;
    }
    100%{
        transform: rotateX(0deg);
        transform-style: preserve-3d;
    }
}
#thank{
    display: none;
    position: absolute;
    font-size: 16pt;
    color: rgba(255,255,255,0.8);
}
