html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
    line-height: 2;
}

/* Globales */

img {
    max-width: 100%;
}

.contenedor {
    width: 95%;
    max-width: 120rem;
    margin: 0 auto;
}

.padd {
    padding: 2rem 0;
}

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 3.4rem;
}

h3 {
    font-size: 3.8rem;
    color: #3FA9F5;
}

h4 {
    font-size: 3.2rem;
    color: #3FA9F5;
}

a {
    text-decoration: none;
    color: #000000;
}

p {
    font-size: 2rem;
}

.splide__arrows,
.splide__pagination {
    display: none !important;
}

/* Utilidades */

.seccion {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.centrar-texto {
    text-align: center;
}

.d-block {
    display: block !important;
}

.contenido-centrado {
    max-width: 800px;
}

.splide__slide img {
    max-width: 75%;
    height: auto;
    ;
}

@media (min-width: 768px) {
    .splide__slide img {
        max-width: 50%;
        height: auto;
        ;
    }
}

/* Header */

.site-header {
    background-color: #F3F6F8;
    margin-top: 12rem;
}

@media (min-width: 768px) {
    .site-header {
        margin-top: 6rem;
    }
}

.menu {
    text-align: center;
    margin: 20px;
}

.menu li {
    display: inline-block;
    text-align: center;
}

.menu li a {
    display: inline-block;
    color: white;
    text-decoration: none;
    background-color: grey;
    padding: 10px;
    width: 20px;
    height: 20px;
    font-size: 20px;
    border-radius: 100%;
}

.contenido-header {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

@media (min-width: 768px) {
    .contenido-header {
        text-align: left;
    }
}

.barra .img_logo {
    max-height: 5rem;
}

.barra {
    text-align: center;
    position: fixed;
    top: 0;
    background-color: #F3F6F8;
    width: calc(100% - 4rem);
    margin: 0 !important;
    padding: 1rem 2rem;
    z-index: 1000;
}

@media (min-width: 768px) {
    .barra {
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* margin: 1rem; */
        position: fixed;
        top: 0;
        background-color: #F3F6F8;
        width: 100%;
        margin: 0 !important;
        padding: 1rem 2rem;
    }

    .barra .img_logo {
        margin-left: 1rem;
    }
}

/* Navegación */

.navegacion a {
    color: #000;
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 2.4rem;
    display: block;
    cursor: pointer;
}

@media (min-width: 768px) {
    .navegacion a {
        display: inline-block;
        font-size: 2rem;
        margin-right: 2rem;
    }
}

/* Mobile Menu */

.mobile-menu i {
    font-size: 5rem;
}

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

.navegacion.ocultar {
    visibility: hidden;
    height: 0;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

.navegacion.mostrar {
    visibility: visible;
    height: 100%;
    opacity: 1;
}

.navegacion {
    visibility: hidden;
    height: 0;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    margin-right: 0;
}

@media (min-width: 768px) {
    .navegacion {
        visibility: visible;
        height: 100%;
        opacity: 1;
        margin-right: 2rem;
    }
}

.hero {
    min-height: 70vh;
    background-color: #F3F6F8;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    padding: 1rem;
    align-items: center;
}

.imagen_hero img {
    max-height: 10rem;
}


@media (min-width: 768px) {
    .hero {
        grid-template-columns: repeat(2, 1fr);
    }

    .imagen_hero img {
        max-height: 100%;
    }
}

.informacion .info {
    font-weight: bold;
    color: #3FA9F5;
    font-size: 2.6rem;
}

.informacion .info_title {
    font-weight: bold;
    line-height: 1;
    font-size: 4.2rem;
}

.informacion .info_description {
    font-size: 2rem;
}

/* Seccion Nosotros */

.sectionNosotros {
    text-align: center;
}

.informacionNosotros,
.informacionMision,
.informacionVision {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.informacionNosotros p {
    width: 100%;
}

.sectionInformacion p {
    width: 100%;
}

.sectionInformacion {
    display: flex;
    flex-direction: column;
    padding: 0 5rem;
}

@media (min-width: 768px) {
    .informacionNosotros p {
        max-width: 75%;
    }

    .sectionInformacion p {
        max-width: 75%;
    }

    .sectionInformacion {
        flex-direction: row;
    }
}

/* Seccion Servicios */

.sectionServicios {
    text-align: center;
    background-color: #F3F6F8;
}

.informacionServicios {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.informacionServicios p {
    width: 100%;
}

.servicios {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
}

.cardServicios {
    padding: 2rem;
}

.cardServicios img {
    max-width: 5rem;
}

.servicios h5 {
    font-weight: bold;
    font-size: 1.8rem;
    margin: 1rem 0;
}

.cardServicios {
    background-color: #fff;
    border-radius: 6px;
}

@media (min-width: 768px) {
    .informacionServicios p {
        width: 75%;
    }

    .servicios {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Nuestros proyectos */

.sectionProyectos {
    text-align: center;
}

.informacionNuestroTrabajo {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.informacionNuestroTrabajo p {
    width: 100%;
    margin: 0;
}

.proyectos {
    display: grid;
    grid-template-columns: 1fr;
}

.proyecto {
    max-width: 100%;
}

.proyecto p, .proyecto ul {
    text-align: justify;
}
.proyecto ul li {
    font-size: 2rem;
}

@media (min-width: 768px) {
    .informacionNuestroTrabajo p {
        width: 70%;
    }

    .proyecto {
        max-width: 70%;
    }

    .proyectos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 3rem;
    }
}

/* Contacto */

.sectionContacto {
    text-align: center;
    background-color: #F3F6F8;
}

.informacionContacto {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.informacionContacto h3,
.informacionContacto h4 {
    margin: 1rem;
}

.informacionContacto h4 {
    font-weight: bold;
    color: #000000;
}

.informacionContacto p {
    width: 100%;
}

.contenidoContacto {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contenidoContacto form {
    width: 100%;
    padding: 0;
}

@media (min-width: 768px) {
    .contenidoContacto form {
        padding: 2rem;
    }
}

.contenidoContacto .inputForm {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.inputForm input {
    height: 4rem;
    border-radius: 8px;
    border: none;
    outline: none;
    width: calc(100% - 2rem);
    padding-left: 2rem;
}

.inputForm textarea {
    height: 8rem;
    border-radius: 8px;
    border: none;
    outline: none;
    width: calc(100% - 2rem);
    padding-left: 2rem;
}

.imgContacto {
    padding: 2rem;
}

.btns_contacto {
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.btn-contacto {
    background-color: #3FA9F5;
    color: #F3F6F8;
    margin: 2rem 0;
    text-transform: uppercase;
    transition: background-color 0.3s ease-out;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 16px;
    padding: 1rem 6rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .contenidoContacto {
        flex-direction: row;
    }

    .informacionContacto p {
        width: 70%;
    }
}

/* Footer */

footer {
    background-color: #F3F6F8;
}

.imgFooter {
    max-width: 100%;
}

.grid-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    justify-items: center;
    align-items: center;
    color: #000;
    padding: 1rem 0;
}

.social {
    display: flex;
    text-align: center;
}

.social-social {
    color: #000;
}

.social-social i {
    font-size: 3rem;
}

.social-social p {
    margin: 0;
    font-size: 1.4rem !important;
}

.social {
    display: flex;
    justify-content: space-around;
}

.footer-social {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
}

.copyright {
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .grid-footer {
        padding: 2rem 0;
        grid-template-columns: 1fr;
    }

    .imgFooter {
        max-width: 50%;
    }
}

@keyframes show {
    from {
        opacity: 0;
        scale: 25%;
    }

    to {
        opacity: 1;
        scale: 100%;
    }
}

.informacionAnimacion {
    view-timeline-name: --image;
    view-timeline-axis: block;

    animation-timeline: --image;
    animation-name: show;

    animation-range: entry 25% cover 50%;
    animation-fill-mode: both;
}