@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Oswald:wght@200..700&display=swap');

html {
  scroll-behavior: smooth;
}

/* BARRA DE OPCIONES */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #000000;
  color: rgb(255, 255, 255);
  position: relative;
}

nav.active {
  flex-direction: column;
  align-items: flex-start;
}

nav h2.logo {
  font-weight: bold;
  font-size: xx-large;
  color: #ff702a;
  margin-left: 70px;
}

nav .bars {
  position: absolute;
  right: 1rem;
  font-size: xx-large;
  display: none;
  cursor: pointer;
}

ul.nav-links {
  display: flex;
}

nav.active ul.nav-links {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

li.nav-link {
  list-style: none;
  margin: 0.5rem 1rem;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

li.nav-link a {
  text-decoration: none;
  color: inherit;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: large;
  text-transform: uppercase;
  padding: 1em 2em;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 5px;
  cursor: pointer;
  color: #ffffff;
  background-color: #000000;
  transition: all 1500ms;
  position: relative;
  overflow: hidden;
  outline: 2px solid #000000;
}

li.nav-link a:hover {
  color: #000000;
  background-color: #ffffff;
  transform: scale(1.1);
  outline: 2px solid #ffffff;
  box-shadow: 4px 5px 17px -4px #000000;
}

li.nav-link a::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #ffffff;
  transform: skewX(45deg);
  z-index: -1;
  transition: width 1500ms;
}

li.nav-link a:hover::before {
  width: 250%;
}

@media screen and (max-width: 800px) {
  nav .bars {
    display: block;
  }

  nav .nav-links {
    display: none;
  }
}

/*             HASTA AQUI LA BARRA DE OPCIONES              */


/*         ---          CONTEINER 1         ---          */

body {
    font-family: 'Oswald';
    color: rgb(0, 0, 0);
}

table {
  margin: 0 auto;
  display:flex;
  width: 100%;
  align-items: center;
  /*Para que el espacio que hay en las columnas se mantenga y no cambie*/
  table-layout: fixed;
}

td {
  width: 1000px;
  height: 750px;

  text-align: center;
}

.experience {
  margin-top: 10px;
  position: relative; 
  margin-left: 10px; 
  width: 70%; 
}

@media screen and (max-width: 800px) {

  td {
    height: 350px;
    width: 50%;
  }

  .p1 {
    font-size: 40px !important;
    margin-left: -75px !important;
  }
  .p2 {
    font-size: 25px !important;
    margin-left: -75px !important;
  }
  .line {
    margin-left: 25px !important;
  }

  .wave {
    margin-top: -40px;
    margin-bottom: -10px;
  }

  .perfil {
    margin-right: 100px !important;
  }

  .experience {
    margin-top: 10px;
    position: relative; 
    margin-left: 10px; 
    width: 80%; 
  }

}

.conteiner1 p {
  text-align: left;
  margin: 0;
  padding-left: 100px;
}

.p1 {
  font-size: 100px;
}

.p2 {
  font-size: 60px;
}
  
.line {
  position: relative; 
  margin-left: 100px; 
  width: 30%; 
  border: none; 
  border-top: 6px solid #000000; 

}

.perfil {
  width: 100%;
  max-width: 600px;
  height: 100%;
  position: sticky ;
  z-index: 1;
} 

.wave {
  position: static;
  bottom: 0; 
  left: 0; 
  width: 100%;
  z-index: 10; 
}

.wave svg {
  width: 100%;
  height: 100%;
}
/*             HASTA AQUI CONTEINER 1              */

/*         ---          CONTEINER 2         ---          */

/* */
.conteiner2 {
    padding-top: 200px;
    padding-bottom: 1000px;
    background-color: #000000;
    color: white;
    z-index: 1; 
    position: relative;
  }
  
  /* Le otorgo una posicion al about*/
  .about {
    font-size: 60px;
    margin-top: 10px;
    padding-top: 90px;
    margin-left: 900px;
  }
  
  /* Le otorgo una posicion la informacion*/
  .info {
    font-size: 40px;
    margin-left: 1000px;
    margin-right: 80px;
    text-align: justify;
  }
  
  
  .about, .info {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
  
    text-shadow: 
      0px 0px 20px rgba(0, 0, 0, 1),  
      5px 5px 30px rgba(0, 0, 0, 1),   
      10px 10px 50px rgba(0, 0, 0, 1); 
  }
  
  .dragon{
    display: flex;
    position: absolute;
    width: 1000px;
    height: 1100px;
    z-index: -1;
    margin-top: -270px;
  }
  
  .dragonNeon {
    display: none;
  }
  
  #LuzON {
    display: flex;
    position:relative;
    width: 300px;
    height: 300px;
    margin-left: 1400px;
    margin-top: -910px;
    cursor: pointer;
  }
  
  .mancha {
    width: 250px;
    height: 250px;
    margin-left: 940px;
    margin-top: -200px;
    z-index: -1;
  }
  
  /*      ---     RESPONSIVE CONTEINER 2      ---     */
  @media screen and (max-width: 800px) {
  
    .conteiner2 {
      padding-top: 50px !important;
      padding-bottom: 500px !important;
    }
  
    .about {
      font-size: 30px;
      margin-left: auto;
      padding-top: auto;
      margin-top: 200px;
    }
  
    .info {
      font-size: 20px;
      margin-left: 20px;
      margin-right: 20px;
      text-align: justify;
    }
  
    .dragon {
      margin-top: auto !important;
      width: 500px;
      height: 550px;
      margin-top: -250px !important;
      margin-left: -200px;
    }
    #LuzON {
  
      margin-left: 252px !important;
      margin-top: -660px !important;
      z-index: 1;
    }
  
    .mancha {
      width: 100px;
      height: 100px;
      margin-left: 450px;
      margin-top: -50px;
      z-index: 1;
    }
  }

