* {
    margin: 0;
    padding: 0;
}

body {
    /* display: flex;
    flex-direction: column;
    justify-items: center; */
    font-family: 12px;
    background-color: #f2dfce;
    height: 100%vh;
    /* overflow: hidden; */
    /*  */
}

main {
    
    flex-direction: column;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    justify-content: center;
    height: 100%vh;
    /* align-content: center; */
    box-sizing: border-box;
    width: 100%;
    /* overflow: hidden; */
}

.flashcard {
    align-items: center;
    margin-top: 20%;
    display: block;
    position: relative;
   
    height: 380px;
    min-width: 230px;
    border-radius: 10px;
    ;
    background-color: rgb(14, 173, 105);
    font-size: 9em;
    color: white;
    text-align: center;
    margin: 10px;
    box-shadow: 0px 6px 14px 5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: center;
    
}

.card:active {
    background-color: black;
}

#flashcardContent {
    
   position: relative;
    z-index: 25;
    margin-top:auto;
    margin-bottom: auto;
    padding:15px;
    
}

.flashcardContentGlow {
    animation-name: glow;
    animation-duration: 1s;
    animation-timing-function: lease-in-out;
    animation-iteration-count: 7;
    /* color:black */
    
    
}
@keyframes glow{
    from {
        text-shadow: 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #e2dfe0, 0 0 5px #e2dfe0, 0 0 5px #e2dfe0, 0 0 5px #e2dfe0, 0 0 5px #e2dfe0;
      }
      to {
        text-shadow: 0 0 10px #fff, 0 0 10px #fcfafb, 0 0 10px #fcf9fb, 0 0 10px #a7a6a6, 0 0 20px #a7a6a6, 0 0 10px #a7a6a6, 0 0 10px #a7a6a6;
      }

}




.invisible {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(84, 13, 110);
    opacity: 0.5;
    z-index: 20;
    padding: 0;
    margin: 0;
   
    animation-name: down;
    animation-duration: 7s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}

@keyframes down {
    0% {
        top: 0%;
    }
    100% {
        top: 101%
    }
}

.timer {
    text-align: center;
    font-size: 4em;
    border: rgba(0, 0, 0, 0.3);
}


/* #card:hover{
    animation-name: flip;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;   
}

@keyframes flip{
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }

}  */

#timer {
    min-width: 60px;
    min-height: 40px;
    border-radius: 6px;
    box-shadow: 4px 5px 16px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
}

#stat {
    width: 400px;
    height: 20px;
    border-radius: 6px;
    box-shadow: 4px 5px 16px 5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.progress {
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(55, 55, 243);
    animation-name: loadingBar;
    animation-duration: 8s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
}



@keyframes loadingBar {
    0% {
        left: -400px;
        background-color: rgb(55, 55, 243);
    }
    100% {
        left: 0px;
        background-color: rgb(252, 137, 7);
    }
}

.statusDiv {
    /* position: absolute; */
    box-shadow: 3px 5px 10px 5px rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    bottom: 20px;
    right:10px;
    height:55px;
    width: 200px;
    border-radius: 8px;
    opacity: 0.8;
    font-size: 0.8em;
    line-height: 1.2em;
    
}

.btnArea {
    /* position: Absolute; */
    display: flex;
    margin-top: px;
    align-items: space-around;
    
}

.btn {
    display: block;
    min-width: 60px;
    min-height: 40px;
    border-radius: 5px;
    margin: 10px;
    padding: 10px;
    border: none;
    background-color:rgba(59, 206, 172, 1);
    color: white;
}

.btn:active{
    background-color:rgba(59, 206, 172, 1);
    cursor: pointer;
    }

.btn:hover {
    background-color:rgba(59, 206, 172, 0.8);
    cursor: pointer;
}
.btn-inline {
    display: inline-block;
}


#correctAnswer {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    visibility: hidden;
}
.btnCorrect {
    background-color: rgba(14, 173, 105, 0.8) ;
}

.correctBtnDiv {
    /* margin-top: 15px; */
    height: 100px;
}
.moveIn {
    animation-name: in;
    animation-duration: 0.6s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
}

@keyframes in {
    0% {
        left: -800px;
    }
    100% {
        left: 0;
    }
}

.moveOut {
    animation-name: out;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
}

@keyframes out {
    0% {
        right: 0;
    }
    100% {
        right: -800px;
    }
}

.freeze{
    position: absolute;
    width: 100%;
    height: 100%;
    animation-name: freeze;
    animation-duration: 0.5s;
    animation-timing-function: ease-in;
    animation-iteration-count: 1;
    z-index: 10;
    background-color: rgba(247, 243, 243, 0.9);
}
@keyframes freeze {
    0% {
        /* transform: scale(0.01); */
        opacity: 0;
    }
    100% {
        opacity: 0.8;
        /* transform: scale(1); */
    }
}

 .figureBar {
    position: absolute;
    min-height: 50px;
    width: 100%;
    font-size: 1em;
    border: 1 solid black;
    background-color:rgba(0, 0, 0, 0.3);
    bottom: 0px;
    margin: 0px;
    padding: 0px;
    z-index: 101;
    
   
 }
 .showDemo {
    animation-name: showdemo;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
    
 }

 @keyframes showdemo {
    0% {
        bottom: -500px;
    }
    100% {
        bottom: 0px;
    }
 }

 #closeBtn {
     position: absolute;
     right: 0px;
     top: 0px;
     padding: 0;
     margin: 0;
     color: white;
     /* width: 15px;
     height:15px; */
     cursor: pointer;
 }

 .figureBar p{
    text-align: center;
     opacity: 1;
     color: white;
     font-size: 0.8em;
 }

 .list {
     padding: 5px 40px;
    opacity: 1;
    color: white;
    font-size: 0.7em;
 }




@media only screen and (max-device-width: 480px){
    main{
        height: 100%vh;
    }
    .flashcard{
        margin-top: 10%;
        min-width: 200px;
        height: 300px;
        font-size: 6em;
    }

    #timer{
        font-size: 1em;
        width:20px;
        height: 15px;
    }

    #stat{
        width: 220px;
        
    }

    .btnArea{
        bottom: 5%;
        left: 0px;
        padding: 0;
        margin: 0;
    }
    .btn{
        padding: 3px;
    }
    #correctAnswer{
        height: 80px;
        width: 80px;
    }

 
    .correctBtnDiv {
        margin-top: 5px;
    }

    .statusDiv{
        font-size: 0.7em;
        width: 260px;
        height: 35px;
        bottom:5px;
        line-height: normal;
       
   }
}



/*
purple: rgb(84, 13, 110);
red: rgb(238, 66, 102);
yello: rgb(255, 210, 63);
cyanBlue: rgb(59, 206, 172);
green: rgb(14, 173, 105);
*/