body {
    display: flex;
    flex-direction: column;
    margin: 0;
    background-color: rgb(83, 163, 255);
}
header {
    display: flex;
    background-color: rgb(83, 163, 255);
    height: 126px;
    position: relative;
}

.menu {
    display: flex;
    justify-content: center;
    background-color:#fff;
    border-radius: 0 0 10px 10px;
}
.menu ul {
    list-style: none;
    padding: 0px;
}
.menu li {
    float:left;
    margin:5px;
    background-color:rgb(83, 163, 255);
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    font-size: calc(10px + 0.5vw);
}
.menu li a {
    text-decoration: none;
    color: #fff;
}
.logs {
    display: flex;
    margin-top: 150px;
    margin-bottom: 150px;
    justify-content: space-around;
    align-content:center;
    flex-wrap: wrap;
}
.logsBlock {
    text-align: center;
    max-width: 100%;
    height: auto;
}
@media (max-width: 1100px)  {
    .taskImg {
        max-width: 400px;
    }
    .logs {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .logsBlock {
        margin-bottom: 20px;
    }
    .imageInBlock{
        max-height: 120px;
    }
    .info {
        flex-wrap: wrap;
        flex-direction: column;
        margin-bottom: 40px
    }
    .task {
        flex-wrap: wrap;
        flex-direction: column;
        margin-bottom: 40px;
    }
    .cover {
        max-height: 120px;
    }
    #CSS3 .description {
        order:2;
    } 
    .coverImages {
        justify-content: center;
        align-content:center;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .taskDescription{
        margin: 10px;
    }
    .description {
        margin-right: 10px;
        margin-left: 10px;
    }
    .textDescription {
        margin-bottom: 30px;
    }
    .animation1 {
        zoom: 50%;
        left: 100px;
        padding: 60px;
    }
    #task№5 .taskDescription {
        height: 500px;
    }
    
    .picPt {
        zoom: 50%;
    }
    .picAll {
        zoom: 50%;
    }
    #menuGame{
        flex-wrap: nowrap;
        flex-direction: row;
        margin-top: 20px;
    }
    #menuGame .taskDescription{
        width: 100%;
        
    }
    #menuButton {
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        padding-top: 20px;
    }
    /* #fieldGame .taskDescription {
        height:  calc(500px + 16vw);
    } */
    #game .taskDescription {
        margin-top: 0px;
        margin-top: calc(10px + 1vw);
    }
    .line {
        padding-bottom: calc(11px + 5vw);
    }
    #cubeCheck {
        margin-left: 50px;
        border-width: 30px;
        border-color: rgb(83, 163, 255);
        height: 90px;
        width: 90px;
        background-color:rgb(83, 163, 255);
    }
    
    

}
@media (max-width: 701px)  {
    #cubeCheck {
        margin-left: 50px;
        border-width: 30px;
        border-color: rgb(83, 163, 255);
        height: 60px;
        width: 60px;
        background-color:rgb(83, 163, 255);
    }
}
@media (min-width: 1101px) {
    .info {
        margin-top: 100px;
        margin-bottom: 100px;
    }
    .coverImages {
        margin-left: 10px;
        margin-right: 10px;
    }
    .description {
        margin-right: 10px;
        margin-left: 10px;
    }
    #game .taskDescription {
        margin-top: 0px;
        margin-top: calc(10px + 1vw);
    }
    .task {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    .taskDescription {
        width: 50%;
        margin-right: 10px;
        margin-left: 10px;
    }
    #task№5 .taskDescription {
        width: 100%;
        height: 1000px;
    }
    #fieldGame .taskDescription {
        width: 100%;
        /* height: calc(600px + 10vw); */
    }
    .line {
        padding-bottom: calc(10px + 3vw);
    }
    #cubeCheck {
        margin-left: 50px;
        border-width: 30px;
        border-color: rgb(83, 163, 255);
        height: 90px;
        width: 90px;
        background-color:rgb(83, 163, 255);
    }
    
    
}
.info {
    display: flex;
}
.description {
    box-shadow: 0 0 10px #444;
    border-radius: 50px;
    background-color: white;
}
.coverImages {
    display: flex;
    box-shadow: 0 0 10px #444;
    border-radius: 50px;
    background-color: white;
}

