@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

main {
  min-height: 100vh;
  width: 100%;
  background-color: hsl(257, 40%, 49%);
}
.imgbackground {
  height: 100%;
  width: 90%;
  position: absolute;
  z-index: 1;
}
.divimgtext {
  margin: auto;
  height: 100vh;
  width: 90%;
  display: flex;
}
.divimagenes {
  width: 59%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 65px;
}

.imglogo {
  margin-top: 30px;
  height: 50px;
  width: 200px;
}
.img1 {
  z-index: 2;
  height: 65%;
  width: 91%;
}
/*LADO DERECHO : TEXTO */
.divtexto {
  width: 41%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

h3 {
  color: #fff;
  font-size: 2.3rem;
  font-weight: 700;
  max-width: 430px;
}
p {
  color: rgb(224, 213, 213);
  font-weight: 400;
  font-size: 1rem;
}
button {
  border: none;
  height: 50px;
  width: 160px;
  border-radius: 50px;
  box-shadow: black 0px 2px 10px;
  color: hsl(257, 40%, 49%);
  font-size: 14px;
  font-weight: 400;
}

button:hover {
  background: hsl(300, 69%, 71%);
  color: #fff;
}
.imgbackgroundmobile {
  display: none;
}

/* *******************************************************************    */
@media (max-width: 768px) {
  .imgbackground {
    display: none;
  }
  .imgbackgroundmobile {
    height: 50vh;
    width: 100%;
    position: absolute;
    z-index: 2;
    display: inline;
  }
  .imglogo {
    height: 30px;
    width: 122px;
  }
  .divimgtext {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background-color: hsl(257, 40%, 49%);
    align-items: center;
  }

  .divimagenes {
    width: 85%;
    height: 50vh;
    gap: 45px;
    justify-content: space-around;
  }
  .img1 {
    z-index: 2;
    height: 60%;
    width: 96%;
  }
  .divtexto {
    width: 100%;
    margin-top: 10px;
    align-items: center;
    text-align: center;
    background-color: hsl(257, 40%, 49%);
  }
  h3 {
    font-size: 1.4rem;
    width: 80%;
  }
  p {
    width: 77%;
    font-size: 0.9rem;
    font-weight: 400;
  }
}
