@font-face {
  font-family: 'Vazir';
  src: url(../fonts/Vazir-Regular.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.carousel-inner {
  width: 100%;
  height: 100vh;
}

.carousel-item {
  width: 100%;
  height: 100vh;
}

.bg-body-tertiary {
  --bs-bg-opacity: 0;
}

.nav-item a {
  color: rgb(252, 252, 252);
}

.dropdown-menu a {
  color: black;
}

.banner-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 49px;
  padding-top: 32px;
  justify-content: center;
  flex-flow: column nowrap;
}

.logo-el {
  width: 100%;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-el > img {
  width: auto;
  height: 120px;
}
.buttons-container {
  display: flex;
  align-items: center;
  padding: 0 10rem;
  justify-content: space-between;
  flex-flow: row wrap;
  gap: 36px;
}

.buttons-container > .button-el > span > a {
  text-align: center;
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 600;
}

.buttons-container > .button-el > span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.buttons-container > .button-el > span:hover {
  -webkit-mask-image: linear-gradient(
    -75deg,
    rgba(235, 244, 233, 0.7) 30%,
    #e2e1e4 50%,
    rgba(235, 244, 233, 0.7) 70%
  );
  mask-image: linear-gradient(
    -75deg,
    rgba(235, 244, 233, 0.7) 30%,
    #e2e1e4 50%,
    rgba(235, 244, 233, 0.7) 70%
  );
  -webkit-mask-size: 200%;
  mask-size: 200%;
  animation: shine 2s infinite;
}

.buttons-container > div:nth-of-type(3) {
  display: block;
  display: flex;
  align-items: center;
  margin-top: 1rem;
  justify-content: center;
  width: 100%;
}

@media screen and (max-width: 740px) {
  .banner-container {
    align-items: start;
    justify-content: start;
    padding-top: 70px;
  }
  .text-el > h1 {
    font-size: 2rem;
  }
  .logo-el > img {
    width: auto;
    height: 100px;
  }
  .text-el > h1 {
    padding: 0 30px;
  }
  .buttons-container {
    padding: 0 40px;
    gap: 18px;
  }
  .buttons-container > .button-el > span > a {
    width: 180px;
    text-align: center;
  }
}
@media screen and (max-width: 540px) {
  .banner-container {
    margin-top: 3rem;
  }
  .buttons-container {
    justify-content: center;
  }
  .logo-el > img {
    height: 80px;
  }
  .buttons-container > div:nth-of-type(3) {
    margin-top: 0;
  }
  .buttons-container > .button-el > div > a {
    margin-top: 0;
  }
  .text-el > h1 {
    font-size: 1.7rem;
  }
}

.carousel-item img {
  height: 100vh;
}

.delay-02s {
  animation-delay: 0.2s;
  -webkit-animation-delay: 0.2s;
}

.delay-03s {
  animation-delay: 0.3s;
  -webkit-animation-delay: 0.3s;
}

.delay-04s {
  animation-delay: 0.4s;
  -webkit-animation-delay: 0.4s;
}

.delay-05s {
  animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
}

.delay-06s {
  animation-delay: 0.6s;
  -webkit-animation-delay: 0.6s;
}

.delay-07s {
  animation-delay: 0.7s;
  -webkit-animation-delay: 0.7s;
}

.delay-08s {
  animation-delay: 0.8s;
  -webkit-animation-delay: 0.8s;
}

.delay-09s {
  animation-delay: 0.9s;
  -webkit-animation-delay: 0.9s;
}

.delay-1s {
  animation-delay: 1s;
  -webkit-animation-delay: 1s;
}

.delay-12s {
  animation-delay: 1.2s;
  -webkit-animation-delay: 1.2s;
}

#btn1 {
  margin: 40px;
}

#btn2 {
  margin: 40px;
}

.linkb {
  padding: 15px 50px;
  background: #dddbdb;
  color: rgb(0, 0, 0) !important;
  font-size: 26px;
  font-weight: 400;
  font-family: 'Vazir', sans-serif;
  display: inline-block;
  border-radius: 5px;
  text-transform: uppercase;
  line-height: 25px;
  transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
}

.linkb:hover {
  text-decoration: none;
  color: #fff !important;
  background: #002db3;
}

.linkb:active,
.linkb:focus {
  background: #668cff;
  text-decoration: none;
  color: #ff5733 !important;
  opacity: 0.3;
}

a {
  text-decoration: none;
}

.slider {
  position: relative;
  overflow: hidden;
}

h1 {
  font-family: 'Vazir', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 0 0 22px 0;
  color: #faf6f6;
  text-shadow: 0 0 5px black;
}

/* ....navbar...... */

.nav-item {
  font-family: Vazir;
}

.opa {
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 40%;
  position: absolute;
  top: 0px;
}

.collapse .navbar-nav .nav-item a:hover {
  color: #ff5733;
}

.collapse .navbar-nav .nav-item .active {
  color: #ff5733;
}

.navbar-toggler-icon {
  color: white;
}

@keyframes shine {
  0% {
    -webkit-mask-position: -50%;
  }
  100% {
    -webkit-mask-position: 150%;
  }
}
