* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

:root {
  --colorPrymary: #98ca3f;
  --colorSecondary: #a2ff00;
  --colorTercero: #507d03;
  /* colores platzi */
  --colorPrymary: #98ca3f;
  --azulOscuro: #121f3d;
  --verdeClaro: #98ca3f;
}

body {
  background-image: linear-gradient(
      to top,
      hsla(222, 54%, 15%) 0%,
      hsla(78, 52%, 5%, 0.8) 100%
    ),
    url(../img/nuevat.webp);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  object-fit: contain;
  position: relative;
  /* border: 10px solid red; */
  padding: 0.1px;
}

.header {
  /* border: 1px solid red; */
  width: auto;
  height: auto;
  background-color: var(--colorTercero);
  color: #fff;
  /* background-image: linear-gradient(to left, #00aeef 80%, rgba(57, 99, 129, 0.7) 100%); */
  display: flex;
  justify-content: space-evenly;
  padding-top: 5px;
}

.caja-header {
  width: auto;
  /* border: 2px solid red; */
  display: flex;
  /* justify-content: space-around; */
  justify-content: center;
  flex-wrap: wrap;
}

.celular {
  /* border: 1px solid white; */
  padding: 5px;
  color: white;
  height: 10px;
  text-decoration: none;
}

.header .caja2-ubicacion,
.header .caja2-whatsapp {
  /* border: 1px solid red; */
  width: auto;
  height: auto;
  /* margin-left: 10px; */
  display: flex;
  line-height: 40px;
  margin-left: 10px;
}

/* .header .caja-whatsapp{
    padding-left: 10px;
} */

.header .caja-header i {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  color: #fff;
  margin-right: 10px;
  /* border: 1px solid red; */
  text-align: center;
  height: 30px;
}

.header p {
  font-size: 1rem;
  font-weight: normal;
  /* border: 1px solid red; */
  text-align: center;
}

.caja-header .caja-pleca {
  /* height: 40px; */
  width: auto;
  color: #3a414a;
  line-height: 40px;
  text-align: center;
  align-items: center;
  /* border: 1px solid yellow; */
}

.caja-header .pleca {
  font-size: 1rem;
  font-weight: lighter;
  /* margin-bottom: 8px; */
  margin-left: 10px;
}

.container {
  padding: 0.1px;
  width: 100%;
  /* margin-bottom: 25px; */
}

.caja-redes {
  height: 100px;
  padding: 20px;
}

.caja-redes .red {
  display: inline-block;
  color: #fff;
  /* font-size: 2rem; */
  margin-right: 10px;
  padding: 10px;
  border-radius: 5px;
  background-color: transparent;
  border: 1px solid transparent;
}

.caja-redes .red:hover {
  animation: aji 0.5s;
  animation-fill-mode: both;
}

@keyframes aji {
  0% {
    border: 1px solid #fff;
    color: white;
  }
  100% {
    border: 1px solid #fff;
    color: var(--colorSecondary);
  }
}

.caja-redes .red i {
  font-size: 2.5rem;
}
.caja-redes h2 {
  margin-bottom: 5px;
}
.principal {
  display: flex;
  /* align-self: center; */
  justify-content: center;
  align-items: center;
  width: 100%;
  /* border: 2px solid blue; */
  padding: 0.1px;
  margin-top: 10px;
  margin-bottom: 10px;
  /* border: 1px solid red; */
}

.principal img {
  width: 100%;
  /* object-fit: contain; */
  /* object-position: bottom; */
  /* margin-bottom: 15px; */
  animation: aguacate 0.7s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  margin-right: 15px;
  /* animation-timing-function: ease-in-out; */
}

/* .principal .caja-h1{
    border: 4px solid green;
} */

.principal .caja-img {
  display: flex;
  /* margin-top: 150px; */
  height: 100px;
  width: 100px;
  /* border: 3px solid red; */
  align-items: center;
}

footer {
  color: white;
  letter-spacing: 1px;
  position: absolute;
  width: 100%;
  background-color: var(--colorTercero);
  bottom: 0px;
  text-align: center;
  /* color: white; */
  font-weight: lighter;
  padding-top: 5px;
  padding-bottom: 5px;
}

footer a {
  color: #fff;
  font-weight: lighter;
}
.hero {
  display: flex;
  width: 99%;
  margin: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}

@keyframes aguacate {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

h1 {
  /* margin-top: 150px; */
  font-family: "Lato", sans-serif;
  font-size: 100px;
  font-weight: 300;
  color: white;
  /* margin-bottom: 25px; */
  letter-spacing: 5px;
}

h2 {
  color: var(--colorPrymary);
  text-align: center;
  font-family: "Lato", sans-serif;
  letter-spacing: 2px;
}

.cajaAutor {
  width: 100%;
  text-align: end;
}
.autor {
  width: 100%;
  text-align: end;

  font-size: 1.4rem;
  color: rgb(137, 137, 137);
}
.contenedorBuild {
  width: 100%;
  height: 300px;
  /* overflow: hidden; */
  display: flex;
  gap: 15px;
  justify-content: center;
}
.contenedorBuild .internal {
  width: 40%;
  /* border: 1px solid blue; */
  height: 100%;
  /* overflow: hidden; */
  display: flex;
  justify-content: center;
}
.contenedorBuild .der img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
}

