.gallery {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 540px;
}
.gallery img {
    max-width: 540px;
    width: 100%;
}
.gallery-main {
    margin: auto;
    max-width: 800px;
    min-width: 540px;
    width: auto;
    display: flex;
    justify-content: center;
}
.gallery-list {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.gallery-list img {
    width: 120px;
    cursor: pointer;
    border: none;
    transition: 0.4s;
}
.gallery-list img:hover {
    opacity: 0.4;
}

