* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* ================================================================ */
header {
  background: linear-gradient(
    180deg,
    rgba(0, 33, 173, 1) 0%,
    rgba(13, 29, 50, 1) 100%
  );
  padding: 20px;
}

main {
  background: linear-gradient(
    180deg,
    rgba(13, 29, 50, 1) 0%,
    rgba(16, 16, 16, 1) 100%
  );
  padding: 20px;
  color: whitesmoke;
}

/* contenido de menu */
.content-menu {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px;
  height: 100px;
  width: 100%;
  max-width: 100%;
  transition: 0.7s;
  z-index: 100;
}

/* hamburguesa */
.wrapper .content-menu .open {
  display: none;
}

.wrapper .content-menu .close {
  display: none;
}

.content-menu nav {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* menu central */
header nav .options {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* opciones */
.options li {
  list-style: none;
  margin: 0 30px;
  display: flex;
}

.options li a {
  position: relative;
  text-decoration: none;
  font-size: 20px;
  color: rgb(255, 255, 255);
  transition: 0.7s;
}

.options li a:hover {
  color: rgb(255, 255, 255);
  transition: 0.2s;
  background-color: rgba(40, 40, 40, 0.732);
  padding: 10px;
  border-radius: 10px;
  transition: 0.2s;
}

.title-logo {
  color: rgb(0, 0, 0);
  text-transform: uppercase;
}

img {
  width: 100%;
}

footer,
.proyects,
.history,
.skills {
  margin: 30px 30px;
}

.content-menu.abajo {
  background-color: #010101df;
  padding: 15px 20px;
}

.content-menu.abajo .options li a,
.title-logo {
  color: rgb(255, 255, 255);
  transition: 0.2s;
}

.content-menu.abajo .options li a:hover {
  background-color: rgba(38, 70, 255, 0.732);
  padding: 10px;
  border-radius: 10px;
  color: white;
  transition: 0.2s;
}
/* ================================================================ */
/* contenido de presentacion */
.presentation {
  position: relative;
  width: 100%;
  height: 100vh;
}
/* contenido de presentacion */
.content-presentation {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  margin: auto;
  height: 100vh;
}

.content-presentation .profile img {
  display: block;
  max-width: 100%;
  height: auto;
  mask-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 1) 53%,
    rgba(0, 0, 0, 0) 84%
  );
}

.content-presentation .parrafo {
  width: 70%;
  padding: 0 0 0 230px;
}

.content-presentation .parrafo .title-presentation {
  font-size: 40px;
  font-weight: bold;
  color: white;
}

.content-presentation .parrafo .envelope-presentation {
  font-size: 45px;
  color: white;
}

.network{
  width: 100%;
  margin: auto;
}

/* ================================================================ */
/* historia */
.history {
  text-align: center;
  margin: 100px 0;
}

.history-title {
  text-align: center;
  font-size: 40px;
  margin: 30px 0px 40px 0;
}
.part-history {
  margin: 20px 0;
  display: flex;
}

/* parte 1 */

.part-history {
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  /* margin: auto; */
}
.part-history img {
  max-width: 434px;
  float: left;
  position: relative;
  right: 57px;
}
.part-history:nth-child(1) .paragraph-history {
  position: relative;
  top: -57px;
  right: -65px;
  width: 52%;
  padding: 50px;
}

/* parte 2 */

.part-history:nth-child(2) {
  margin: 0 0 60px 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  /* margin: auto; */
}

.part-history:nth-child(2) .paragraph-history {
  position: relative;
  top: -57px;
  right: -120px;
  width: 50%;
  padding: 50px;
}
.part-history:nth-child(2) img {
  max-width: 343px;
  float: left;
  position: relative;
  top: 95px;
  right: -62px;
}