.coverImage {
    align-self: center;
    margin: 10px;
    max-width: 100%;
    height: auto;
}

.textDescription {
    margin-left: 10px;
    margin-right: 10px;
    font-size: calc(10px + 1vw);
    font-family: "Arial Narrow", sans-serif;
}

.headerDescription {
    text-align: center;
    font-size: calc(6px + 2vw);
    font-family: "Arial Narrow", sans-serif;
}

.task {
    display: flex;
}
.taskImg {
    padding-left: 15%;
    padding-bottom: 10px;
    margin-bottom: 5px;
    width: 70%;
}
#task№5 {
    justify-content: center;
}

.taskDescription {
    box-shadow: 0 0 10px #444;
    border-radius: 50px;
    background-color: white;
}
.animation1 {
    height: 260px;
    width: 400px;
    position: relative;
}
.animation1 button {
    background-color:#fff;
    border:none;
    height: 260px;
    width: 400px;
}
#prince {
    position: absolute;
    top:0px;
    left: 0px;
    z-index: 1;
}
#frog {
    position: absolute;
    bottom: 16px;
    right: 0px;
    opacity: 0%;
}
#prince1 {
    position: absolute;
    top:0px;
    left: 500px;
    z-index: 1;
}
#frog1 {
    position: absolute;
    bottom: 16px;
    right: 0px;
    opacity: 0%;
}
#princess {
    position: absolute;
    top: 80px;
    left: 130px;
    opacity: 0%;
}
.animation1 .text {
    position: absolute;
    top: 0px;
    right: 0px;
    color: green;
    font-family: "Gill Sans", sans-serif;
    font-weight: 700;
    font-size: 20px;
    opacity: 0%;
    z-index: 2;

}
@keyframes frog{
    0%{
        opacity: 100%;
    }
    100%{
        right: 170px;
        opacity: 100%;
    }
}
@keyframes who{
    0%{
        left: -50px;
        opacity: 0%;
    }
    100%{
        left: -50px;
        opacity: 100%;
    }
}
@keyframes frog2{
    0%{
        right: 170px;
        opacity: 0%;
    }
    100%{
        right: 170px;
        opacity: 0%;
    }
}
@keyframes who2{
    0%{
        left: -50px;
        opacity: 0%;
    }
    100%{
        left: -50px;
        opacity: 0%;
    }
}

@keyframes princessText{
    0%{
        left: -50px;
        opacity: 0%;
    }
    100%{
        left: -50px;
        opacity: 100%;
    }
}

@keyframes princess{
    0%{
        transform: scale(0.5);
        opacity: 100%;
    }
    100%{
        top:30px;
        transform: scale(1);
        opacity: 100%;
    }
}

.animation1:hover #frog {
    animation-name: frog;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}

.animation1:hover #frog1 {
    animation-name: frog;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}
.animation1:hover #who {
    animation-name: who;
    animation-duration: 3s;
    animation-fill-mode: forwards;

}

.animation1:active #frog {
    animation-name: frog2;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
.animation1:active #frog1 {
    animation-name: frog2;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
.animation1:active #who {
    animation-name: who2;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}
.animation1:active #princessText {
    animation-name: princessText;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}
