@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

video{
    border-radius: 1rem;
}

body {

    display: grid;
    line-height: 1.6;
    background-image: linear-gradient(to top, #83c0e9 40%, #b0cafd 90%);
    grid-template-areas:
    "header"
    "main"
    "aside"
    "footer";
    grid-template-rows: auto auto auto auto 1fr;
    font-family: "Roboto", sans-serif;
    font-style: normal;
}

@media (min-width: 60em) {

    body {
        grid-template-areas:
            "header header"
            "main aside"
            "footer footer";
        grid-template-columns: 2fr 1fr;
    }

    .bodypersonas {
        display: grid;
        line-height: 1.6;
        background-color: #f4f4f4;
        color: #333;
        grid-template-areas:
        "header"
        "main"
        "aside"
        "footer";
        grid-template-rows: auto auto auto auto 1fr;
        grid-template-columns: 1fr;
    }

    .bodypersonas aside {
        background: none;
        display: grid;
        width: 100%;
        grid-template-areas:
            ".carrera .contribuciones";
        grid-template-columns: 1fr 1fr;
        margin: 1em;
        gap: 1em;
        
    }

    .carrera, .contribuciones {
        padding: 1em;
        margin: 1em;
        background: #e1e3ff;
        border-radius: 0.5em;
    }

    header .contenedora {
        flex-direction: column;
        text-align: center;
    }
    
    .noticias .noticia {
        flex-direction: column;
    }
    
    .noticias .noticia img {
        width: 100%;
        border-right: none;
        border-bottom: 0.125rem solid #ccc; 
    }
    
    header nav ul {
        flex-direction: row;
        margin-top: 0.625rem; 
    }
    
    header nav ul li {
        margin: 0.25em;
    }

}

/* - COSAS DEL HEADER - */

header {
    grid-area: header;
    width: 100%;
    height: 20em;
    background: #4c75b3;
    color: #ffffff;
    background-image: url(../imagenes/imagenheader.png);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    font-family: "Roboto", sans-serif;
}

.nuestroLogo{
    width: 8em;
}

.tituloHeader {
    font-size: 2rem;
}

header nav {
    display: flex;
    flex-wrap: wrap ;
    justify-content: space-between;
    padding: 1em 1em 1em 1em;
    color: #ffffff;
}

.navegadorMain {
    background: hsl(225 90% 60%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav ul{
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    display: flex;
    gap: 0.5em
}

header nav ul li{
    min-width: 4em;
    margin: 0.25em;
    
}

header nav ul li a{
    background-color: #001b74;
    border-radius: 1em;
    color: white;
    font-weight: bold;
    padding: 0.4em 0.8em;
    text-align: center;
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.3rem;
    box-shadow: .3em .3em #000757;
}

header nav ul li a:hover {
    background-color: #ff6347;
}

header img {
    max-width: 100%;
}

header h1 {
    color: white;
}

@media (max-width: 50em) {

    header nav ul li a {
        background-color: #001b74;
        border-radius: 1em;
        color: white;
        font-weight: bold;
        padding: 0.4em 0.9em;
        text-align: center;
        display: block;
        text-transform: uppercase;
        text-decoration: none;
        font-size: 0.6em;
        box-shadow: .3em .3em #000757;
    }

    header nav ul{
        flex-wrap: wrap;
        justify-content: center;
        list-style: none;
        display: flex;
        gap: 0.1em
    }

}

/* - COSAS DE MAIN - */

main {
    grid-area: main;
    max-width: 100%;
    margin: 1em;
}

main nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-evenly;
    list-style-type: none;
}

main nav ul li {
    background-color: hsl(225 90% 60%);
    border-radius: 10%;
    color: white;
    font-weight: bold;
    padding: 1em 1em;
    text-align: center;
    display: block;
    min-width: 0.4em;
    max-width: 20em;
    margin: 0.25em;
    text-wrap: pretty;
    box-shadow: .4em .4em #00165e;
}

main nav ul li a{
    color: white;
    font-weight: bold;
    text-align: center;
    display: block;
    margin: 0.25em;
}

main nav img{
    max-width: 100%;
    border-radius: 50%;
    align-content: center;
    
}

main nav ul :hover {
    background-color: #ff6347;
}

/* - TITULOS Y TEXTO - */

h1 {
    font-size: 2rem;
    margin-bottom: 1em;
    color:#000757;
    font-weight: 900;
    font-style: normal;
}

h2, h3, h4 {
    margin-bottom: 1em;
    color:#000757;
    font-weight: 700;
    font-style: normal;
}

p {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    text-wrap: pretty;
    font-weight: 400;
    font-style: normal;
}

ul {
    list-style-type: none;
    margin-left: 1em;
}

/* - COSAS DE LAS PERSONAS/INVENCIONES - */

.intropersona p{

    font-size: 1.2em;
    font-weight: 500;
}

.intropersona h1 { 

    text-align: center;
    text-wrap: balance;
    margin-bottom: 1em;

}

.infopersona {
    display: flex;
    flex-wrap: wrap;
    background-color: #e1e3ff;
    padding: 1em;
    border-radius: 1em;
    justify-content: center;
}

.infoInvencion{
    width: 95%;
    padding-bottom: 1rem;
}


#fotoPosadas{
    width: 50%;
}

#imgEdificioBibliotecaNacional{
    width: 90%;
}

