@font-face {
    font-family: 'Rubik';
    src: url('../font/Rubik/Rubik-VariableFont_wght.ttf') format('woff2'),
         url('../font/Rubik/static/Rubik-BlackItalic.ttf') format('woff'),
         url('../font/Rubik/static/Rubik-BoldItalic.ttf') format('woff'),
         url('../font/Rubik/static/Rubik-ExtraBoldItalic.ttf') format('woff'),
         url('../font/Rubik/static/Rubik-MediumItalic.ttf') format('woff'),
         url('../font/Rubik/static/Rubik-SemiBoldItalic.ttf') format('woff');
    font-display: swap;
    font-style: normal;
}


:root {
    --font: 'Rubik', sans-serif;
    --font2: 'Barlow Condensed', sans-serif;

    --bg-first: #007878;
    --bg-second: #F8C055;
    --bg-last: #9C9C9C;
    --bg-white: #fbfbfb;
    --bg-black: #484848;


}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: var(--bg-white);
}

/* Globales */
a {
    text-decoration: none;
    font-family: var(--font);
    color: var(--bg-black);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
}

button {
    border: none;
    background-color: transparent;
}

p,
h1,
h2,
h3 {
    font-family: var(--font);
}

label {
    color: black;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
}

@media (min-width: 768px) {
    label {
        color: var(--bg-first);
    }
}

img {
    max-width: 100%;
    height: 100%;
}

.header__flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    /* background-color: #E0E0E0; */
}

.header__close {
    display: none;
}

@media (min-width: 768px) {
    /* .menu {
        display: none;
    }

    .link__mobile {
        display: none;
    } */

    .header__flex {
        padding: 0;
        position: relative;
        background-color: transparent;
    }

    .header__close {
        display: block;
        position: absolute;
        top: 2rem;
        right: 5rem;
        font-size: 30px;
    }

    .header__close>img {
        width: 1rem;
        transition: .2s linear;
    }

    .header__close>img:hover {
        transform: scale(1.2);
        transition: .2s linear;
    }

    .header__close>img:active {
        transform: scale(.9);
    }

    .d-flex-none {
        display: none;
    }
}

.body__contact {
    display: flex;
    flex-direction: column;
}

.contact__main__flex {
    display: grid;
    grid-template-columns: 1fr;
    flex: 1;
    padding: 2rem 0;
}

@media (min-width: 1200px) {
    .contact__main__flex {
        padding: 4rem 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        flex: 1;
    }
}

.contact__section__form {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
}

@media (min-width: 768px) {
    .contact__section__form {
        display: flex;
        justify-content: center;
        align-items: center;
        /* background-color: #007878; */
    }
}


@media (min-width: 768px) {
    .contacto__flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: .5rem;
    }
}

.formulario__title {
    font-size: 30px;
    font-weight: 500;
    color: var(--bg-black);
}

.formulario__parraf {
    margin-top: 17px;
    margin-bottom: 9px;
    font-size: 18px;
    color: var(--bg-first);
}

.formulario__div {
    margin-top: .7rem;
    display: flex;
    flex: 1;
    gap: .2rem;
    flex-direction: column;
}

.formulario__width {
    width: 100% !important;
}

.label_mail {
    position: relative;
}

.label_mail::after {
    content: '*';
    position: relative;
    left: 2%;
    bottom: -.2rem;
    font-size: 1.4rem;
    color: rgb(219, 90, 9);
}

/* .container {
    padding: 1rem;
} */

.input__contacto {
    width: 100%;
    height: 41px;
    padding-left: 1rem;
    background-color: transparent;
    font-size: 20px;
    border: none;
    border-bottom: 1px solid #00000043;
    outline: none;

    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 24px;
}

.input__contacto:focus {
    outline: 2px solid var(--bg-second) !important;

}

/* Select */
.input__select {
    background-image: url(../img/selected-arrow.svg) !important;
    background-repeat: no-repeat !important;
    background-position: 95% center !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    -o-appearance: none !important;
    appearance: none !important;

    font-family: 'Rubik' !important;
    font-style: normal !important;
    font-weight: 300 !important;
    font-size: 12px !important;
    line-height: 24px !important;
    border: none !important;
    height: 60px !important;
    padding: 2rem;

    background-color: #9C9C9C30;
    padding: .1rem;
    border-radius: .4rem;
}

@media (min-width: 768px) {
    .input__select {
        font-family: 'Rubik' !important;
        font-style: normal !important;
        font-weight: 300 !important;
        font-size: 15px !important;
        line-height: 24px !important;
    }
}

.input__select::-ms-expand {
    display: none;
}

.formualaro__textarea {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    margin-top: .7rem;
}

.input__textarea {
    width: 100%;
    height: 244.34px;
    padding: 1rem;

    background-color: #9C9C9C30;
    border: none;
    border-radius: 5px;
    resize: none;
    font-size: 20px;
    outline: none;

    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 24px;
}

.input__textarea:focus {
    outline: 2px solid var(--bg-second) !important;

}

@media (min-width: 768px) {
    .formulario__width {
        width: 100% !important;
    }

    .input__contacto {
        height: 30px;
        padding-left: 1rem;

        font-size: 20px;
    }

    .formualaro__textarea {
        display: flex;
        flex-direction: column;
        margin-top: .7rem;
    }

    .input__textarea {
        width: 520px;
        height: 104.34px;
        padding-left: 1rem;

        border-radius: 5px;
        resize: none;
        font-size: 20px;
    }
}

.input__flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.input__btn__contacto {
    width: 150px;
    margin-top: 1rem;

    background: var(--bg-first);
    border-radius: 5px;
    border: 0;

    padding: .9rem .8rem;

    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 28px;

    color: #fff;
    cursor: pointer;
}

