/* ---MAIN STYLES--- */

.main_section {
    padding: 5vw;
    border-bottom: .05vw solid var(--whitesmoke);
}

.main_section .main_box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.main_section .media_box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_section .media_box img {
    width: 65%;
}

.main_section .info_box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2vw;
}

.main_section .info_box h1 {
    width: 65%;
}

.main_section .form_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
}

.main_section input {
    color: var(--olive);
    font-size: 1vw;
    padding: 1vw;
    border: 0;
    background: #A5CC8930;
}

.main_section textarea {
    resize: none;
    height: 8vw;
    color: var(--olive);
    font-size: 1vw;
    padding: 1vw;
    border: 0;
    background: #A5CC8930;
}

.main_section input:focus-visible,
.main_section textarea:focus-visible {
    outline: none;
    background: #A5CC8960;
}

.main_section input::placeholder,
.main_section textarea::placeholder {
    color: #00712D50;
}

.main_section .main_btn {
    width: fit-content;
}

.main_section .message_box {
    position: relative;
    width: 100%;
    height: 1vw;
    margin-top: 1.5vw;
}

.main_section .message_box p {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: .9vw;
}

.main_section .success {
    color: #0bb300;
}

.main_section .error {
    color: #f31212;
}

@media (max-width: 996px) {
    .main_section {
        padding: 5vw;
        border-bottom: .1vw solid var(--whitesmoke);
    }
    .main_section .main_box {
        grid-template-columns: 1fr;
        gap: 5vw;
    }
    .main_section .media_box img {
        width: 75%;
    }
    .main_section .info_box {
        gap: 5vw;
    }
    .main_section .info_box h1 {
        width: 60%;
    }
    .main_section .info_box p {
        width: 95%;
    }
    .main_section .form_box {
        gap: 3vw;
    }
    .main_section .info_box img {
        width: 25%;
    }
    .main_section input {
        font-size: 3vw;
        padding: 3vw;
    }
    .main_section textarea {
        height: 20vw;
        font-size: 3vw;
        padding: 3vw;
    }
    .main_section .message_box {
        height: 4vw;
    }
    .main_section .message_box p {
        font-size: 2.5vw;
    }
}


/* ---GALLERY STYLES--- */

.gallery_section {
    padding: 5vw 0;
}

.gallery_section .gallery_box {
    display: flex;
    flex-direction: column;
}

.gallery_section .info_box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vw;
}

.gallery_section .info_box h2 {
    width: 31%;
    text-align: center;
}

.gallery_section .info_box p {
    width: 40%;
    text-align: center;
}

.gallery_section .media_box {
    position: relative;
}

.gallery_section .media_box>img:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-2%);
    width: 100%;
    z-index: 1;
}

.gallery_section .media_box>img:nth-child(2) {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(2%);
    width: 100%;
    z-index: 1;
}

.gallery_section .gallery_item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--olive);
    overflow: hidden;
    cursor: pointer;
    margin: 0 .25vw;
}

.gallery_section .gallery_item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    font-family: "Caviar Dreams Bold";
    color: white;
    text-align: center;
    padding: 1vw 2vw;
    border: .1vw solid white;
    opacity: 0;
    transition: .25s;
    z-index: 1;
}

.gallery_section .gallery_item:hover p {
    opacity: 1;
}

.gallery_section .gallery_item p:hover {
    color: var(--olive);
    background: white;
}

.gallery_section .gallery_item img {
    transition: .25s;
}

.gallery_section .gallery_item:hover img {
    transform: scale(1.05);
    filter: blur(.15vw);
    -webkit-filter: blur(.15vw);
    opacity: .5
}

.gallery_section .nav_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
}

.gallery_section .arrow_item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3.5vw;
    height: 3.5vw;
    border-radius: 50%;
    background: var(--pink);
    cursor: pointer;
    transition: .25s;
    z-index: 1;
}

.gallery_section .arrow_item:hover {
    background: var(--olive);
}

.gallery_section .arrow_item img {
    width: .7vw;
}

.gallery_section .arrow_item:nth-child(1) img {
    transform: scaleX(-1) translateX(15%);
}

.gallery_section .arrow_item:nth-child(2) img {
    transform: translateX(15%);
}

@media (max-width: 996px) {
    .gallery_section {
        padding: 5vw 0;
    }
    .gallery_section .gallery_box {
        gap: 5vw;
    }
    .gallery_section .info_box {
        gap: 5vw;
    }
    .gallery_section .info_box h2 {
        width: 65%;
    }
    .gallery_section .info_box p {
        width: 90%;
    }
    .gallery_section .info_box img {
        top: -30%;
        left: 5%;
        width: 12%;
    }
    .gallery_section .media_box>img:nth-child(1) {
        transform: translateY(-5%);
    }
    .gallery_section .media_box>img:nth-child(2) {
        transform: translateY(5%);
    }
    .gallery_section .gallery_item {
        margin: 0 .5vw;
    }
    .gallery_section .gallery_item p {
        width: 70%;
        padding: 3vw;
        border: .25vw solid white;
    }
    .gallery_section .nav_box {
        gap: 5vw;
    }
    .gallery_section .arrow_item {
        width: 10vw;
        height: 10vw;
    }
    .gallery_section .arrow_item img {
        width: 2vw;
    }
}