@media screen and (max-width: 992px) {
  .hero-part {
    flex-direction: column-reverse;
    align-items: center;
    padding-bottom: 0;
    padding-top: 24px;
  }

  .hero-part h1 {
    font-size: 45px;
  }
  .hero-part h2 {
    font-size: 24px;
  }
  .login-site {
    font-size: 24px;
    padding: 10px 32px;
  }
  .our-services .list li {
    width: 100%;
  }
  .our-services .list {
    flex-wrap: wrap;
  }
  .blog .container {
    flex-wrap: wrap;
    gap: 34px;
  }
  .blog .container figure {
    width: 100%;
  }
  .blog .container figure > img {
    height: 215px;
  }
  .ranking .list {
    padding: 0 24px;
  }
  .ranking .list .list-item {
    gap: 14px;
  }
  .ranking .list .list-item .desc {
    padding: 18px;
    font-size: 17px;
  }
  .ranking .list .list-item > img {
    width: 65px;
  }
  .ranking strong {
    font-size: 26px;
  }
  .ranking .open-site {
    margin-right: 5%;
  }
  .ranking .list-item .desc .rate {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .hero-header {
    padding: 24px 5vw;
    position: relative;
  }

  .hero-header > img {
    width: 45px;
  }
  .hero-header .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 2;
    gap: 6px;
    width: 40px;
    height: 32px;
    padding: 3px 6px;
    border-radius: 4px;
    background-color: transparent;
    border: 0;
    z-index: 2;
    cursor: pointer;
  }
  .hero-header nav {
    min-width: unset;
    width: fit-content;
  }
  .hero-header nav .login {
    margin-top: 45px;
    display: block;
    border-radius: 6px;
    font-size: 16px;
    padding: 8px 24px;
  }
  .hero-header nav ul a {
    font-size: 18px;
    padding: 5px 22px;
  }
  .hero-header .hamburger .line {
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 3px;
  }
  .hero-header nav.active {
    transform: translateX(0);
  }
  .hero-header nav {
    display: flex;
    align-items: center;
    gap: inherit;
    position: fixed;
    justify-content: flex-start;
    flex-direction: column;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 25, 31, 0.95);
    padding: 24px 32px;
    z-index: 10;
    transition: 0.4s ease;
    transform: translateX(100%);
  }
  .hero-header nav .close {
    display: block;
    position: absolute;
    top: 10px;
    left: 18px;
    color: #fff;
    width: fit-content;
    font-size: 24px;
    cursor: pointer;
    background-color: transparent;
    border: 0;
  }
  .hero-header ul {
    flex-direction: column;
    gap: 24px !important;
    margin-top: 25px;
  }
  .hero-part footer .link {
    font-size: 24px;
    padding: 12px 24px;
    gap: 12px;
  }

  .daily-gifts {
    flex-direction: column;
    margin-bottom: 58px;
    gap: 32px;
  }
  .daily-gifts > img {
    position: relative;
    right: 5vw;
  }
  .daily-gifts .content h2 {
    font-size: 34px;
  }
  .daily-gifts .content p {
    font-size: 18px;
  }
  .daily-gifts .login {
    font-size: 18px;
    padding: 10px 20px;
    margin: auto;
  }
  .ranking h2 {
    font-size: 32px;
  }
  .ranking .list .list-item {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30px 0 10px;
  }
  .ranking .list .list-item .desc {
    width: 100%;
    order: 1;
    gap: 10px;
  }
  .ranking .rate img {
    width: 24px;
  }
  .ranking .list {
    gap: 20px;
  }
  .ranking strong {
    margin-left: auto;
  }
  .ranking {
    margin: 0 auto 52px;
  }
  .hero-part .container {
    min-width: unset;
    padding-right: 0;
  }
}

@media screen and (max-width: 540px) {
  .hero-part h1 {
    font-size: 32px;
    margin-bottom: 24px;
  }
  .hero-part .textPart p,
  .hero-part .textPart + p {
    font-size: 16px;
    max-width: 185px;
  }
  .hero-part .textPart + p {
    right: unset;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-part .istatistic {
    gap: 26px;
  }
  .hero-part .istatistic span {
    font-size: 26px;
  }
  .hero-part .istatistic small {
    font-size: 13px;
  }
  .hero-part footer {
    flex-direction: column;
  }
  .hero-part footer .links {
    gap: 18px;
  }
  .hero-part footer .links li img {
    width: 42px;
  }
  .our-services > h2 {
    font-size: 36px;
    margin-bottom: 8px;
  }

  .our-services > p {
    font-size: 15px;
  }
  .our-services li {
    padding: 24px;
  }
  .our-services li > img {
    width: 70px;
  }
  .our-services li span {
    font-size: 24px;
  }
  .our-services {
    margin: 80px auto;
  }
  .our-services li a {
    font-size: 16px;
    padding: 10px 20px;
  }

  .blog .container figure > img {
    height: 174px;
    border-radius: 15px;
  }
  .blog .container figure h3 {
    font-size: 25px;
  }
  .blog .container figure p,
  .blog .container figure a {
    font-size: 18px;
  }
}

@font-face {
  font-family: "BYekan";
  src: url("assets/BYekan+_0.ttf") format("TrueType");
  font-weight: 400;
}
@font-face {
  font-family: "BYekan";
  src: url("assets/BYekan+\ Bold.ttf") format("TrueType");
  font-weight: 700;
}
