@charset "UTF-8";
/* Reseteo que debe existir en todo css: */
html {
  box-sizing: border-box;
}

*, ::after, ::before {
  box-sizing: inherit;
}

/* Importaciones */
@media screen and (max-width: 767px) {
  html, body {
    overflow-x: hidden;
  }
  .home__container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
  .aboutMe__content {
    display: flex;
    flex-wrap: wrap;
    margin-right: 30%;
  }
  .home__title,
  .home__title--decorated {
    font-size: 1.8rem; /* Ejemplo: ajusta el tamaño del título */
  }
  .myHistory, .papi {
    font-size: 1rem; /* Ejemplo: ajusta el tamaño del texto */
  }
  .fotoVero {
    display: none; /* Ejemplo: oculta la sección fotoVero */
  }
  .proyects__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-right: 30%;
  }
  .certifications__grid img {
    width: 80%; /* Ejemplo: ajusta el ancho de las imágenes de certificados */
  }
  .skills__grid {
    gap: 30px;
    margin-right: 20%;
  }
  .footer-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }
  .redes__sociales img {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }
  #form-container {
    width: 100%; /* Ajusta el ancho del formulario según necesidades */
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
    margin: auto; /* Centra el formulario horizontalmente */
    padding: 20px; /* Añade un padding interior al formulario */
  }
  label, input, textarea {
    margin-left: -11rem;
  }
  #form {
    display: flex;
    flex-direction: column;
  }
  form button.enviar {
    margin-left: -12%;
  }
  .form-logoVero {
    visibility: hidden;
  }
  .logoVero img {
    width: 10%; /* Ejemplo: ajusta el tamaño del logo */
  }
  .logoVero {
    margin-left: 5%;
  }
  .menu {
    position: absolute;
    background: #EAD9C7;
    width: 100%;
    top: 105%;
    margin-left: -100%;
    transition: all 0.5s;
  }
  .menu ul {
    flex-direction: column;
    gap: 15px;
    margin-left: 5%;
  }
  .menu li {
    border-top: 1px solid #fcdaf9;
  }
  #btn-menu:checked ~ .menu {
    margin: 0;
  }
  label img {
    visibility: visible;
    position: sticky;
  }
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  html, body {
    overflow-x: hidden;
  }
  .home__container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
  .aboutMe__content {
    display: flex;
    flex-wrap: wrap;
    margin-right: 30%;
  }
  .home__title,
  .home__title--decorated {
    font-size: 1.8rem; /* Ejemplo: ajusta el tamaño del título */
  }
  .myHistory, .papi {
    font-size: 1rem; /* Ejemplo: ajusta el tamaño del texto */
  }
  .fotoVero {
    display: none; /* Ejemplo: oculta la sección fotoVero */
  }
  .proyects__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-right: 30%;
  }
  .certifications__grid img {
    width: 80%; /* Ejemplo: ajusta el ancho de las imágenes de certificados */
  }
  .skills__grid {
    gap: 30px;
    margin-right: 20%;
  }
  .footer-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }
  .redes__sociales img {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }
  #form-container {
    width: 100%; /* Ajusta el ancho del formulario según necesidades */
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
    margin: auto; /* Centra el formulario horizontalmente */
    padding: 20px; /* Añade un padding interior al formulario */
  }
  #form {
    width: 100%; /* Ajusta el ancho del formulario al contenedor */
    margin-left: -20%;
  }
  .form input[type=submit] {
    width: 100%; /* Ocupa todo el ancho disponible */
    margin-top: 10px;
  }
  .form-logoVero {
    visibility: hidden;
  }
  .logoVero img {
    width: 10%; /* Ejemplo: ajusta el tamaño del logo */
  }
  .logoVero {
    margin-left: 5%;
  }
  .menu {
    position: absolute;
    background: #EAD9C7;
    width: 100%;
    top: 105%;
    margin-left: -100%;
    transition: all 0.5s;
  }
  .menu ul {
    flex-direction: column;
    gap: 15px;
    margin-left: 5%;
  }
  .menu li {
    border-top: 1px solid #fcdaf9;
  }
  #btn-menu:checked ~ .menu {
    margin: 0;
  }
  label img {
    visibility: visible;
    position: sticky;
  }
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
}

*, ::after, ::before {
  box-sizing: inherit;
}

