/* VARIABLES GLOBALES */

:root {

    --margin-main: 25%;
}

/*####################*/

.no-visible {
    display: none;
}



@font-face {
    font-family: 'Reckless Neue';
    src: url('RecklessNeue-ThinItalic.eot');
    src: local('Reckless Neue Thin Italic'), local('RecklessNeue-ThinItalic'),
        url('RecklessNeue-ThinItalic.eot?#iefix') format('embedded-opentype'),
        url('RecklessNeue-ThinItalic.woff2') format('woff2'),
        url('RecklessNeue-ThinItalic.woff') format('woff'),
        url('RecklessNeue-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}





header {
    display: inline-block;
    background:transparent; /* Degradado de marrón a azul claro */
    position: relative;
    width: 100%;
    height: auto; /* Ocupa toda la altura de la ventana */
    overflow: hidden;
    padding: 0px;
    margin: 0px;
    padding-bottom: 1rem;
}



header svg {
    padding: 0px;
    margin: 0px;
    position: absolute;
    
    top: 0;
    left: 0;
    height: 100%;
    background-repeat: round;
    z-index: -1; /* Asegura que el SVG esté detrás de cualquier contenido */
}

#home {
    clip-path: url(#cache);
  }
  
  #red {
    fill: none;
    opacity: 0.15;
    stroke: #CE1B5F;
    stroke-width: 12;
    stroke-miterlimit:10;
    animation: show 4s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out; 
  }
  
  #blue {
    fill: none;
    opacity: 0.15;
    stroke: #06A1C4;
    stroke-width: 12;
    stroke-miterlimit:10;
    animation: show 4s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
  }
  
  #light-blue {
    fill: none;
    opacity: 0.15;
    stroke: #06A1C4;
    stroke-width: 6;
    stroke-miterlimit:10;
    stroke-dasharray: 200;
    stroke-dashoffset: 800;
    animation: draw 4s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;    
  }
  
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
   }
      }
  
  @keyframes show {
    0% {
      opacity: 0.15;
   }
    50% {
      opacity: 0.2;
   }
    100% {
      opacity: 0.15;
   }
      }

/*

*/


header h1 {
    color: #6f2205;
    text-align: center;
    font-size: clamp(6rem, 10vw, 8rem); /* Tamaño mínimo: 2rem, preferido: 10% del ancho de la pantalla, máximo: 8rem */
    font-family: 'Times New Roman', Times, serif;
    padding: 0px;
    margin: 15vh 0px 15vh 0px;
    
}


header img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
    height: auto;
    border-radius: 100%;
}

header .infofast{
    background-color:transparent;
    display: flex;
    margin-left: 40px;
    margin-right: 40px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.infof7ast {
    display: flex;
    flex-wrap: nowrap; /* Evita que los cuadros se envuelvan */
    justify-content: space-between; /* Espacio entre los cuadros */
    align-items: center; /* Alinea los cuadros verticalmente */
    gap: 1rem;
    padding: 1rem;
}

.infofast > div {
    /*flex: 0 0 42%; Cada cuadro ocupa aproximadamente el 48% del ancho 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    background-color: #f9f9f9;
    height: auto;  Ajusta la altura automáticamente */
    flex: 0 0 40%; /* Cada cuadro ocupa aproximadamente el 48% del ancho */
    padding: 5rem 0 5rem 0;
    
}




header #note1{
    background-color: #244769e8;
    /*box-shadow: 1.2rem -16px teal;*/
    box-shadow:  0px 0px 20px black;
    
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}


#note1 h3{
    
    font-family: 'Reckless Neue';
    font-size: 25px;       /* Buen tamaño para destacar */
    
    color: rgb(255, 255, 255);
    text-align: center;    /* Ideal para headers */
    line-height: 1.2;      /* Espaciado compacto */
    font-weight: 600;      /* Semi-bold para legibilidad */
    margin-bottom: 15px;   /* Separación del contenido siguiente */
    text-transform: none;  /* Evita mayúsculas forzadas (opcional) */
}


header #note1 img{
    margin-left: 8px;
}

#note2{
    background-color:#d4e3f0c4;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:  0px 0px 20px black;
    padding: 2rem;
}


