@media screen and (max-width: 970px) {
    .nav-center,.nav-right a {
        display: none;
    }

    nav {
        justify-content: space-between;
    }

    .nav-right i {
        display: inline-block;
        font-size: 2.3rem;
        color: var(--primary-color);
        margin: 0 3rem;
        cursor: pointer;
    }

    .join-us-container strong {
        font-size: 3.5rem;
    }

    .join-us-container .join-us {
        padding: 2rem 4rem;
    }

    .event-main {
        justify-content: center;
    }

    .event-container {
        min-width: 450px;
    }

    .teacher-main {
        flex-direction: column;
    }

    .teacher-main .teacher-left {
        width: 100%;
        padding: 2rem 2rem 0 2rem;
    }

    .teacher-main .teacher-right {
        width: 100%;
        padding: 2rem 2rem 2rem 2rem;
    }

    .teacher-right h3 {
        margin-bottom: 1rem;
    }

    .teacher-right a {
        width: 100%;
        padding: 1.5rem 3rem;
    }

    .footer-main-top {
        flex-direction: column;
    }

    .footer-top-left {
        margin-left: 0;
        justify-content: center;
    }

    .footer-top-left_section {
        width: 70%;
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-top-right {
        width: 100%;
        margin: 0;
    }

    .footer-top-right img {
        width: 30%;
    }

    .gallery-inspect {
        flex-direction: column;
    }

    .gallery-inspect-left {
        width: 100%;
    }

    .gallery-inspect-right {
        width: 100%;
    }

    .gallery-inspect-right h2 {
        margin-bottom: 1rem;
    }

    .gallery-inspect-right img {
        width: 100%;
        margin-top: 3rem;
    }
    
    .exercise-advice-container {
        justify-content: center;
    }

    .contact-items {
        flex-direction: column;
    }

    .contact-left,.contact-center,.contact-right{
        margin-bottom: 4rem;
        width: 100%;
    }

    .contact-right {
        margin-bottom: 0;
    }

    .deals-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .deal-box {
        margin-bottom: 3rem;
        width: 50%;
    }

    .private-box {
       transform: translateY(0); 
    }

    .announcement-container {
        justify-content: center;
    }

    .announcement {
        width: 100%;
    }

    .announcement-inspect {
        flex-direction: column;
        align-items: flex-start;
    }

    .announcement-inspect-left {
        width: 100%;
        margin-bottom: 2rem;
    }

    .announcement-inspect-right {
        width: 100%;
    }

    .announcement-inspect-right h2 {
        margin-bottom: 2rem;
    }

    .inspect-bottom {
        flex-direction: column;
    }

    .inspect-left, .inspect-center, .inspect-right {
        width: 100%;
    }
  }

  @media screen and (max-width: 650px) {
    .event-container {
        min-width: 350px;
        width: 95%;
    }

    .join-us-container strong {
        text-align: center;
        margin-bottom: 1rem;
    }

    .inspect-container {
        width: 95%;
    }

    .inspect-img-info p {
        display: none;
    }

    .event-main {
        width: 100%;
    }

    .deal-box {
        width: 95%;
    }

    .announcement-container {
        width: 100%;
    }

    .announcement {
        width: 95%;
    }

    .join-us-container-index {
        width: 95%;
    }

    .join-us-container {

        width: 95%;
    }

    
  }