:root {
    --principal: #34ae59;
    --principal-claro: #60c27d;
    --secundario: #333333;
    --secundario-claro: #888888;
    --blanco: #ffffff;
    --peligro: #e6432e;
    --peligro-claro: #ff6d6d;
    --advertencia: #ffc629;
}

* {
    font-family: "Century Gothic";
    font-family: 'Gothic A1', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    outline: none;
}

/* body {
    background-color: #f8f8f8
} */

*::selection {
    color: white;
    background-color: var(--principal);
}

a {
    text-decoration: none;
    color: inherit;
}
h1{
    font-size: 1.4em;
}
h2 {
    color: var(--principal);
    font-size: 30px;
    margin-bottom: 0.6em;
    text-align: center;
    padding: 0 10px;
}

h3 {
    color: var(--principal);
    font-size: 22px;
    text-align: center;
    padding: 0 10px;
}

h4 {
    font-size: 18px;
    text-align: center;
    padding: 0 10px;
}

.texto {
    font-size: 16px;
    line-height: 1.5em;
    /* text-align: left; */
    padding: 0 10px;
}



/* Cabecera */
header {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3.5em;
    position: fixed;
    width: 100%;
    padding: 15px 0;
    z-index: 20;
    transition: 0.05s ease-in-out;
    user-select: none;
    color: var(--principal);
    box-shadow: 0.1em 0em 0.2em 0.2em #00000020;
}

header div {
    margin: 20px;
}
header .logo{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
header .logo h1{
    font-size: 1em;
}

header img {
    height: 2.5em;
    margin-top: 0.3em;
}

header ul {
    display: flex;
}

header li {
    list-style: none;
}

header ul a {
    color: inherit;
    text-decoration: none;
    padding: 0.3em 0.6em;
    border-radius: 100px;
    margin: 0.1em;
    transition: ease-in-out 0.1s;
}

header ul a:hover {
    box-shadow: 0 0 0.4em .1em #00000020;
}

header #btn_menu {
    display: none;
}

#btn_cerrar_menu {
    display: none
}


