/*
 * O nas
 *
 * Style dotąd osadzone w <style> podstron: aboutus.html, engver/aboutuseng.html.
 */

@media (max-width: 767px) {
    .main-bg-aboutus {
        width: 100%;
        height: 50vh;
        object-fit: contain;
    }

    .main-onas-spacer {
        width: 100%;
        height: auto;
        background-color: var(--darkgray);
        text-align: center;
        display: grid;
    }

    .main-onas-spacer b {
        color: var(--dark_red);
        font-size: 15px;
        font-family: "PlayFair";
        margin-top: 20px;
    }

    .main-onas-spacer #spacer {
        border-bottom: 1px solid var(--dark_red);
        width: 5%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 0;
    }

    .main-onas-text {
        width: 100%;
        height: 100%;
    }

    .main-onas-text p {
        color: var(--white);
        font-family: "PlayFair";
        padding-left: 40px;
        padding-right: 40px;
        font-size: 1.1vw;
    }

    .main-onas {
        width: 100%;
        height: auto;
        background-color: var(--darkgray);
        display: flex;
        flex-direction: column;
    }

    .main-onas-certyfikaty {
        width: 30%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10%;
        margin-bottom: 10%;
    }

    .main-onas-inne {
        width: 100%;
        height: auto;
        background-color: var(--darkgray);
        margin-top: auto;
    }

    .main-onas-inne-certyfikaty1 img {
        margin-left: auto;
        margin-right: auto;
        width: auto;
        height: 20px;
        object-fit: contain;
        max-height: 30%;
        margin-top: 10%;
        margin-bottom: 10%;
    }

    .main-contact-navigation_red-spacer {
        width: 100%;
        height: 100px;
        background-color: var(--dark_red);
        position: relative;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .start {
        display: none;
    }

    .start p {
        font-size: 60%;
        max-width: 700px;
        max-height: 30px;
    }

    .buttonlinks {
        display: none;
    }

    .logo-mn {
        margin-left: auto;
    }

    .mobile-menu {
        display: flex;
    }

    .main-bg-aboutus {
        width: 100%;
        height: 75vh;
        object-fit: contain;
    }

    .main-bg_title-h h1 {
        padding-top: 0%;
    }

    .main-bg_title-h {
        width: 100%;
        height: auto;
        text-align: center;
        font-size: 0.75em;
        position: relative;
    }

    .main-bg_title-text h2 {
        color: var(--white);
        font-size: 1em;
        font-family: "PlayFair";
        margin-top: 5%;
        margin-bottom: 5%;
    }

    .main-bg_title-text {
        width: 100%;
        height: auto;
        text-align: center;
        position: relative;
    }

    .main-bg_title-p p {
        color: var(--white);
        font-size: 0.85em;
        font-family: "Poppins";
        font-style: oblique;
    }

    .main-bg_title-p {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        text-align: center;
        position: relative;
    }

    .main-onas-spacer {
        width: 100%;
        height: auto;
        background-color: var(--darkgray);
        text-align: center;
        display: grid;
    }

    .main-onas-spacer b {
        color: var(--dark_red);
        font-size: 21px;
        font-family: "PlayFair";
        margin-top: 30px;
    }

    .main-onas-spacer #spacer {
        border-bottom: 1px solid var(--dark_red);
        width: 5%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 0;
    }

    .main-onas-text {
        width: 100%;
        height: 100%;
    }

    .main-onas-text p {
        color: var(--white);
        font-family: "PlayFair";
        padding-left: 60px;
        padding-right: 60px;
        font-size: 1.6vw;
    }

    .main-onas {
        width: 100%;
        height: auto;
        background-color: var(--darkgray);
        display: flex;
        flex-direction: column;
    }

    .main-onas-certyfikaty {
        width: 30%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10%;
        margin-bottom: 10%;
    }

    .main-onas-inne {
        width: 100%;
        height: auto;
        background-color: var(--darkgray);
        margin-top: auto;
    }

    .main-onas-inne-certyfikaty1 img {
        margin-left: auto;
        margin-right: auto;
        width: auto;
        height: 30px;
        object-fit: contain;
        max-height: 30%;
        margin-top: 10%;
        margin-bottom: 10%;
    }

    .main-contact-navigation {
        width: 100%;
        height: 300px;
        background-color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-contact-navigation_main-contact {
        width: 275px;
        height: 350px;
        position: absolute;
        background-color: var(--white);
        box-shadow: 0px 5px 10px 2px var(--light_gray);
        display: flex;
        align-items: center;
    }

    .main-contact-navigation_red-spacer {
        width: 100%;
        height: 150px;
        background-color: var(--dark_red);
        position: relative;
    }

    .main-contact-navigation_main-contact-text b {
        color: var(--dark_red);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 9px;
    }

    .main-contact-navigation_main-contact-text p {
        color: var(--black);
        margin-top: 15px;
        font-size: 18px;
        font-family: "Playfair";
    }

    .main-contact-navigation_main-contact-text a {
        color: var(--white);
        text-decoration: none;
        border: 2px solid var(--dark_red);
        padding: 5px 12px 5px 15px;
        background-color: var(--dark_red);
        font-family: "PlayFair";
        font-size: 15px;
        transition: all 0.3s ease;
    }

    .main-contact-navigation_main-contact-text a:hover {
        padding: 8px 14px 8px 14px;
    }

    footer {
        width: 100%;
        height: 300px;
        background-color: var(--darkgray);
        display: flex;
        justify-content: center;
    }

    .logo-ft_one img {
        width: 90%;
        height: auto;
    }

    .navigation-ft_one .footer-title {
        color: var(--dark_red);
        font-size: 16px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

    .navigation-ft_two a {
        color: var(--white);
        font-size: 11px;
        text-decoration: none;
        font-style: normal;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        transition: all 0.2s ease;
    }

    .navigation-ft_two p {
        margin: 5px;
    }

    .navigation-ft_two a:hover {
        border-bottom: 1px solid white;
        padding-bottom: 3px;
        font-size: 12px;
        transition: all 0.2s ease;
    }

    .information-ft_one .footer-title {
        color: var(--dark_red);
        font-size: 16px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

    .information-ft_two p {
        color: var(--white);
        font-size: 11px;
        text-decoration: none;
        font-style: normal;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

    .contact-ft_one .footer-title {
        color: var(--dark_red);
        font-size: 16px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

    .contact-ft_two .footer-title {
        color: var(--white);
        font-size: 12px;
        text-decoration: none;
        font-style: normal;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        margin: 0;
    }

    .contact-ft_two a {
        font-size: 11px;
        text-decoration: none;
        font-style: normal;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        color: var(--light_gray);
        transition: all 0.2s ease;
    }

    .contact-ft_two a:hover {
        border-bottom: 1px solid var(--light_gray);
        padding-bottom: 2px;
        font-size: 12px;
    }

    .contact-ft_two p {
        margin: 0px 0px 0px 0px;
    }

    .contact-ft_three .footer-title {
        color: var(--white);
        font-size: 12px;
        text-decoration: none;
        font-style: normal;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        margin: 0;
    }

    .contact-ft_three p {
        font-size: 11px;
        text-decoration: none;
        font-style: normal;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        color: var(--light_gray);
    }
}
