body,html{
    margin: 0;
    padding: 0;
    background-color: white;
    overflow-y: scroll;
}
*{
    color: #b272c9;
}

.center{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#quizletImport{
    width: 75vw;
    height: 30vh;
    background-color: #F9E8FF;
    border: none;
    outline: none;
    border-radius: 10px;
    padding: 10px;
    font-size: 20px;
    resize: none;
    box-shadow: 0px 2px 2px #00000038;
}
.quizlet{
    width: 75vw;
    height: 10vh;
    background-color: #F9E8FF;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    box-shadow: 0px 2px 2px #00000038;

}
.import{
    width: 75vw;
    height: 10vh;
    padding: 10px;
    margin: 0;
    border-radius: 10px;
    background-color: #F9E8FF;
    font-size: 40px;
    margin-top: 20px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 2px #00000038;
    transition: all ease 0.3s;
}
.import:hover{
    cursor: pointer;
    transform: scale(1.05);
}
.typeBar{
    width: 98vw;
    height: 40px;
    background-color: #F9E8FF;
    margin-left: 1vw;
    border-radius: 10px;
    display: flex;
    justify-content: left;
    margin-top: 10px;
    gap:10px;
}
.typeBtn{
    background: none;
    border: none;
}
.typeBtn:hover{
    cursor: pointer;
}
.card{
    width: 75vw;
    height: 60vh;
    background-color: #F9E8FF;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    padding: 10px;
}
.controls{
    width: 200px;
    height: 80px;
    background-color: #F9E8FF;
    margin-top: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.left{
    min-height: 60px;
    min-width: 80px;
    background-color: #b272c9;
    mask-image: url(chevronLeft.svg);
    mask-size: 60px 60px;
    mask-position: center;
    mask-repeat: no-repeat;

    -webkit-mask-image: url(chevronLeft.svg);
    -webkit-mask-position: center;
    -webkit-mask-size: 60px 60px;
    -webkit-mask-repeat: no-repeat;
}
.right{
    min-height: 60px;
    min-width: 80px;
    background-color: #b272c9;
    mask-image: url(chevronRight.svg);
    mask-size: 60px 60px;
    mask-position: center;
    mask-repeat: no-repeat;

    -webkit-mask-image: url(chevronRight.svg);
    -webkit-mask-position: center;
    -webkit-mask-size: 60px 60px;
    -webkit-mask-repeat: no-repeat;
}
.shuffle{
    min-height: 60px;
    min-width: 80px;
    background-color: #b272c9;
    mask-image: url(shuffle.svg);
    mask-size: 60px 60px;
    mask-position: center;
    mask-repeat: no-repeat;

    -webkit-mask-image: url(shuffle.svg);
    -webkit-mask-position: center;
    -webkit-mask-size: 60px 60px;
    -webkit-mask-repeat: no-repeat;
}
.star{
    min-height: 60px;
    min-width: 80px;
    background-color: #b272c9;
    mask-image: url(star.svg);
    mask-size: 60px 60px;
    mask-position: center;
    mask-repeat: no-repeat;

    -webkit-mask-image: url(star.svg);
    -webkit-mask-position: center;
    -webkit-mask-size: 60px 60px;
    -webkit-mask-repeat: no-repeat;
}



@keyframes fadeInOut {
    0%{
        transform: rotateX(0deg);
    }
    50%{
        transform: rotateX(90deg);
    }
    100%{
        transform: rotateX(0deg);
    }
}

@keyframes swipeUP {
    0%{
        transform: translateX(0px) rotateZ(0deg);
    }
    50%{
        transform: translateX(50px) rotateZ(5deg);
    }
    100%{
        transform: translateX(0px) rotateZ(0deg);
    }
}
@keyframes swipeDown {
    0%{
        transform: translateX(0px) rotateZ(0deg);
    }
    50%{
        transform: translateX(-50px) rotateZ(-5deg);
    }
    100%{
        transform: translateX(0px) rotateZ(0deg);
    }
}
.fadeCardClass{
    animation: fadeInOut 0.5s ease 1 forwards;
}
.swipeupClass{
    animation: swipeUP 0.5s ease 1 forwards;
}
.swipeDownClass{
    animation: swipeDown 0.5s ease 1 reverse;

}

.queston{
    width: 75vw;
    height: 30vh;
    background-color: #F9E8FF;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.ansHold{
    width: 75vw;
    height: 50vh;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 equal columns */
    gap: 20px;
}
.ans{
    width: 100%;
    max-height: 25vh;
    padding: 5px;
    padding-top: 0.5em;
    overflow-y: scroll;
    border-radius: 10px;
    background-color: #F9E8FF;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease 0.3s;
}
.ans:hover{
    background-color: #f3d3ff;
    cursor: pointer;
}
.scoreCard{
    width: 75vw;
    height: 50vh;
    background-color: #F9E8FF;
    border-radius: 10px;
    display: flex;
    font-size: 50px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.quesy{
    width: 75vw;
    height: 10vh;
    background-color: #ffe8e8;
    color: #c97272;
    border-radius: 10px;
    display: flex;
    font-size: 30px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px; 
    margin-left: 12.5vw;
}
.correctAns{
    width: 75vw;
    height: 50vh;
    background-color: #ffe8e8;
    color: #c97272;
    border-radius: 10px;
    display: flex;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    overflow-y: scroll;
    margin-left: 12.5vw;
}

@keyframes opacout {
    0%{
        opacity: 1;
    }
    50%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.opacoutClass{
    animation: opacout 0.5s ease-out forwards;
}