:root {
    --fuente: 'Andika', sans-serif;
    --blanco: #FFFFFF;
    --negro: #000000;
    --celeste: #21b6b6;
    --violeta: #c237db;
    --amarillo: #ffff00;
    --gris: #e0e0e0;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}
*,*:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: var(--fuente);
    font-size: 1.6rem;
}

/*Globales*/
.contenedor {
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;
}
a {
    text-decoration: none;
}
li {
    list-style: none;
}

/*Header*/
.header {
    background: rgb(224,224,224);
    background: linear-gradient(0deg, rgba(224,224,224,1) 8%, rgba(33,182,182,0.7934524151457458) 34%, rgba(194,55,219,1) 100%);
    height: auto;
}
@media (min-width: 768px) {
    .header {
        height: 70rem;
    }
    .contenido-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 3rem 0 0 0;
    }
}
.container-nav {
    position: relative;
    padding-top: 2rem;
}
.navegacion {
    padding: 1rem;
    visibility: hidden; 
    opacity: 0;
    height: 0;
    transition: visibility .3s ease-in-out, opacity .5s linear, height .5s linear;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px) {
    .navegacion {
        display: flex;
        flex-direction: row;
        align-items: center;
        opacity: 1;
        visibility: visible;
        gap: 4rem;
    }
    .navegacion a {
        margin-bottom: 0;
    }
}
.navegacion a {
    color: var(--blanco);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.select {
    padding: 1rem 2rem;
    border-bottom: 3px solid var(--amarillo);
}
.select:hover {
    width: 15rem;
}

/* Idioma */
.flag {
    left: -10rem;
}
.pt img,
.es img {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
}
.es {
    margin-left: 2.5rem;
}
.check {
    position: relative;
    width: 25px;
    top: -15px;
}
.check:before {
    content: '';
    position: absolute;
    width: 50px;
    height: 25px;
    background: var(--blanco);
    border-radius: 25px;
    box-shadow: 1px 1px 30px -5px var(--negro);
}
.check:after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    transition: 0.25s;
    border: 2px solid var(--gris);
    box-sizing: border-box;
    background: var(--celeste);
    box-shadow: 1px 1px 30px -5px var(--negro);
}
.check:checked:after {
    left: 25px;
    border: 2px solid var(--gris);
}
.check:checked:before {
    background: var(--celeste);
}

/*Menu responsive*/
.mobile-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}
.mobile-menu img {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
    margin-bottom: 0;
}

/* JS */
.mostrar {
    visibility: visible;
    opacity: 1;
    height: auto;
}

/*Portada*/
.portada {
    width: 100%;
}
@media (min-width: 768px) {
    .portada {
        max-width: 120rem;
        margin: auto;
        display: flex;
        justify-content: space-between;
    }
}
.info {
    margin: 0rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
}
@media (min-width: 768px) {
    .info {
        margin: 0 10rem;
        max-width: 50rem;
    }
}
.info h1 {
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
    color: var(--blanco);
}
.info h2 {
    text-align: justify;
}
@media (min-width: 768px) {
    .info h1 {
        font-size: 3rem;
        width: 40rem;
        margin-top: 5rem; 
        text-align: center; 
    }
    .info h2 {
        text-align: center;
        width: 60rem;
        padding: 1rem 5rem;
    }
}
@media (min-width: 1200px) {
    .info h1 {
        padding-top: 1.5rem;
        font-size: 6rem;
        width: 50rem; 
        text-align: center;
    }
    .info h2 {
        padding: 1rem 0 2rem;
    }
}
#z-2 {
    z-index: 2;
}
#z-1 {
    z-index: 1;
}
.vector {
    position: relative;
}
.vector img {
    position: absolute;
    width: 40rem;
    height: 40rem;
    object-fit: cover;
    display: flex;
    top: -90px;
    right: -20px;
    transform: rotate(-90deg);
}
.vector .logo-celu {
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: 20rem;
    margin-top: 18.5rem;
    transform: none;
}
@media (min-width: 760px) {
    .vector img {
        top: 0;
        right: -20px;
        width: 300px;
        height: 300px;
        transform: rotate(-20deg);
    }
    .vector .logo-celu {
        width: 9rem;
        height: 9rem;
        margin-right: 14rem;
        margin-top: 7rem;
        transform: rotate(-20deg);
    }
}
@media (min-width: 1100px) {
    .vector img {
        margin-top: 40px;
        margin-right: 15px;
        width: 600px;
        height: 600px;
        transform: rotate(-20deg);
    }
    .vector .logo-celu {
        width:  20rem;
        height: 20rem;
        margin-right: 29rem;
        margin-top: 17rem;
        transform: rotate(-20deg);
    }
}
.btn-contacto,
.service-title a,
.button button {
    padding: 1rem 3rem;
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    color: var(--negro);
    background-color: var(--amarillo);
    border-radius: 15px;
    box-shadow: 1px 1px 30px -5px var(--gris);
    cursor: pointer;
    transition: box-shadow 500ms;
}
.btn-contacto:hover,
.service-title a:hover,
.button button:hover {
    box-shadow: 1px 1px 30px -5px var(--negro);
}

