
@font-face {
  font-family: IRANSans;
  src: url("../assets/font/IRANSans.ttf");
}
#hero {
  width: 100%;
  background: url("../img/advertisingisfahan.png.jpg");
  background-size: cover;
  position: relative;
  padding: 120px 0 0 0;
}

#hero:before {
  content: "";
  /*background: rgba(2, 5, 161, 0.91);*/
  /*background-image: linear-gradient(to bottom right, #9a131d, #914984);*/
  background-image: linear-gradient(to right,#735bfb,rgba(239,82,103,0.8));

  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero h1 {
  font-family: IRANSans;
  margin: 0 0 20px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 80px;
  color: rgba(255, 255, 255, 1);
}


#hero h2 {
  font-family: IRANSans;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 40px;
  font-size: 24px;

}

#hero .btn-get-started {
  font-family: IRANSans;
  text-align:center;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display:block;
  padding: 15px 30px;
  /* border: 3px solid #ef5267 ; */
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  /* background:rgba(239,82,103, 0.6); */
  background-image: linear-gradient(to right,#523ad0,#eb0e78);
  text-decoration: none;
  width: 300px;
  margin-right: auto;
  margin-left: auto;
  box-shadow: 0 0 10px #5a5a5a;
}

#hero .btn-get-started:hover {
  /*background: #17b57d;*/
  width: 350px;
}

#hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 991px) {
  #hero {
    padding-top: 80px;
  }

  /* #hero .animated {
    -webkit-animation: none;
    animation: none;
  } */

  #hero .hero-img {
    text-align: center;
  }

  #hero .hero-img img {
    max-width: 50%;
  }

  #hero h1 {
    font-size: 28px;
    line-height: 70px;
    margin-bottom: 10px;
    text-align: center;

  }

  #hero h2 {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 30px;
    text-align: justify;
  }
}

@media (max-width: 575px) {
  #hero .hero-img img {
    width: 80%;
  }

  #main_flex_div {
    display: block !important;
   }
}

@-webkit-keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

.hero-waves {
  display: block;
  margin-top: 60px;
  width: 100%;
  height: 60px;
  z-index: 5;
  position: relative;
}

.wave1 use {
  -webkit-animation: move-forever1 10s linear infinite;
  animation: move-forever1 10s linear infinite;
  -webkit-animation-delay: -2s;
  animation-delay: -2s;
}

.wave2 use {
  -webkit-animation: move-forever2 8s linear infinite;
  animation: move-forever2 8s linear infinite;
  -webkit-animation-delay: -2s;
  animation-delay: -2s;
}

.wave3 use {
  -webkit-animation: move-forever3 6s linear infinite;
  animation: move-forever3 6s linear infinite;
  -webkit-animation-delay: -2s;
  animation-delay: -2s;
}

@-webkit-keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }

  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }

  100% {
    transform: translate(-90px, 0%);
  }
}

@-webkit-keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@-webkit-keyframes move-forever3 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}
@media (max-width: 480px) {

  #main_flex_div {
    display: block !important;
   }
}