.infoInvencion div{
    background: #e1e3ff;
    padding: 1rem;
    border-radius: 1em;
}

.infoInvencion div p{
    color: black;
}

.infoInvencion ul li{
    list-style: none;
}

.subtituloInfoInvencion{
    font-weight: bold;
}

.fotopersona img {
    width: 80%;
    height: auto;
    border-radius: 15em;
}

.datos {
    max-width: 35em;
    }

.datos p {
    margin-top: 1em;
    }

.infopersona ul {
    font-weight: bold;
}

.infopersona ul li {
    font-weight: bold;
    margin-top: 0.5em;
}

.datos {
    font-size: larger;
}

.contribuciones h3, .carrera h3{
    color: #000757;
}

.encuesta, .sugerencia h3{
    color: #000757;
}

.lineaDeTiempo{
    width: 50rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.lineaDeTiempo h1{
    text-decoration: underline;
}

.lineaDeTiempo p{
    color: white;
    margin-right: 2rem;
    text-align: left;
    text-wrap: pretty;
}

.fechas{
    border-left: 0.4rem solid #002394;
    position: relative;
}

.lineaDeTiempo h2, .lineaDeTiempo h3, .lineaDeTiempo h4{
    color: white;
}

.fechas div{
    background-color: #002394;
    padding-left: 1rem;
    margin-left: 1rem;
    position: relative;
    border-radius: 1.3em;
}


.fechas div:hover {
    background-color: #2852da;
}

.fechas div h2{
    padding-top: 0.5rem;
}

.fechas div p{
    padding-bottom: 1.7rem;
}

.fechas div::before {
    content: "";
    padding-left: 1rem;
    margin-left: 0.9rem;
    position: absolute;
    top: 50%;
    left: -2.6rem;
    height: 1rem;
    background-color: #ff6347;
    border-radius: 50%;
}

#videoOperacion{
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.grupodestacados ul li p{
    font-style: italic;
    font-size: 0.9rem;
    font-weight: 100;
}

#imgPosadas{
    width: 40%;
}

.descripcionFoto p{
    font-style: italic;
}

#videoOperacionFilamda{
    padding-bottom: 2rem;
}

/* - COSAS DE INICIO - */

.detodosparatodos h1 {
    position: relative;
    text-align: center;
    font-size: 2.2rem;
    text-transform: uppercase;

}

.detodosparatodos h4 {
    text-align: center;
}

