@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@900&display=swap");

header {
  background-image: url(../img/servicios-sociales/fondo.jpg);
}

.c-enunciado {
  position: relative;
  display: flex;
  align-items: center;
  width: 720px;
}

.c-enunciado > p {
  position: absolute;
  margin: auto;
  width: 52%;
  top: 30%;
  left: 22%;
  font-family: "Quicksand";
  text-align: center;
  font-size: 1.7rem;
  font-weight: bold;
  color: #fff;
  z-index: 2;
}

.c-enunciado > div:first-of-type {
  content: url(../img/servicios-sociales/fondo-enunciado.svg);
  position: relative;
  margin: auto;
  width: 100%;
}

.c-enunciado > div:last-of-type {
  content: url(../img/servicios-sociales/borde-enunciado.svg);
  position: absolute;
  margin: auto;
  width: 100%;
  left: 0%;
}

.c-enunciado > p::before {
  content: url(../img/servicios-sociales/figura-1.svg);
  position: absolute;
  width: 35%;
  top: -47%;
  left: -22%;
}

.c-enunciado > p::after {
  content: url(../img/servicios-sociales/figura-1.svg);
  position: absolute;
  width: 35%;
  top: 43%;
  right: -31%;
  transform: rotateZ(180deg);
}

/* 
/------------------------------------/
Puntos de interrupción
/------------------------------------/
*/

@media only screen and (max-width: 800px) {
  .c-enunciado {
    width: 100%;
  }
  .c-enunciado > p {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 518px) {
  .c-enunciado {
    width: 137%;
    left: -63px;
  }
}

@media only screen and (max-width: 450px) {
  .c-enunciado {
    width: 150%;
    left: -63px;
  }
}

/* 
/------------------------------------/
Contenido
/------------------------------------/
*/

.contenedor-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contenedor-item > p {
  position: absolute;
  margin: 0px;
  width: 65%;
  text-align: center;
  font-family: "Quicksand";
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
}

.contenedor-item > img{
  width: 100%;
}

.contenedor-fotos {
  text-align: center;
  animation: latido 2s infinite 3s;
}

.contenedor-fotos > img {
  position: relative;
  width: 90%;
  animation: latido 0.2s infinite delay iteration-count direction fill-mode;
}

@keyframes latido {
  0% {
    transform: none;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: none;
  }
}
