.lesson-section {
    margin-top: 150px;
    text-align: center;
}

.gallery-main-and-side{
    display: flex;
    flex-direction: row;
    width: inherit;
}

.gallery-main{
    width: 70%;
}

.gallery-pic-main{
    max-height: 100vh;
    object-fit: cover;
    object-position: center;
}

.gallery-side{
    width: 30%;
    max-height: 100vh;
    line-height: 0px;
}

.gallery-pics{
    width: 100%;
    box-shadow: 0px 0px 0px 5px white;
}

.gallery-side .gallery-pics{
    object-fit: cover;
    transition: 0.2s;
}

.gallery-side .gallery-pics:hover{
    opacity: 0.8;
    cursor: pointer;
    transition: 0.2s;
}

@media only screen and (max-width: 700px) {
    .gallery-main-and-side {
        display: flex;
        flex-direction: column;
        width: inherit;
    }
    .gallery-main {
        width: 100%;
    }
    .gallery-side {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .gallery-side .gallery-pics {
        width: 25%;
        margin-top: 10px;
    }
}