.animation1:active #princess {
    animation-name: princess;
    animation-duration: 3s;
    animation-fill-mode: forwards
}
.btn {
    display: flex;
    justify-content: center;
}
#create {
    margin: 10px;
    font-size: calc(10px + 0.5vw);
}
#repaint {
    margin: 10px;
    font-size: calc(10px + 0.5vw);
}
#updateBtn {
    margin: 10px;
    font-size: calc(10px + 0.5vw);
}
#verifyBtn {
    margin: 10px;
    font-size: calc(10px + 0.5vw);
}
#rand {
    padding-bottom: 50px;
    height: 100px;
    width: 80%;
    top: 60px;
    left:100px;
}
.class1{
    position: relative;
    margin: 0px;
    padding: 5px;
    height: 20px;
    background-color: rgba(28, 134, 255, 0.589);
    left:10%;
    font-size: calc(8px + 0.5vw);
}
.class2{
    position: relative;
    margin: 0px;
    padding: 5px;
    height: 20px;
    background-color:rgba(67, 155, 255, 0.438);
    left:10%;
    font-size: calc(8px + 0.5vw);

}
#task№5 {
    text-align: center;
}

#game {
    justify-content:center;
    align-self: center;
    text-align: center;
}
 
#game .taskDescription {
    width: calc(200px + 40vw);;
}

/* #game .textDescription {
    margin-left: 100px;
    margin-right: 100px;
} */

#buttonDescription {
    display: flex;
    justify-content:center;
    flex-direction: column;
}
#list {
    text-align: left;
    font-size: calc(12px + 0.5vw);
}
#name {
    text-align: center;
    border-width: 5px;
    border-color: rgb(83, 163, 255);
    border-radius: 10px;
    margin: 10px;
    color:rgb(83, 163, 255);
}
#startGame{
    height: 40px;
    width: 200px;
    border-radius: 10px;
    margin: 10px;
    margin-bottom: 20px;
    font-size: calc(12px + 0.5vw);
    color:#fff;
    border: 0;
    background-color:rgb(83, 163, 255);
}
#restartGame{
    height: 40px;
    width: 200px;
    border-radius: 10px;
    margin: 10px;
    margin-bottom: 20px;
    font-size: calc(12px + 0.5vw);
    color:#fff;
    border: 0;
    background-color:rgb(83, 163, 255);
}
#newGamerGame{
    height: 40px;
    width: 200px;
    border-radius: 10px;
    margin: 10px;
    margin-bottom: 20px;
    font-size: calc(12px + 0.5vw);
    color:#fff;
    border: 0;
    background-color:rgb(83, 163, 255);
}
#menuGame{
    justify-content: center;
    width: 100%;
    margin-bottom: 0px;
}
#menuButton {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items:center;
}
#fieldGame {
    justify-content: center;
    margin-top: 20px;
}
#newGamer{
    height: calc(10px + 3vw);
    width: calc(50px + 7vw);
    border-radius: 10px;
    font-size: calc(7px + 1vw);
    color:#fff;
    border: 0;
    background-color:rgb(83, 163, 255);
}
#restart{
    height: calc(10px + 3vw);
    width: calc(40px + 7vw);
    border-radius: 10px;
    font-size: calc(7px + 1vw);
    color:#fff;
    border: 0;
    background-color:rgb(83, 163, 255);
}
#mainMenu {
    height: 40px;
    width: 200px;
    border-radius: 10px;
    margin: 10px;
    margin-bottom: 20px;
    font-size: calc(12px + 0.5vw);
    color:#fff;
    border: 0;
    background-color:rgb(83, 163, 255);
}
#gamefield {
    width: 100%;
}
#time {
    display: flex;
    justify-content: center;
    align-items:center;
}
#score {
    display: flex;
    justify-content: center;
    align-items:center;
}
#list {
    margin-left: 10px;
    margin-right: 10px;
    font-size: calc(10px + 1vw);
    font-family: "Arial Narrow", sans-serif;
}
.line {
    display: flex;
    justify-content: space-around;
}
#line1 {
    justify-content: center;
}
.picAll {
    visibility: hidden;
}
footer {
    display: flex;
    margin-top: 100px;
    background-color: #fff;
    color: black;
}
footer p {
    margin-left: 10px;
}