@media screen and (max-width: 1150px) {
  .part-container {
    padding: 0 min(8vw, 60px);
  }
  .hero-part .hamburger-container {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
  }
  .main-header {
    padding-top: 20px;
  }
  .hero-part .content-container {
    margin-top: 55px;
  }
  .main-header .vertical-gradient {
    display: none;
  }
  .hero-part .main-header nav .close {
    display: block;
    position: absolute;
    top: 10px;
    left: 18px;
    color: #fff;
    width: fit-content;
    font-size: 24px;
    cursor: pointer;
    border: 0;
    background-color: transparent;
  }
  .hero-part .main-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-part .main-header .hamburger .line {
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 3px;
  }
  .main-header .login {
    width: 43px;
    overflow: hidden;
    white-space: nowrap;
    padding-right: 9px;
    gap: 20px;
  }

  .main-header nav {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #0c0805d7;
    padding: 48px 24px;
    width: 270px;
    flex-direction: column-reverse;
    align-items: stretch;
    justify-content: flex-end;
    z-index: 5;
    transition: 0.3s ease;
    transform: translateX(100%);
  }
  .main-header nav.active {
    transform: translateX(0);
  }
  .main-header .search-form {
    width: 100%;
    margin-bottom: 30px;
  }
  .main-header .menu {
    flex-direction: column;
    align-items: stretch;
  }

  .ranking .box {
    flex-direction: column;
  }
  .ranking .box ul {
    width: 100%;
    max-width: 900px;
  }
  .gifts .content h4 {
    font-size: 25px;
    max-width: 250px;
  }

  .weblog .content {
    flex-direction: column-reverse;
    gap: 14px;
  }
  .weblog .content div.weblog-item.first {
    width: 100%;
    max-width: unset;
    flex-direction: row;
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--dark-bg);
    border: 1px solid #d2c8a3;
    padding: 10px 17px 15px 27px;
    border-radius: 27px;
  }
  .weblog div.weblog-item.first > img {
    width: 128px;
    height: 128px;
    margin-bottom: 0;
  }
  .weblog .weblog-item.first .more {
    flex-direction: column-reverse;
  }
  .main-header .search-form:focus-within {
    flex-grow: 0;
  }
}

@media screen and (max-width: 992px) {
  .header-container {
    padding: 0 min(4.5vw, 60px) 0;
  }
  .hero-part .content {
    flex-direction: column-reverse;
    height: auto;
  }
  .hero-part .text {
    width: 100%;
    max-width: 650px;
    padding: 24px;
  }
  .hero-part .content .banner {
    min-width: 250px;
    transform: perspective(500px) translateX(0px) translateZ(100px);
  }

  .ranking .box {
    padding: 36px 32px;
  }
  .ranking .box ul li .rank-img {
    bottom: 4px;
    width: 45px;
  }
  .ranking .box ul li .rank-img + img {
    width: 85px;
  }
  .ranking .box ul li .rank-img:is(.silver, .boronse) {
    left: 6px;
    width: 55px;
  }
  .ranking .box ul li strong {
    font-size: 17px;
  }
  .ranking .box ul li a {
    font-size: 13px;
    padding: 8px 15px;
  }

  .about .content {
    flex-direction: column-reverse;
    align-items: center;
  }
  .about .section-header {
    margin-bottom: 32px;
  }
  .about .text {
    width: 100%;
    max-width: 550px;
  }
  .about .text p {
    margin-bottom: 32px;
    font-size: 20px;
  }
  .faq {
    flex-direction: column;
  }
  .faq .content {
    width: 100%;
  }
  .main-footer {
    padding-top: 55px !important;
    flex-direction: column;
    gap: 28px;
  }
  .main-footer p {
    margin-top: 24px;
    padding-right: 0;
  }
  .gifts .content {
    flex-direction: column-reverse;
    gap: 24px;
    height: auto;
    padding-left: 0;
    padding-top: 24px;
  }
  .gifts .content h4 {
    order: 1;
    padding: 0 15px;
    text-align: center;
  }
  .gifts .content > img {
    max-width: 100%;
    width: fit-content;
    object-position: top;
    bottom: 0;
  }
  .gifts .content h4 {
    max-width: 300px;
  }
}

@media screen and (max-width: 768px) {
  img.invisible-img {
    max-width: 100%;
  }
  .part-container {
    padding: 0 32px;
  }
  .ranking .box ul li .rank-img + img {
    width: 70px;
  }
  .ranking .box ul li {
    gap: 18px;
    row-gap: 24px;
    flex-wrap: wrap;
    max-height: unset;
  }
  .ranking .box ul li a {
    width: 100%;
    justify-content: center;
  }
  .weblog .weblog-item {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .weblog .weblog-item > img {
    width: 110px !important;
    height: 110px !important;
  }
  .weblog .weblog-item .detail {
    width: calc(100% - 140px);
  }
}

@media screen and (max-width: 570px) {
  .header-container {
    padding: 0 24px;
  }
  .hero-part .content {
    padding-top: 10px;
  }
  .part-container {
    padding: 0 24px;
  }
  .hero-part .text h1 {
    font-size: 42px;
  }
  .hero-part .text p {
    font-size: 16px;
    line-height: 27px;
  }
  .ranking .box {
    padding: 15px;
  }
  .section-header h2 {
    font-size: 16px;
  }
  .section-header strong {
    font-size: 21px;
  }
  .section-header a {
    font-size: 16px;
    align-items: center;
  }
  .navButtons img {
    width: 24px;
    height: 24px;
  }
  .faq .faq-item h5 {
    font-size: 18px;
  }
  .faq .faq-item.active .item-body {
    font-size: 14px;
  }
  .comment {
    display: flex;
    flex-direction: column;
    width: 360px;
    padding: 24px 18px;
  }
  .comment .comment-text {
    font-size: 14px;
  }
}
