/* ======================================================================== */

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

    /* Header */

.logo-nav li a {
    font-size: 1.8rem;
}

.other-header {
    width: 80%;
}

.logo img {
    width: 75%;
}

.other-header {
    margin-top: 4%;
}

.other-header h1 {
    letter-spacing: 3px;
    font-size: 5.5rem;
}

.other-header p {
    margin-top: 2%;
    font-size: 2rem;
    letter-spacing: 3px;
}

.otherHeader-link {
    padding: 2.2% 3.5%;
    letter-spacing: 3.5px;
    font-size: 2rem;
    border-radius: 10px;
    margin-top: 3%;
}

/* Main */

.akce-article article a {
    padding: 5.5% 6.5%;
    font-size: 1.15rem;
    letter-spacing: 3.5px;
    border-radius: 5px;
}

    /* Footer */

.kontakty-dokumenty {
    padding: 3.5% 3.5% 7% 3.5%;
}

.artilce-kontakty article {
    flex: 1;
}

.artilce-kontakty article:nth-child(3) {
    display: none;
}

}

/* ======================================================================== */

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

    .logo-nav ul {
        display: none;
    }

    .logo img {
        max-width: 25%;
        min-width: 15%;
        width: 25%;
    }

    .nav-menu {
        display: none;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 20px;
        position: absolute;
        top: 0px;
        right: 0px;
        z-index: 50;
        height: 45vh;
        width: 30vh;
        border-radius: 5px;
    }

    .nav-menu li {
        margin: 23% 0;
        text-align: center;    }

    .nav-menu li a {
        color: white;
        font-size: 1.5rem;
    }

    .hamburger-menu {
        display: block;
        position: relative;
        z-index: 100;
    }

    #menu-toggle:checked + .hamburger-menu + .nav-menu {
        display: block;
    }
}

/* ======================================================================== */

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

    .akce-article article:nth-child(3) {
        display: none;
    }

    .akce-article article a {
        letter-spacing: 1.7px;
        padding: 4% 10%;
    }

    .section-ohlednuti {
    flex-direction: column;
}

    .smal-articles {
        margin-top: 2%;
        padding: 0;
        flex-direction: row;
    }

    .div-smal-articles {
        flex: 1;
    }

    .div-smal-articles:nth-child(1) {
        margin-right: 2%;
    }
}

/* ======================================================================== */


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

    /* Header */

    .other-header {
        margin-top: 7%;
    }
    
    .other-header h1 {
    letter-spacing: 2.5px;
    font-size: 4.8rem;
}

    .other-header p {
        margin-top: 5%;
        font-size: 1.8rem;
        letter-spacing: 2px;
}

    .otherHeader-link {
        font-size: 2rem;
        margin-top: 8%;
}

    .logo img {
        max-width: 45%;
        min-width: 35%;
}

    .akce-article article {
        flex: 2;
    }

    div.akce-article {
        flex: 1;
    }

    .aktuality-article a {
        margin: 5% 0;
    }

    .aktuality-article a:nth-child(4) {
        display: none;
    }

    /* Footer */

    .artilce-kontakty div article p:nth-child(1) {
    font-size: 1.1rem;
    font-weight: bold;
}

    .artilce-kontakty p {
        font-size: 0.9rem;
    }

    p.footer {
        font-size: 0.6rem;
    }

    .footer {
    position: absolute ;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(48, 80, 124);
}

/* ======================================================================== */


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

    .other-header h1 {
    letter-spacing: 2px;
    font-size: 4.3rem;
}

    .other-header p {
        margin-top: 5%;
        font-size: 1.6rem;
        letter-spacing: 2px;
}

    .akce-article article {
    padding: 1% 3%;
    background-color: white;
    box-shadow: 0.4px 0.4px 5px black;
    border-radius: 5px;
    flex: 1;
    margin: 0 1%;
}

    .akce-article article p, .akce-article article a{
        margin: 3% 0;
        text-align: center;
    }

    .akce-article article:nth-child(3) {
        display: block;
    }

    .aktuality {
        display: none;
    }

    .div-smal-articles:nth-child(2) {
        display: none;
    }
}

/* ======================================================================== */


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

    .other-header {
        margin-top: 14%;
    }

    .other-header h1 {
    letter-spacing: 2px;
    font-size: 3.7rem;
}

    .other-header p {
        margin-top: 5%;
        font-size: 1.4rem;
        letter-spacing: 2px;
}

    .otherHeader-link {
        font-size: 1.5rem;        
        margin-top: 10%;
}

    .logo img {
        max-width: 45%;
        min-width: 40%;
}

.akce-article article:nth-child(3) {
        display: none;
    }

}

/* ======================================================================== */

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

    .artilce-kontakty div article p:nth-child(1) {
    font-size: 0.95rem;
    font-weight: bold;
}

}