body{
background: rgba(15, 15, 15, 0.829);
padding-bottom: 0 !important;
}
.maindiv{
padding: 100px;

}
.head{
display: grid;
grid-template-columns: 1fr 1fr;

}

#guide a {
display: inline;
}
hr{
height: 3px;
background-color: white;
margin-bottom:30px ;
}
.howtomove{
    display: grid;
    grid-template-columns: 320px 1fr;
width: 100%;
height: 350px;
background: rgba(27, 27, 27, 0.5);
padding: 40px;
border-radius: 10px;
box-shadow: 10px 10px 5px black;
}
h4{
color: white;
}
.imgdiv{
width: 300px;
height: 250px;
border-radius: 10px;
}
.imgs{
border-radius: 10px;
width: 300px;
height: 250px;
}
.lessontexts{
height: fit-content;

}
.vidbtn{
    padding: 10px 30px;
    border-radius: 30px;
    background-color:#ffc107;
    border: none;
    margin-top: 10px ;
}
a{
    text-decoration: none;
    color: white;
    font-weight: bold;
}

@media (min-width: 2560px) {
    .container{
        max-width: 100%;
    }
}
@media (max-width: 1440px) {
    .container{
        max-width: 100%;
    }
}

@media (max-width: 430px) {
    #lessons, #guide{
        padding-top: 20px;
    }
    .maindiv{
        padding: 0;
        
    }
    .imgs{
        width: 350px;
    }
    h4{
        margin-top: 15px;
    }
    .howtomove{
        grid-template-columns: 1fr;
        height: auto;
    }
    .vidbtn{
        width: 100%;
    }
}
@media (max-width: 384px) {
    .imgs{
        width: 100%;
    }    
}


@media (max-width: 320px) {
    .howtomove{
        padding: 10px;
    }    
}

@media (max-width: 240px) {
    html{
        width: fit-content;
    }
    .imgdiv{
        width: 220px;
    }
    .imgs{
        width: 100%;
    }
    .lessontexts{
        width: fit-content;
    }
    .howtomove{
        padding: 5px;
        width: 230px;
    } 
    
}