* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

.banner {
  display: flex;
  height: 100vh;
  background-image: url("../pictures/banner2.jpg");
  background-attachment: fixed;
  background-position: 0px -80px;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
  align-self: center;
  align-content: center;
  padding-left: 50px;
}

.banner-text {
  background-color:#FB7775;
  border-radius: 40px 40px 40px 40px;
  margin-top: 150px;
  padding: 20px;
}

.miss-card {
  width: 100%;
  height: 25rem;
  overflow: hidden;
  position: relative;
  display: flex;
  border-radius: 20px;
}

.miss-content {
  position: absolute;
  bottom: 0px;
  left: 5px;
}

.miss-content h1,
p {
  text-align: justify;
}

.miss-card img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

/* Servicios  */
.caja {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  position: relative;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 18rem;
}

.caja:hover .caja-text {
  font-size: 25px;
  transition: all 0.5s;
}

.caja img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cajac img {
  width: 90%;
  height: 90%;
  object-fit: scale-down;
  margin: auto;
}

.caja-text {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  text-align: left;
  align-items: flex-end;
  align-self: self-end;
  align-content: end;
  padding: 20px;
  transition: all 0.5s;
}

.caja-text a {
  font-size: 18px;
  color: #fff;
}

.title-service {
  font-weight: 700;
  font-size: 23px;
  margin: 0px;
  color: #fff;
}

.cajas {
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  height: 37rem;
}

.cajas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Acciones */

.box-img-card {
  height: 18rem;
  overflow: hidden;
  border-radius: 30px 30px 0px 0px;
}

.box-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.myCard-cont p {
  height: 100%;
  align-items: center;
  align-self: center;
  align-content: center;
}

.myCard-cont {
  margin-bottom: 20px;
  padding: 30px 10px;
  color: #000;
  border-radius: 0px 0px 30px 30px;
}

.cont-slogan {
  position: relative;
  cursor: pointer;
}

.cont-slogan img {
  position: absolute;
  right: 10px;
}

.grande {
  top: -20px;
  height: 150px;
  transition: all 0.5s;
}

.peque {
  top: 0px;
  height: 100px;
  transition: all 0.5s;
}

.img-part-form {
  overflow: hidden;
  height: 30rem;
}

.img-part-form img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-part form .label {
  font-weight: 600;
  font-size: 18.5px;
}

.cont {
  margin-bottom: 10rem;
}

@media (max-width: 500px) {
  .banner-text {
    padding: 40px 10px;
    width: 100%;
  }
  .banner {
    padding-left: 0px;
    margin-left: 0px;
  }
  .banner {
    display: flex;
    height: 100vh;
    background-image: url("../pictures/renitos.jpeg");
    background-attachment: fixed;
    background-position: bottom right;
    background-size: auto;
    background-repeat: no-repeat;
    align-items: center;
    align-self: center;
    align-content: center;
  }
}
