/* 0px to 1100px */

@media screen and (max-width: 1100px) {

    /* nav  */

    .search-expanded-div,
    .nav-search-button-div,
    .nav-home-button-div,
    .second-section-bottom-right-link-div {
        display: none;
    }

    nav {
        justify-content: center;
    }

    /* hero section  */

    .hero-section-left {
        margin-top: -15px;
    }

    .hero-section-right {
        display: none;
    }

    /* courses secton  */

    .second-section-bottom {
        flex-direction: column;
    }

    .second-section-bottom {
        width: 100%;
        padding: 60px 0px 50px 0px;
    }

    .second-section-bottom>img {
        width: 100%;
    }

    .second-section-bottom-right {
        width: 100%;
        padding: 20px 25px 0px 25px;

    }

}

/* 0px to 800px */

@media screen and (max-width: 800px) {

    /* header  */

    header {
        position: fixed;
        top: 0;
        width: 100%;
    }

    /* nav  */

    nav,
    .header-right-desktop-item {
        display: none;
    }

    .header-3dot-div {
        display: flex;
    }

    /* hero section  */

    #hero-section {
        height: calc(100vh - 60px);
    }

    .hero-section-left {
        padding: 100px 0px;
    }

    .hero-left-suptext {
        font-size: 1rem;
    }

    .hero-left-text {
        font-size: 3rem;
    }

    /* courses section  */

    .second-section-bottom {
        width: 100%;
        padding: 30px 10px 50px 10px;
    }

    .second-section-bottom>img {
        width: 100%;
    }

    .second-section-bottom-right {
        width: 100%;
        padding: 5px 25px 0px 25px;
        gap: 15px;
    }

    .second-section-bottom-right-title-div {
        gap: 5px;
    }

    .second-section-bottom-right-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .second-section-bottom-right-link-div {
        display: none;
    }

    .second-section-bottom-right-desc-div {
        gap: 15px;
        font-size: 0.8rem;
    }

    /* sixth section  */

    .sixth-section {
        display: none;
    }

    /* footer   */

    footer span,
    footer p,
    footer a,
    .footer-column-div {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .news-letter-form {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .newsletter-email-input {
        width: 250px;
    }

    .footer-column-div>img {
        width: 260px;
    }

    .footer-lower {
        font-size: 0.75rem;
    }

}

/* 0px to 350px  */

@media screen and (max-width: 350px) {

    /* header  */

    header {
        height: 65px;
    }

    .header-logo-title {
        font-size: 1.1rem;
    }

    /* hero section  */

    .hero-left-text {
        font-size: 12vw;
    }

    /* courses section  */

    .second-section-card {
        width: 95%;
    }

    .second-section-card>img {
        width: 100%;
        height: 130px;
    }

    /* footer  */

    .footer-upper {
        overflow: hidden;
    }

    .newsletter-email-input {
        width: 95%;
    }

}