
/*-------------------------- Reset de estilos -----------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
/*-----------------------FIN Reset de estilos -----------------------------*/
/*-------------------------------------------------------------------------*/
/*------------------------------ FUENTES ----------------------------------*/
@font-face {
  font-family: "SouthAustralia";
  src: url('../fonts/webFonts/SouthAustralia/font.woff2') format('woff2'), url('../fonts/webFonts/SouthAustralia/font.woff') format('woff');
}
.noto-sans {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400; /* Usa valores como 100, 400, 700 */
    font-style: normal;
    font-variation-settings: "wdth" 100; /* Elimina el espacio incorrecto */
}


/*----------------------------FIN FUENTES ---------------------------------*/
/*-------------------------------------------------------------------------*/
/*------------------------------ COLORES ----------------------------------*/
/* Paleta de colores */
:root {   
    --blanco: #ffffff;   
    --gris: #3A4651;   
    --amarillo: #EDCD54;
}

/*----------------------------FIN COLORES ----------------------------------*/
/*------------------------------ GENERALES ---------------------------------*/
body{
    font-family: "Noto Sans" ,sans-serif;
}



.centrado{
    max-width: 1200px;
    width: 90%;
    margin: 0 auto; 
   
    
}

.titulos {
    margin-top: 1rem;
    margin-left: 2rem;
    text-align: left;
    font-family: "SouthAustralia" ;
    font-size: 14px;
    color: var(--gris);
}

img {
  width: 100%;
  height: 100%;
  
}
a {
    text-decoration: none;
}

ul{
    list-style-type: none;
}

.fondoTrazo{
   background:  url(../img/trazoparaseccion.png) no-repeat;
}

::placeholder{
    font-style: italic;
}
/*----------------------------FIN GENERALES -------------------------------*/

/*-------------------------------------------------------------------------*/
/*------------------------------- ANIMACION ABEJA ------------------------*/

/* Abeja que sigue el puntero */
#bee {
    display: none;
    position: fixed;
    width: 50px;
    height: 50px;
    pointer-events: none;
    animation: flap 0.5s infinite;
    z-index: 1000;
    }