.detodosparatodos .imagenfadu {
    position: relative;
}

.detodosparatodos .imagenfadu img {
    width: 100%;
    height: auto;
    border-radius: 0.625rem; 
}

.textointroductorio p {
    font-size: 1.1rem;
    margin-bottom: 1.25rem; 
}

.noticias {
    margin: 1.25rem 0; 
}

.noticias .noticia {
    background: #a39c9c;
    margin-bottom: 1.25rem; 
    border-radius: 0.625rem; 
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.1); 
    background-color: #e0e0e0;
}

.noticias .noticia img {
    max-width: 100%; 
    border-right: 0.125rem solid #ccc; 
}

.noticias .textonoticia1, .noticias .textonoticia2 {
    padding: 1.25rem; 
    flex: 1;
}

footer {
    grid-area: footer;
    padding: 1.5em;
    max-width: 100%;
    background: hsl(225 90% 60%);
    color: #ffffff;
    padding: 1rem;
}

aside {
    grid-area: aside;
    margin: 1em;
    padding: 1em;
    background: #e1e3ff;
    border-radius: 0.5em;
    
}

aside img {
    max-width: 100%;
}

.carrera {
    margin-bottom: 3em;
}

.button {
    background-color: hsl(225 90% 60%);
    color: hsl(0 0% 100%);
    font-family: inherit;
    font-size: inherit;
    padding: 0.5em;
    border: none;
    border-radius: .5em;
    box-shadow: .2em .2em #00165e;
    font-size: larger;
    margin-top: 0.5em;
}

.button:hover {
    background-color: #ff6347;
}

#opciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 3em;
}

.opcion {
    border: none;
    font-size: larger;
}

nav {
    grid-area: nav;
    display: block;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

.slider{
    position: relative;
    width: 50%;
    margin: auto;
    overflow: hidden;
    border-radius: 5rem;
}

.slider img{
    width: 100%;
    display: none;
}

img.displaySlide{
    display: block;
}
.slider button{
    position: absolute;
    top: 40%;
    transform: translateY(-50);
    font-size: 2rem;
    background-color: #001b74;
    padding: 0.5rem;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5em;
}

.slider button:hover {
    background-color: #ff6347;
}

.previous{
    left: 0;
}
.next{
    right: 0;   
}

.videosSideBar{
    padding-top: 2rem;
}
.videosSideBar section{
    padding-bottom: 1rem;
}

.copeteVideo{
    font-size: 0.9em;
    padding-right: 2em;
    padding-left: 1em;
}

.videoBarra{

    width: 18em;
    height: auto;
}

#fondoEncuesta{
    background-image: url(../imagenes/movilizacion.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 20rem;
    display: flex;
    justify-content: center;
    align-items: end;
    border-radius: 2rem;
    
}
#fondoEncuesta h5{
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    background-color: #002394;
    opacity: 0.8;
    margin: 0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1rem;
    color: white;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}




.citaTextual{
    font-style: italic;
}


#sugerenciaInput{
    width: 18rem;
    background-color: hsl(0, 0%, 100%);
    color: hsl(0, 0%, 0%);
    font-family: inherit;
    font-size: inherit;
    padding: 0.5em;
    margin-right: 0.5em;
    border: none;
    border-radius: .5em;
    outline: none;
    cursor: pointer;
    transition: .5s;
    box-shadow: .2em .2em #00165e;
}

/* - COSAS DE OPINIONES - */

.bodyopiniones {

    background-color: #ededed;
    grid-template-columns: 1fr;

}

.opinionintro h1{

    font-size: 2.2em;
    text-align: center;
   
}

.opinionintro h2{

    font-size: 1.5em;
    text-align: center;
   
}

.opinionintro img{
    
    display: flex;
    margin: 0 auto 0 auto;
    max-width: 80%;
    justify-content: center;
    border-radius: 2em;
    
}

