html {
    background-color: #BFEFFF;
}

.memory__title {
    font-family: var(--patrick-font);
    text-align: center;
    font-size: 4rem;
    margin-top: 1rem;
    letter-spacing: 0.2rem;
    font-weight: 500;
}

.bot__score {
    font-size: 3rem;
    font-family: var(--patrickSC-font);
    position: absolute;
    left: 1%;
}

.bot-score__number {
    margin-left: 0.4rem;
}

.player__score {
    font-size: 3rem;
    font-family: var(--patrickSC-font);
    position: absolute;
    right: 1%;
}

.player-score__number {
    margin-left: 0.4rem;
}

.memory__container-row {
    display: flex;
    justify-content: center;
    /* border: 1px solid red; */
    width: 100%;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.card {
    width: 225px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    transition: 0.6s;
    cursor: pointer;
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.img__vader {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.back {
    background-color: #E5E5E5;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dotted black;
}

.front {
    transform: rotateY(180deg);
}

.card.flipped {
    transform: rotateY(180deg);
    cursor: default;
}

.win {
    margin: auto;
    background-color: rgba(255, 255, 255, 0.8);
    width: 40%;
    padding: 6rem 0;
    border-radius: 10px;
    display: block;
    position: fixed;
    top: -330%;
    left: 30%;
    transition: 1s;
}

.win__container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.win__title {
    font-family: var(--neue-font);
}

.win__btn {
    background-color: rgb(67, 67, 67);
    color: #fff;
    padding: 0.8rem 0.8rem;
    border-radius: 10px;
    margin-top: 4rem;
}




/* Media query */

@media (max-width: 1536px){

}

@media (max-width: 1280px){
}

@media (max-width: 1024px){
    .card {
        width: 180px;
        height: 120px;
    }
}

@media (max-width: 768px){
    .card {
        width: 145px;
        height: 105px;
    }
}

@media (max-width: 640px){
    .card {
        width: 105px;
        height: 87px;
        font-size: 0.7rem;
    }
}

@media (max-width: 475px){
    .card {
        width: 90px;
        height: 70px;
        font-size: 0.7rem;
    }
}