/* Animación del batir de alas */
@keyframes flap {
     0% { transform: scale(1) rotate(0deg); }
     50% { transform: scale(1.05) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Estilo del rastro (línea más continua) */
.trail {
    display: none;
    position: fixed;
    height: 3px;  /* Grosor de la línea */
    background-color:var(--amarillo);
    opacity: 0.8;
    transition: opacity 1.5s ease-out; /* Se desvanece en 1.5s */
    filter: blur(2px); /* Suaviza el trazo */
}
/*-----------------------------FIN ANIMACION ABEJA -----------------------*/
/*-------------------------------------------------------------------------*/
/*------------------------------ ENCABEZADO -------------------------------*/

/* Estilos del encabezado */
 .cabezal {
    background: RGBA(204, 109, 34, 0.4) url(../img/portada.jpg) no-repeat;
    background-blend-mode: multiply;
    background-size: cover;
    background-position: right center; /* Mantiene la derecha y recorta la izquierda */
    height: 500px;
}


 
 
/* Menu */
.nav ul {
    display: none;
    flex-direction: column;
    justify-content: center; /* Alinea a la derecha en pantallas grandes */            
    padding: 5px;           
}

.nav ul li  {                   
    border-radius: 0 20px 0 20px;
    width: 100%;           
    margin-bottom: 0.5rem; 
}

.nav ul li a, .nav ul li a:link  {
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 1rem;
    font-weight: bold;
    color: var(--blanco);          
    background-color: var(--gris);
    border-radius: 0 20px 0 20px;     
}        

.menu-hamburguesa {
    display: block;           
    font-size: 24px;
    background: none;
    border: none;
    color: var(--blanco);
    cursor: pointer;
    margin-right: 1rem;
 }        

/*-------------------------FIN ENCABEZADO ---------------------------------*/
/*-------------------------------------------------------------------------*/
/*------------------------------ SOBRE MI  --------------------------------*/
/* Estilos SOBRE MI */
.sobremi {
   margin: auto;
    width: 95%; /* Opcional: ajusta el ancho */   
    color: var(--blanco);
    text-align: center; /* Centra el texto */
    background-color: rgba(58, 70, 81, 0.4); /* 50% de opacidad */
    border-radius: 0 25px;
    padding: 1rem;
}

/* Nombre */
.sobremi h1{
    font-family: "SouthAustralia";
    font-size: 20px;
}
/* Aliniacion General*/
.sobremi h1, 
.sobremi p {
    text-align: left; /* Asegurar alineación del texto */
   
}

.sobremi p {   
    font-size: 15px;
}


/*---------------------------FIN SOBRE MI  --------------------------------*/
/*-------------------------------------------------------------------------*/
/*------------------------------ PROYECTOS  -------------------------------*/

/* Listado de Proyectos (Contenedor)*/
.listado{    
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit ,133px);
    grid-auto-rows: 200px;
    justify-content: center;
    gap: 1rem;
    transition: 0.5s;
 
}

 


/* Proyetos*/
.proyecto{
   clip-path: polygon(50% 0%, 100% 25%,100% 75% ,50% 100%, 0% 75%, 0% 25%);
    grid-column:  span 2;
    height: 283px;
    position: relative;
     display: inline-block;
    overflow: hidden;
}

.proyecto a> img{
   object-fit:cover;
   object-position: center center;
   filter: brightness(1);
   
}
.proyecto a>img:hover{
    filter: none;

}

/* Nombre Proyecto*/
 .nombre {     
    background-color: var(--gris);
    border-radius: 0 20px 0 20px;
    padding: 1rem 0 1rem 0 ;
    color: var(--blanco); /* Para que el texto sea visible */
    position: absolute; /* Posicionamiento absoluto dentro del contenedor */
    top: 45%; /* Ubicación vertical */
    left: 10%; /* Ubicación horizontal */   
    transform: translate(-50% -50%);
    /*padding: 0.2rem 0.5rem; /* Ajustar el espacio alrededor del texto */
    text-align: center; /* Asegurar que el texto esté centrado */
    font-size: 1rem; /* Ajusta el tamaño de la fuente según sea necesario */
    /*font-weight: bold; /* Hace que el texto sea más visible */
    width: 80%;
    font-size: 15px;    
   
    
    
}
 /* Ocultar .nombre cuando se hace hover en .proyecto */
.proyecto:hover .nombre {
    display: none;
}
/*----------------------------FIN PROYECTOS  ------------------------------*/
/*-------------------------------------------------------------------------*/
/*------------------------------ HABILIDADES  -----------------------------*/
.habilidades{
    margin-top: 100px; 
}

.habilidades h2{
    padding-top: 2rem;
}
.habilidades article{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.habilidades article h3{  
    color: var(--gris);
    width: 100%;
    text-align: center;
    font-size: 20px;
}

.habilidades figure img{    
    height: 4rem;
    width:  4rem;
    margin: 1rem; 
}


/*---------------------------FIN HABILIDADES  -----------------------------*/
/*-------------------------------------------------------------------------*/
/*------------------------------ CONTACTO ---------------------------------*/

/*Formualrio de contacto*/
.contacto {    
   
    padding: 20px;    
}
 

form {
    display: flex;
    flex-direction: column;   
    gap: 0.1rem;
}

.tituloContacto{
    width: 100%;
    text-align: center; 
    font-family: "SouthAustralia" ;
    font-size: 14px;
    color: var(--gris);
}

 label{
    margin-top: 0.5rem;
 }

input, textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 0.1rem solid var(--gris);
    border-radius: 0 10px 0 10px;
    outline: none;
}

form textarea{
    height: 20vh;
    resize: none;
 
}

form button {
    margin: 1rem auto;
    padding: 0.5rem;
    background-color:var(--gris);
    width: 50%;
    color:var(--blanco);
    font-size: 1.5rem;
    border: none;
    border-radius: 0 15px 0 15px;;
    cursor: pointer;
   
}


button:hover {
    background-color:var(--gris);
}

 

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color:var(--amarillo);
    color: var(--gris);
    position: relative;
    margin: 15% auto;
    padding: 20px;
    width: 90%;
    text-align: center;
    height: 20vh;
    vertical-align: auto;
    border-radius: 0 20px 0 20px;
}
.close {
    position: absolute;
    top: 5px;
    right: 20px;
    color: red;
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.fondo{
    background-color: var(--amarillo);
}

/*---------------------------FIN  CONTACTO --------------------------------*/
/*-------------------------------------------------------------------------*/
/*------------------------------  FOOTER ----------------------------------*/

footer{
    padding: 0.5rem;
    background-color: var(--gris);
}
 
#footimg{     
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

#footimg a{
    color: var(--blanco);
    font-size: 1.2rem;
}

#footimg img {
    width: 48px;
    height: 48px;
} 
 
.behance:hover {
    content: url('/img/redes/behanceama.png');  
}

.linkedin:hover {
    content: url('/img/redes/linkedinama.png');  
}


/*---------------------------FIN  FOOTER ----------------------------------*/


/*=========================================================================*/
/*=========================================================================*/

/*----------------------------- MEDIA QUERIES -----------------------------*/


