@media (max-width: 1000px) {
    body {
        background-image: url('images/phone_bg.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-attachment: fixed;
    }

    header h1 {
        font-size: 2.5rem;
    }

    header .container p {
        font-size: 1rem;
    }

    .logo, .logo1 {
        max-width: 30vw;
        top: 10px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .container {
        width: 95%;
        padding: 10px 10px;
        text-align: center;
        max-width: 90%;
        width: 100%;
        margin: 0 auto;
    }

    .container h2 {
        font-size: 2rem !important;
        text-align: center !important;
    }

    #phone_width, #phone_width2 {
        width: 100% !important;
        height: auto;
        max-width: 85% !important;
    }

    ul li {
        font-size: 1rem;
    }

    .flash-box {
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    body {
        text-align: center;
        background-image: url('images/phone_bg.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-attachment: fixed;
    }
    header {
        height: 50vh;
        padding: 40px 10px;
        text-align: center;
    }

    p {
        text-align: center !important;
    }

    .container p {
        font-size: 1rem;
        width: 100%;
        margin: 0 auto;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 10px 10px;
        text-align: center;
        max-width: 90%;
        width: 100%;
        margin: 0 auto;
    }

    #phone_width, #phone_width2 {
        width: 100% !important;
        height: auto;
        max-width: 85% !important;
    }

    section {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    header .container p {
        width: 95%;
        display: inline-block;
        margin: 0 auto;
        font-size: 1.25rem;
    }

    hr {
        width: 90%;
    }

    .logo, .logo1 {
        max-width: 20vw;
        top: 10px;
    }

    .logo {
        left: 10px;
    }

    .logo1 {
        right: 10px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 1.2rem;
        width: 100%;
        max-width: 200px;
    }

    ul li {
        font-size: 1rem;
        text-align: left;
    }

    .highlight ul li {
        font-size: 1rem;
        text-align: left;
    }

    .p_phone {
        font-size: 1.1rem !important;
    }

    .container h2 {
        font-size: 1.6rem;
        text-align: center !important;
    }

    footer {
        font-size: 0.8rem;
        max-width: 100%;
    }

    .contact-form input {
        font-size: 1rem;
        padding: 10px;
    }

    .proc_vznika_desktop {
        display: none;
    }

    .proc_vznika_phone {
        display: block;
        margin: 20px auto;
    }

    .outro {
        font-size: 0.8rem;
    }

    .for-whom {
        margin-top: -4rem;
    }
}
