body {
  margin: 0;
}
@font-face {
  /*incluimos el tipo de fuente,dándole un nombre y haciendo referencia al archivo que la contiene*/
  font-family: "Pattaya-Regular";
  src: url("Pattaya-Regular.ttf");
}

@keyframes rebotar {
  from {
    transform: translateY(0rem);
  }
  to {
    transform: translateY(-1.125rem);
  }
}
@keyframes sacarTexto {
  from {
    transform: translateX(-100%);
    opacity: 0%;
  }
  to {
    transform: translateX(0%);
    opacity: 100%;
  }
}

.conjunto {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 100vh;
  background-color: rgb(34, 28, 28);
}
.cabecera {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.navegador {
  display: flex;
  width: 70%;
  margin-left: 15%;
  padding: 1%;
  align-items: center;
  justify-content: space-between;
  font-family: "Pattaya-Regular";
}

.nom {
  margin-left: 15%;
  width: 6.25rem;
  height: 4.453rem;
}
.home,
.proyectos,
.contacto {
  color: white;
  font-size: 1.375rem;
  text-decoration: none;
}

.home:hover,
.proyectos:hover,
.contacto:hover {
  color: white;
  font-size: 1.438rem;
}

.cuerpo {
  display: flex;
  flex-grow: 2;
  height: 80vh;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}
.izq {
  display: block;
  padding-left: 10%;
  width: 50%;
}
.centro {
  position: absolute;
  width: 37%;
  height: 31%;
  left: 25%;
  top: 37%;
  border-radius: 50%;
  background-color: black;
  border: 1px solid #000000;
  box-sizing: content-box;
  box-shadow: 0px 10px 10px rgb(229, 235, 247, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.der {
  width: 50%;
  background-image: url("foto2.png");
  background-size: cover;
}
.derProject {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.project1,
.project2,
.project3 {
  position: relative;
  width: 33%;
  height: 33%;
  color: white;
  align-items: center;
  margin: 5%;
  font-size: 1.5em;
  text-align: center;
  transition: all ease-in-out 0.3s;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.project1 {
  background-image: url(./neva.png);
}
.project2 {
  background-image: url(./interrogante.png);
  color: black;
}
.project3 {
  background-image: url(./react.png);
  color: black;
}
.project1::before,
.project2::before,
.project3::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid white;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: all ease-in-out 0.3s;
}
.project1:hover::before,
.project2:hover::before,
.project3:hover::before {
  top: -8px;
  bottom: -8px;
  left: -8px;
  right: -8px;
  box-shadow: 0px 0px 10px 10px rgba(248, 247, 247, 0.863);
}
.interrogante {
  border-radius: 30%;
  max-height: 50%;
  min-width: 50%;
}

.miImagen {
  max-height: 100%;
  min-width: 100%;
}

.derFormulario {
  display: block;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pie {
  border: 1px solid #000000;
  color: white;
  font-family: "Pattaya-Regular";
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.textoFollow {
  font-size: 1.5rem;
}

.logos {
  display: flex;
  justify-content: space-between;
  height: 1.625rem;
  width: 6.438rem;
  margin-left: 1%;
}

.insta,
.twitter,
.link {
  animation-name: rebotar;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: 2;
  animation-direction: alternate;
  animation-fill-mode: both;
  animation-play-state: running;
}

.insta {
  animation-delay: 0s;
}
.twitter {
  animation-delay: 0.5s;
}
.link {
  animation-delay: 1s;
}

h1 {
  font-size: 5rem;
  animation-name: sacarTexto;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: normal;
  animation-play-state: running;
  text-shadow: 0px 10px 10px rgb(229, 235, 247, 0.25);
}
h1,
h4,
p,
a,
label {
  color: white;
  font-family: "Pattaya-Regular";
}

p {
  font-size: 2.25rem;
}

h4 {
  font-size: 1rem;
}
.cajaFormulario {
  width: 80%;
  height: 90%;
  margin-left: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.formulario {
  width: 70%;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0px 0px 10px 10px rgba(248, 247, 247, 0.863);
}

label {
  display: block;
  margin-top: 10px;
}
input[type="text"],
[type="email"] {
  width: 80%;
  padding: 4px;
  margin-top: 1px;
  margin-left: 20px;
  border-radius: 10px;
}
.comentarios {
  width: 80%;
  height: 100px;
  padding: 4px;
  margin-top: 1px;
  margin-left: 20px;
  border-radius: 10px;
}

input[type="submit"] {
  width: 40%;
  height: 8%;
  padding: 4px;
  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  opacity: 50%;
}

input[type="submit"]:hover {
  opacity: 100%;
}

/* mobile Portrait */

@media only screen and (min-device-width: 375px) and (max-device-width: 428px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  .home,
  .proyectos,
  .contacto {
    font-size: 2.375rem;
  }
  .nom {
    margin-left: 5%;
    width: 7.25rem;
    height: 5.453rem;
  }
  .navegador {
    margin-left: 7%;
  }
  .cuerpo {
    display: flex;
    flex-direction: column;
    height: 80vh;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
  }

  .centro {
    position: relative;
    width: 100%;
    left: 0%;
    top: 0%;
    border-radius: 0%;
  }
  .der {
    width: 100%;
    height: 100%;
  }

  .derProject,
  .derFormulario {
    width: 100%;
    height: 50%;
  }
  .izq {
    padding-left: 30%;
  }
  .cajaFormulario {
    width: 90%;
    margin-left: 0%;
  }
  .comentarios {
    width: 80%;
    margin-left: 10px;
    height: 140px;
  }
  input[type="text"],
  [type="email"] {
    width: 80%;
    padding: 5px;
    margin-top: 2px;
    margin-left: 10px;
    border-radius: 10px;
  }
  h1 {
    font-size: 7rem;
  }
  p {
    font-size: 3.25rem;
  }
  label {
    font-size: 20px;
  }

  .textoFollow {
    font-size: 2.5rem;
  }
  .logos {
    margin-left: 5%;
    height: 2.625rem;
    width: 12.438rem;
  }

  .instaimg,
  .twitterimg,
  .linkimg {
    width: 40px;
    height: 39px;
  }
}

@media only screen and (max-device-width: 375px) and (max-device-height: 740px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  .home,
  .proyectos,
  .contacto {
    font-size: 2.375rem;
  }
  .nom {
    margin-left: 5%;
    width: 7.25rem;
    height: 5.453rem;
  }
  .navegador {
    margin-left: 7%;
  }
  .cuerpo {
    display: flex;
    flex-direction: column;
    height: 80vh;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
  }

  .centro {
    position: relative;
    width: 100%;
    left: 0%;
    top: 0%;
    border-radius: 0%;
  }
  .der {
    width: 100%;
    height: 100%;
  }
  .miImagen {
    max-height: 100%;
    min-width: 0%;
  }

  .derProject,
  .derFormulario {
    width: 100%;
    height: 50%;
  }
  .izq {
    padding-left: 30%;
  }
  .cajaFormulario {
    width: 90%;
    margin-left: 0%;
  }
  .comentarios {
    width: 80%;
    margin-left: 10px;
    height: 140px;
  }
  input[type="text"],
  [type="email"] {
    width: 80%;
    padding: 5px;
    margin-top: 2px;
    margin-left: 10px;
    border-radius: 10px;
  }
  h1 {
    font-size: 7rem;
  }
  p {
    font-size: 3.25rem;
  }
  label {
    font-size: 20px;
  }

  .textoFollow {
    font-size: 2.5rem;
  }
  .logos {
    margin-left: 5%;
    height: 2.625rem;
    width: 12.438rem;
  }

  .instaimg,
  .twitterimg,
  .linkimg {
    width: 40px;
    height: 39px;
  }
}

/*mobile Landscape */
@media only screen and (max-device-width: 926px) and (max-device-height: 428px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  h1 {
    font-size: 3rem;
  }
  p {
    font-size: 1.25rem;
  }
  label {
    font-size: 0.8rem;
  }
  .cuerpo {
    height: 68vh;
  }
  .centro {
    top: 40%;
  }

  .comentarios {
    width: 83%;
    height: 55px;
    padding: 0px;
    margin-top: 0px;
    margin-left: 0px;
  }
  .textoFollow {
    font-size: 1.2rem;
  }
  label {
    margin-top: 1px;
  }
  input[type="text"],
  [type="email"] {
    width: 83%;
    padding: 0px;
    margin-top: 0px;
    margin-left: 0px;
    border-radius: 10px;
  }
  input[type="submit"] {
    padding: 2px;
    margin-top: 5px;
    margin-left: 10px;
    margin-bottom: 5px;
  }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 2) {
  h1 {
    font-size: 5rem;
  }
  p {
    font-size: 2rem;
  }
  label {
    font-size: 1.2rem;
  }
  .cuerpo {
    height: 68vh;
  }
  .centro {
    top: 40%;
  }
  .project1,
  .project2,
  .project3 {
    width: 50%;
    height: 20%;
  }

  .comentarios {
    width: 83%;
    padding: 0px;
    margin-top: 0px;
    margin-left: 0px;
  }
  .textoFollow {
    font-size: 1.2rem;
  }
  .cajaFormulario {
    width: 85%;
    margin-left: 12%;
  }
  input[type="text"],
  [type="email"] {
    margin-left: 0px;
  }
  input[type="submit"] {
    margin-left: 0px;
  }
}
