/* FONTS */

/* CAMPAING GROTESK */

@font-face {
    font-family: "grotReg";
    src: url('../assets/type/CampaignRegular.otf');
}

@font-face {
    font-family: "grotBold";
    src: url();
}

/* HELVETICA NEUE */
@font-face {
    font-family: "helvReg";
    src: url('../assets/type/HelveticaNeueRoman.otf');
}


* {
    border: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

:root {
    --primary-color: #35788D;
    --secondary-color: #DB9D68;
    --light-blue: #DEEEF3;
    --light: #fff;
    --dark: #292929;
    --cream: #ecefd9;
    --type-alfa: "grotReg", sans-serif;
    --type-beta: "helvReg", sans-serif;

    --swiper-navigation-color: #3f2e20;
    --swiper-theme-color: #3f2e20;
}

::-moz-selection {
    /* Code for Firefox */
    color: #35788D;
    background: var(--cream);
}

::selection {
    color: #35788D;
    background: var(--cream);
}

/* @media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #DB9D68;
        --secondary-color: #35788D;
        --light: #292929;
        --dark: #fff;
        --cream: #d4cbbf;
    }
} */

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    font-family: var(--type-alfa);
    overflow-x: hidden;
    width: 100vw;
}

h1,
h2,
h3,
h4,
h5 {
    text-wrap: balance;
}

a {
    color: var(--light);
    text-decoration: none;
}

p {
    text-wrap: pretty;
}

/* TRANSLATE EFFECT  */

#en-button,
#es-button {
    background-color: var(--secondary-color);
    color: var(--light);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

#en-button:hover,
#es-button:hover {
    background-color: var(--cream);
    color: var(--dark);
    transition: all ease-in 0.3s;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* TYPE SPANS */

.lightType {
    font-weight: 100;
}

.regType {
    font-weight: 400;
}

.boldType {
    font-weight: 900;
}

/* COLOR SPANS */

.lightColor {
    color: var(--light);
}

.darkColor {
    color: var(--dark);
}

/* NAVBAR */

.navbar {
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--cream);
    font-family: var(--type-beta);
    position: relative;
    transition: background-color 0.4s ease, top 0.4s ease;
    width: 100%;
    z-index: 10;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    background-color: var(--primary-color);
    z-index: 20;
    transition: all ease-in-out 0.4s;
}

.navbarDesk {
    align-items: center;
    display: flex;
    justify-content: space-evenly;
    padding: 15px;
}


.navElement {
    cursor: pointer;
    padding: 4px;
    position: relative;
}

.nElUnderline:hover::after {
    animation: underline 0.3s forwards;
    background-color: var(--secondary-color);
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
}

@keyframes underline {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}


/* RESPONSIVE MENU */

.respButton {
    display: none;
}

.menu-button {
    border: 0;
    background-color: var(--dark);
    padding: 15px;
    border-radius: 50px;
    margin: 10px;
    width: 60px;
    height: 60px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 19;
    outline: none;
    cursor: pointer;
    transition: all ease-in-out 0.3s;
}

.menu-button:hover,
.menu-button.activeM {
    background-color: var(--secondary-color);
}

.menu-button:hover .menu-bar,
.menu-button.activeM .menu-bar {
    background-color: var(--light);
}

.menu-button .menu-bar {
    width: 30px;
    height: 2px;
    background-color: var(--cream);
    position: relative;
    margin: 4px 0;
    transform-origin: center center;
}

#menuResp {
    width: 0;
    height: 0;
    position: fixed;
    background-color: var(--cream);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 17;
}

.menu-nav {
    list-style: none;
    margin: 0;
    padding: 30px 0;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: 2rem;
    overflow: hidden;
}

.menu-nav a {
    text-decoration: none;
    color: var(--primary-color);
    padding: 10px;
    display: block;
    opacity: 0;
    font-family: var(--type-alfa);
}

.menu-nav a:hover {
    background-color: var(--light);
}

/* PRIVACY */

.privacy {
    width: 85%;
    margin: 15px auto;
}

.privacyTitle {
padding: 25px 0;
text-align: center;
}

/* Footer Section */

.footer {
    background-color: var(--secondary-color);
    color: var(--light);
    width: 100%;
    margin-top: -11px;
}

.footerContainer {
    padding: 60px;
}

.footerTop {
    border-bottom: 1px solid var(--light);
    display: flex;
    justify-content: space-around;
    padding: 25px;
}

.footerTopItem {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.infoFooter {}

.selloFooter {
    width: 100px;
    height: 100px;
}

.footerBottom {
    display: flex;
    justify-content: space-around;
    margin-top: 35px;
}

/* RESPONSIVE */

@media (min-width: 0px) and (max-width:837px) {
    .respButton {
        display: block;
    }

    .footerTop {
        flex-direction: column;
        text-align: center;
    }

    .footerTopItem {
        width: 100%;
    }

    .infoFooter {
        margin: 15px 0;
    }

    .selloFooter {
        margin: 20px 0;
    }

    .selloFooterImg {
        width: 120px;
        height: 120px;
    }

    .devsTitle {
        font-size: 30px;
    }

    .devsContainer {
        padding: 45px;
    }

    .divDevs {
        flex-direction: column-reverse;
    }

    .devsLeft,
    .devsRight {
        width: 100%;
    }
    
}

@media only screen and (max-width: 837px) {
    .navbar {
        display: none;
    }
}
