*{
    padding: 0;
    margin: 0;
}

.description{
    width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

h1{
    margin: 10px 0;
}

.desk_rul{
    background-color: rgb(34, 202, 0);
    padding: 8px;
    font-size: 24px;
    color: white;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    margin: 15px 0 0 0;
    cursor: pointer;
}

.ruls{
    background-color: rgb(149, 203, 156);
    text-align: left;
    padding: 10px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    font-size: 20px;
    display: none;
}

.img{
    display: flex;
    justify-content: center;
}

.img img{
    width: 450px;
    box-shadow: 0 0 15px black;
    /* margin: 15px; */
}

.answer{
    display: flex;
    justify-content: center;
}

#input1{
    font-size: 35px;
    padding: 10px;
    border: none;
    border-bottom: 1px solid black;
}

#btn{
    font-size: 35px;
    padding: 10px;
    background-color: rgb(34, 202, 0);
}

.taskProgress{
    position: fixed;
    top: 250px;
    left: 20px;
}

.timerProgres{
    position: fixed;
    top: 20px;
    left: 20px;
}

.next{
    position: fixed;
    top: 200px;
    left: 50%;
    background-color: brown;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    text-align: center;
    line-height: 250px;
    text-shadow: 0 0 5px black;
    color: white;
    font-size: 30px;
    box-shadow: 0 0 5px black;
    display: none;
}


#picture{
    margin: 40px 0;
    border-radius: 10px;
    background-color: rgb(49, 49, 255);
}


.buton{
    background-color: rgb(34, 202, 0);
    height: 80px;
    width: 150px;
    border-radius: 15px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 35px;
    box-shadow: 0 0 5px black;
    text-shadow: 0 0 5px black;
    margin: 20px 0;
    cursor: pointer;
}



.gameBoard{
    display: none;
    gap: 5px;
    width: 700px;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 100px);
    margin: 10px 0 0 0;
}

.card img{
    height: 100px;
    width: 100%;
}

.front{
    background-color: rgb(0, 142, 50);
    width: 100%;
    height: 100%;
    color: white;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    cursor: pointer;
}

.card{
    transform-style: preserve-3d;
    transition: all 0.5s;
}

.front, .back{
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.back{
    transform: rotateY(180deg);

}


.flip{
    transform: rotateY(180deg);

}

.win{
    display: none;
    font-size: 100px;
    position: absolute;
    width: 100%;
    height: 80vh;
    /* display: flex; */
    justify-content: center;
    align-items: start;
    font-weight: 900;
    color: rgb(14, 146, 23);
    text-shadow: 0 0 5px black;
}