/* ---GLOBAL STYLES--- */

* {
    margin: 0;
    padding: 0;
    font-family: "Caviar Dreams";
    box-sizing: border-box;
    word-break: break-word;
    scroll-behavior: smooth;
}

:root {
    --cream: #DDDDDD;
    --olive: #00712D;
    --mint: #90c23f;
    --pink: #FEABAC;
    --gray: #808080;
    --whitesmoke: #AEAEAE;
}

::selection {
    color: white;
    background: var(--pink);
}

@font-face {
    font-family: "Caviar Dreams";
    src: url("../media/woff/caviardreams.woff");
}

@font-face {
    font-family: "Caviar Dreams Bold";
    src: url("../media/woff/caviardreamsbold.woff");
}

body {
    position: relative;
    padding: 5vw 2.5vw 0 2.5vw;
    background: var(--cream);
    transition: .25s;
}

body.active {
    padding: 0 2.5vw;
}

body.noscroll {
    overflow: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 2.5vw;
    width: .05vw;
    height: 100%;
    background: var(--whitesmoke);
    transition: .5s;
    z-index: 99;
}

body::after {
    content: "";
    position: absolute;
    top: 0;
    right: 2.5vw;
    width: .05vw;
    height: 100%;
    background: var(--whitesmoke);
    transition: .5s;
    z-index: 99;
}

body.noscroll::before,
body.noscroll::after {
    background: none;
}

img,
svg {
    width: 100%;
    max-width: 100%;
    user-select: none;
}

a {
    cursor: pointer;
    width: fit-content;
    display: inline-block;
    text-decoration: none;
    transition: .25s;
}

button {
    cursor: pointer;
}

h1 {
    font-family: "Caviar Dreams Bold";
    color: var(--olive);
    font-size: 5.5vw;
}

h2 {
    font-family: "Caviar Dreams Bold";
    color: var(--olive);
    font-size: 4.5vw;
}

p,
li {
    color: black;
    font-size: 1vw;
}

ul {
    color: var(--gray);
    list-style-position: inside;
}

.absolute_media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.main_btn {
    position: relative;
    color: white;
    font-size: 1.2vw;
    font-weight: inherit;
    border: none;
    padding: 1vw 3vw;
    background: var(--pink);
}

.main_btn:hover {
    background: var(--olive);
}

.main_btn::before {
    content: "";
    position: absolute;
    bottom: -.75vw;
    left: 0;
    width: 100%;
    height: .05vw;
    background: var(--gray);
    transition: .25s
}

.main_btn::after {
    content: "";
    position: absolute;
    bottom: -1.5vw;
    left: 0;
    width: 100%;
    height: .05vw;
    background: var(--gray);
    transition: .25s
}

.main_btn:hover::before,
.main_btn:hover::after {
    bottom: 0;
    opacity: 0;
}

.second_btn {
    position: relative;
    font-family: "Caviar Dreams Bold";
    color: var(--olive);
    font-size: 1vw;
}

.second_btn::before {
    content: "";
    position: absolute;
    bottom: -.25vw;
    left: 0;
    width: 100%;
    height: .05vw;
    background: var(--olive);
    transition: .25s
}

.second_btn::after {
    content: "";
    position: absolute;
    bottom: -.75vw;
    left: 0;
    width: 100%;
    height: .05vw;
    background: var(--olive);
    transition: .25s
}

.second_btn:hover::before,
.second_btn:hover::after {
    bottom: 0;
    opacity: 0;
}

.tertiary_btn {
    position: relative;
}

.tertiary_btn::before {
    content: "";
    position: absolute;
    bottom: -.25vw;
    left: 0;
    width: 0;
    height: .05vw;
    background: var(--olive);
    transition: .25s;
}

.tertiary_btn:hover::before {
    width: 100%;
}

.line_txt {
    position: relative;
    padding-left: 2vw;
    margin-left: 2vw;
}

.line_txt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: .05vw;
    height: 100%;
    background: black;
}

