* {
    margin: 0;
    padding: 0;
    font-family: "Figtree", sans-serif;
}

*:before,
*:after {
    box-sizing: inherit;
}

body {
    box-sizing: border-box;
    background-color: #FFFFFF;
    width: 100%;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

div {
    display: flex;
    unicode-bidi: isolate;
}


::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}


::-webkit-scrollbar-track {
    background: #E6E6E6;
    border-radius: 10px;
}


::-webkit-scrollbar-thumb {
    background-color: #283056;
    border-radius: 10px;
    border: 2px solid #E6E6E6;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

nav {
    background-color: #1665fe;
    width: 100%;
    height: 9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: 11rem;
    }
}

/*transparencia y difuminado nav*/
nav.scrolled {
    background-color: rgba(22, 101, 254, 0.3);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

section[id] {
    scroll-margin-top: 9rem;
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 11rem;
    }
}


.logo-odaf img {
    display: block;
    width: 20rem;
    padding: 10px;
}


.nav-odaf ul {
    font-size: 1.1rem;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 20px;
    list-style-type: none;
    flex-grow: 1;
    justify-content: flex-start;
}

@media (max-width: 800px) {

    .nav-odaf ul {
        font-size: 1rem;
    }
}

@media (max-width: 430px) {
    .nav-odaf ul {
        font-size: .8rem;
    }
}


.nav-odaf ul li a {
    color: #FFF;
    text-decoration: none;

}

.nav-odaf ul li a:hover {
    color: #000;
    transition: color 0.3s;
}

/*inicio*/


.contenedor-princ-odaf {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    align-items: center;
    justify-content: center;
    padding-top: 15rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 8rem;
    gap: 1rem;
    background-image: url('../img/web odaf fondo.png');
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 430px) {
    .contenedor-princ-odaf {
        grid-template-columns: 1fr;
    }
}

.linea-vertical {
    background-color: white;
    width: 2px;
    height: 70%;
}



.youtube {
    justify-content: right;
}



.youtube img {
    width: 18rem;
}

@media (max-width: 430px) {
    .youtube {
        justify-content: center;
    }
}


.texto-principal-odaf p {
    text-align: left;
    color: #FFFFFF;
    padding-right: 1.5rem;
}

@media (max-width: 430px) {
    .texto-principal-odaf p {
        text-align: justify;
    }
}

@media (max-width: 630px) {
    .youtube img {
        width: 8rem;
    }

    .contenedor-princ-odaf {
        padding-top: 14rem;
        padding-bottom: 7rem;
    }
}

@media (max-width: 375px) {
    .contenedor-princ-odaf {
        padding-top: 13rem;
        padding-bottom: 5rem;
    }
}

@media (max-width: 360px) {
    .contenedor-princ-odaf {
        padding-top: 13rem;
        padding-bottom: 4rem;
    }
}

@media (max-width: 344px) {
    .contenedor-princ-odaf {
        padding-top: 13rem;
        padding-bottom: 2rem;
    }
}

/*conocenos*/

#conocenos {
    background-color: #3a3a3a;
    padding: 8rem 0;
}