@media (min-width: 768px) {
    .input__btn__contacto {
        width: 150.26px;
        margin-top: 1rem;

        background: #007878;
    }

}

@media (min-width: 1200px) {
    .input__contacto {
        height: 30px;
    }

    .contact__formulario {
        padding: 2rem 0;
    }

    .input__textarea {
        height: 204.34px;
    }
}

@media (min-width: 1400px) {
    .input__contacto {
        height: 44px;
    }

    .input__textarea {
        height: 244.34px;
    }
}

/* Section guide */
.contact__section__help {
    display: none;
}

@media (min-width: 1200px) {
    .contact__section__help {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

.contact__title {

    font-family: 'Rubik';
    font-style: normal;
    font-weight: bold;
    font-size: 3.5rem;
    color: var(--bg-first);
    line-height: 57px;
    letter-spacing: 0.02em;
}

.contact__info__flex {
    display: flex;
    justify-content: center;
    width: 70%;
    flex-direction: column;
}

.contact__parraf {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 28px;
    padding-top: 1.5rem;

    color: #007878;
}
.contact_svg_icon{
    padding: 2rem;
}
.contact__span {
    color: var(--bg-first);
}

.contact__grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.img__width {
    width: 6rem;
}

@media (min-width: 1400px) {
    .contact__grid {
        gap: 2rem;
    }
}

.contact__flex {
    display: flex;
    justify-content: center;
    align-items: center;

}

.contact__width {
    width: 5rem;
}

.contact__arrow {
    width: 2rem;
}

.contact__formulario {
    padding: 0rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* border-radius: 1.4rem; */
    /* background-color: #fff; */
    /* border: 1px rgba(0, 0, 0, 0.2) solid; */
    color: var(--bg-black);
}

/* .header {
    background-color: var(--bg-first);
    color: #fff;
    display: grid;
    grid-template-rows: max-content 1fr;
    grid-template-areas:
        "navo"
        "content"
    ;
} */

@media (min-width: 1008px) {
    .header {
        /* height: 95vh; */
    }
}

.nav {
    grid-area: navo;
    display: grid;
    justify-content: space-between;
    grid-auto-flow: column;
    gap: 1rem;
    align-items: center;
    height: 90px;

    position: sticky;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    /* background-color: var(--bg-white); */
}

@media (min-width: 908px) {
    .nav {
        /* background-color: var(--bg-first); */
    }
}

.nav__list {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    transition: .3s linear;
    /* background-color: var(--bg-white); */
    z-index: 0;
}

.nav__list.menu {
    display: flex;
    flex-direction: column;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 1rem;
    list-style: none;
    gap: 0rem;
}

.nav__flex {
    display: flex;
    align-items: center;
    gap: .5rem;
}

@media (min-width: 768px) {
    .mobile__icon {
        display: none;
    }
}

.menu .nav__item {
    padding: 1rem 0;
    border-bottom: 2px solid #0000002b;
}

.menu .nav__link {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #484848;
}

@media (min-width: 768px) {
    .nav__list {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        transition: .3s linear;
        background-color: transparent;
        z-index: 0;
        list-style: none;
        display: grid;
        grid-auto-flow: column;
        gap: 2rem;
    }

    .nav__list.menu {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        transition: .3s linear;
        background-color: transparent;
        z-index: 0;
        list-style: none;
        display: grid;
        grid-auto-flow: column;
        gap: 2rem;
    }

    .menu .nav__item {
        padding: 0;
        border-bottom: 0;
    }

    .menu .nav__link {
        font-family: 'Rubik';
        font-style: normal;
        font-weight: 100;
        font-size: 20px;
        line-height: 20px;
        color: var(--bg-black);
    }
}

@media (min-width: 768px) {
    .menu .nav__link {
        font-family: 'Rubik';
        font-style: normal;
        font-weight: 100;
        font-size: 20px;
        line-height: 20px;
        color: var(--bg-white);
    }

    .header {
        /* display: none; */
    }
}

.nav__link {
    color: var(--bg-white);
}

.nav__link:hover {
    color: var(--bg-second);
}

.nav__active {
    color: var(--bg-second);
}

.nav__logo {
    font-size: 1.8rem;
    font-weight: 300;
}



@media (max-width: 1200px) {

    .nav__list {
        gap: 3em;
    }
}

@media (max-width: 900px) {

    .nav {
        height: 55px;
    }

    .logo__desktop {
        display: none;
    }
}

/* Contact emoji */
.contact__emoji {
    font-size: 6rem;
}

@media (min-width: 1200px) {
    .contact__emoji {
        font-size: 120px;
    }
}

/* Event submit */
.cursor-not-allowed {
    cursor: not-allowed;
    opacity: .6;

}
.ml-success{
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.363);
}
.ml-modal{
    width: min(100% - 2rem, 400px);
    height: 360px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;

    background-color: var(--bg-white);
    border-radius: .3rem;
}
.ml-contain-img{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    /* background-color: var(--bg-first); */
    border-radius: 50%;
}
.ml-descrip{
    text-align: center;
    width: 90%;

    font-family: 'Rubik';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;

    text-align: center;

    color: #484848;
}
.ml-btn{
    width: 112px;
    height: 32px;

    background: #007878;
    border-radius: 5px;

    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    cursor: pointer;

    color: var(--bg-white);
}
.error{
    font-size: 17px;
    color: rgb(255, 255, 255);
    font-weight: lighter;
    position: relative;
}
.error::after{
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: -.4rem;
    left: 0;
    background-color: red;
}
/* spinner */
#spinner {
    display: none;

}
#spinner.spinner-active{
    display: block!important;
    margin: 10px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

#spinner>div {
    background-color: var(--bg-second);
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

#spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

#spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

#spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

#spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}