@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap");

body {
  overflow-x: hidden; /*bloquea el scroll horizontal*/
  background: #740924;
  height: 100%;
  width: 100%;
  word-wrap: break-word;

  font-family: "Comfortaa", cursive;
  margin: 0;
}

.banner img {
  width: 98.7vw;
  height: 30vw;
}

.encabezado h2 {
  margin-left: 8vw;
  font-size: 1.8rem;
  color: white;
}

.encabezado p {
  margin-top: -1rem;
  margin-left: 8.2vw;
  font-size: 1.1rem;
  color: white;
}

.letrero h3 {
  width: 70%;
  color: white;
  font-size: 1.8rem;
  color: white;
  border-radius: 10px;
  text-align: center;
  padding-bottom: 5px;
  margin-top: -350px;
  margin-left: 350px;
}
.letrero h4 {
  width: 70%;
  color: white;
  font-size: 1.8rem;
  background: rgba(180, 34, 72, 0.9);
  border-radius: 10px;
  text-align: center;
  padding-bottom: 5px;
  margin-top: 0px;
  margin-left: 350px;
}

.datos i {
  float: left;
  color: white;
  margin-top: 7px;
  margin-bottom: 3px;
  margin-left: 8.2vw;
  width: 40px;
}

.datos h5 {
  color: white;
  font-size: 1rem;
  margin-left: 10vw;
  margin-right: 8.5vw;
}

.datos p {
  color: white;
  text-align: justify;
  font-size: 0.9rem;
  margin-left: 8.2vw;
  margin-right: 8.2vw;
}

.fila {
  margin-left: 7vw;
  margin-right: 6vw;
}

.card {
  border-color: gray; /*color del borde de la carta*/
}

.card {
  background: #f8f1e6;
}

.fila i {
  float: left;
  /*color: rgba(133, 12, 48,.9);*/
  color: black;
  margin-top: 7px;
  margin-bottom: 3px;
  margin-left: 1vw;
  width: 40px;
}

.fila h5 {
  color: black;
}

.fila p {
  color: black;
  font-size: 0.9rem;
}


.imgRequisitos img{
  margin: 2% 20%;
  width: 50%;
}


.primaria {
  margin-bottom: 8vw;
}
.secundaria {
  margin-bottom: 10vw;
}

/*ESTILOS DEL FLIP */

.flip-box,
.front,
.back {
  width: 380px;
  height: 500px;
}

.flip_box {
  position: relative;
}

.front,
.back {
  position: absolute;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip_box {
  transition: all 0.5s ease-out;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.front {
  background-color: #024395;
}

.f_title {
  padding-top: 30px;
}

.f_subline {
  padding-top: 205px;
  color: #b1d4e8;
}

.f_headline {
  line-height: 23px;
}

.back {
  background-color: #d21849;
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.b_headline {
  padding-top: 50px;
}

.b_text {
  font-size: 1.4em;
  line-height: 28px;
  padding-top: 10px;
  opacity: 0.85;
}

.b_button {
  position: absolute;
  left: 36px;
  bottom: 38px;
  width: 150px;
  height: 52px;
  background-color: #c30c3d;
  transition: all 0.3s;
}

.b_button:hover {
  background-color: #e30143;
}

.flipped {
  -webkit-transform: rotateY(-180deg);
  -moz-transform: rotateY(-180deg);
  -ms-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}

.r_wrap {
  position: absolute;
  right: 40px;
  bottom: 38px;
}

.b_round,
.s_round {
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #d21849;
  transition: all 0.2s linear;
}

.b_round {
  opacity: 0;
  background-color: #d21849;
}

.b_round_hover {
  transform: scale(1.37);
  opacity: 0.4;
}

.b_round_back_hover {
  background-color: #f60044;
}

.s_round_click {
  transform: scale(1.7);
}

.s_round_back {
  background-color: #c30c3d;
}

.s_arrow {
  /*margin-top: 2vw;
  margin-left: -10vw;*/
  width: 92px;
  height: 82px;
  background-image: url("https://img-fotki.yandex.ru/get/194549/29644339.5/0_d6c60_1d7815f0_orig");
  /*background-image: url('costos.png'); */
  background-color: transparent;
  transition: all 0.35s linear;
}

.s_arrow button {
  background: #83394a;
}

.s_arrow_rotate {
  transform: rotate(-180deg);
}

/*BOTON DESCARGA*/
.button a {
  color: white;
  text-decoration: none;
}
/* Grow */
.grow {
  display: inline-block;
  transition-duration: 0.3s;
  transition-property: transform;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.grow:hover {
  transform: scale(1.1);
}

/* Shrink */
.shrink {
  display: inline-block;
  transition-duration: 0.3s;
  transition-property: transform;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.shrink:hover {
  transform: scale(0.9);
}

*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

:root {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  line-height: 1.618;
}

button {
  display: block;
  float: right;
  padding: 0;

  font: inherit;
  color: currentColor;
  background: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  cursor: pointer;
}
button:focus {
  outline: none;
}

.button {
  position: relative;
  padding: 1em 3em;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background-color: #740924;
  border: 0.1rem solid #d3b466;
  border-radius: 20px;
}
.button::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 0.3rem;
  margin: auto;
  background-color: white;
  visibility: hidden;
}
.button__text {
  position: relative;
  visibility: visible;
}
.button--downloading::after {
  visibility: visible;
  -webkit-animation: button-downloading-bar 1s infinite alternate
    cubic-bezier(0.87, 0, 0.13, 1);
  animation: button-downloading-bar 1s infinite alternate
    cubic-bezier(0.87, 0, 0.13, 1);
}
.button--downloading .button__text {
  visibility: hidden;
}

@-webkit-keyframes button-downloading-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes button-downloading-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
