:root {
    --brown: #C5946C;
    --light-brown: #d9b596;
    --black: #221e1f;
    --green: #18BA45;
    --red: #c11818;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    color: var(--black);
    font-weight: 300;
}

body.noScroll {
    overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
    font: inherit;
    color: inherit;
    background-color: transparent;
    display: block;
    padding: 0;
    margin: 0;
    text-align: left;
    border: none;
}

picture,
img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

dialog {
    max-width: none;
    max-height: none;
    border: none;
}

/**********
General
 */

.title {
    font-weight: 700;
    font-size: 58px;
    text-align: center;
    color: var(--black);
    margin-bottom: 40px;
    margin-top: 0;
}

.button {
    background-color: var(--brown);
    padding: 15px 5px;
    color: white;
    max-width: 278px;
    display: block;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
    appearance: none;
    cursor: pointer;
    border-radius: 27px;
}

.button.outline {
    background-color: white;
    border: 2px solid var(--brown);
    color: var(--brown);
}

.button.center {
    margin: auto;
}

.loading {
    position: relative !important;
    pointer-events: none !important;
    color: transparent !important;
}

.loading::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: loading 1s ease infinite;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

@media (max-width: 800px) {
    .title {
        font-size: 40px;
    }

    .button {
        padding: 10px 5px;
    }
}

/*************
Footer
 */

#footer {
    width: 100%;
    padding-top: 60px;
}

#footerLink {
    display: block;
    margin: 0 auto 30px;
}

#footerLinkLogo {
    max-width: 135px;
    margin: auto;
}

#footerTitle {
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
}

#footerNav {
    display: flex;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    color: var(--brown);
    margin-bottom: 30px;
}

#footerHero {

}


@media (max-width: 800px) {
}


/***************************
Swal
 ****************************/

.swal2-popup {
    border-radius: 10px !important;
    overflow: hidden !important;
}

.swal2-select {
    border: 2px solid var(--brown) !important;
}

.swal2-confirm:not([style*=background]) {
    background-color: var(--brown) !important;
}

.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgb(197 148 108 / 50%) !important;
}

.swal2-loader {
    border-color: var(--brown) rgba(0, 0, 0, 0) var(--brown) rgba(0, 0, 0, 0) !important;
}

/*************************** Nav *******************************/


#nav {
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    padding: 25px 20px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 3;
}

#navTitle {
    text-transform: uppercase;
    font-size: 24px;
    display: flex;
    gap: 6px;
    margin-right: auto;
    font-weight: 500;
}

#navTitle span {
    color: var(--brown);
}

#navItems {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navItem {
    text-transform: capitalize;
    font-size: 18px;
    position: relative;
}

.navItem:last-child {
    background-color: var(--brown);
    color: white;
    padding: 9px 30px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 27px;
    font-size: 17px;
}

.navItem:not(:last-child):before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    top: 100%;
    background-color: var(--brown);
    transform: scaleX(0);
    transition: 0.3s;
}

.navItem.active:not(:last-child):before,
.navItem:hover:not(:last-child):before {
    transform: scaleX(1);
}

#navToggle {
    display: none;
}

@media (max-width: 800px) {
    #nav {
        padding: 20px;
    }

    #navTitle {
        font-size: 18px;
    }

    #navItems {
        position: absolute;
        visibility: hidden;
        height: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        top: 100%;
        background-color: white;
        flex-direction: column;
        padding: 0 20px;
        box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
        gap: 15px;
        transition: 0.3s;
    }

    #navItems.active {
        visibility: visible;
        border-top: 1px solid var(--black);
    }

    .navItem:first-child {
        margin-top: 20px;
    }

    .navItem:last-child {
        margin-bottom: 20px;
    }

    #navToggle {
        display: block;
    }

    #navToggle svg {
        width: 20px;
        height: auto;
    }
}

/*****************************
 Inputs
 */

.input,
.textarea {
    display: block;
    padding: 15px 10px;
    border: 2px solid lightgray;
    width: 100%;
    border-radius: 5px;
    transition: 0.3s;
}


.input:focus,
.textarea:focus {
    border-color: var(--black);
}

.textarea {
    resize: none;
}

/********************
Hero
 */

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

.hero::after {
    background-color: black;
    opacity: 0.3;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    content: "";
    position: absolute;
}

.heroTitle {
    position: absolute;
    z-index: 1;
    text-align: center;
    color: white;
    margin-bottom: 0;
    padding: 0 10px;
}

.heroImage {
    max-height: 500px;
    object-fit: cover;
}