#note2 h3{
    font-family: 'Reckless Neue';
    font-size: 25px;       /* Buen tamaño para destacar */
    color: rgb(99, 99, 99);          /* Neutral y profesional */
    text-align: center;    /* Ideal para headers */
    line-height: 1.2;      /* Espaciado compacto */
    font-weight: 600;      /* Semi-bold para legibilidad */
    margin-bottom: 15px;   /* Separación del contenido siguiente */
    text-transform: none;  /* Evita mayúsculas forzadas (opcional) */
}

/*^
#d4e3f0

letras grises background-color:#d4e3f0c4;

letras
contraste

#6f2205
*/


header nav {
    background-color:#d4e3f0;
    padding: 10px 0 10px 0;
    display: flex;
    flex-direction: row;
    /*justify-content: space-between;  Distribuye elementos a ambos lados */
    justify-content:center;

    border-bottom: 2px solid gray;
    margin: 0px 0px 0px 0px;
    position: fixed;
    top: 0;
    width: 100%;
}

nav a {
    color: black;
    padding: 0px 10px 0px 10px ;
    text-decoration:none;
}

nav a:hover {
    color: black;
    text-shadow: 0px 0px 30px #244769 ;
}

nav .right {
    margin-left: auto; /* Mueve este elemento hacia la derecha */
}

nav .left {
    margin-right: auto; /* Opcional: Mueve este elemento hacia la izquierda */
}

body {
    background-color: white;
    margin: 0px;
    padding: 0px;
}



main{
    background: while;
    width: 100%;
    padding: 0% 0% 3rem 0%;
}


#container-proyectos {
    background-color: #ffffff;
    width: 100%;
    
}

.container-proyectos-title {
    background-color:  #d4e3f0;
    width: 100%;
    padding: 3rem 0 2rem 0;
}

.container-proyectos-title h4{
    
    font-family: 'Reckless Neue';
    font-weight: bold;

    color: black;
    font-size: 3rem;       /* Buen tamaño para destacar */
    padding: 0rem 0 0 0;
    margin: 0rem var(--margin-main) 1rem var(--margin-main) ;
    background-color: transparent;
}

.container-proyectos-title h5{
    
    font-family: 'Reckless Neue';
    font-weight: 700;
    
    color: black;
    font-size: 2rem;       /* Buen tamaño para destacar */
    padding: 0%;
    margin: 0rem var(--margin-main) 1rem var(--margin-main) ;
    background-color: transparent;
}



#container-proyectos p{
    
    font-family: 'Reckless Neue';
    font-weight:600;
    font-style:normal;
    color: black;
    font-size: 1.5rem;       /* Buen tamaño para destacar */
    padding: 0%;
    margin: 2rem var(--margin-main) 1rem var(--margin-main) ;
}


#container-proyectos article{
    width: auto;
    background-color:#d4e3f0;
    padding: 2rem 0 2rem 0;
    margin: 2rem var(--margin-main) 1rem var(--margin-main) ;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#container-proyectos article .contenedor-imagen {
    width: calc(100% - 4rem);
    margin: 0rem 2rem 0rem 2rem;
    display: flex;
}

#container-proyectos article .contenedor-imagen img{
    width: 100%;
    height: auto; /* Mantiene la proporción de la imagen */
    display: block;
}

#container-proyectos article h6 {
    margin: 0rem 2rem 0rem 2rem;
    color: black;

    overflow-wrap: break-word;
    
    font-family: 'Reckless Neue';
    font-weight: 700;
    
    color: black;
    font-size: 2rem;       /* Buen tamaño para destacar */
    padding: 0%;
    margin: 0 2rem 0rem 2rem;
}






#container-proyectos article .container-p {
    margin: 0 2rem;
    display: -webkit-box; /* Necesario para el límite de líneas */
    -webkit-line-clamp: 3; /* Cortar después de 2 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5; /* Espaciado entre líneas (opcional) */
}

#container-proyectos article .container-p p {
    font-family: 'Reckless Neue';
    font-weight: 600;
    font-size: 1.25rem;
    color: black;
    margin: 0;
    padding: 0;
    word-break: break-word; /* Rompe palabras largas */
}





#container-proyectos article .container-tag {
    margin: 0rem 2rem 0 2rem;
    display: flex;
    flex-wrap: nowrap; /* Mantenemos nowrap para evitar saltos */
    gap: 3px;
    width: calc(100% - 4rem);
    /* Quitamos overflow: hidden para evitar cortes a medias */
}