/* Inicio */
.inicio {
    background-color: var(--principal);
    width: 100%;
    height: 100vh;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.fondo_animado {
    position: absolute;
    /* background-color: red; */
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    top: 0;
    left: 0;
}

.fondo_animado li {
    top: 100%;
    position: absolute;
    display: block;
    list-style: none;
    width: 7em;
    height: 7em;
    border-radius: 100%;
    font-size: 16px;
    background-color: #ffffff40;
    animation: background_animado 6s ease-in infinite;
}

.fondo_animado li:nth-child(1) {
    left: 10%;
    font-size: 14px;
    animation-duration: 10s;
    /* animation-delay: 5s; */
}

.fondo_animado li:nth-child(2) {
    left: 20%;
    font-size: 10px;
    animation-duration: 40s;
    /* animation-delay: 8s; */
}

.fondo_animado li:nth-child(3) {
    left: 25%;
    font-size: 26px;
    animation-duration: 30s;
    /* animation-delay: 4s; */
}

.fondo_animado li:nth-child(4) {
    left: 30%;
    font-size: inherit;
    /* animation-delay: 8s; */
    animation-duration: 14s;
    /* animation-delay: 8s; */
}

.fondo_animado li:nth-child(5) {
    left: 50%;
    font-size: 28px;
    animation-duration: 18s;
    /* animation-delay: 10s; */
}

.fondo_animado li:nth-child(6) {
    left: 60%;
    font-size: 22px;
    animation-duration: 22s;
}

.fondo_animado li:nth-child(7) {
    left: 80%;
    font-size: 26px;
    animation-duration: 10s;
    /* animation-delay: 10s; */
}

.fondo_animado li:nth-child(8) {
    left: 90%;
    font-size: 8px;
    animation-duration: 15s;
}

@keyframes background_animado {
    0% {
        top: 100%;
        /* transform: rotate(0deg); */
        opacity: 1;
    }

    100% {
        top: -10%;
        /* transform: rotate(360deg); */
        opacity: 0;
    }
}

.logo_inicio {
    background-color: white;
    font-size: 17px;
    width: 30em;
    height: 30em;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
}

.logo_inicio span {
    font-size: 1.5em;
    /* background-color: red; */
    width: 100%;
    display: flex;
    justify-content: center;
    color: var(--principal);
}

.logo_inicio img {
    width: 70%;
    margin-top: 15px;
}

.flecha_abajo {
    color: white;
    font-size: 2em;
    position: absolute;
    top: calc(50vh + 16rem);
    display: flex;
    width: 1.6em;
    height: 1.6em;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    transition: ease-in-out 0.1s;
}

.flecha_abajo::before {
    margin-top: -0.3em;
    animation: movimiento_flecha 3s infinite;
}

.flecha_abajo:hover {
    box-shadow: 0 0 15px 0 #00000030;
}

@keyframes movimiento_flecha {
    0% {
        margin-top: -0.3em;
    }

    5% {
        margin-top: 0.3em;
    }

    10% {
        margin-top: -0.5em;
    }

    13% {
        margin-top: -0.3em;
    }

    100% {
        margin-top: -0.3em;
    }
}

.wave{

    position: absolute;
    bottom: calc(40% + 0.3em);
}
.wave path{
    fill: white;
    opacity: 0.8;
}
.cuadro_blanco{
    background-color: white;
    opacity: 0.8;
    width: 100%;
    height: calc(40% + 5px);
    bottom: 0;
    position: absolute;
    padding: 4em;
}
.cuadro_blanco h1{
    font-size: 4em;
    margin-top: -1em;
    color: var(--principal);
}




/* Seccion de nosotros */

#nosotros {
    /* height: 100vh; */
    /* min-height: 100vh; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6em 1.5em;
}

.contenedor_nosotros {
    display: flex;
    width: 95%;
    max-width: 950px;
    justify-content: center;
    align-items: center;
    /* flex-direction: column; */
    flex-direction: row-reverse;

    background-color: white;
    box-shadow: 0 1px 4px 0 #00000022;
    border-radius: 2px;
    position: relative;
    padding: 3em;
}

.contenedor_medalla {
    /* background-color: green; */
    width: 100%;
    /* height: 300px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.medalla {
    width: 6em;
    height: 4em;
    font-size: 45px;
    background-position: center;
    background: url('img/SVG/premio.svg');
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #BD932E;
    user-select: none;
    /* background-color: blue; */
}

.anios {
    font-size: 0.6em;
}

.experiencia {
    font-size: 0.3em;
}

.contenedor_nosotros i {
    background-color: var(--principal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    border-radius: 100%;
    font-size: 2em;
    position: absolute;
    top: 266px;
}

.contenedor_texto_nosotros {
    display: flex;
    align-items: top;
    justify-content: center;
    flex-direction: column;
    /* padding: 3em 2em;
    padding-bottom: 0; */
    margin-left: 3em;
}



#mision_vision {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6em;
}

.contenedor_mision_vision {
    width: 90%;
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    flex-wrap: wrap;
}

.contenedor_mision_vision div {
    width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0.2em 0.8em 0px #00000022;
    padding: 2em;
    padding-top: 3em;
    position: relative;
    background-color: white;
    border-radius: 2px;
    margin: 3em 10px;
}

/* .contenedor_mision_vision div p {
    text-align: center;
} */

.contenedor_mision_vision div i {
    background-color: var(--principal);
    color: white;
    font-size: 2em;
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    position: absolute;
    top: -1em;
    box-shadow: 0px 6px 10px 0px #00000032;
}

#objetivo {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -25vh;
}

.contenedor_objetivo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1000px;
}




/* Seccion nuestro trabajo */
#nuestro_trabajo {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.materiales {
    width: 95%;
    max-width: 1000px;
    display: flex;
    margin: 20px;
    margin-bottom: 5em;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.materiales *{
    user-select: none;
}
.swiper {
    width: 100%;
    height: 100%;
    /* background-color: red; */
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: 100%;
    cursor: grab;
}
.swiper-slide :target{
    cursor: grabbing;

}

