@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

.header {
  width: 100%;
  height: 20vh;
  max-height: 140px;
  background-color: #29394F;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}
.header h1 {
  padding-bottom: 15px;
}

.text {
  font-family: "Ubuntu", sans-serif;
  font-size: 1.4rem;
}

.nav {
  position: sticky;
  width: 100%;
  height: 50px;
  margin: auto;
  z-index: 1;
  top: 0px;
  background-color: #29394F;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}
.nav li {
  display: inline-block;
  padding: 20px;
}
.nav li :hover {
  color: #29394F;
  background-color: #D0DEE4;
}
.nav a {
  color: white;
}

.hamguerger {
  height: 30px;
  width: 30px;
  padding: 1.2rem;
  background-image: url(../assets/menu.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: none;
  transition: all 0.5s ease;
}

.checkbox {
  display: none;
  transition: all 0.5s ease;
}

@media screen and (max-width: 768px) {
  .nav {
    flex-direction: column;
    height: 100%;
    transition: all 0.5s ease;
  }
  .nav li {
    width: 80%;
  }
  ul {
    display: none;
    text-align: center;
    flex-wrap: wrap;
  }
  .hamguerger {
    display: block;
  }
  .checkbox:checked ~ ul {
    display: block;
  }
  .checkbox:checked ~ .hamguerger {
    background-image: url(../assets/menu_close.svg);
  }
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #D0DEE4;
  width: 100%;
  height: auto;
  padding-bottom: 4rem;
}

.hero__title {
  padding: 20px 0;
  width: 95%;
  color: #29394F;
  text-align: center;
  font-size: 2rem;
}

.hero__description {
  padding: 20px 0;
  padding-bottom: 40px;
  width: 90%;
  text-align: center;
  font-size: 1.4rem;
}

.hero__svg {
  width: 80%;
  max-width: 400px;
  background-color: #29394F;
  border-radius: 50%;
  transition: all 1s ease;
}

@media screen and (min-width: 768px) {
  .hero__description {
    width: 50%;
  }
}
.about-me {
  margin: 0 auto;
  width: 90%;
  height: -moz-fit-content;
  height: fit-content;
  background-color: #29394F;
  color: white;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.abaout-me__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 50%;
  width: 100%;
  padding-bottom: 10px;
}

.abaout-me__text {
  padding-top: 20px;
  width: 100%;
  max-width: 1300px;
  text-align: center;
  font-size: 1.5rem;
}

.about-me__title {
  padding-bottom: 10px;
}

.about-me__subtitle {
  width: 80%;
  text-align: center;
}

.abaout-me__img {
  height: 400px;
  width: 100%;
  max-width: 400px;
  border-radius: 0 0 30px 30px;
  background-image: url(../assets/CDVH.png);
  background-size: cover;
  background-position: center;
  -o-object-fit: cover\;;
     object-fit: cover\;;
}

@media screen and (min-width: 930px) {
  .about-me {
    flex-direction: row;
    padding: 60px 0;
  }
  .abaout-me__container {
    width: 50%;
    height: 100%;
  }
  .abaout-me__img {
    border-radius: 50%;
  }
}
.skills {
  margin: auto;
  width: 80%;
  height: auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.skills__title {
  width: 100%;
  text-align: center;
  padding: 50px 0;
}

.skills__card {
  background-color: rgb(41, 57, 79);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  width: 200px;
  border-radius: 40px;
  padding: 30px;
  transition: all 0.2s ease;
}

.skills__svg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 90%;
  width: 100%;
  padding-bottom: 10px;
}
.skills__svg img {
  height: 100%;
  width: auto;
}

.skills__text {
  color: white;
  text-align: center;
  height: 20%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skills__card:hover {
  transform: scale(1.1);
}

.rotate {
  animation: rotate 15s linear infinite;
}

@media screen and (max-width: 850px) {
  .skills {
    width: 90%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.hobbies {
  background-color: #29394f;
  width: 100%;
  height: auto;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hobbies__card {
  background-color: #D0DEE4;
  border-radius: 40px;
  height: 250px;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  transition: all 0.3s ease-in-out;
}

.hobbies__img {
  height: 50%;
  width: 40%;
  transition: all 0.2s ease;
}
.hobbies__img img {
  height: 100%;
  width: auto;
  opacity: 1;
}
.hobbies__img h2 {
  opacity: 1;
}

.bike:hover {
  background-image: url(../assets/hobbies/bike-gif.gif);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
.bike:hover .hobbies__img {
  opacity: 0;
}
.bike:hover h2 {
  opacity: 0;
}

.gaming:hover {
  background-image: url(../assets/hobbies/gaming.gif);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
.gaming:hover .hobbies__img {
  opacity: 0;
}
.gaming:hover h2 {
  opacity: 0;
}

.music:hover {
  background-image: url(../assets/hobbies/music.gif);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
.music:hover .hobbies__img {
  opacity: 0;
}
.music:hover h2 {
  opacity: 0;
}

.movie:hover {
  background-image: url(../assets/hobbies/movie.gif);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
.movie:hover .hobbies__img {
  opacity: 0;
}
.movie:hover h2 {
  opacity: 0;
}

.walk:hover {
  background-image: url(../assets/hobbies/walk.gif);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
.walk:hover .hobbies__img {
  opacity: 0;
}
.walk:hover h2 {
  opacity: 0;
}

@media screen and (min-width: 850px) {
  .hobbies {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hobbies__card {
    width: 350px;
    height: 200px;
  }
}
.formacion {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 50px 0;
  width: 100%;
  height: auto;
}

.formacion__title {
  width: 100%;
  padding: 2rem 0;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.formacion__card {
  border-radius: 40px;
  height: 100%;
  padding: 25px 20px;
  width: 90%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 15px 6px 69px -17px rgba(41, 57, 79, 0.64);
  -webkit-box-shadow: 15px 6px 69px -17px rgba(41, 57, 79, 0.64);
  -moz-box-shadow: 15px 6px 69px -17px rgba(41, 57, 79, 0.64);
}

.formacion__card:hover {
  transform: scale(1.02);
}

.formacion__img {
  height: 70%;
  width: 100%;
}
.formacion__img img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  transition: all 0.2s ease-in-out;
  border-radius: 40px 40px 0 0;
}

.formacion__text {
  height: 30%;
  align-self: flex-start;
}

@media screen and (min-width: 768px) {
  .formacion {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
}
.experiencia {
  width: 100%;
  padding: 5rem 0;
  height: auto;
  background-color: #29394F;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.experiencia h2 {
  width: 100%;
  text-align: center;
  padding: 3rem 0;
}

.experiencia__container {
  margin: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experiencia__card {
  margin: auto;
  width: 85%;
  height: -moz-max-content;
  height: max-content;
  padding: 2rem;
  overflow: hidden;
  box-shadow: 10px 10px 40px -3px rgba(0, 0, 0, 0.79);
  -webkit-box-shadow: 10px 10px 40px -3px rgba(0, 0, 0, 0.79);
  -moz-box-shadow: 10px 10px 40px -3px rgba(0, 0, 0, 0.79);
  transition: all 0.5s ease-in-out;
}

.experiencia__card:hover {
  transform: translateY(-10px);
}

.experiencia__img {
  height: 50%;
  width: 100%;
  transition: all 0.5s ease-in-out;
}
.experiencia__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.experiencia__text {
  height: 50%;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
  text-align: center;
}

.experiencia__tec {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.experiencia__tec__img {
  height: 3.5rem;
}

.buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.button {
  background-color: #D0DEE4;
  border-radius: 40px;
  color: #29394F;
  padding: 1rem 2rem;
  transition: all 0.3s;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-4px);
  font-weight: 900;
}

.button:active {
  transform: translateY(0px);
}

@media screen and (min-width: 768px) {
  .experiencia__card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: auto;
    padding-top: 1rem;
  }
  .experiencia__text {
    width: 50%;
    gap: 2rem;
  }
  .experiencia__img {
    width: 50%;
  }
  .buttons {
    flex-direction: row;
    gap: 2rem;
  }
  .reverse {
    flex-direction: row-reverse;
  }
}
.contacto {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5em 0;
}
.contacto h2 {
  font-size: 2rem;
}
.contacto p {
  width: 80%;
  font-size: 1.5rem;
  padding: 2rem 0;
  text-align: center;
}

.contacto__redes {
  margin: auto;
  width: 70%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.contacto__redes img {
  width: 5rem;
  height: 5rem;
  transition: all 0.3s ease-in-out;
}
.contacto__redes img:hover {
  transform: scale(1.1);
}

.contacto__form {
  width: 80%;
  padding: 2rem 0;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form__group {
  position: relative;
  width: 100%;
  padding: 20px 0 0;
  margin-top: 10px;
  max-width: 500px;
}

.form__field {
  width: 100%;
  border: none;
  border-bottom: 2px solid #29394F;
  outline: none;
  font-size: 1.3rem;
  color: #29394F;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
}

.form__field::-moz-placeholder {
  color: transparent;
}

.form__field::placeholder {
  color: transparent;
}

.form__field:-moz-placeholder-shown ~ .form__label {
  font-size: 1.3rem;
  cursor: text;
  top: 20px;
}

.form__field:placeholder-shown ~ .form__label {
  font-size: 1.3rem;
  cursor: text;
  top: 20px;
}

.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1.3rem;
  color: #29394F;
}

.form__field:focus {
  padding-bottom: 6px;
  font-weight: 700;
  border-width: 3px;
  border-image-slice: 1;
}

.form__field:focus ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 17px;
  color: #29394F;
  font-weight: 700;
}

.form__field:required, .form__field:invalid {
  box-shadow: none;
}

.buttons {
  padding: 2rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn {
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  width: 50%;
  max-width: 250px;
  padding: 1rem;
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  transform: translateY(-4px);
  font-weight: 900;
}

.btn:active {
  transform: translateY(0px);
}

.contacto__error {
  color: red;
}

.cv {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #29394F;
  color: white;
  height: 3rem;
  width: 60%;
  max-width: 300px;
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
}
.cv p {
  color: white;
  text-decoration: none;
  display: block;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
}

.cv:hover {
  background-color: green;
  transform: translateY(-4px);
  transform: scale(1.1);
}

.invalido {
  color: #29394F;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #29394F;
  height: 200px;
  color: white;
  text-align: center;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 50px;
  /* Firefox */
  /* Chrome, Edge, and Safari */
}
html * {
  scrollbar-width: auto;
  scrollbar-color: #29394f;
}
html *::-webkit-scrollbar {
  width: 15px;
}
html *::-webkit-scrollbar-thumb {
  background-color: #29394f;
  border-radius: 0px;
  border: 3px outset #2e4056;
}

* {
  font-family: "Ubuntu", sans-serif;
}

body {
  background-color: #D0DEE4;
}/*# sourceMappingURL=styles.css.map */