/* apply a natural box layout model to all elements, but allowing components to change */
html {
    box-sizing: border-box;
    font-size: 62.5%; /** 1rem = 10px **/
  }
  *, *:before, *:after {
    box-sizing: inherit;
  }
  
  body{
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 1;
    margin: 0;
}

  .contenedor {
    max-width: 1200px;
    margin: 0 auto;
  }

  h1, h2, h3, h4 {
    font-family: 'PT Sans', sans-serif;
}

h1 {
    font-size: 10rem;
}

h2 {
    font-size: 4rem;
}

h3 {
    font-size: 3.2rem;
}
 h4 {
    font-size: 2.8rem;
 }

 img {
    max-width: 100%;
 }

 /** UTILIDADES **/

 .centrar-texto {
    text-align: center;
}
 .no-margin {
    margin: 0;
}

 /**header**/

 .barra {
    position: relative;
    padding-top: 1rem;
    display: flex;
 }


@media (min-width:768px) {
    .barra {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
}


/**VIDEO**/
#videoheader {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}

/**FIN VIDEO**/


 .site-header{
    /**background-image: url(../image/3.jpg);**/
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 100vh;
 }

 .site-header a {
    color: #ffffff;
    text-decoration: none;
 }

 .site-header h1 {
    text-align: center;
    font-weight: 400;
 }

 .site-header h1 span {
    font-weight: 700;
 }

 /**navegacion**/

.navegacion {
   position: relative;
   margin: 0 auto;
}

 .navegacion a{
    text-align: center;
    display: inline;
    font-size: 1.8rem;
 }

 .navegacion p{
   text-align: center;
   display: inline;
   font-size: 1.8rem;
   padding-top: 2rem;
   color: #ffffff;
}

/** @media (min-width: 768px) {
   .navegacion {
      display: flex;
      justify-content: space-between;
   }
 }**/

 /**texto header**/
 .texto-header {
    color:#ffffff;
    text-align: center;
    margin-top: 10rem;
    position: relative;
    margin: 0;
 }

 .texto-header p {
    margin: 0;
    font-size: 1.5rem;
 }

 .preview {
    height: 40rem;
    width: 40rem;
 }

 /**GALERIA DE RENDERS**/
.galeria {
   display: flex;
   flex-direction: column;
   gap: 10px;
   margin-bottom: 8rem;
   margin-top: 8rem;
   
 }
 
 .galeria .columna {
   display: flex;
   flex-direction: column;
   gap: 10px;
 }
 
 .render {
   overflow: hidden;
 }

 .render img {
   display: block;
   width: 100%;
   border-radius: 5px;
   height: 100%;
   transition: 1s;
   cursor:pointer
 }
 
 @media only screen and (min-width: 768px) {
   .galeria {
     flex-direction: row;
   }

   .galeria .columna{
      width: 50%;
   }   
 }
/**FIN GALERIA DE RENDERS**/
/**ANIMACION GALERIA**/

.galeria:hover img {
   filter: grayscale(1);
}

.render img:hover {
   filter: grayscale(0) !important;
   transform: scale(1.1);   
   }

/**FIN ANIMACION GALERIA**/
/**SOBRE MI**/
.cv {
   background-color: #606060;
 }

.sobremi {
   display: flex;
   flex-direction: column;
}

.redes a {
   margin-right: 2rem;
   font-size: 3rem;
   color: #ffffff;
   text-decoration: none;
}

.redes a:hover {
   margin-right: 2rem;
   font-size: 3rem;
   text-decoration: none;
}

.fa-linkedin:hover {
   color: #5e91ff;
   transition: 0.3s;
}

.fa-whatsapp:hover {
   color: #5eff81;
   transition: 0.3s;
}

.fa-envelope-o:hover {
   color: #ff5e5e;
   transition: 0.3s;
}

.sidebar {
   display: flex;
   flex-direction: column;
}

.resumen {
   display: flex;
   flex-direction: column;
   text-align: justify;
   text-justify: inter-word;
   padding: 5rem;
}

.cv h1 {
   color: #ffffff;
   margin: 5rem 0 0;
}

.cv p {
   color:#ffffff
}

 @media (min-width: 768px) {

.sobremi{
   flex-direction: row;
   align-items:center;
}

 .sidebar{
   width: 33%;
   text-align: right;
 }

 .resumen{
   width:66%;
 }

 .cv h1 {
   margin: 0;
}
}

/**FIN SOBRE MI**/

/**PRUEBA GALERIA**/
.modal {
   display: none; /* Hidden by default */
   position: fixed; /* Stay in place */
   z-index: 1; /* Sit on top */
   padding-top: 100px; /* Location of the box */
   left: 0;
   top: 0;
   width: 100%; /* Full width */
   height: 100%; /* Full height */
   overflow: auto; /* Enable scroll if needed */
   background-color: rgb(0,0,0); /* Fallback color */
   background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
   backdrop-filter: blur(3px);
 }
 
 /* Modal Content (Image) */
 .modal-content {
   margin: auto;
   display: block;
   width: 80%;
   max-width: 1100px;
 }

 /* The Close Button */
.close {
   position: absolute;
   top: 15px;
   right: 35px;
   color: #f1f1f1;
   font-size: 40px;
   font-weight: bold;
   transition: 0.3s;
 }
 
 .close:hover,
 .close:focus {
   color: #bbb;
   text-decoration: none;
   cursor: pointer;
 }
 
 /* 100% Image Width on Smaller Screens */
 @media only screen and (max-width: 768px){
   .modal-content {
     width: 100%;
   }
 } 
/**FIN PRUEBA GALERIA**/
