@media screen and (max-width : 991px) {
    h3 {
        font-size: 1.2rem;
    }

    /*nav bar*/
    .nav-toggle {
        display: block;
        margin-right: 10px;

    }

    .main-nav {
        overflow: initial;

    }

    .nav-links {
         position: absolute;
        right:-100%;
        top: 100%;
        background-color: white;
        width: 100%;
        padding-block: 20px; 
        transition: 0.4s ease-in-out;
    }

    .nav-links.active{
        right: 0%;
    }
    .nav-links ul {
        flex-direction: column;

    }   


    /* example section */
    .examples-area {
        gap: 20px;
    }

    .examples-card {
        width: calc(50% - 10px);
        height: 60vh;
    }

    .examples-section {
        padding-bottom: 45px;
    }

    /* cta-section */
    .cta-section {
        padding-block: 80px;
    }
}

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

    .primary-button {
        width: 100%;
    }

    /* <!-- header section --> */

    .header {
        flex-direction: column-reverse;
    }

    .header-left {
        max-width: 100vw;
        text-align: center;
    }

    /* features section */
    .features-card {
        max-width: calc(50% - 15px);
    }

    /* big feature section */
    .big-feature-container {
        flex-direction: column;
    }

    #second-big-feature {
        flex-direction: column;
    }

    /* footer */
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;

    }

    .link-column {
        align-items: center;
    }
}

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

    :root {
        --padding-inline-section: 10px;
    }


    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    /* features section */
    .features-card {
        min-width: 100%;
    }

    /* example section */
    .examples-card {
        width: 100%;
        height: 45vh;
    }

    .examples-section {
        padding-bottom: 0px;
    }
}