/*Cuerpo*/
.promocion {
    background-color: var(--gris);    
}
.column {
    padding: 25rem 0 1rem;
}
.contenido-column {
    background-color: var(--blanco);
    margin: 1rem;
    padding: 2rem 6rem;
    text-align: center;
    border-radius: 0 5rem 0 5rem;
}
@media (min-width: 760px) {
    .column {
        padding: 1rem 0 1rem;
    }
}
@media (min-width: 1200px) {
    .column {
        /* padding: 1rem; */
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        margin: 0 25rem;
    }
    .violet {
        background-color: var(--violeta);
        padding: 2rem 0;
        margin-top: -60rem;
        height: 30rem;
    }
    .gris {
        background-color: var(--gris);
        height: 32rem;
    }
    .column-1 {
        margin: 2rem auto 0 auto;
    }
    .column-2 {
        margin: 15rem auto 0 auto;
    }
    .column-3 {
        margin: 25rem auto 0 auto;
    }
    .contenido-column {
        padding: 2rem 4rem;
        background-color: rgb(255,255,255,.7);
    }
}
.contenido-column img {
    width: 25rem;
    height: 25rem;
    object-fit: cover;
}
.contenido-column h3 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 2.5rem;
}
.contenido-column p {
    font-size: 1.5rem;
    line-height: 2;
}
.contenido-column a,
.service-contenido a {
    color: var(--violeta);
    font-weight: bold;
    cursor: pointer;
}

