/* libreria importada para estilo de fuente */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Source Sans 3", sans-serif;
    text-decoration: none;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 10;
}

/*HEADER SUPERIOR*/
.header__superior {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 70px;
    width: 350px;
    padding-right: 100px;
}

/*BARRA MENU*/
.container__menu {
    width: 100%;
    background-color: #152441;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 260px;
}

.menu {
    width: 1200px;
    margin: auto;
    height: 100%;
}

nav {
    height: 100%;
    padding: 0 50px;
}

nav > ul {
    height: 100%;
    display: flex;
}

nav ul li {
    height: 100%;
    list-style: none;
    position: relative;
}

nav > ul > li > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 14px;
    color: white;
    text-transform: uppercase;
    transform: all 30ms ease;
}

.icon__home {
    color: #fff;
    margin: auto;
    padding: 5px 10px;
}

nav > ul > li > a:hover {
    transform: scale(1.1);
    background-color: #0074c7;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    width: 100%;
}

#selected {
    transform: scale(1.1);
    background-color: #0074c7;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

/*SUB-MENU*/
/* nav ul li ul {
    width: 200px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 90px;
    left: 5px;
    padding: 14px 0px;
    visibility: hidden;
    opacity: 0;
    z-index: 10;
    transition: all 300ms ease;
} */

nav ul li:hover ul {
    visibility: visible;
    opacity: 1;
    top: 70px;
}

/* EFECTO DE FELCHA ARRIBA PARA EL SUB-MENU */
/* nav ul li ul::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #fff;
    position: absolute;
    top: -12px;
    left: 24px;
} */

/* nav ul li ul li a {
    display: block;
    color: #0099e9;
    padding: 6px;
    padding-left: 14px;
    margin-top: 10px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 300ms ease;
} */

/* nav ul li ul li a:hover {
    background-color: #0074c7;
    color: #fff;
    transform: scale(1.1);
    padding-left: 30px;
    font-size: 14px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
} */

#check__menu {
    display: none;
}

#label__check {
    margin-left: 150px;
    height: 100%;
    display: none;
}

/* ICONO DE BARRA DE MENU*/
.icon__menu {
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    width: 26px;
    height: 100%;
    display: none;
    align-items: center;
}

/********************* barra de redes sociales ******************************/
.social-sidebar {
    position: fixed; /* Fija la barra lateral en la pantalla */
    top: 50%; /* Centra verticalmente */
    transform: translateY(-50%); /* Corrige el centrado vertical */
    transition: all 0.3s ease; /* Transición suave para la animación */
    z-index: 100; /* Asegura que esté por encima de otros elementos */
    right: 0px; /*Fija la posicion de la barra a la derecha*/
}

.social-sidebar:hover {
    right: 20px; /* Mueve la barra hacia la izquierda al pasar el cursor */
}

.social-icon {
    display: block; /* Hace que los iconos ocupen todo el ancho del contenedor */
    margin-bottom: 10px; /* Espacio entre iconos */
    transition: transform 0.2s ease; /* Transición para la animación */
}

.social-icon img {
    width: 40px; /* Ancho del icono */
    height: 40px; /* Alto del icono */
    transition: opacity 0.2s ease; /* Transición para la opacidad */
}

.social-icon:hover img {
    opacity: 1; /* Aumenta la opacidad al pasar el cursor */
    transform: scale(1.2); /* Escala el icono al pasar el cursor */
}

main {
    margin-top: 135px;
    /* padding: 0px 20px; */
    /* background: #0099e9; */
}

.p__linea1 {
    font-size: 1.3em;
    text-align: justify;
}

.centra__imagen {
    text-align: center;
}

/* .imagen__linea1 {
    height: 550px;
    width: 425px;
} */

/* .imagen__linea1 {
    background-image: url('imgG/reportaje1G.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    height: 450px;
    width: 100%;
} */

.imagen__linea3 {
    height: auto;
    width: 100%;
}

.imagen__linea4 {
    height: "auto";
    width: 80%;
}

.centra__video {
    text-align: center;
}

/* ajuste de tamaño para la informacion */
.video__linea1 {
    height: 350px;
    width: 530px;
}

.video__linea2 {
    height: 450px;
    width: 330px;
}

.color__viñeta {
     color: #0074c7
}

/* para estilo del formulario */
.lblcampo {
    color: LightSeaGreen;
}

.msjcolor {
    color: red;
}