.contenedorBuild .izq {
  border: 1px solid var(--colorPrymary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  flex-direction: column;
  padding: 15px;
}

.contenedorBuild .izq h3 {
  display: inline;
  color: white;
  font-weight: normal;
  font-size: 2.5rem;
  width: 100%;
}
@media screen and (max-width: 950px) {
  .principal {
    margin-top: 75px;
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 1380px) {
  .principal {
    margin: 10px auto;
  }
}
@media screen and (max-width: 1200px) {
  .contenedorBuild .izq h3 {
    font-size: 2rem;
  }
}
@media screen and (max-width: 1140px) {
  .contenedorBuild .internal {
    width: 45%;
  }
  .contenedorBuild .izq h3 {
    font-size: 2rem;
  }
}
@media screen and (max-width: 1000px) {
  .contenedorBuild .internal {
    /* width: 49%; */
  }
  .contenedorBuild .izq h3 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 900px) {
  .header p {
    font-size: 0.9rem;
  }
  footer {
    font-size: 0.9rem;
  }
  .contenedorBuild .izq h3 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 860px) {
  .principal h1 {
    font-size: 80px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 800px) {
  .caja-header {
    display: flex;
    text-align: start;
    justify-content: flex-start;
    flex-direction: row;
  }

  .caja-pleca {
    display: none;
  }
  .principal {
    flex-direction: row;
    margin-top: 40px;
  }
  .principal h1 {
    font-size: 60px;
  }
  .container h2 {
    font-size: 1.1rem;
  }
  .principal .caja-img {
    /* margin-top: 150px; */
    /* height: 80px; */
    width: 60px;
    margin-right: 10px;
  }

  /* h1{
        margin-top: 10px;
    } */
}

@media screen and (max-width: 700px) {
  h1 {
    font-size: 80px;
  }
  h2 {
    font-size: 24px;
  }
  .header p {
    font-size: 0.8rem;
    /* max-width: 40%; */
  }
  footer {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 650px) {
  .principal h1 {
    font-size: 60px;
  }
  .contenedorBuild {
    flex-direction: column;
    margin-top: 30px;
  }
  .contenedorBuild .internal {
    width: 100%;
  }
  .contenedorBuild .der img {
    height: 200px;
  }
  .contenedorBuild .izq h3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 560px) {
  .principal h1 {
    font-size: 50px;
  }
  .container h2 {
    font-size: 0.9rem;
  }
  h2 {
    font-size: 20px;
  }
  .contenedorBuild .izq h3 {
    font-size: 1.2rem;
  }
  .autor {
    font-size: 1rem;
  }
}

@media screen and (max-width: 500px) {
  .principal h1 {
    font-size: 45px;
  }
  .header .caja2-ubicacion,
  .header .caja2-whatsapp {
    line-height: 25px;
    margin-bottom: 10px;
  }
  .header p {
    font-size: 1.1rem;
  }
  .caja-redes .red i {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 470px) {
  .caja-redes .red i {
    font-size: 2rem;
  }
}

@media screen and (max-width: 450px) {
  .principal h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 18px;
  }
  .caja-redes .red {
    margin: 0;
  }
  /* .caja-redes .red i{
        font-size: 2rem;
     } */
}

@media screen and (max-width: 430px) {
  .header p {
    /* font-size: 0.9rem; */
  }
  .principal {
    flex-direction: row;
  }
  .principal h1 {
    font-size: 35px;
  }
  h2 {
    font-size: 16px;
  }

  .caja-redes .red i {
    font-size: 2rem;
  }
  /* h1{
        font-size: 65px;
    } */
  h1 span {
    display: none;
  }
  /* .principal img{
        margin-left: 15px;
        margin-bottom: 35px;
    } */
  footer {
    color: white;
    width: 100%;
    font-size: 12px;
    font-weight: 400;
  }
  .textoMensaje h3 {
    font-size: 0.8rem;
    padding: 0;
  }
}

@media screen and (max-width: 380px) {
  /* .caja-redes .red i{
        font-size: 1.5rem;
    } */
  .principal h1 {
    font-size: 30px;
  }
  .principal .caja-img {
    width: 40px;
  }
  .container h2 {
    font-size: 0.7rem;
  }
  .caja-redes .red {
    /* font-size: 2rem; */
    margin-right: 5px;
    padding: 5px;
  }

  .caja-redes .red i {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 14px;
  }
}

@media screen and (max-width: 340px) {
  .principal h1 {
    font-size: 25px;
  }
}
@media screen and (max-width: 320px) {
  .principal h1 {
    font-size: 30px;
  }
}

@media screen and (max-width: 300px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 15px;
  }
  .caja-redes .red i {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 250px) {
  .caja-redes .red i {
    font-size: 1rem;
  }
}
