#nav-gallery {
    color: var(--color1) !important;
}

.home-section-1 {
    width: 100%;
    padding-top: 90px;
}

.gallery-intro {
    height: 100%;
    width: 100%;
    background-color: var(--color8);
    color: var(--color4);
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.gallery-intro h1 {
    font-size: 36px;
    margin-bottom: 10px;
}


.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px 50px;
    align-items: center;

}

.box {
    position: relative;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 3s ease-in-out;

}

.image2 {
    opacity: 0;
}

.view-more {
    height: fit-content;
    width: fit-content;
    padding: 10px 100px;
    border-radius: 25px;
    color: var(--color4);
    background-color: var(--color2);
    font-size: 20px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.5s;
}

.view-more:hover {
    background-color: var(--color1);
}


@media screen and (min-width:940px) {
    .box {
        width: 400px;
    }

}