.bloque-odaf {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.boton-odaf {
    display: flex;
    justify-content: space-between;
    background-color: #1665fe;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-bottom: 5px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    width: 50%;
    text-align: center;
}

.icono-odaf-mision {
    width: 25px;
}

.icono-odaf-vision {
    width: 25px;
}

.icono-odaf-objetivos {
    width: 25px;
}

.flecha-abajo-odaf {
    width: 15px;
    height: 15px;
}

.contenido-odaf {
    justify-content: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: transparent;
    border-left: 4px solid #006699;
    margin-bottom: 5px;
}

.contenido-interno {
    color: #FFF;
    text-align: center;
    padding: 10px;
    margin: 0 auto;
}

.contenido-interno p {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: left;
    line-height: 1.6;
    box-sizing: border-box;
}

@media (max-width: 1680px) {
    .contenido-interno p {
        max-width: 900px;
    }
}

@media (max-width: 1440px) {
    .contenido-interno p {
        max-width: 750px;
    }
}

@media (max-width: 1366px) {
    .contenido-interno p {
        max-width: 720px;
    }
}

@media (max-width: 1280px) {
    .contenido-interno p {
        max-width: 680px;
    }
}

@media (max-width: 1176px) {
    .contenido-interno p {
        max-width: 630px;
    }
}

@media (max-width: 1024px) {
    .contenido-interno p {
        max-width: 550px;
    }
}

@media (max-width: 800px) {
    .contenido-interno p {
        max-width: 450px;
    }
}

@media (max-width: 630px) {
    .contenido-interno p {
        max-width: 350px;
    }
}

@media (max-width: 490px) {
    .contenido-interno p {
        max-width: 270px;
    }
}

@media (max-width: 430px) {
    .contenido-interno p {
        max-width: 250px;
    }
}

/*nuestros proyectos*/

#proyectos {
    background-image: url('/img/fondo_odaf_02.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


h2 {
    font-size: 2rem;
    text-align: center;
    padding: 1rem;
}

.proyectos-odaf img {
    width: 75%;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    transform-origin: center center;
    display: block;
    margin: 0 auto;
}

@media (max-width: 630px) {
    .proyectos-odaf img {
        width: 60%;
    }
}

.proyectos-odaf img:hover {
    transform: scale(0.97) rotate(-1deg);
    filter: brightness(0.95);
}

.proyectos-odaf {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 2rem 0;
    row-gap: 1rem;
    column-gap: 1rem;
}

/*contacto*/

#contacto {
    background-color: #101010;
}

.contenedor-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* dos columnas iguales */
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: #111;
    color: #FFF;
    align-items: center;
}

@media (max-width: 630px) {
    .contenedor-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.mapa-odaf img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
}

.redes-odaf {
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: start;
    justify-items: center;
    gap: 2rem;
}