@media (max-width: 996px) {
    body {
        padding: 20vw 5vw 0 5vw;
    }
    body.active {
        padding: 0 5vw;
    }
    body::before {
        left: 5vw;
        width: .1vw;
    }
    body::after {
        right: 5vw;
        width: .1vw;
    }
    h1 {
        font-size: 8vw;
    }
    h2 {
        font-size: 8vw;
    }
    p,
    li {
        font-size: 3vw;
    }
    .main_btn {
        font-size: 3vw;
        padding: 3vw 6vw;
    }
    .main_btn::before {
        bottom: -1.5vw;
        height: .1vw;
    }
    .main_btn::after {
        bottom: -3vw;
        height: .1vw;
    }
    .second_btn {
        font-size: 4vw;
    }
    .second_btn::before {
        bottom: -1.5vw;
        height: .1vw;
    }
    .second_btn::after {
        bottom: -3vw;
        height: .1vw;
    }
    .tertiary_btn::before {
        bottom: -1vw;
        height: .1vw;
    }
    .line_txt {
        padding-left: 3vw;
        margin-left: 3vw;
    }
    .line_txt::before {
        width: .1vw;
    }
}


/* ---HEADER STYLES--- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: .05vw solid var(--whitesmoke);
    background: #dddddddd;
    backdrop-filter: blur(.5vw);
    -webkit-backdrop-filter: blur(.5vw);
    z-index: 98;
}

header .desk_header {
    display: grid;
    grid-template-columns: 10% 80% 10%;
    padding: .4vw 3vw;
}

header .desk_header .logo_box {
    display: flex;
    justify-content: center;
    align-items: center;
}

header .desk_header .logo_box a {
    width: 80%;
}

header .desk_header .nav_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5vw;
}

header .desk_header .nav_box a {
    position: relative;
    font-family: "Caviar Dreams Bold";
    color: var(--olive);
    font-size: 1vw;
}

header .desk_header .nav_box a::before {
    content: "";
    position: absolute;
    bottom: -.25vw;
    left: 0;
    width: 0;
    height: .05vw;
    background: var(--olive);
    transition: .25s;
}

header .desk_header .nav_box a.active::before,
header .desk_header .nav_box a:hover::before {
    width: 100%;
}

header .desk_header .button_box {
    display: flex;
    justify-content: center;
    align-items: center;
}

header .mobile_header {
    display: none;
}

@media (max-width: 996px) {
    header .desk_header {
        display: none;
    }
    header .mobile_header {
        display: block;
        padding: 2.5vw 5vw;
    }
    header .mobile_header .logo_box {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    header .mobile_header .logo_box a {
        position: relative;
        width: 30%;
        z-index: 2;
    }
    header .mobile_header .bar_box {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 6vw;
        display: flex;
        flex-direction: column;
        gap: 2vw;
        z-index: 1;
    }
    header .mobile_header .bar_item {
        width: 10vw;
        height: .5vw;
        background: var(--olive);
        transition: .25s;
    }
    header .mobile_header .active_sidebox .bar_item:nth-child(1) {
        transform: rotate(45deg) translate(2vw, 1.5vw);
    }
    header .mobile_header .active_sidebox .bar_item:nth-child(2) {
        opacity: 0;
    }
    header .mobile_header .active_sidebox .bar_item:nth-child(3) {
        transform: rotate(-45deg) translate(2vw, -1.5vw);
    }
    header .mobile_header .menu_box {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15vw;
        padding: 10vw;
        background: var(--mint);
        transform: translateY(100%);
        overflow: hidden;
        transition: .5s;
    }
    header .mobile_header .active_sidebox .menu_box {
        transform: translateY(0);
    }
    header .mobile_header .nav_box,
    header .mobile_header .contact_box,
    header .mobile_header .button_box {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1;
    }
    header .mobile_header .nav_box {
        gap: 8vw;
    }
    header .mobile_header .nav_box a {
        position: relative;
        color: var(--olive);
        font-family: "Caviar Dreams Bold";
        font-size: 6vw;
    }
    header .mobile_header .nav_box a::before {
        content: "";
        position: absolute;
        bottom: -2vw;
        left: 0;
        width: 0;
        height: .4vw;
        background: var(--olive);
        transition: .25s;
    }
    header .mobile_header .nav_box a.active::before,
    header .mobile_header .nav_box a:hover::before {
        width: 100%;
    }
    header .mobile_header .social_box {
        display: flex;
        gap: 5vw;
        top: 5vw;
        right: 5vw;
        z-index: 1;
    }
    header .mobile_header .social_box a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 10vw;
        height: 10vw;
        border: .2vw solid var(--olive);
        border-radius: 50%;
        background: none;
    }
    header .mobile_header .social_box a:hover {
        background: var(--olive);
    }
    header .mobile_header .social_box i {
        color: var(--olive);
        font-size: 4vw;
    }
    header .mobile_header .social_box a:hover i {
        color: var(--mint);
    }
    header .mobile_header .contact_box {
        gap: 5vw;
    }
    header .mobile_header .contact_box a,
    header .mobile_header .contact_box p {
        color: var(--olive);
        font-size: 4vw;
    }
}


/* ---FOOTER STYLES--- */