.contenedor_material {
    width: 320px;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 0.2em 0.8em 0 #00000022;
    padding: 0 1em;
    padding-top: 4em;
    padding-bottom: 1em;
    border-radius: 2px;
    /* position: relative; */
    margin: 3em 0;
}


/* Mapa dinámico */
#cont_mapa{
    width: 100%;
    max-width: 1100px;
    height: 500px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0.2em 1em 0 #00000030;
    margin: 2em;
}
#cont_mapa h2{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--principal);
    height: 2em;
    width: 100%;
    z-index: 5;
    /* box-shadow: 0 0.2em 0.3em 0 #00000030; */
}
#mapa_distribuidores {
    width: 100%;
    height: 100%;
    transform: scale(1.01);
}





.linea {
    background-color: var(--principal);
    color: white;
    font-size: 2em;
    width: 100%;
    height: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 100%; */
    position: absolute;
    top: 0;
    /* display: none; */
    box-shadow: inset 0px 6px 10px 0px #00000032;
}

.linea img {
    width: 60%;
}

.contenedor_material h4,
.contenedor_material p {
    text-align: center;
    /* margin-bottom: 0.1em; */
}

.cont_img{
    width: calc(100% - 1em);
    position: relative;
    height: 240px;
    margin: 1em 0;
}
.cont_img .foto1{
    top: 0;
    left: 0;
}
.cont_img .foto2{
    bottom: 0;
    left: 0;
}
.cont_img .foto3{
    top: 0;
    right: 0;
}
.cont_img .foto4{
    bottom: 0;
    right: 0;
}

.cont_img img{
    width: calc(50% - 0.5em);
    height: calc(50% - 0.5em);
    object-fit: cover;
    position: absolute;
    transition: ease 0.1s;
    margin: 0.1em;
    border-radius: 0.2em;
}
.cont_img img:hover{
    transform: scale(1.1);
    transform-origin: center;
    z-index: 3;
}


.presentaciones {
    margin-top: 60px;
}

.linea i {
    color: white;
}

.linea .peletizado {
    margin-left: 10px;
}

/* Mapa */
#i4ewOd-pzNkMb-haAclf {
    background-color: var(--principal) !important;
}


/* Pie de página y contácto */
footer {
    background-color: #34ae59;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 10px;
    padding-top: 100px;
    /* padding-right: 20px; */
}

footer h2 {
    color: white;
}

footer p {
    text-align: center;
}

footer label:hover,
footer button:hover {
    opacity: 0.9;
}

.contacto {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 90%;
    max-width: 500px;
}

.contacto label {
    display: inline-flex;
    background-color: white;
    color: var(--principal);
    width: 100%;
    margin: 10px 0;
    padding: 0.5em 0.6em;
    border-radius: 0.3em;
    align-items: center;
    cursor: text;
}

.contacto label i {
    width: 1.3em;
    display: flex;
    justify-content: center;
}

.contacto label input,
.contacto label textarea {
    border: none;
    width: calc(100% - 35px);
    margin-left: 6px;
    resize: none;
    font-size: 16px;
    color: var(--principal);
}

.lada {
    user-select: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.contacto label textarea {
    width: 100%;
    height: 140px;
}

.contacto label textarea::-webkit-scrollbar {
    -webkit-appearance: none;
    cursor: pointer !important;
    z-index: 2;

}

.contacto label textarea::-webkit-scrollbar {
    width: 10px;
    cursor: pointer !important;
    z-index: 2;

}

.contacto label textarea::-webkit-scrollbar-button:increment,
.contacto label textarea::-webkit-scrollbar-button {
    display: none;
    cursor: pointer !important;
    z-index: 2;

}

.contacto label textarea::-webkit-scrollbar-thumb {
    background-color: var(--principal);
    border-radius: 20px;
    border: 2px solid #ffffff;
    cursor: pointer !important;
    z-index: 2;
}

.contacto label textarea::-webkit-scrollbar-track {
    border-radius: 10px;
    cursor: pointer !important;
    z-index: 2;

}

.terminos {
    cursor: pointer !important;
    user-select: none;
}

.terminos input {
    cursor: pointer !important;
    width: unset !important;
    margin-right: 1em;
}

.terminos a:hover {
    text-decoration: underline;
}


#enviar {
    background-color: white;
    border: none;
    display: flex;
    padding: .6em 0;
    align-items: center;
    justify-content: center;
    color: var(--principal);
    margin-left: auto;
    margin-top: 0.5em;
    /* margin-right: 10px; */
    border-radius: 0.3em;
    cursor: pointer;
    width: 100px;
}

