@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Questrial&display=swap");

/*Encabezado-titulo-contenido*/
header {
  background-image: url(../img/consultoria/fondo-consultoria.jpg);
}

div.titulo > div > h1 {
  font-size: 3em;
}

div.titulo > div {
  padding: 1.2em 4.2em;
  border-radius: 85px;
}

/*Fondo-enunciado*/
.contenedor-enunciado {
  position: relative;

  max-width: 1333px;
  margin: auto;
  margin-top: 64px;
  margin-bottom: 40px;
}

.enunciado {
  position: relative;
  margin: auto;
  width: 70%;
  height: auto;
  padding: 5% 3% 3% 3%;
  background-color: #519019;
  transform: rotateX(0deg) rotateY(0deg) rotateZ(-2deg) skew(-4deg);
  box-shadow: 2px 2px 6px black;
}

/*Foto-circular-enunciado*/
.imagen-enunciado {
  position: relative;
  width: 196px;
  border-radius: 50%;
  margin-top: -6%;
  float: left;
  transform: rotateX(0deg) rotateY(3deg) rotateZ(0deg) skew(3deg);
  border: 3px solid #f18900;
  filter: drop-shadow(-6px 8px 0px #fff);
  box-shadow: 0px 0px 1px white;
}

/*Borde*/
.borde {
  position: absolute;
  margin: auto;
  /* width: 100%;
  height: 100%; */
  top: 9px;
  margin-left: -2%;
  /* border: 4px solid #cb7d00; */
  transform: rotateX(0deg) rotateY(0deg) rotateZ(-352deg) skew(8deg);
}

/*Figura-atras*/
.figura-atras {
  position: absolute;
  width: 18%;
  height: 100%;
  left: 66.8%;
  box-shadow: black 0px 0px 6px;
  background-color: rgb(241, 137, 0);
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) skewY(12deg);
  border-radius: 151px 0px 0px 0px;
}

/*Figuras*/
.figura-1 {
  position: absolute;
  width: 29px;
  content: url(../img/consultoria/figura-1.svg);
  margin-left: -2px;
  top: 4px;
}

.figura-2 {
  position: absolute;
  width: 35px;
  content: url(../img/consultoria/figura-2.svg);
  margin-left: 88%;
  top: 8px;
}

.figura-3 {
  position: absolute;
  width: 35px;
  content: url(../img/consultoria/figura-3.svg);
  margin-left: -3%;
  top: 83%;
}

.figura-4 {
  position: absolute;
  width: 25px;
  content: url(../img/consultoria/figura-4.svg);
  margin-left: 22%;
  top: 76%;
}

.figura-5 {
  position: absolute;
  width: 55px;
  content: url(../img/consultoria/figura-5.svg);
  margin-left: 87%;
  top: 95%;
}

/*Texto*/
.nomargin {
  position: relative;
  width: auto;
  font-weight: bold;
  text-rendering: auto;
  font-family: "Quicksand", sans-serif;
  text-align: center;
  font-size: 1.5rem;
  color: rgb(255, 255, 255);
  transform: rotateX(0deg) rotateY(0deg) rotateZ(2deg) skew(0deg);
  z-index: 1000;
}

/*Puntos-interrupción*/
@media only screen and (max-width: 664px) {
  div.titulo > div > h1 {
    font-size: 1.9rem;
  }
}

@media only screen and (max-width: 1024px) {
  .nomargin {
    margin-left: 20px;
    margin-right: 10px;
    text-align: center;
  }
  .imagen-enunciado {
    width: 0px !important;
    border: none;
    filter: none;
    box-shadow: none;
  }
  .figura-4{
    top: 90%;
  }
}

@media only screen and (max-width: 793px) {
  .nomargin {
   
    font-size: 1em;
  }
  .figura-1,
  .figura-2,
  .figura-3,
  .figura-4,
  .figura-5 {
    width: 0px;
  }
}
/*Digrama*/
.contenedor-figura-diagrama {
  position: absolute;
  margin: auto;
  text-align: center;
}

.figura-diagrama {
  position: relative;
  margin: auto;
  align-items: center;
  width: 84%;
  height: 35rem;
  margin-top: 23px;
}

.contenedor-item {
  position: relative;
  height: 7rem;
  margin-bottom: 54px;
}

.item {
  position: relative;
  margin: auto;
  width: 450px;
  height: auto;
  margin-bottom: 8rem;
}

.item > img:first-of-type {
  width: 100%;
  margin-left: -15px;
  top: 7px;
}

.item > img {
  position: absolute;
}

.item > h1 {
  position: relative;
  margin-left: 80%;
  top: 6px;
  color: #ea8705;
  font-family: Bebas Neue;
  font-weight: bold;
  font-size: 3.6rem;
}

.item > p {
  width: 72%;
  top: 9px;
  position: absolute;
  margin-left: 20px;
  font-family: Quicksand;
  color: #fff;
  text-align: left;
  font-weight: 600;
  font-size: 1.2rem;
}
.fila-1 {
  margin-right: 88px;
}
.fila-2 {
  top: 55px;
  margin-left: 85px;
}
.acomodar5 {
  top: -29px;
}
.acomodar7 {
  top: -58px;
  margin-left: -568px;
}

.fila-2 > img:first-of-type {
  transform: rotateY(180deg);
  margin-left: 15px;
}
.fila-2 > p {
  margin-left: 115px;
  text-align: right;
}
.fila-2 > h1 {
  margin-left: 5%;
}

/*Fotos*/
.container-fotos {
  margin: auto;
  text-align: center;
}
.foto-1,
.foto-2,
.foto-3 {
  position: relative;
  float: left;
}

.fotos {
  position: relative;
  width: 100%;
}

/*Puntos-interrupción*/

@media only screen and (max-width: 1200px) {
  .figura-diagrama {
    width: 0px;
  }
  .item {
    margin-bottom: 0rem;
  }
  .fila-1 {
    margin: auto;
  }
  .fila-2 {
    top: 0px;
    margin-left: 0px;
    margin: auto;
  }
  .acomodar4,
  .acomodar6,
  .acomodar5,
  .acomodar7 {
    top: 0px;
    margin-top: 0px !important;
    margin-left: 0px;
  }
}

@media only screen and (max-width: 991px) {
  .contenedor-item {
    position: relative;
    height: 7rem;
    margin-bottom: 20px;
  }
  .fotos {
    width: 420px;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 450px) {
  .item {
    width: 100%;
  }
  .item > img {
    width: 100%;
  }
  .item > p {
    font-size: 1rem;
  }
  .fila-2 > p {
    margin-left: 96px;
    padding-right: 6px;
    text-align: right;
  }
  .fotos {
    width: 100%;
  }
}