/*             HASTA AQUI CONTEINER 2              */

/*         ---          CONTEINER 3         ---          */


.conteiner3 {
    padding-top: 50px;
  }
  .title_portafolio {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin-bottom: 10px;
  }
  
  .conteiner3 table {
    margin-top: 70px;
  }
  
  .conteiner3 td {
    border: solid black 1px;
  }
  
  @media screen and (max-width: 800px) {
    .conteiner3 td {
      border: transparent;
    }
  }
  
  .line2 {
    display: block; /* Asegura que .line2 se comporta como un bloque */
    width: 15%;     /* Ajusta el ancho de la línea */
    margin: 0 auto; /* Centra la línea horizontalmente */
    border: none; 
    border-top: 6px solid #000000; 
  }
  
  .proyect {
    text-decoration: none;
    justify-content: center;
    align-items: center;
    max-width: 775px;
    max-height: 500px;
    border-radius: 15px;
    color: white;
  
    cursor: pointer;
    transition: all 0.5s ease;
  }
  
  .proyect_title {
    font-size: 30px;
  }
  
  .proyect:hover{
    transform: translateY(-2px) ;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.9) !important;
  }
  
  .proyect:active{
    transform: translateY(0) ;
  }
  
  /*      ---     RESPONSIVE CONTEINER 3      ---     */
  
  @media screen and (max-width: 800px) {
    .conteiner3 table {
      border-spacing: 10px;
      width: 100%;
    }
  
    .conteiner3 tr {
      display: block; /* Deja que las filas sigan siendo bloques */
      width: 100%;
    }
  
    .conteiner3 td {
      display: block; /* Las celdas se comportan como bloques */
      width: 90%; /* Ajusta el ancho al 90% del contenedor */
      margin: 0 auto 20px; /* Centra las celdas y añade separación */
    }
  
    .proyect {
      width: 100%; /* Ajusta las imágenes al ancho del contenedor */
      height: auto; /* Mantén las proporciones */
    }
  }

  /*             HASTA AQUI CONTEINER 3              */

  /*         ---          CONTEINER 4         ---          */

  .conteiner4 {
    padding-top: 200px;
    background-color: black;
    padding-bottom: 500px;
    margin-top: -150px;
  }
  
  .title_contact {
    font-size: 80px;
    color: white !important;
  }
  
  .line3 {
    border-color: white !important;
  }

  .white {
    margin-bottom: -40px;
  }
  
  .michi {
    height: 411px;
    max-width: 425px;
    position: absolute ;
    z-index: 1;
    margin-top: 165px;
    margin-left: -501px;
  }

  .texto {
    display: flex;
    align-items: center;
    color: white;
    font-size: 50px;
    margin-left: 20px;
  }

  .icon {
    width: 100px;
    height: 100px;
  }

  .fila {
    display: flex;
    align-items: center;
    padding-left: 140px;
  }
  