/* Media Queris Proyectos*/
 @media screen and (max-width:504px) {
    .proyecto:first-of-type{
        grid-column:  1 / span 2;
    }   
    .listado{
        grid-auto-rows: 283px;
    }

   

   
 }


  @media screen and (min-width:505px ) and (max-width: 685px) {    
    .proyecto:nth-of-type(even){
        grid-column: 2/ span 2;
    }  


 }

  @media screen and (min-width:686px ) and (max-width: 728px) {    
    .proyecto:nth-of-type(3n + 1){
        grid-column: 2 / span 2;
    }  

    
 }

@media screen and (min-width:729px ) and (max-width: 809px){    
    .proyecto:nth-of-type(3n + 1){
        grid-column: 2 / span 2;
    }  
 
 }

 @media screen and (min-width:810px ) and (max-width: 812px){    
    .proyecto:nth-of-type(4n + 1){
        grid-column: 2 / span 2;
    }  
  
 }




 @media screen and (min-width:812px ) and (max-width: 1025px){    
    .proyecto:nth-of-type(4n + 1){
        grid-column: 2 / span 2;
    }  
 
 }

@media screen and (min-width:1026px ) and (max-width: 1200px) {    
    .proyecto:nth-of-type(4n ){
        grid-column: 2 / span 2;
    }  
    
 }
 
 @media screen and (min-width:1201px ) and (max-width: 1300px) {    
    .proyecto:nth-of-type(4n ){
        grid-column: 2 / span 2;
    }  
 }
 
 @media screen and (min-width:1301px ) {    
    .proyecto:nth-of-type(4n ){
        grid-column: 2 / span 2;
    }  
 }
  

 /* MEDIA QUERIES PARA DISPOSITIVOS*/

 /*Celulares Pequeños*/
 @media screen and (min-width: 505px) {    
     .nombre{
        display: block;
     }
   .proyecto a> img{ 
   filter: brightness(0.6);
   
  }

 .sobremi {
    margin-left: 1em; 
    width: 95%; /* Opcional: ajusta el ancho */   
    color: var(--blanco);
    text-align: center; /* Centra el texto */
    background-color: rgba(58, 70, 81, 0.4); /* 50% de opacidad */
    border-radius: 0 25px;
    padding: 1rem;  
}
 

 }
   

  /*Tablet Retrato*/
 @media screen and  (min-width: 768px) { 
    
    
    html {
    cursor: none;
    }

    #bee{
        display: block;
    }
    .trail {
        display: block;
    }

    .sobremi {
        margin-left: 1em; 
        width: 70%; /* Opcional: ajusta el ancho */   
        color: var(--blanco);
        margin-top: 6rem;
        text-align: center; /* Centra el texto */
        background-color: rgba(58, 70, 81, 0.4); /* 50% de opacidad */
        border-radius: 0 25px;
        padding: 1rem;  
    }    
    .sobremi h1{
        font-size: 28px;
    }
    .sobremi p {   
        font-size: 18px;
    }

   .menu-hamburguesa{
    display: none;
   }

   .nav ul {
    flex-direction: row;
    justify-content: flex-end;    
    display: flex;        

   }  
   .nav ul li {
    margin-top: 1rem;
    margin-left: 1rem;
    width: 8rem;
   }
    .nav ul li:last-child{
    margin-right: 1rem;
  }

  
     .nav ul li a:hover{    
        background-color: var(--amarillo);   
        color: var(--gris);
        font-weight: bold;
       }
   
    .grilla{        
       display: grid;
        grid-template-columns: 1fr 1fr; /* Define dos columnas */
        gap: 20px;
    }

    .habilidades article{
        margin-top: 2rem;
    }
   .herramientas {
      grid-column: span 2;           /* Ocupa las dos columnas definidas en .grilla */
      display: grid;                 /* Reestablecemos el display a grid (en caso de que tenga reglas previas de flex) */
      grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); /* Opcional: organiza los elementos internos (imágenes) */
      gap: 10px;
      justify-items: center;
      align-items: center;
      text-align: center;
    }

    .titulos{
        font-size: 20px;
    }

    .modal-content{
        width: 60%;
    }

    .contacto button:hover{
        background-color: var(--blanco);
        color: var(--gris);
        border: 2px solid var(--gris);
        font-weight: bold;
        
    }

    form {  
        width: 80%;      
      
    }
    .contacto{
         display: flex;
    flex-wrap: wrap;
    justify-content: center;
    }

 }  
 
  /*Tablet Modo Horizontal*/
 @media screen and  (min-width: 992px) {    
    
      .modal-content{
        width: 50%;
    }

    
    form {  
        width: 70%;      
      
    }
 }

   /*Escritorio*/
 @media screen and  (min-width: 1200px) {    
    
      .modal-content{
        width: 30%;
    }

    
    form {  
        width: 60%;      
      
    }
 }
   
/*---------------------------FIN MEDIA QUERIES ----------------------------*/   
/*=========================================================================*/
/*================================== FIN ==================================*/
/*=========================================================================*/