/* Carousel */
.portfolio h2 {
    padding: 5rem 0 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 3rem;
}
.portfolio p {
    text-align: center;
    padding: 0 0 5rem;
}
.slide {
    margin: 0;
    padding: 0 0 3rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.gallery {
    width: 100%;
}
.gallery-container {
    align-items: center;
    display: flex;
    height: 300px;
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
}
.gallery-item {
    height: 200px;
    opacity: 0;
    position: absolute;
    transition: all 0.3s ease-in-out;
    width: 330px;
    z-index: 0;
    border-radius: 15px;
    background-size: contain;
}
.gallery-item-1 {
    left: 15%;
    opacity: .4;
    transform: translateX(-50%);
}
.gallery-item-2 .gallery-item-4 {
    height: 250px;
    opacity: 0.8;
    width: 380px;
    z-index: 1;
}
.gallery-item-2 {
    left: 30%;
    transform: translateX(-50%);
}
.gallery-item-3 {
    box-shadow: -2px 5px 33px 6px rgba(0,0,0,0.35);
    height: 300px;
    opacity: 1;
    left: 50%;
    transform: translateX(-50%);
    width: 430px;
    z-index: 2;
}
.gallery-item-4 {
    left: 70%;
    transform: translateX(-50%);
}
.gallery-item-5 {
    left: 85%;
    opacity: .4;
    transform: translateX(-50%);
}
.gallery-controls {
    display: flex;
    justify-content: center;
    margin: 5px 0;
    height: 100px;
}
.gallery-controls button {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    font-size: 0px;
    margin: 0 50px;
    padding: 0 12px;
    text-transform: capitalize;
}
.gallery-controls button:focus {
    outline: none;
}
.gallery-controls-previous {
    position: relative;
}
.gallery-controls-previous::before {
    border: solid var(--violeta);
    border-width: 0 5px 5px 0;
    content: '';
    display: inline-block;
    height: 5px;
    left: -20px;
    padding: 10px;
    position: absolute;
    top: 25%;
    transform: rotate(135deg) translateY(-50%);
    transition: left 0.15s ease-in-out;
    width: 5px;
}
.gallery-controls-previous:hover::before {
    left: -40px;
}
.gallery-controls-next {
    position: relative;
}
.gallery-controls-next::before {
    border: solid var(--violeta);
    border-width: 0 5px 5px 0;
    content: '';
    display: inline-block;
    height: 5px;
    padding: 10px;
    position: absolute;
    right: -20px;
    top: 45%;
    transform: rotate(-45deg) translateY(-50%);
    transition: right 0.15s ease-in-out;
    width: 5px;
}
.gallery-controls-next:hover::before {
    right: -40px;
}
.gallery-nav {
    bottom: -15px;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    position: absolute;
    width: 100%;
}
.gallery-nav li {
    background-color: var(--gris);
    border-radius: 50%;
    height: 10px;
    margin: 0 16px;
    width: 10px;
}
.gallery-nav li.gallery-item-selected {
    background: var(--gris);
}

/*Mision y Vision*/
.mision-vision {
    background-color: var(--gris);
}
.info-mv {
    background-image: url(../img/img-vision-mision.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 50rem;
}
.info-mv p {
    margin: 0;
    line-height: 2;
    padding: 5rem 0 0 2rem;
    font-size: 2rem;
}
@media (min-width: 1200px) {
    .mision-vision {
        padding-top: 10rem;
    }
    .info-mv p {
        padding: 5rem 40rem 0;
        text-align: center;
    }
}

/* Boton de ir arriba */
#button-up img {
    width: 3rem;
    height: 3rem;
}
#button-up {
    position: fixed;
    z-index: 2;
    bottom: 5rem;
    right: 2rem;
    cursor: pointer;
}
@media (min-width: 1200px) {
    #button-up img {
        width: 6rem;
        height: 6rem;
    }
    #button-up {
        bottom: 2rem;
    }
}

/* Footer */
footer {
    background-color: var(--gris);
    padding: 1rem 0;
}
.fondo-footer {
    background: rgb(224,224,224);
    background: linear-gradient(0deg, rgba(224,224,224,1) 8%, rgba(33,182,182,0.7934524151457458) 34%, rgba(194,55,219,1) 100%);
    height: 60rem;
    margin-top: -80rem;
}
.footer {
    background-color: var(--gris);  
}
.box {
    background-color: var(--blanco);
    position: relative;
    z-index: 1;
    margin: 3rem 2rem;
}
.box-footer {
    padding: 1rem;
} 
@media (min-width: 1200px) {
    .fondo-footer {
        height: 20rem;
        margin-top: -40rem;
    }
    .box {
        margin: 5rem 20rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .box-footer {
        padding: 1.5rem 5rem;
    } 
}
.linea {
    border: 2px solid var(--amarillo);
    width: 22rem;
}
.contacto {
    display: flex;
    flex-direction: row;
}
.contacto p {
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}
.contacto .iconos {
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.redes {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 2rem 0 0 2rem;
}
.iconos-redes img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}
.redes p {
    text-align: center;
    padding: 0 1rem 0 0;
}

/* Formulario */
form {
    padding: 1rem 0;
}
@media (min-width: 1200px) {
    form {
        padding: 5rem 0;
    }
}
.form input, 
.form textarea,
.button button {
    width: 100%;
    background-color: var(--gris);
    border: none;
    border-radius: 2rem;
    margin: 1rem 0;
    padding: 1rem 2rem;
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.11);
}
.button button {
    background-color: var(--amarillo);
}
#mailto {
    opacity: 0;
}
.copyright {
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 15rem;
    background-color: var(--gris);
}
.copyright p {
    margin-top: 2rem;
    margin-bottom: 0;
} 
