/* Estilo para el overlay del spinner */

main{
       overflow-x: hidden;
}
#spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(39 39 39 / 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Animación del spinner */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #5c4c93;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    left: 60px;
    position: relative;
}

/* Definición de la animación */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body {
    margin: 0px;
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.logo-img {
    width: 5vw;
}
.conten-logo {
    position: relative;
    left: 2vw;
}

header {
    background: #171224;
    color: white;
    padding: 2vw 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* height: 6vw; */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 0px;
}

nav ul li {
    text-align: center !important;
    display: inline;
    margin-right: 5vw;
    font-weight: 600;
    letter-spacing: 0.02vw;
    font-family: Roboto;
    font-size: 0.9vw;
    display: inline-block;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* Estilo para el menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

/* Estilo para el menú activo */
.menu-toggle.active {
       transform: translateY(0px) rotate(-90deg);
    display: inline-block;
    position: absolute;
    left: calc(50vw - 10px);
    top: 86vh;
}
.menu-toggle.active div:nth-child(1) {
    transform: translateY(0px) rotate(45deg);
}

.menu-toggle.active div:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active div:nth-child(3) {
    transform: translateY(-0px) rotate(-45deg);
}

.ulMovil{
    height: 83vh!important;
}

header.active {
    background: #171224;
    color: white;
    padding: 27vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* height: 173vw; */
    z-index: 9999;
    position: relative;
}

.logo.active {
    visibility: visible;
    left: 0vw;
    position: relative;
    display: contents;
}

.cotiza-aqui {
    background-color: #80be48;
    width: 7vw;
    position: relative;
    display: inline-block;
    height: 2vw;
    text-align: center;
    align-content: center;
    border-radius: 1vw;
}

main {
    flex: 1 0 auto;
}
footer {
    flex-shrink: 0;
    text-align: center;
    padding: 20px 0;
    background: #231f20;
    color: white;
    height: 24vw;
}

.footer-contact {
    display: block;
    position: relative;
    text-align: left;
    left: 4vw;
    margin-top: 1vw;
    font-size: 1vw;
    font-family: "Open Sans";
    font-weight: 400;
}

.slash {
    display: none;
}

.direction {
    margin-top: 3vw;
}

.telefono {
    color: #81bf4b;
}

.logo-img-footer {
    text-align: center;
    position: relative;
    display: inline;
    margin-top: 3.5vw;
    width: 6vw;
    align-items: center;
}

.aviso-privacidad {
    text-align: center;
    position: relative;
    display: block;
    margin-top: 3vw;
    font-size: 1vw;
    font-family: "Open Sans";
    font-weight: 400;
}

.texto-siguenos {
    text-align: center;
    width: 100%;
    margin-top: 0.5vw;
    position: relative;
    display: block;
    margin-bottom: 1vw;
    font-size: 1.3vw;
    font-family: "Open Sans";
    font-weight: 600;
}

.logo-img-redsocial {
    width: 2vw;
}

.facebook {
    width: 0.7vw;
}

.link {
    width: 1.5vw;
}
.instagram {
    width: 1.5vw;
}

.content-red {
    border-bottom: solid 1px #81bf4b;
    height: 2.5vw;
}

.section-fotter {
    text-align: left;
    color: white;
    text-decoration: none;
    font-size: 0.8vw;
    font-family: "Open Sans";
    font-weight: 400;
}

.section-fotter a {
    text-align: left;
    color: white;
    text-decoration: none;
    font-size: 1vw;
    font-family: "Open Sans";
    font-weight: 400;
}

.descktop {
    display: inline-block;
}

.movil {
    display: none !important;
}

.desktop {
    display: block;
}

.movil {
    display: none !important;
}

.dropdown {
}

.dropbtn {
    font-size: 0.9vw;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: "Roboto";
    margin: 0;
    cursor: pointer;
    font-weight: 600;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #171224;
    width: 20vw;
    line-height: 0.5vw;
    z-index: 99;
    color: white;
}
.dropdown-content.show {
    display: block;
}
.dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #80be48;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {

}

.movilConLogo{
    position: absolute!important;
    left: 40vw!important;
    top: 24vw!important;
}

.menuToggleMovil{
        top: 97vh!important;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: inline-block;
        position: absolute;
        left: 80vw;
        top: 2vh;
    }

    .logo {
        visibility: visible;
        left: -36vw;
        position: relative;
        top: -32vw;
        width: 8vw;
        display: block;
    }

    header {
        padding: 7vw;
    }

    .logo-img {
          width: 19vw;
        margin-top: -7vw;
    }

    .conten-logo {
           position: absolute;
    left: 40vw;
    top: 32vw;
    }

    nav ul {
          display: none;
    width: 100%;
    position: absolute;
    top: 40vw;
    left: 0;
    background: #171224;
    flex-direction: column;
    margin: 0px;
    height: 77vh;
    }

    nav ul li {
           display: block;
        text-align: center;
        margin: 2vw 0;
        font-size: 4vw;
    }

    nav.active ul {
        display: flex;
    }

    .cotiza-aqui {
        background-color: #80be48;
        width: 31vw;
        position: relative;
        display: inline-block;
        height: 9vw;
        text-align: center;
        align-content: center;
        border-radius: 6vw;
    }

    .descktop {
        display: none;
    }

    .movil {
        display: inline-block;
    }

    footer {
        flex-shrink: 0;
        text-align: center;
        padding: 20px 0;
        background: #231f20;
        color: white;
        height: 133vw;
        width: 100vw;
    }

    .logo-img-footer {
        text-align: center;
        position: relative;
        display: inline;
        margin-top: 3.5vw;
        width: 55vw;
        align-items: center;
    }

    .texto-siguenos {
        text-align: center;
        width: 100%;
        margin-top: 6.5vw;
        position: relative;
        display: block;
        margin-bottom: 1vw;
        font-size: 4vw;
        font-family: "Open Sans";
        font-weight: 600;
    }

    .texto-siguenos {
        text-align: center;
        width: 100%;
        margin-top: 6.5vw;
        position: relative;
        display: block;
        margin-bottom: 7vw;
        font-size: 4vw;
        font-family: "Open Sans";
        font-weight: 600;
    }

    .content-red {
        border-bottom: solid 1px #81bf4b;
        height: 10.5vw;
        margin-bottom: 6vw;
    }

    .facebook {
        width: 2.7vw;
    }

    .instagram {
        width: 5vw;
    }

    .link {
        width: 4.5vw;
    }

    .section-fotter a {
        text-align: left;
        color: white;
        text-decoration: none;
        font-size: 3.5vw;
        font-family: "Open Sans";
        font-weight: 400;
    }

    .footer-contact {
        display: block;
        position: relative;
        text-align: left;
        left: 0vw;
        margin-top: 2vw;
        font-size: 3.5vw;
        font-family: "Open Sans";
        font-weight: 400;
        text-align: center;
        /* margin-top: 4vw; */
    }

    .direction {
        margin-top: 11vw;
    }

    .aviso-privacidad {
        text-align: center;
        position: relative;
        display: block;
        margin-top: 10vw;
        font-size: 3.5vw;
        font-family: "Open Sans";
        font-weight: 400;
    }

    .desktop {
        display: none !important;
    }

    .movil {
        display: block !important;
    }


    .dropbtn {
       font-size: 4vw;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: "Roboto";
    margin: 0;
    cursor: pointer;
    font-weight: 600;
}

.dropdown-content {
    display: none !important;
    position: absolute;
    background-color: #171224;
    width: 20vw;
    line-height: 0.5vw;
    z-index: 99;
    color: white;
}
.dropdown-content.show {
       display: block!important;
    position: relative;
    height: 26vw;
    width: 83vw;
    text-align: center;
    left: 11vw;
}
}
