* {
    box-sizing: border-box;
    font-family: 'Akshar', sans-serif;
  }
  
  html,
  body {
    margin: 0 auto;
    height: 100%;
  }
  p {
    position: relative;
    width: 90%;
    height: 170px;
    line-height: 130px;
    text-align: center;
    font-size: 25px;
    color: #ffffff;
    background-color: #000000;
    animation: textColor 10s ease infinite;
    margin-top: 2%;
    margin-left: 5%;
    border-radius: 30px;
  }
  p:after {
    position: absolute;
    content: "";
    top: 5vw;
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    transform: scale(0.75);
    -webkit-filter: blur(5vw);
    -moz-filter: blur(5vw);
    -ms-filter: blur(5vw);
    filter: blur(5vw);
    background: linear-gradient(300deg,  #00FFFF,#FF1493, #FFFF00 );
    background-size: 200% 200%;
    animation: animateGlow 10s ease infinite;
  }


/* Карточки начало */
  .parent {
    --scroll-gap: 2em;
    height: 60%;
    width: 80%;
    margin: 50px;
    margin-left: 10%;
    overflow: auto;
    padding: var(--scroll-gap);
    scroll-snap-type: y mandatory;
  }
  /* .H{
    font-size: 7%;
  } */
  .TEXT1{
  font-size: 24px;
  margin: 2px;
  }
  .TEXT2{
  font-size: 21px;
  margin: 2px;
  }
  .TEXT3{
  font-size: 22px;
  margin: 2px;
  }
  .TEXT4{
  font-size: 27px;
  margin: 2px;
  }
  .child {
    scroll-snap-align: center;
    display: flex;
    /* justify-content: center; */
    height: calc(30vh - 1 * var(--scroll-gap));
    border-radius: 0.4em;
    padding: 1.25em;
    box-shadow: 0 0.9px 1.5px rgba(0, 0, 0, 0.03), 0 3.1px 5.5px rgba(0, 0, 0, 0.08), 0 14px 25px rgba(0, 0, 0, 0.12);
  }
  .child:not(:last-child) {
    margin-bottom: var(--scroll-gap);
  }
  .child:nth-child(1) {
    background-color: #ff7d20;
  }
  .child:nth-child(1) h5 {
    color: #000000;
  }
  .child:nth-child(2) {
    background-color: #fd9b55;
  }
  .child:nth-child(2) h5 {
    color: #0c0f0a;
  }
  .child:nth-child(3) {
    background-color: #ffae74;
  }
  .child:nth-child(3) h5 {
    color: #000000;
  }
  .child:nth-child(4) {
    background-color: #fcc7a1;
  }
  .child:nth-child(4) h5 {
    color: #000000;
  }
/* Карточки конец */



/* START STYLE FOR FOOTER */
.footer{
  background: url(./img/foot.png);
  background-size: cover;
  padding: 100px 0;
}
.footer-information{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.icon{
  margin-right: 50px;
padding: 10px;
}
.icons{
  justify-content: flex-end;
}
.copyright{
  color: #f6f2f1;
padding: 10px;

}
/* END STYLE FOR FOOTER */



  @keyframes animateGlow {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  @keyframes textColor {
    0% {
      color: #00FFFF;
    }
    30% {
      color: #FF1493;
    }
    60% {
      color: #FFFF00;
    }
    100% {
      color: #00FFFF;
    }
  }


  @media screen and (max-width: 849px){
      p{
        font-size: 13px;
      }
      .TEXT1{
        font-size: 12px;
      }
      .TEXT2{
        font-size: 9px;
      }
      .TEXT3{
        font-size: 10px;
      }
      .TEXT4{
        font-size: 13px;
      }
  }
  
  @media screen and (min-width:850px){
    p{
      font-size: 17px;
    }
    .TEXT1{
        font-size: 18px;
      }
      .TEXT2{
        font-size: 17px;
      }
      .TEXT3{
        font-size: 18px;
      }
      .TEXT4{
        font-size: 20px;
      }
  }
  @media screen and (min-width: 851px) {
    .child{
      height: 50%;
      width: 67%;
      margin-left: 16%;
    }
  }