.info-redes-odaf {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icono-redes-odaf {
    width: 4rem;
    height: 4rem;
}

.social-icons-odaf {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-self: end;

}

.social-icons-odaf li a {
    font-size: 2rem;
    color: #FFF;
    text-decoration: none;
}

.social-icons-odaf li a:hover {
    color: #00aced;
}

.copy-odaf {
    text-align: center;
    padding: 2rem;
    background-color: #111;
    color: #CCC;
    font-size: 0.9rem;
    justify-content: flex-end;
}

@media (max-width: 630px) {
    .copy-odaf {
        justify-content: center;
    }
}



/*otras secciones*/



/*Matriz Productiva*/

.nav-secundario {
    position: static;
}

.cont-matriz {
    display: flex;
    flex-direction: column;
    height: 23rem;
    background-image: url('/img/fondo_soldador.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 70%;
    /* más abajo */
}


.titulos-matriz {
    flex-direction: column;
    margin-top: auto;
    padding-left: 1rem;
    padding-bottom: 1rem;
    padding-right: 1rem;
    color: white;
    font-size: 1.2rem;

}

.titulos-matriz hr {
    border: none;
    height: 2px;
    background-color: white;
    /* o el color que combine con tu fondo */
    width: 50%;
    /* ajustá el ancho como prefieras */
    margin: 0.5rem 0;
}

.titulos-matriz h1 {
    font-size: 3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.titulos-matriz p {
    font-size: .9rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

@media (max-width: 430px) {
    .texto-matriz {
        text-align: justify;
    }
}

.texto-info-matriz {
    padding: 2rem;
    font-size: 1rem;
}

.graf-matriz {
    background-color: #d0d0d0;
    padding: 0 0 2rem 0;
}

.grafico-matriz {
    display: flex;
    justify-content: center;
    padding: 2rem .5rem;
}

.bloque-metodologia-matriz {
    padding: .5rem 0 .5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.bloque-metodologia-matriz button {
    display: flex;
    gap: 1rem;
    background-color: white;
    color: black;
    border: none;
    padding: 5px 10px;
    margin-bottom: 5px;
    font-size: .9rem;
    cursor: pointer;
    border-radius: 6px;
    text-align: center;

}

.contenido-metodologia {
    display: none;
    padding-left: 0;
    padding-right: 1.2rem;
    opacity: 0;
    transition: opacity 0.5s ease;

}

.contenido-metodologia.visible {
    display: block;
    opacity: 1;
    padding-left: 0;
}



.contenedor-info-metodologia {
    display: grid;
    grid-template-columns: 1fr 0.125rem 2fr; 
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
    background-color: #f4f4f4;
    border-left: 6px solid #0077cc;
    margin: 0 auto;
    max-width: 80rem; 
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.2);
}

@media (max-width: 430px) {
    .graf-matriz{
        padding: 1rem;
    }
    .graf-matriz p{
        text-align: justify;
    }
    .contenedor-info-metodologia {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0 auto;
        border-left: none;
    }
}

.linea-vertical-metodologia {
    background-color: black;
    width: 2px;
    height: 70%;
}

.texto-izquierdo {
    justify-content: right;
}

.texto-izquierdo p{
    font-size: 1.5rem;
    color: #0077cc;
    width: 18rem;
}


.texto-derecho p {
    text-align: left;
    color: #000;
    padding-right: 2rem;
}

@media (max-width: 430px) {
    .texto-derecho p {
        text-align: justify;
        padding-right: 0;
    }
}







/*Sismos*/

.cont-sismos {
    display: flex;
    flex-direction: column;
    height: 23rem;
    background-image: url('/img/sismosPPAL.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
}



.titulos-sismos {
    flex-direction: column;
    margin-top: auto;
    /* empuja hacia abajo */
    padding-left: 1rem;
    /* lo lleva a la izquierda */
    padding-bottom: 1rem;
    color: white;
    font-size: 1.2rem;
}

.titulos-sismos p {
    font-size: .9rem;
    padding-right: 2rem;
}

.titulos-sismos hr {
    border: none;
    height: 2px;
    background-color: white;
    /* o el color que combine con tu fondo */
    width: 50%;
    /* ajustá el ancho como prefieras */
    margin: 0.5rem 0;
}

.cont-graf-sismos {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
}

@media (max-width: 430px) {
    .cont-graf-sismos {
        flex-direction: column;
    }
}

.info-sismos {
    background-color: #d0d0d0;
}

.info-sismos iframe {
    max-width: 100%;
}

.texto-info-sismos {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.texto-info-sismos hr {
    border: none;
    height: 1px;
    background-color: black;
    /* o el color que combine con tu fondo */
    width: 60%;
    /* ajustá el ancho como prefieras */
    margin: 0.5rem 0;
}

/*Meteoroides*/

.cont-meteoros {
    display: flex;
    flex-direction: column;
    height: 23rem;
    background-image: url('/img/meteoritosFondo.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.titulos-meteoros {
    flex-direction: column;
    margin-top: auto;
    padding-left: 1rem;
    padding-bottom: 1rem;
    color: white;
    font-size: 1.3rem;
}

.titulos-meteoros p {
    font-size: 1rem;
    padding-right: 2rem;

}

.titulos-meteoros hr {
    border: none;
    height: 2px;
    background-color: white;
    width: 50%;
    margin: 0.5rem 0;
}

.info-meteoros {
    background-color: #d0d0d0;
}


.cont-info-meteoros {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.cont-info-meteoros p {
    font-size: 1rem;
}



.contenido-entero-info-meteoros {
    display: flex;
    justify-content: space-around;
    padding: 3rem 1rem;
}

@media (max-width: 430px) {
    .contenido-entero-info-meteoros {
        flex-direction: column;
        align-items: center;
    }
}

.graf-meteoros {
    display: flex;
    flex-direction: column;
}

.graf-meteoros p {
    font-size: .8rem;
}

.graf-meteoros iframe {
    max-width: 100%;
    padding-top: 1rem;
}

.graf-meteoros p {
    padding-top: 1rem;
}

.container-info-meteoros {
    display: flex;
    flex-direction: column;
}

.container-info-meteoros {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.card {
    align-items: center;
    background-color: #f4f4f4;
    border-left: 6px solid #0077cc;
    padding: 1rem;
    width: 40rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.2s ease;
}

@media (max-width: 1024px) {
    .card {
        width: 20rem;
        flex-direction: column;
    }
}

@media (max-width: 630px) {
    .card {
        width: 15rem;
    }

    .card p {
        text-align: justify;
    }
}

.card:hover {
    transform: scale(1.03);
}

.card h2 {
    margin-top: 0;
    color: #0077cc;
    font-size: 1.3rem;
}

.card p {
    font-size: .8rem;
    color: #333;
}

/*Economía del conocimiento*/

.cont-economia {
    display: flex;
    flex-direction: column;
    height: 23rem;
    background-image: url('/img/Eco. del conocimiento.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.titulos-economia {
    flex-direction: column;
    margin-top: auto;
    padding-left: 1rem;
    padding-bottom: 1rem;
    color: white;
    font-size: 1.3rem;
}

.titulos-economia p {
    font-size: 1rem;
}

.titulos-economia hr {
    border: none;
    height: 2px;
    background-color: white;
    width: 70%;
    margin: 0.5rem 0;
}


.mapa-economia{
    background-color: #d0d0d0;
}

.mapa-economia hr{
    border: none;
    height: 1px;
    background-color: #000;
    width: 100%;
}

.titulo-mapa-economia {
    font-size: 1.8rem;
}
.subtitulo-mapa-economia{
    font-size: 1rem;
    padding: 1rem;
}

.contenedor-mapa-economia-graf {
  display: flex;
  align-items: center; /* Centra horizontalmente */
  justify-content:space-between; /* Centra verticalmente si hay altura definida */
  gap: 40px; /* Espacio entre texto y gráfico */
  padding: 2rem;
  max-width: 70%;
  margin: 0 auto; /* Centra el contenedor en la página */
}
@media (max-width: 1280px) {
    .contenedor-mapa-economia-graf{
        flex-direction: column;
    }
}

.texto-mapa-economia {
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 430px) {
    .texto-mapa-economia{
        text-align: justify;
    }
}

.graf-canva-economia iframe {
  border: none;
}

@media (max-width: 430px) {
    .graf-canva-economia iframe{
        max-width: 100%;
        height: auto;
    }
}

/*Turismo*/

.cont-turismo {
    display: flex;
    flex-direction: column;
    height: 23rem;
    background-image: url('/img/Turismo_fondo.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.titulos-turismo {
    flex-direction: column;
    margin-top: auto;
    padding-left: 1rem;
    padding-bottom: 1rem;
    color: white;
    font-size: 1.3rem;
    text-shadow: 0 0 5px black, 0 0 10px black, 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.titulos-turismo p {
    font-size: 1rem;
}

.titulos-turismo hr {
    border: none;
    height: 2px;
    background-color: white;
    width: 50%;
    margin: 0.5rem 0;
}

.informacion-turismo {
    display: flex;
    flex-direction: column;
    background-color: #d0d0d0;
    padding: 0 0 2rem 0;
}



.grafico-turismo {
    display: flex;
    justify-content: center;
    padding: 1rem;
    
}

.grafico-turismo iframe {
    max-width: 100%;
}


.texto-turismo-info {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

@media (max-width: 430px) {
    .texto-turismo-info p{
        text-align: justify;
    }
}

.bloque-metodologia-turismo {
    padding: .5rem 0 .5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.bloque-metodologia-turismo button {
    display: flex;
    gap: 1rem;
    background-color: white;
    color: black;
    border: none;
    padding: 5px 10px;
    margin-bottom: 5px;
    font-size: .9rem;
    cursor: pointer;
    border-radius: 6px;
    text-align: center;

}

.contenido-metodologia-turismo {
    display: none;
    padding-left: 0;
    padding-right: 1.2rem;
    opacity: 0;
    transition: opacity 0.5s ease;

}

.contenido-metodologia-turismo.visible {
    display: block;
    opacity: 1;
    padding-left: 0;
}

@media (max-width: 430px) {
    .contenido-interno-metodologia-turismo p{
        text-align: justify;
}
}


.contenedor-info-metodologia-turismo {
    display: grid;
    grid-template-columns: 1fr 0.125rem 2fr; 
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
    background-color: #f4f4f4;
    border-left: 6px solid #0077cc;
    margin: 0 auto;
    max-width: 80rem; 
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.2);
}


@media (max-width: 430px) {
    .contenedor-info-metodologia-turismo {
        grid-template-columns: 1fr;
        justify-items: center;
        border-left: none;
    }
}




.linea-vertical-metodologia-turismo {
    background-color: black;
    width: 2px;
    height: 70%;
}

.texto-izquierdo-turismo {
    justify-content: right;
}

.texto-izquierdo-turismo p{
    font-size: 1.5rem;
    color: #0077cc;
    width: 18rem;
}


.texto-derecho-turismo p {
    text-align: left;
    color: #000;
    padding-right: 2rem;
}

@media (max-width: 430px) {
    .texto-derecho-turismo p {
        text-align: justify;
        padding-right: 0;
    }
}