/* parte 3 */
.part-history:nth-child(3) {
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* parte 3 */
.part-history:nth-child(3) .paragraph-history {
  width: 64%;
}
.part-history:nth-child(3) img {
  max-width: 343px;
  right: -40px;
}

.paragraph-history .title {
  text-align: center;
  margin: 20px 0 30px 0;
  font-size: 30px;
}
.part-history .paragraph-history .text {
  font-size: 24px;
}

/* ================================================================ */
/* contenido de herramientas y habilidades */
.skills-title {
  text-align: center;
  font-size: 40px;
  margin: 30px 0px 20px 0;
}

.skills .content-skills {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin: auto;
}

.tech,
.ability {
  width: 45%;
}

.tech .title,
.ability .title {
  text-align: center;
}

/* tech */
.content-tech {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.swiper .swiper-wrapper .content-tech .row-tech {
  display: flex;
  justify-content: space-evenly;
}

.swiper .swiper-wrapper .content-tech .row-tech .col-item {
  /* border: 1px solid blue; */
  display: flex;
  /* flex: 1; */
  /* align-items: center; */
  flex-direction: column-reverse;
  margin: 10px 0;
  /* border-radius: 50%; */
}

.row-tech .col-item .img-skills {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-tech .row-tech .col-item h3 {
  /* border: 1px solid blue; */
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 50%;
  margin: 10px 0;
}

.content-tech .row-tech .col-item .img-skills img {
  width: 80px;
  object-fit: cover;
}

/* ability */

/* .ability .title{
  margin: 50px 0;
} */

/* contenedor  */
.hexagon-container {
  position: relative;
  width: 350px;
  height: 400px;
  margin: auto;
}

/* hexagono */
.hexagon {
  position: absolute;
  width: 180px;
  height: 150px;
  background-color: #6c7a89;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: white;
  font-weight: bold;
}

.hexagon img {
  position: relative;
  top: -16px;
  width: 80px;
}

.hexagon p {
  position: relative;
  top: -16px;
  color: #191414;
  font-size: 15px;
}

/* INICIATIVA */
.hexagon:nth-child(1) {
  background-color: #ff6666;
  top: 20px;
  left: 83px;
}

/* LIDERAZGO */
.hexagon:nth-child(2) {
  background-color: #8f8f8f;
  top: 101px;
  left: 225px;
}

/* RESOLVER PROBLEMAS */
.hexagon:nth-child(3) {
  background-color: #66ccff;
  top: 260px;
  left: 227px;
}

/* VERSATILIDAD */
.hexagon:nth-child(4) {
  background-color: #ffcc66;
  top: 259px;
  left: -62px;
}

/* TRABAJO EN EQUIPO */
.hexagon:nth-child(5) {
  background-color: #99ff99;
  top: 99px;
  left: -59px;
}

/* ADAPTABILIDAD */
.hexagon:nth-child(6) {
  background-color: #ffff66;
  top: 340px;
  left: 84px;
}

/* CREATIVIDAD */
.hexagon:nth-child(7) {
  background-color: #9966ff;
  top: 180px;
  left: 82px;
}

/* ================================================================ */
/* PROYECTOS */
.proyects {
  margin: 30px 0;
}

.proyect-title {
  text-align: center;
  font-size: 40px;
  margin: 30px 0;
}

.proyects .row-content {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.card {
  width: 500px;
  padding: 5px;
  margin: 0 15px 30px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.img-proyect {
  border: 1px solid rgb(0, 0, 0);
  border-radius: 5px;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.img-proyect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.img-proyect:hover {
  transform: scale(1.5);
  object-fit: cover;
  transition: 2s;
}

.content-card {
  padding: 15px;
  text-align: center;
  flex-grow: 1; /* Toma todo el espacio disponible */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content-card .title {
  padding: 10px 0;
}

.paragraph-proyect {
  flex-grow: 1;
  padding-bottom: 15px;
  text-align: justify; /* Opcional: mejora la legibilidad */
}

.skills-actual .skills {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  flex-wrap: wrap;
}
.skills-actual img {
  width: 50px;
}
/* .content-card button {
  align-self: center;
  margin-top: 15px; 
  padding: 10px 20px;
  background-color: rgb(0, 25, 148);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.content-card button:hover {
  background-color: rgb(0, 40, 200);
} */

/* ================================================================ */
/* FOOTER */
footer {
  background-color: #161616;
  margin: 0;
  height: 100%;
  -webkit-box-shadow: 0 -8px 10px -6px #000000;
  -moz-box-shadow: 0 -8px 10px -6px #000000;
  box-shadow: 0 -8px 10px -6px #000000;
}
.footer-title,
.network,
.mail {
  color: white;
}

.footer-title {
  text-align: center;
  font-size: 40px;
  margin: 0 30px 0;
  padding: 24px 0 0;
}

.content-footer {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-evenly;
  align-items: center;
  height: 500px;
}
/* --------------------------------------------------------------- */

/* redes sociales */
.network {
  display: flex;
  align-items: center;
}

.network .row {
  display: flex;
  align-items: center;
  position: relative;
  top: 20px;
}

.network .row {
  margin: 0px 32px 0 0px;
}

.network .row i {
  font-size: 16px;
  margin: 0 13px 0 0;
}

.network .row a {
  font-size: 16px;
  text-decoration: none;
  color: white;
}

/* --------------------------------------------------------------- */

/* formulario de footer */

.mail {
  padding: 20px 0;
  width: 500px;
}

.mail form {
  display: flex;
  flex-direction: column;
}

.mail form label,
.mail form textarea {
  margin: 20px 0 10px 0;
  font-size: 30px;
}

.mail form .email,
.mail form .titulo {
  border-radius: 5px;
  height: 2rem;
}
.mail form .description {
  height: 110px;
}

.mail form .enviar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  margin: 10px 0;
  padding: 10px;
  font-size: 20px;
  background-color: rgb(62, 62, 255);
}

@media screen and (max-width: 1100px) {
  .content-menu.abajo .options li a,
  .title-logo {
    font-size: 20px;
  }
  /* abrir menu */
  .wrapper .content-menu .open {
    display: block;
    width: 50px;
    background-color: transparent;
    border: none;
  }

  /* cerrar menu */
  .wrapper .content-menu .close {
    display: none;
    position: relative;
    height: 100px;
    border: none;
    background: transparent;
    z-index: 10;
  }

  /* cuando se le de clic, se convierte en una x para indicar que puede */
  .wrapper nav {
    display: flex;
    align-items: start;
    justify-content: center;
    position: absolute;
    top: 100px;
    right: 0;
    width: 200px;
    height: 100vh;
    background-color: #010101df;
    transition: transform 0.3s ease-in-out; /* Añade una transición para suavizar el efecto */
  }

  nav .options {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .options .options-items {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .options-items a {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    text-align: center;
    font-size: 10px;
  }

  .content-menu .options .options-items a:hover {
    background-color: #66ccff;
    border-radius: 0;
    color: black;
    padding: 20px;
  }

  .content-menu.abajo .options .options-items a:hover {
    border-radius: 0;
    padding: 20px;
  }

  /* cuando se le den clic, se convierte en none */
  .wrapper nav {
    display: none;
  }

  /* ============================================================= */
  /* PRESENTACION DE HEADER */
  .presentation {
    width: 100%;
  }
  .content-presentation {
    flex-direction: column;
  }

  .content-presentation .parrafo {
    width: 100%;
    margin: 20px 10px;
    padding: 0;
    text-align: center;
  }
  /* ============================================================= */

  /* HISTORIA */

  .part-history:nth-child(1) {
    flex-direction: column;
    margin: auto;
  }
  .part-history:nth-child(1) .paragraph-history {
    width: 100%;
    padding: 10px 20px;
    position: static;
  }
  .part-history:nth-child(1) img {
    width: 100%;
    max-width: 400px;
    padding: 10px 20px;
    position: static;
  }

  .part-history:nth-child(2) {
    flex-direction: column-reverse;
    margin: auto;
  }
  .part-history:nth-child(2) .paragraph-history {
    width: 100%;
    padding: 10px 20px;
    position: static;
  }
  .part-history:nth-child(2) img {
    width: 100%;
    max-width: 400px;
    padding: 60px 20px 20px 20px;
    position: static;
  }

  .part-history:nth-child(3) {
    flex-direction: column;
    margin: auto;
  }
  .part-history:nth-child(3) .paragraph-history {
    width: 100%;
    padding: 60px 20px 20px 20px;
    position: static;
  }
  .part-history:nth-child(3) img {
    width: 100%;
    max-width: 400px;
    padding: 10px 20px;
    position: static;
  }
  /* ============================================================= */

  /* HISTORIA */

  .skills {
    margin: 120px 0;
  }

  .skills .skills-title {
    font-size: 60px;
  }
  .skills .content-skills {
    flex-direction: column;
  }

  .tech,
  .ability {
    width: 100%;
  }

  /* ============================================================= */

  /* REDES SOCIALES */
  .network {
    justify-content: center;
  }
}

@media screen and (max-width: 800px) {
  /* ============================================================= */

  /* PRESENTACION */
  .presentation {
    margin: 10px 0;
  }

  .content-presentation .parrafo .title-presentation {
    font-size: 25px;
  }

  .content-presentation .parrafo .envelope-presentation {
    font-size: 23px;
  }

  /* ============================================================= */

  /* HISTORIA */
  .part-history:nth-child(3) .paragraph-history {
    width: 100%;
    padding: 20px 20px 20px 20px;
    position: static;
  }

  .paragraph-history .title {
    text-align: center;
    margin: 20px 0 30px 0;
    font-size: 23px;
  }

  .part-history .paragraph-history .text {
    font-size: 15px;
  }

  .part-history:nth-child(3) img {
    width: 100%;
    max-width: 400px;
    padding: 60px 20px 20px 20px;
    position: static;
  }

  /* ============================================================= */

  /* HABILIDADES */
  .skills .skills-title {
    font-size: 45px;
  }

  /* ============================================================= */

  /* APTITUDES */
  .hexagon-container {
    position: relative;
    width: 280px;
    height: 200px;
    margin: auto;
  }

  .hexagon {
    position: absolute;
    width: 123px;
    height: 98px;
    background-color: #6c7a89;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
    font-weight: bold;
  }

  .content-ability {
    height: 320px;
  }

  .hexagon:nth-child(1) {
    background-color: #ff6666;
    top: 62px;
    left: 73px;
  }

  .hexagon:nth-child(2) {
    background-color: #8f8f8f;
    top: 116px;
    left: 175px;
  }

  .hexagon:nth-child(3) {
    background-color: #66ccff;
    top: 223px;
    left: 174px;
  }

  .hexagon:nth-child(4) {
    background-color: #ffcc66;
    top: 223px;
    left: -28px;
  }

  .hexagon:nth-child(5) {
    background-color: #99ff99;
    top: 116px;
    left: -28px;
  }

  .hexagon:nth-child(6) {
    background-color: #ffff66;
    top: 278px;
    left: 73px;
  }

  .hexagon:nth-child(7) {
    background-color: #9966ff;
    top: 169px;
    left: 73px;
  }
  .hexagon img {
    width: 45px;
    top: -4px;
  }

  .hexagon p {
    top: -2px;
    font-size: 10px;
  }
  /* ============================================================= */
  /* REDES SOCIALES */

  .network{
    width: 400px;
    margin: auto;
  }

  .network .row {
    right: -20px;
    top: 30px;
  }

  .network .row a {
    font-size: 16px;
    text-decoration: none;
    color: white;
  }

  .network .row i {
    font-size: 20px;
    margin: 0 13px 0 0;
  }
}