* {
  font-family: "Nunito", sans-serif;
  margin-left: auto;
  margin-right: auto;
}

body {
  color: #876645;
  width: 100%;
  height: auto;
  margin-top: 0;
  background-color: #EAD9C7;
}

.social__media a img {
  transition: transform 1.5s ease-in-out;
  cursor: pointer;
}

.social__media a img:hover { /* esto hace que se agrande el logo */
  transform: perspective(100rem) translateZ(30rem);
}

.logoVero { /* poner efecto en el logo */
  width: 200px;
  height: 180px;
  display: flex;
  justify-content: flex-start;
  margin-left: 150px;
}

header img {
  transition: transform 1.5s ease-in-out;
  cursor: pointer;
}

header img:hover { /* esto hace que se agrande el logo */
  transform: perspective(30rem) translateZ(8rem);
}

header {
  display: flex;
  align-items: center;
  position: sticky;
  z-index: 1000;
  top: 0;
  background-color: #e7d6c3; /* Color de fondo del header */
  width: 100%;
  height: 150px;
  text-align: center;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); /* Sombra para separar del fondo del body */
}

/* Dark Mode Styles */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode header {
  background-color: #1f1f1f; /* Fondo oscuro para el header */
  color: #e0e0e0; /* Texto claro */
}

body.dark-mode .menu ul li a {
  color: #e0e0e0; /* Texto del menú en color claro */
}

/* Estilos para los íconos en modo claro */
.light-mode .linkedin__icon,
.light-mode .github__icon {
  filter: none; /* Sin filtro en modo claro */
}

/* Estilos para los íconos en modo oscuro */
.dark-mode .linkedin__icon,
.dark-mode .github__icon,
.dark-mode .logoVero {
  filter: invert(1) brightness(100%); /* Invertir colores para hacer los íconos blancos */
}

/* Estilos para el botón de cambio de modo */
#dark-mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  margin-left: auto;
  margin-right: 5%;
}

/* Ajustes para íconos */
#dark-mode-toggle .fas {
  color: #6D4925;
}

body.dark-mode #dark-mode-toggle .fas {
  color: #876645;
}

.menu ul {
  list-style: none; /* Quita los marcadores de lista */
  padding: 0; /* Elimina el relleno predeterminado de la lista */
  margin: 0; /* Elimina el margen predeterminado de la lista */
}

.menu ul li {
  display: inline-block; /* Alinea los elementos de la lista en línea */
  padding-right: 20px; /* Espaciado entre cada elemento de la lista */
}

.menu ul li a {
  text-decoration: none; /* Quita el subrayado predeterminado de los enlaces */
  color: #000; /* Cambia el color del texto a negro */
  transition: text-shadow 0.3s ease;
}

.menu ul li a:hover {
  color: #6D4925; /* Cambia el color del texto al color deseado cuando se pasa el cursor por encima */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.menu ul {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  margin-right: 200px;
  width: max-content;
  max-width: 1200px;
  color: #000;
}

.menu ul li a:visited {
  color: #000;
  text-decoration: none;
}

.menu a:hover {
  color: #6D4925;
  text-decoration: none;
}

#btn-menu {
  display: none;
}

label img {
  visibility: hidden;
}

main {
  margin-left: 15%;
  margin-right: 15%;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2rem;
}

p {
  font-size: 1.2rem;
}

section {
  padding-bottom: 8%;
}

.papi {
  font-family: "Nunito", sans-serif;
  font-weight: bold;
  font-style: italic;
  font-size: 1.5rem;
}

.home__container {
  padding-top: 20px;
  display: flex;
  flex-direction: row;
}

.home__title {
  transition: text-shadow 0.3s ease;
  cursor: pointer;
}