#container-proyectos article .container-tag p {
    margin: 0;
    padding: 0.5rem;
    background-color: #0f9e7f;
    color: rgb(0, 0, 0);
    border-radius: 0.5rem;
    flex: 0 0 auto; /* No crece, no encoge, tamaño según contenido */
    white-space: nowrap; /* Evita que el texto se parta en varias líneas */
    
}

#container-proyectos article .container-tag p::after{
    background-color: #CE1B5F;
    transform: translateY(-50%);
    content: "";
    top: 50%;
    right: -1rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
}


#container-proyectos2222 article div.tag{
    overflow-wrap: break-word;
    font-family: 'Reckless Neue';
    font-weight:600;
    font-style:normal;
    color: black;
    padding: 0%;
    margin: 0 2rem 0rem 2rem;
}
  



#container-proyectos article .btnVerMas {
    background-color: #244769;
    padding: 1rem;
    width: fit-content;
    margin: 0rem 2rem 0 auto;
    cursor: pointer; 
}

#container-proyectos article .btnVerMas:hover {
    background-color: #244769d0;
}

#container-proyectos article .btnVerMas:active {
    color: white;
}









/* SOLO MEDIAS QUERY */



/* Media query para pantallas pequeñas */
@media (max-width: 768px) and (min-width: 360px) {

    :root {
        --margin-main: 5%;
    }

    .infofast {
        flex: 0 0 42%; 
        flex-wrap: wrap; /* Permite que los cuadros se envuelvan */
        margin: 0;
        background-color: #0f9e7f;
    }
    .infofast > div {
        flex: 1 1 90%; /* Cada cuadro ocupa el 100% del ancho en pantallas pequeñas */
        
    }
    header .infofast {
        margin-left: 0;  /* Elimina el margen izquierdo */
        margin-right: 0; /* Elimina el margen derecho */
    }


    #container-proyectos article{
        margin: 2rem 5% 1rem 5% ;
    }


    

}


@media (min-width: 1380px) {
    header svg {
        width: 100%;
        height: auto;
    }
    .infofast {
        height: 40vh;
    }
}


@media (max-width: 600px) {
    header svg {
        width: auto;
    }
    header h1 {
        color: #6f2205;
        text-align: center;
        font-size: clamp(4rem, 8vw, 6rem); /* Tamaño mínimo: 2rem, preferido: 10% del ancho de la pantalla, máximo: 8rem */
        font-family: 'Times New Roman', Times, serif;
        padding: 0px;
        margin: 15vh 0px 15vh 0px;
        
    }
}



/* ####################################################################*/


.container-seccion {
    background-color: #ffffff;
    width: 100%;
    margin-top: 4rem;
}

.container-seccion-title {
    background-color:  #d4e3f0;
    width: 100%;
    padding: 3rem 0 2rem 0;
}

.container-seccion-title h4{
    
    font-family: 'Reckless Neue';
    font-weight: bold;

    color: black;
    font-size: 3rem;       /* Buen tamaño para destacar */
    padding: 0rem 0 0 0;
    margin: 0rem var(--margin-main) 1rem var(--margin-main) ;
    background-color: transparent;
}

.container-seccion-title h5{
    
    font-family: 'Reckless Neue';
    font-weight: 700;
    
    color: black;
    font-size: 2rem;       /* Buen tamaño para destacar */
    padding: 0%;
    margin: 0rem var(--margin-main) 1rem var(--margin-main) ;
    background-color: transparent;
}



.container-seccion p{
    
    font-family: 'Reckless Neue';
    font-weight:600;
    font-style:normal;
    color: black;
    font-size: 1.5rem;       /* Buen tamaño para destacar */
    padding: 0%;
    margin: 2rem var(--margin-main) 1rem var(--margin-main) ;
}


.container-seccion p.subrayado{
    background-color:  #d4e3f0;
    
}


.container-seccion ul{
    
    font-family: 'Reckless Neue';
    font-weight:600;
    font-style:normal;
    color: black;
    font-size: 1.5rem;       /* Buen tamaño para destacar */
    padding: 0%;
    margin: 2rem var(--margin-main) 1rem var(--margin-main) ;
}








/*################################*/
/* CANVAS */


/*#################################*/




footer {
    width: 100%;
    height: 4rem;
    
    background-color:#d4e3f0;

    border-top: 2px solid gray;
    margin: 0px ;


}