.opinionintro p {
    
    font-size: 1.3rem;
    font-weight: 500;
    max-width: 90%;
    margin: 1em auto 0 auto;
    text-align: center;
}


.testimonio p{

    font-weight: 500;
    text-align: left;
    text-wrap: pretty;

}

#opinionesInput{
    width: 20rem;
    background-color: hsl(0, 0%, 100%);
    color: hsl(0, 0%, 0%);
    font-family: inherit;
    font-size: inherit;
    padding: 0.5em;
    margin-right: 0.5em;
    border: none;
    border-radius: .5em;
    outline: none;
    cursor: pointer;
    transition: .5s;
    box-shadow: .2em .2em #00165e;
}

:root {
    --quote-bg-color: #e3a8a8;
  }
  
  .responsive-quote {
    position: relative;
    margin: 2em 0;
    padding: 2em;
    background-color:#9ca2f7;
    border-radius: 16px;
    border-color: #001b74;
    border-style: dotted;
    
  }

  .responsive-quote p {
    font-size: 1em;
    color:#001b74
  }
  
  .responsive-quote cite {
    font-size: 1em;
    color:#001b74;
  }
  
  .parent-container {
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
  }

@media (max-width: 50em) {

    .opinionintro p {
    
        font-size: 0.8rem;
        font-weight: 500;
        max-width: 90%;
        margin: 1em auto 0 auto;
        text-align: center;
    }
    
    
    .testimonio p{
    
        font-weight: 500;
        text-align: left;
        text-wrap: pretty;
        font-size: 0.8em;
    
    }

    .grupodestacados ul{
        
        justify-content: flex-start;
        gap: 0em;
    
    }
    .grupodestacados ul li{
        
        width: 9em;
        height: auto;
    
    }

    .grupodestacados ul li a{
        
        margin: 0.5em;
    
    }

    .grupodestacados ul li a p{
        
        font-size: 0.7rem;
    
    }





    .lineaDeTiempo{
        width: 18rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .lineaDeTiempo h1{
        text-decoration: underline;
    }
    
    .lineaDeTiempo p{
        color: white;
        margin-right: 2rem;
        text-align: left;
        text-wrap: pretty;
    }
    
    .fechas{
        border-left: 0.4rem solid #002394;
        position: relative;
    }
    
    .lineaDeTiempo h2, .lineaDeTiempo h3, .lineaDeTiempo h4{
        color: white;
    }
    
    .fechas div{
        background-color: #002394;
        padding-left: 1rem;
        margin-left: 1rem;
        position: relative;
        border-radius: 1.3em;
    }
    
    
    .fechas div:hover {
        background-color: #2852da;
    }
    
    .fechas div h2{
        padding-top: 0.5rem;
    }
    
    .fechas div p{
        padding-bottom: 1.7rem;
    }
    
    .fechas div::before {
        content: "";
        padding-left: 1rem;
        margin-left: 0.9rem;
        position: absolute;
        top: 50%;
        left: -2.6rem;
        height: 1rem;
        background-color: #ff6347;
        border-radius: 50%;
    }

    .infoInvencion{
        width: 21em;
        padding-bottom: 1rem;
    }


}

/* - FOOTER - */

#redesSocialesFooter li{
    display: inline-block;
    padding-right: 1em;
}

#redesSocialesFooter ul{
    display: flex;
    justify-content: center;
}

#redesSocialesFooter img{
    border-radius: 5rem;
}

footer h2{
    text-align: center;
}

#redesSocialesFooter li img{
width: 3em;
}

hr {
    margin: 1.8em;
    border-color: #000757;
}

.videosSideBar h3{
    color: #000757;
}

#imgEdificioBibliotecaNacional{
    padding: 1em;
    border-radius: 2em;
}

#videoprincipal {
    width: 100%;
    height: auto;

}

.mainInvencion {
    width: 100%;
    height: auto;

}