.tiuloform {
    background-color: #152441;
    color: #F3DF7B;
    text-align: center;
    border-radius: 8px;
    margin: 0 100px;
    padding: 10px 0;
}

/* para el estilo del carrusel ********************/
.titulo-carrusel {
    background-color: #152441;
    color: #F3DF7B;
    text-align: center;
    border-radius: 8px;
    margin: 0 285px;
    padding: 10px 0;
}

.carousel {
    border: #eee solid;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 700px;
    overflow: hidden;
    display: flex;
    /* ... */
    >* {
        flex: 0 0 100%;
    }
    /* ... */
    &:hover .group {
        animation-play-state: paused;
    }
}

.card {
    width: 100%;
    color: white;
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 10%) 5px 5px 20px 0;
    padding: 20px;
    font-size: xx-large;
    justify-content: center;
    align-items: center;
    min-height: 200px;

    &:nth-child(1) {
        background: #eee;
    }

    &:nth-child(2) {
        background: #eee;
    }

    &:nth-child(3) {
        background: #eee;
    }
}

/* Agrupando las tarjetas para una mejor estructura. */
.group {
    display: flex;
    gap: 20px;
    padding-right: 20px;
    /* Agrega padding a la derecha para crear un espacio entre la última y la primera tarjeta */
    /* ... */
    will-change: transform;
    animation: scrolling 35s linear infinite;
}

.img-carrusel {
    height: 300px;
    width: 280px;
    /* aspect-ratio: 16 / 9; */
}

/* .img-carrusel {
    height: 300px;
    width: 280px;
} */

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/****************************************************/

.icon-correo {
    color: #D93025;
}

.icon-whatsapp {
    color: #25d366;
}

.icon-mapa {
    color: #E95420;
}

footer {
    background-color: #023877;
    color: #fff;
    text-align: center;
    height: 75px;
    padding-top: 15px;
    padding-bottom: 70px;
}

.logo__footer {
    font-size: 45px;
    height: 65px;
    width: 65px;
}

/* DISPOSITIVOS RESPONSIVOS */
/* TABLET */
@media screen and (max-width: 768px) {

    header {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #fff;
        z-index: 10;
    }

    /*BARRA MENU*/
    .container__menu {
        width: 100%;
        height: 100px;
        padding-left: 25px;
    }

    nav > ul {
        flex-direction: column;
        background-color: #152441;
        position: fixed;
        top: 100px;
        left: 0;
        height: 0px;
        width: 100%;
        transition: all 300ms ease;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
    }

    nav > ul > li > a:hover {
        transform: scale(1);
        background-color: #0074c7;
        width: 100%;
    }

    /* SUB-MENU */
    /* nav ul li ul {
        left: 90px;
    } */

    nav > ul > li:hover ul {
        top: 50px;
    }

    nav > ul > li > a {
        border-radius: 10px;
    }

    nav > ul > li:first-child a > i {
        margin-left: 25px;
    }

    nav > ul > li:hover a > i {
        margin-left: 300px;
    }

    #label__check {
        display: block;
    }

    .icon__menu {
        display: flex;
        margin-left: 160px;
    }

    #check__menu:checked ~ nav > ul {
        height: 350px;
        opacity: 1;
        visibility: visible;
    }

    /* Barra de Redes Sosciales */
    .social-sidebar {
        transform: translateY(485%);
        right: 45px; /* Ajusta la posición horizontal */
        padding: 0px; /* Reduce el padding vertical*/
        top: 50%; /* Centra verticalmente */
    }

    .social-icon img {
        height: 55px;
        width: 55px;
    }

    .social-icon:hover img {
        opacity: 1; /* Aumenta la opacidad al pasar el cursor */
        transform: scale(1); /* Maniene la escala del icono al pasar el cursor */
    }

    /* Esto muestra u oculta los iconos de las redes */
    .social-sidebar a {
        /* &:nth-child(1) {
            background: #eee;
        } */
        /* oculta los iconos no deseados segun el tamaño de la pantalla */
        &:nth-child(2) {
            display: none;
        }

        &:nth-child(3) {
            display: none;
        }

        &:nth-child(4) {
            display: none;
        }
    }

    .videorepo1 {
        margin: 0;
        height: auto;
        width: auto;
    }

    /* Agrupando las tarjetas para una mejor estructura. */
    .group {
        animation: scrolling 35s linear infinite;
    }
    
    footer {
        padding: 10px 5px;
        padding-bottom: 85px;
        width: 100%;
    }
    
    .p__footer {
        padding-top: 10px;
    }

}

