.body {
  margin: 0;

  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-between;
}

/*encabezado arriba*/
h3 a {
  color: white;
  font-family: "Roboto", sans-serif;

  font-size: 24px;
  font-weight: lighter;
  text-decoration: none;
}
h4 {
  font-size: 64px;
  font-family: "Roboto Mono";
  margin-top: -18px;
  margin-bottom: 10px;
}

.encabezado {
  display: flex;

  background: linear-gradient(to bottom, #050f81 30%, white);

  padding-right: 60px;
  padding-left: 20px;
  padding-top: 20px;
  padding-bottom: 40px;
  position: fixed;
  top: 0%;
  width: 100%;
}
.encabezadoChild {
  display: inline-flex;

  gap: 100px;
  padding-right: 10%;
}

.encabezadoChild :hover {
  font-size: 200%;
}

@keyframes titulo-animation {
  from {
    transform: scale(100%);
  }
  to {
    transform: scale(95%);
  }
}
.titulo {
  font-family: "Lato", sans-serif;
  color: white;
  display: flex;
  order: -1;
  flex-grow: 1;
  margin-right: 20px;

  animation-name: titulo-animation;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-delay: 0;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

/*TOGGLE MENU*/
.encabezado {
  max-height: 95px;
}
.toggle {
  display: none;
}
.toggle-button {
  color: white;
  text-align: center;

  display: flex;
  justify-content: flex-end;
  cursor: pointer;

  font-size: 42px;
  font-weight: bold;
  margin-top: 17px;
  padding-right: 70px;
}

.toggle-menu {
  display: none;
}

.toggle-menu h3 {
  text-align: center;
}

.toggle-menu a:hover {
  color: black;
}

/*cuerpo web*/

.bodyContent {
  display: flex;

  margin-top: 20px;
  flex-direction: column;
  gap: 30px;
}
#textoInicio {
  padding-top: 0px;
  padding-bottom: 20px;
}

#CV {
  padding: 10px;
  font-family: Calibri;
  font-size: 30px;
}
#portfolio {
  padding: 10px;
  font-family: Calibri;
  font-size: 30px;
}
.imagen {
  height: 500px;
  width: 500px;
  justify-content: space-around;
  align-items: center;
  display: flex;
}

#imagenPerfil {
  border-radius: 50%;
  height: 500px;
  width: 500px;

  padding-right: 20px;
  transition: all 500ms ease-in-out;
}
#imagenPerfil:hover {
  height: 300px;
  width: 300px;
}

.button {
  display: flex;
  justify-content: space-between;
}
.button button {
  font-family: "Roboto Mono";
  font-size: 30px;

  border-radius: 20px;
  cursor: pointer;
  background-color: #5c66db;
  border: 1px solid #414bb8;
  letter-spacing: 1px;
}
.formulario input {
  width: 100%;
  padding: 12px 20px;
  margin: 10px 0;
}

.formulario {
  display: flex;
  font-family: Calibri;
  padding: 50px;

  margin-top: 220px;
  justify-content: center;
}

.formulario input[type="submit"] {
  font-family: "Roboto Mono";
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  background-color: #5c66db;
  border: 1px solid #414bb8;
  letter-spacing: 5px;
}

.flexBody {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 200px;
}
#about {
  color: #192075;
}
#projects {
  font-family: "Roboto Mono";
  color: #192075;
}

.bodyProjects {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.bodyAbout {
  display: flex;
  max-width: 55vh;

  margin-top: 10px;
  flex-direction: column;
}
#textoAbout {
  line-height: 1.5em;
  text-align: justify;
}
#lname {
  height: 20vh;
}
#lname,
#fname,
#correo {
  width: 100vh;
}

/*ENCABEZADO ABAJO*/
.encabezadoAbajo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
#waves {
  max-height: 30%;

  filter: invert(90%) sepia(56%) saturate(5211%) hue-rotate(233deg)
    brightness(98%) contrast(115%);
}
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

.contacto2 {
  font-size: 18px;
  font-family: Calibri;
  background-color: #0d1785;
  color: white;
  margin-top: 0px;
  border: 1px solid #0d1785;
}
.contacto3 {
  margin-left: 16px;

  font-weight: lighter;
  letter-spacing: 3px;
}

/*QUERIES TO Tablet*/

@media only screen and (max-width: 1024px) {
  #waves {
    display: none;
  }
  .imagen {
    display: none;
  }
  #imagenPerfil {
    display: none;
  }
  .encabezadoAbajo {
  }

  .encabezadoChild {
    display: none;
  }
  .toggle {
    display: flex;
    flex-direction: column;
  }

  .toggle-menu {
    display: flex;
    flex-direction: column;
    background-color: #7b82ce;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
    margin-right: 70px;
  }
  .menu-hiden {
    display: none;
  }
  .flexBody {
    margin-top: 220px;
  }
}

/*QUERIES TO MOBILE*/

@media only screen and (max-width: 390px) {
  .encabezadoAbajo {
    display: none;
  }
  .contacto2 {
    display: none;
  }

  #imagenPerfil {
    display: none;
  }
  .encabezadoChild {
    display: none;
  }
  .flexBody {
    margin-top: 220px;
  }
  .imagen {
    display: none;
  }
}