footer .footer_box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: .05vw solid var(--whitesmoke);
    border-bottom: .05vw solid var(--whitesmoke);
}

footer .footer_item:nth-child(1),
footer .footer_item:nth-child(2) {
    border-right: .05vw solid var(--whitesmoke);
}

footer .footer_item:nth-child(1) {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    padding: 2vw;
}

footer .footer_item:nth-child(1) a {
    display: none;
    width: 30%;
}

footer .footer_item:nth-child(2) {
    display: flex;
    flex-direction: column;
}

footer .footer_item:nth-child(2) a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--olive);
    font-family: "Caviar Dreams Bold";
    font-size: 1vw;
    padding: 1.5vw;
    border-bottom: .05vw solid var(--whitesmoke);
}

footer .footer_item:nth-child(2) a:hover {
    background: #A5CC8930;
}

footer .footer_item:nth-child(2) a:last-child {
    border-bottom: 0;
}

footer .footer_item:nth-child(3) {
    position: relative;
    display: flex;
    flex-direction: column;
}

footer .social_box {
    display: flex;
    gap: 1vw;
    position: absolute;
    top: 2vw;
    right: 2vw;
    z-index: 1;
}

footer .social_box a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5vw;
    height: 2.5vw;
    border: .1vw solid var(--olive);
    border-radius: 50%;
    background: none;
}

footer .social_box a:hover {
    background: var(--olive);
}

footer .social_box i {
    color: var(--olive);
    font-size: 1.2vw;
}

footer .social_box a:hover i {
    color: var(--cream);
}

footer .second_btn {
    margin: 2vw 0 0 2vw;
}

footer .contact_box {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    margin-top: auto;
    padding: 0 0 2vw 2vw;
    border-bottom: .05vw solid var(--whitesmoke);
}

footer .contact_box a {
    display: flex;
    align-items: center;
    gap: .25vw;
    color: var(--olive);
    font-size: 1vw;
}

footer .contact_box p {
    display: flex;
    align-items: center;
    gap: .25vw;
    color: var(--olive);
}

footer .legal_box {
    display: flex;
    align-items: center;
    gap: 1.5vw;
    padding: 1.5vw;
}

footer .legal_box a {
    color: var(--olive);
    font-size: .8vw;
}

footer .legal_box span {
    color: var(--olive);
    font-size: .8vw;
}

footer .bar_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1vw 2.5vw;
}

footer .bar_box a {
    color: var(--olive);
    font-size: .8vw;
}

@media (max-width: 996px) {
    footer .footer_box {
        grid-template-columns: 1fr;
        border-top: .1vw solid var(--whitesmoke);
        border-bottom: .1vw solid var(--whitesmoke);
    }
    footer .footer_item:nth-child(1),
    footer .footer_item:nth-child(2) {
        border-right: 0;
        border-bottom: .1vw solid var(--whitesmoke);
    }
    footer .footer_item:nth-child(1) {
        gap: 3vw;
        padding: 5vw;
    }
    footer .footer_item:nth-child(1) a {
        width: 100%;
    }
    footer .footer_item:nth-child(2) a {
        font-size: 4vw;
        padding: 5vw;
        border-bottom: .1vw solid var(--whitesmoke);
    }
    footer .footer_item:nth-child(3) {
        height: 50vw;
    }
    footer .social_box {
        gap: 2.5vw;
        top: 5vw;
        right: 5vw;
    }
    footer .social_box a {
        width: 8vw;
        height: 8vw;
        border: .2vw solid var(--olive);
    }
    footer .social_box i {
        font-size: 3vw;
    }
    footer .second_btn {
        margin: 5vw 0 0 5vw;
    }
    footer .contact_box {
        gap: 5vw;
        padding: 0 0 5vw 5vw;
        border-bottom: .1vw solid var(--whitesmoke);
    }
    footer .contact_box a {
        gap: 1vw;
        font-size: 3vw;
    }
    footer .contact_box p {
        gap: 1vw;
    }
    footer .legal_box {
        display: flex;
        align-items: center;
        gap: 5vw;
        padding: 5vw;
    }
    footer .legal_box a {
        font-size: 2.5vw;
    }
    footer .legal_box span {
        font-size: 2.5vw;
    }
    footer .bar_box {
        padding: 5vw;
    }
    footer .bar_box a {
        font-size: 2.5vw;
    }
}


/* ---ANIMATIONS--- */

@keyframes rotate {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scale {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes scrolldown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(25%);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}