.home__title--decorated:hover {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hi { /* poner efecto de saludo con la mano */
  display: inline-block;
  cursor: pointer;
  transform-origin: 50% 100%;
}

@keyframes sayHi {
  0% {
    transform: rotatez(-13deg);
  }
  100% {
    transform: rotatez(13deg);
  }
}
.hi:hover {
  animation-name: sayHi;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.titulo {
  margin-left: 0;
}

.social__media { /* poner efecto en los iconos */
  margin-top: 15px;
}

.socialmedia__link {
  padding: 5px;
  text-decoration: none;
}

.home__title {
  margin-top: 100px;
  margin-bottom: 0;
}

/* CV desplegable */
/* Estilos para el menú desplegable del CV */
.cv-dropdown {
  position: relative;
  display: inline-block;
}

.cv-button {
  background-color: #EAD9C7;
  color: black;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cv-button:hover {
  background-color: #EAD9C7;
}

.cv-content {
  display: none;
  position: absolute;
  background-color: #EAD9C7;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5%;
}

.cv-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.cv-content a:hover {
  background-color: #ddd;
}

.cv-dropdown:hover .cv-content {
  display: block;
}

/* FOTO */
#fotoVero img {
  width: 60%;
  height: auto;
  object-fit: cover;
  object-position: 0 50%;
  position: sticky;
  z-index: -1;
  margin-top: 10%;
  margin-left: 30%;
}

#fotoVero .fotoVero { /* esto lo hice copy paste, estudiar */
  background-color: #6D4925;
  transition-property: background-color;
  transition-duration: 300ms;
  transition-timing-function: ease;
  transition-delay: 0.3s;
  border-radius: 100%;
  -webkit-animation-name: fotoVero;
  animation-name: fotoVero;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fotoVero {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}
@keyframes fotoVero {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}
#fotoVero .fotoVero:hover {
  background-color: #6D4925;
  border-radius: 80%;
}

/* proyectos */
.proyects__grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  max-width: 75%;
}

.proyects__grid a {
  margin-right: 8%;
  text-align: center;
  text-decoration: none;
  color: #876645;
}

@keyframes susulenta {
  from {
    opacity: 0;
    transform: rotate(-120deg);
  }
  to {
    opacity: 2;
  }
}
.susulenta:hover {
  animation-name: susulenta;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  animation-fill-mode: both;
  animation-delay: 0.3s;
}

@keyframes tritato {
  from {
    opacity: 0;
    transform: rotate(-120deg);
  }
  to {
    opacity: 2;
  }
}
.tritato:hover {
  animation-name: tritato;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  animation-fill-mode: both;
  animation-delay: 0.2s;
}

@keyframes calculadora {
  from {
    opacity: 0;
    transform: rotate(-120deg);
  }
  to {
    opacity: 2;
  }
}
.calculadora:hover {
  animation-name: calculadora;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  animation-fill-mode: both;
  animation-delay: 0.3s;
}

@keyframes adivinanza {
  from {
    opacity: 0;
    transform: rotate(-120deg);
  }
  to {
    opacity: 2;
  }
}
.adivinanza:hover {
  animation-name: adivinanza;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  animation-fill-mode: both;
  animation-delay: 0.3s;
}

/* tecnologias */
.skills__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5%; /* Mantiene un espacio visible entre los íconos */
  justify-content: center;
  max-width: 1200px; /* Limita el ancho total del grid */
  margin: 0 auto; /* Centra el grid en la pantalla */
  padding-top: 5%;
}

.skill {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 50px;
  flex: 1 1 20%; /* Ajusta cómo se distribuyen los íconos */
  max-width: 150px; /* Establece un ancho máximo para cada skill */
}

.skill img {
  object-fit: contain;
}

@keyframes skill {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.skill img:hover {
  cursor: pointer;
  animation-name: skill;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  animation-delay: 0.3s;
}

.contacto-redes {
  padding-left: 15%;
}

/* CONTACTO */
.swing:hover {
  -webkit-transform-origin: top center;
  -ms-transform-origin: top center;
  transform-origin: top center;
  -webkit-animation-name: swing;
  animation-name: swing;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }
  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }
  100% {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}
@keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }
  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }
  100% {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}
/* FOOTER */
.footer-container {
  padding-bottom: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.text__footer {
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 5px;
}

.frase__papi {
  font-family: "Nunito", sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
}

.socialmedia__link {
  padding-right: 30px;
}

.redes__sociales a img {
  transition: transform 1.5s ease-in-out;
  cursor: pointer;
}

.redes__sociales a img:hover { /* esto hace que se agrande el logo */
  transform: perspective(100rem) translateZ(30rem);
}

@keyframes pulse {
  0% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}
.heart {
  animation: pulse 3s linear infinite;
  margin: 5px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  align-content: center;
  padding-bottom: 0;
  margin-bottom: 3px;
}

.part1 {
  margin-right: 0;
}

.part2 {
  margin-left: 0;
}

.btn-menu {
  display: none;
}

/*# sourceMappingURL=styles.css.map */
