/*
 * kontakt
 *
 * Style dotąd osadzone w <style> podstron: contact.html, engver/contacteng.html.
 */

@media (max-width: 767px) {
    .main-iframe-bg {
        width: 100%;
        height: 50vh;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        display: flex;
    }

    .main-iframe-bg iframe {
        width: 100%;
        height: 100%;
        opacity: 0.5;
        background-attachment: fixed;
        filter: grayscale(100%);
    }

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

    .main-contact-block_one-mail {
        height: auto;
        width: 80%;
        position: absolute;
        margin-right: 10px;
        margin-top: -100px;
        display: flex;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: 0px 5px 10px 5px var(--dark_white);
        text-align: center;
    }

    .main-contact-block_one-mail h1 {
        font-family: "PlayFair", Georgia, 'Times New Roman', Times, serif;
        font-size: 20px;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    .main-contact-block_one-mail input {
        width: 70%;
        height: 20px;
        margin-left: auto;
        margin-right: auto;
        color: var(--black);
        border: 0;
        border-bottom: 1px var(--light_gray) solid;
        outline: 0;
        margin-top: 3%;
        font-size: 6px;
    }

    .main-contact-block_one-mail p {
        width: 70%;
        height: 40px;
        margin-left: auto;
        margin-right: auto;
        color: var(--light_gray);
        border: 0;
        outline: 0;
    }

    .main-contact-block_one-mail textarea {
        width: 70%;
        height: 75px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 3%;
        border-color: var(--light_gray);
        resize: none;
        font-size: 6px;
    }

    .main-contact-block_one-mail #information-mail {
        font-size: 4px;
    }

    .main-contact-block_one-mail #input_sumbit {
        width: 20%;
        height: 10%;
        color: var(--white);
        text-decoration: none;
        border: 1px solid var(--dark_red);
        padding: 5px 15px 5px 15px;
        background-color: var(--dark_red);
        font-family: "PlayFair";
        font-size: 10px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .main-contact-block_one-mail #input_sumbit:hover {
        padding: 6px 16px 6px 16px;
    }

    .main-contact-block_two h2 {
        color: var(--light_gray);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 7px;
        padding-top: 12px;
    }

    .main-contact-block_two p,
    .main-contact-block_two .tile-title {
        color: var(--black);
        font-family: "PlayFair", Georgia, 'Times New Roman', Times, serif;
        font-size: 7px;
        line-height: 12px;
    }

    .main-contact-block_two a {
        color: var(--dark_red);
        text-decoration: none;
        font-size: 7px;
    }

    .main-contact-block_two_first {
        width: 100%;
        height: 20%;
        display: flex;
        justify-content: center;
        flex-direction: row;
    }

    .main-contact-block_two_first-icon {
        width: 10%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .main-contact-block_two img {
        width: 16px;
        height: 16px;
    }

    .main-contact-information_image {
        width: 100%;
        height: 350px;
        background-image: url(../../Images/calculator-photo.jpg);
        background-size: cover;
        position: relative;
    }

    .main-contact-information {
        width: 100%;
        height: 350px;
        display: flex;
        justify-content: end;
        align-items: center;
    }

    .main-contact-information_text {
        width: 40%;
        height: 250px;
        position: absolute;
        background-color: var(--white);
        margin-right: 10px;
        text-align: center;
    }

    .main-contact-information h3 {
        color: var(--dark_red);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 7px;
        padding-top: 35px;
    }

    .main-contact-information h2,
    .main-contact-information_text {
        color: var(--black);
        font-size: 17px;
        font-family: "PlayFair";
    }

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

    .main-contact-information p {
        color: var(--light_gray);
        font-size: 8px;
        font-family: "PlayFair";
    }
}

@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-iframe-bg {
        width: 100%;
        height: 50vh;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        display: flex;
    }

    .main-iframe-bg iframe {
        width: 100%;
        height: 100%;
        opacity: 0.5;
        background-attachment: fixed;
        filter: grayscale(100%);
    }

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

    .main-contact-block_one-mail {
        height: auto;
        width: 80%;
        position: absolute;
        margin-right: 15px;
        margin-top: -150px;
        display: flex;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: 0px 7px 15px 7px var(--dark_white);
        text-align: center;
    }

    .main-contact-block_one-mail h1 {
        font-family: "PlayFair", Georgia, 'Times New Roman', Times, serif;
        font-size: 30px;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    .main-contact-block_one-mail input {
        width: 70%;
        height: 30px;
        margin-left: auto;
        margin-right: auto;
        color: var(--black);
        border: 0;
        border-bottom: 1px var(--light_gray) solid;
        outline: 0;
        margin-top: 4%;
        font-size: 9px;
    }

    .main-contact-block_one-mail p {
        width: 70%;
        height: 60px;
        margin-left: auto;
        margin-right: auto;
        color: var(--light_gray);
        border: 0;
        outline: 0;
    }

    .main-contact-block_one-mail textarea {
        width: 70%;
        height: 125px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 3%;
        border-color: var(--light_gray);
        resize: none;
        font-size: 9px;
    }

    .main-contact-block_one-mail #information-mail {
        font-size: 9px;
    }

    .main-contact-block_one-mail #input_sumbit {
        width: 20%;
        height: 15%;
        color: var(--white);
        text-decoration: none;
        border: 1px solid var(--dark_red);
        padding: 7px 17px 7px 17px;
        background-color: var(--dark_red);
        font-family: "PlayFair";
        font-size: 15px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .main-contact-block_one-mail #input_sumbit:hover {
        padding: 8px 18px 8px 18px;
    }

    .main-contact-block_two h2 {
        color: var(--light_gray);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 10px;
        padding-top: 18px;
    }

    .main-contact-block_two p,
    .main-contact-block_two .tile-title {
        color: var(--black);
        font-family: "PlayFair", Georgia, 'Times New Roman', Times, serif;
        font-size: 10px;
        line-height: 15px;
    }

    .main-contact-block_two a {
        color: var(--dark_red);
        text-decoration: none;
        font-size: 10px;
    }

    .main-contact-block_two_first {
        width: 100%;
        height: 20%;
        display: flex;
        justify-content: center;
        flex-direction: row;
    }

    .main-contact-block_two_first-icon {
        width: 10%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .main-contact-block_two img {
        width: 24px;
        height: 24px;
    }

    .main-contact-information_image {
        width: 100%;
        height: 425px;
        background-image: url(../../Images/calculator-photo.jpg);
        background-size: cover;
        position: relative;
    }

    .main-contact-information {
        width: 100%;
        height: 425px;
        display: flex;
        justify-content: end;
        align-items: center;
    }

    .main-contact-information_text {
        width: 40%;
        height: 325px;
        position: absolute;
        background-color: var(--white);
        margin-right: 15px;
        text-align: center;
    }

    .main-contact-information h3 {
        color: var(--dark_red);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 10px;
        padding-top: 47px;
    }

    .main-contact-information h2,
    .main-contact-information_text {
        color: var(--black);
        font-size: 24px;
        font-family: "PlayFair";
    }

    .main-contact-information #spacer {
        border-bottom: 2px solid var(--dark_red);
        width: 5%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 15px;
    }

    .main-contact-information p {
        color: var(--light_gray);
        font-size: 12px;
        font-family: "PlayFair";
    }

    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);
    }
}
