.main-title {
    margin-top: 100px;
}

.sub-title {
    margin-bottom: 100px;
}

.gallery {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 100px;
}

.home-button {
    color: #000;
    text-decoration: none;
    padding: 30px 0 0 30px;
}

.main-container {
    margin: 0 100px 50px 100px;
}

.arrows-container {
    display: flex;
    justify-content: space-between;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    cursor: default;
}

.arrows-container a {
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery img {
    height: auto;
    max-height: 240px;
    max-width: 100%;
    flex-shrink: 0;
}

.button-image {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
}

.left-arrow {
    transform: rotate(180deg);
}

@media screen and (max-width: 1200px) {
    .main-container {
        margin: 0 30px 50px 30px;
    }
}

@media screen and (max-width: 700px) {
    .main-container {
        margin: 0 20px 20px 20px;
    }

    .main-title {
        margin-top: 50px;
    }

    .gallery {
        gap: 15px;
    }

    .gallery img {
        max-height: 180px;
    }

    .root .sub-title {
        margin-bottom: 50px;
    }

    .home-button {
        font-size: 16px;
    }
}

@media screen and (max-width: 600px) {
    .gallery img {
        max-height: 140px;
    }
}

@media screen and (max-width: 500px) {
    .gallery img {
        max-height: 120px;
    }
}