/* MOBILES */
/* TAMAÑO GRANDE-MEDIO*/
@media screen and (max-width: 576px) {
    
    header {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #fff;
        z-index: 10;
    }

    .logo {
        height: 75PX;
        width: 310PX;
        padding-right: 100px;
    }

    .icon__menu {
        display: flex;
        margin-left: 12px;
    }

    nav > ul > li > a {
        border-radius: 10px;
    }

    nav > ul > li:hover a > i {
        margin: auto;
    }

     /* Barra de Redes Sosciales */
    .social-sidebar {
        right: 25px; /* Ajusta la posición horizontal */
    }

    .h1__linea1{
        text-align: center;
    }
        
    .p__linea1{
        text-align: center;
    }

    /* Agrupando las tarjetas para una mejor estructura. */
    .group {
        animation: scrolling 35s linear infinite;
    }
}

/* TAMAÑO MEDIO*/
@media screen and (max-width: 480px) {

    header {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #fff;
        z-index: 10;
    }

    nav > ul > li:hover a > i {
        margin: auto;
    }

    .icon__menu {
        display: flex;
        margin-left: -80px;
    }

    nav > ul {
        top: 100px;
    }

    nav > ul > li > a {
        border-radius: 10px;
    }

        /* Barra de Redes Sosciales */
    .social-sidebar {
        top: 48%; /* Centra verticalmente */
        right: 15px; /* Centre verticalmente */
    }

    .titulo-carrusel {
        margin: 0 100px;
    }
    
    .h1__linea1{
        text-align: center;
    }
        
    .p__linea1{
        text-align: center;
    }

    /* Agrupando las tarjetas para una mejor estructura. */
    .group {
        animation: scrolling 30s linear infinite;
    }

    footer {
        padding: 5px 5px;
        padding-bottom: 80px;
        width: 100%;
    }

}

/* TAMAÑO MEDIO-2*/
@media screen and (max-width: 425px) {

    header {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #fff;
        z-index: 10;
    }

    .logo {
        height: 50px;
        width: 200px;
        padding-right: 0px;
    }

    .icon__menu {
        display: flex;
        margin-left: -10px;
    }

    nav > ul > li > a {
        border-radius: 10px;
    }

    /* Barra de Redes Sosciales */
    .social-sidebar {
        right: 35px; /* Ajusta la posición horizontal */
    }

    .imagen__linea1 {
        height: 480px;
        width: 400px;
    }

    .h1__linea1{
        text-align: center;
    }
        
    .p__linea1{
        text-align: center;
    }

    /* Agrupando las tarjetas para una mejor estructura. */
    .group {
        animation: scrolling 35s linear infinite;
    }

}

/* TAMAÑO MEDIO-2*/
@media screen and (max-width: 375px) {

    header {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #fff;
        z-index: 10;
    }

    .logo {
        height: 50px;
        width: 200px;
        margin-left: -5px;
    }

    nav > ul > li > a {
        border-radius: 10px;
    }

    .icon__menu {
        display: flex;
        margin-left: -55px;
    }

    /* Barra de Redes Sosciales */
    .social-sidebar {
        right: 45px; /* Ajusta la posición horizontal */
        top: 35%; /* Centra verticalmente */
    }

    .h1__linea1{
        text-align: center;
    }
        
    .p__linea1{
        text-align: center;
    }

    /* Agrupando las tarjetas para una mejor estructura. */
    .group {
        animation: scrolling 30s linear infinite;
    }

    /* ajuste de tamaño para la informacion */
    .video__linea1 {
        height: auto;
        width: 100%;
    }

}

/* TAMAÑO MEDIO-PEQUEÑO*/
@media screen and (max-width: 320px) {

    .logo {
        height: 50PX;
        width: 180PX;
        margin-left: -5px;
    }

    .icon__menu {
        display: flex;
        margin-left: -65px;
    }

    /* Barra de Redes Sosciales */
    .social-sidebar {
        right: 108px;
        top: 52%; /* Centra verticalmente */
    }

    .h__linea1{
        text-align: center;
    }
        
    .p__linea1{
        text-align: center;
    }

    footer {
        padding-bottom: 80px;
        width: 130%;
    }

}