@media screen and (min-width: 1900px) {
    html {
        font-size: 18px;
    }

    .main-logo {
        width: 350px;
        left: 1.1rem;
    }

    .select-service__pecsluzba, .select-service__stacionar {
        max-width: 37.5rem;
    }

    .news-item {
        max-width: 25rem;
    }

    .help-us__thanks {
        max-width: var(--page-max-width);
        margin-left: auto;
        margin-right: auto;
        border-radius: 1em;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1900px) {

    .select-service__pecsluzba, .select-service__stacionar {
        max-width: 37.5rem;
    }

    .news-item { 
        max-width: 21rem;
    }
}

@media screen and (max-width: 1440px) {
    /*normal*/
}

@media screen and (min-width: 1081px) and (max-width: 1188px){
    .page-title-sluzby {
        font-size: 1.9rem;
    }
}

@media screen and (max-width: 1080px) {
    :root {
        --content-padding: 7rem;
        --menu-padding: 6.25rem;
    }

    .header-dropdown--visible {
        display: block;
    }

    .nav-above-footer {
        margin: 1.5rem 4rem;
    }

    .menu-list {
        display: none;
    }
    .menu-icon-dropdown {
        display: inline;
    }
    .header-menu__cnt {
        padding: 42px 35px;
    }
    html {
        font-size: 16px;
    }
    .select-service__pecsluzba, .select-service__stacionar {
        max-width: 24rem;
    }
    .news-item { 
        max-width: 30rem;
    }
    .reference-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .PS-content, .DS-content {
        display: block;
    }

}

@media screen and (max-width: 925px) {
    .select-service {
        gap: 1rem;
    }

    .select-service__pecsluzba, .select-service__stacionar {
        max-width: 80%;
    }

    .news-item { 
        max-width: 30rem;
    }
}

@media screen and (max-width: 887px) {
    .select-news {
        text-align: center;
    }
}


@media screen and (max-width: 768px) {
    :root{
        --content-padding: 3rem;
        --menu-padding: 2.2rem;
    }
    .nav-above-footer {
        margin: 1.5rem 2.9rem;
    }
    
    .main-logo {
        width: 230px;
        top: -12px;
        left: 30px;
    }
    .header-menu__cnt {
        padding: 27px 35px;
    }
    .doc-title{
        font-size: 1.8rem;
    }
    h1 {
        font-size: 2.4rem;
    }
    .contact__pecsluzba__id, .contact__stacionar__id {
        text-align: center;
        margin-bottom: 1em;
    }

}

@media screen and (max-width: 550px) {
    .page-title-sluzby {
        font-size: 1.6rem;
    }
    
    .doc-title {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    :root{
        --content-padding: 2rem;
        --menu-padding: 1.2rem;
    }
    .nav-above-footer {
        margin: 1.5rem 2rem;
    }
    html {
        font-size: 15px;
    }

    .quote {
        font-size: 1.5rem;
    }
    .contact__domov__address p, .contact__pecsluzba__address p, .contact__stacionar__address p {
        font-size: 1rem;
    }

    .contact__pecsluzba__hours-capacity {
        gap: 1rem;
    }
}

@media screen and (max-width: 385px) {
    h3 {
        font-size: 2rem;
    }
    .doc-title{
        font-size: 1.2rem;
    }
}