#enviar i {
    margin-right: 5px;
}

.formulario {
    margin-top: 2em;
}



/* Pie de página */
.pie_pagina {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-top: 100px;
}

.pie_pagina img {
    width: 260px;
}

.pie_pagina .texto {
    margin-top: 20px;
    display: block;
    width: 60%;
}

.redes_sociales {
    margin-top: 40px;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.redes_sociales a {
    font-size: 40px;
    cursor: pointer;
}

.redes_sociales a:hover {
    opacity: 0.8;
}
.iniciar_sesion{
    margin-top: 2em;
    padding: 0.6em;
    border-radius: 0.4em;
}
.iniciar_sesion:hover{
    box-shadow: .2em .2em .3em .3em #00000020;
    cursor: pointer;
}

#olvide_contrasena {
    color: var(--principal);
    margin-top: 1em;
    cursor: pointer;
    text-decoration: underline;
}
#olvide_contrasena:hover{
    opacity: 0.8;
}

@media (max-width: 800px) {
    .contenedor_nosotros {
        flex-direction: column-reverse;
    }

    .contenedor_nosotros * {
        text-align: center;
    }

    .contenedor_texto_nosotros {
        margin: 0;
        margin-top: 3em;
    }

    .wave{
        position: absolute;
        bottom: calc(50% + 0.3em);
    }
    .wave path{
        fill: white;
        opacity: 0.8;
    }
    .cuadro_blanco{
        background-color: white;
        opacity: 0.8;
        width: 100%;
        height: calc(50% + 5px);
        bottom: 0;
        position: absolute;
        padding: 4em;
    }
    .cuadro_blanco h1{
        font-size: 4em;
        margin-top: -1em;
        color: var(--principal);
    }
    .contenedor_material{
        transform: scale(0.95);
    }

}

@media (max-width: 820px) {
    .logo_inicio {
        font-size: 12px;
    }

    header #btn_menu {
        display: flex;
        margin-right: 1em;
    }

    header ul {
        transition: ease-in-out 0.2s;
        position: fixed;
        width: 100%;
        height: 120%;
        z-index: 30;
        background-color: var(--principal);
        display: flex;
        flex-direction: column;
        top: 0;
        margin: 0;
    }

    header ul a {
        /* background-color: var(--principal); */
        z-index: 35 !important;
        color: white !important;
        width: 100%;
        display: block;
        border-radius: 0;
        margin: 0;
        padding: 1em;
    }

    header ul a:hover {
        box-shadow: unset;
        background-color: #ffffff10;
    }

    header ul i,
    header i {
        border-radius: 100%;
        width: 2.5em;
        height: 2.5em;
        display: flex;
        cursor: pointer;
    }

    header ul i {
        margin-top: 0.5em;
        margin-right: 1em;
        margin-bottom: 0;
        margin-left: auto;
        display: flex;
    }

    header ul i:hover,
    header i:hover {
        background-color: #ffffff20;
    }

    header ul i::before,
    header i::before {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
    }

    header ul i::before {
        color: white;
    }

    #btn_cerrar_menu {
        display: flex
    }
    
    .cuadro_blanco h1 {
        font-size: 2.5em !important;
    }
}

@media (max-width: 450px) {
    .logo_inicio {
        font-size: 10px;
    }

    .contenedor_nosotros {
        padding: 3em 1em;
    }

    .contenedor_mision_vision div {
        padding: 2em 1em;
    }
}

@media (max-width: 360px) {
    .logo_inicio {
        font-size: 6px;
    }

    .medalla {
        font-size: 30px;
    }
}