@media (max-width: 767.98px) {

    .headline-small {
        font-family: var(--font-secondary), sans-serif;
        font-size: 1rem;
        line-height: 1.3rem;
    }

    .headline-medium {
        font-size: 1.1rem;
        line-height: 1.95rem;
    }

    .display-small {
        font-size: 2rem;
        line-height: 2.50rem;
    }

    .display-medium {
        font-size: 1.8rem;
        line-height: 1.6rem;
    }

    #header .navbar-brand img {
        height: 9rem;
    }

    #header .navbar-toggler {
        border: none;
    }

    #header .nav-item .nav-link.account {
        background-color: transparent;
        border: none;
        padding: 0;
        gap: 0.5rem;
    }

    #header .nav-item .nav-link.account img {
        width: 1rem;
        height: auto;
        margin-left: 5px;
    }

    #landing-carousel {
        margin-bottom: 4rem;
    }

    #landing-carousel .carousel-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    #landing-carousel .landing-carousel-control img {
        width: 2rem;
    }

    #landing-carousel .carousel-indicators li {
        border: 1px solid white;
        border-radius: 0.25rem;
        height: 0.1rem;
        width: 1.5rem;
        background-color: white;
        margin: 0 0.5rem;
    }

    #landing-carousel .carousel-indicators {
        bottom: -1rem;
    }

    .sub-nav {
        border-radius: 1.5rem;
        bottom: -9.7rem;
        padding: 0.5rem 1.5rem;
        width: 15rem;
    }

    .sub-nav-links {
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }

    .sub-nav-link {
        margin-bottom: 0.5rem;
        width: 100%;
    }

    .sub-nav .separator {
        width: 80%;
        max-height: 1px;
        background-color: var(--font-deep);
        display: block;
        margin-bottom: 8px;
    }

    .landing-main {
        height: 65rem;
    }

    #header .dropdown-toggle {
        background-color: var(--background-dark);
        color: var(--font-deep) !important;
    }

    .who-we-are {
        position: absolute;
        padding: 1.5rem 1.5rem;
        border-radius: 1rem;
        border: 1px solid var(--background-mid);
        top: 10rem;
        left: 5%;
        max-width: 90%;
        background-color: var(--background-mid);
    }

    .who-we-are .title {
        display: block;
        text-align: center;
    }

    #login .login-form {
        position: absolute;
        color: var(--font-deep);
        padding: 0.5rem 0.5rem;
        border-radius: 1rem;
        border: 1px solid var(--background-mid);
        top: 15%;
        left: 10%;
        width: 80%;
        background-color: var(--background-mid);
    }

    #login .login-main {
        height: 30rem;
    }

    #reg .reg-form {
        position: absolute;
        color: var(--font-deep);
        padding: 0.5rem 0.5rem;
        border-radius: 1rem;
        border: 1px solid var(--background-mid);
        top: 11%;
        left: 10%;
        width: 80%;
        background-color: var(--background-mid);
    }

    #reg .reg-main {
        height: 50rem;
    }


    #ppage .card-body, #aszf button {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #ppage button {
        padding-left: 0rem;
        padding-right: 0rem;
        font-size: 1.2rem;
    }

    #ppage .card .card-title {
        font-size: 1rem;

    }


    #footer {
        padding: 0;
    }

    #footer ul {
        margin-top: 0rem;
    }

    #footer .mobile-footer {
        display: block;
    }

    #footer .mobile-footer img {
        width: 60%;
    }

    #footer .desktop-footer {
        display: none;
    }

    #footer .social {
        margin-left: 4rem;
    }

    #blog {
        padding-left: 1.3rem;
        padding-right: 1.3rem;
    }

    .single-news-image {
        float: none;
        width: 100%;
        height: 250px;
        margin-left: 0;
        margin-bottom: 20px;
    }

    #news .news-card {
        border: 0;
        border-radius: 0 !important;
        border-bottom: 1px solid var(--btn-dark);
    }

    #news .single-news-card {
        border: 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .headline-small {
        font-family: var(--font-secondary), sans-serif;
        font-size: 1.1rem;
        line-height: 1.4rem;
    }

    .headline-medium {
        font-size: 1.2rem;
        line-height: 2.05rem;
    }

    .display-small {
        font-size: 2.1rem;
        line-height: 2.60rem;
    }

    .display-medium {
        font-size: 1.9rem;
        line-height: 1.7rem;
    }

    .landing-main {
        height: 45rem;
    }

    .sub-nav {
        border-radius: 1.5rem;
        bottom: -10.6rem;
        padding: 0.5rem 1.5rem;
        width: 20rem;
    }

    .sub-nav-links {
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }

    .sub-nav-link {
        margin-bottom: 0.5rem;
        width: 100%;
    }

    .sub-nav .separator {
        width: 80%;
        height: 1px;
        background-color: var(--font-deep);
        display: block;
        margin-bottom: 8px;
    }

    .who-we-are {
        position: absolute;
        padding: 1.5rem 2.5rem;
        border-radius: 1rem;
        border: 1px solid var(--background-mid);
        top: 10rem;
        left: 10%;
        max-width: 80%;
        background-color: var(--background-mid);
    }

    .who-we-are .title {
        display: block;
        text-align: center;
    }

    #login .login-form {
        position: absolute;
        color: var(--font-deep);
        padding: 0.5rem 0.5rem;
        border-radius: 1rem;
        border: 1px solid var(--background-mid);
        top: 15%;
        left: 10%;
        width: 80%;
        background-color: var(--background-mid);
    }

    #reg .reg-main {
        height: 50rem;
    }

    #reg .reg-form {
        position: absolute;
        color: var(--font-deep);
        padding: 0.5rem 0.5rem;
        border-radius: 1rem;
        border: 1px solid var(--background-mid);
        top: 11%;
        left: 10%;
        width: 80%;
        background-color: var(--background-mid);
    }

}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .headline-small {
        font-family: var(--font-secondary), sans-serif;
        font-size: 1.2rem;
        line-height: 1.5rem;
    }

    .headline-medium {
        font-size: 1.3rem;
        line-height: 2.15rem;
    }

    .display-small {
        font-size: 2.2rem;
        line-height: 2.70rem;
    }

    .display-medium {
        font-size: 2rem;
        line-height: 1.8rem;
    }


    .landing-main {
        height: 70rem;
    }

    .sub-nav {
        color: var(--font-deep);
        width: 35rem;
        background-color: var(--background-mid);
        border: 1px solid var(--background-mid);
        border-radius: 5rem;
        z-index: 10000000000;
        padding: 1rem 1.5rem;
        position: absolute;
        bottom: -5rem;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .sub-nav-links {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .sub-nav-link {
        position: relative;
        text-align: center;
        justify-content: center;
        flex-grow: 1;
    }

    .sub-nav .separator {
        color: var(--font-deep);
        margin: 0 1rem;
        display: inline-block;
        height: 3rem;
        min-width: 1px;
        background-color: var(--font-deep);
    }


}

@media (min-width: 1200px) and (max-width: 1599.98px) {

    .landing-main {
        height: 70rem;
    }

    .sub-nav {
        color: var(--font-deep);
        width: 35rem;
        padding: 1.5rem 2rem;
        background-color: var(--background-mid);
        border: 1px solid var(--background-mid);
        border-radius: 5rem;
        z-index: 10000000000;
        position: absolute;
        bottom: -6rem;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .sub-nav-links {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .sub-nav-link {
        position: relative;
        text-align: center;
        justify-content: center;
        flex-grow: 1;
    }

    .sub-nav .separator {
        color: var(--font-deep);
        margin: 0 1rem;
        display: inline-block;
        height: 3rem;
        min-width: 1px;
        background-color: var(--font-deep);
    }


}
