@media (max-width: 1800px) {
    .header_section::before {
        width: 75%;
    }

    .header_section {
        clip-path: polygon(50% 0%, 100% 0, 100% 100%, 22% 100%, 20% 86%, 0 84%, 0 0);
    }

    .stranka-fluid {
        margin-top: -80px;
        margin-bottom: -80px;
    }

    .rozpis h2 {
        margin-right: 0px;
        font-size: 30px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis p {
        padding-left: 20px;
        font-size: 20px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty h2 {
        font-size: 26px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis-kontakty p {
        padding-left: 20px;
        font-size: 15px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty img {
        height: 10%;
        width: 10%;
    }
    
    .footer-img {
        padding-left: 20px;
    }
}

@media (max-width: 1800px) {
    .navbar-brand.brand_desktop {
        margin-left: -200px;
        margin-top: -5px;
        margin-right: -700px;
    }
}

@media (max-width: 1600px) {
    .navbar-brand.brand_desktop {
        margin-left: -150px;
        margin-top: -5px;
        margin-right: -700px;
    }

}


@media (max-width: 1480px) {
    .navbar-brand.brand_desktop {
        margin-left: -100px;
        margin-top: -5px;
        margin-right: -700px;
    }

}

@media (max-width: 1350px) {
    .header_section::before {
        width: 75%;
    }

    .navbar-brand.brand_desktop {
        margin-left: -50px;
        margin-top: -5px;
        margin-right: -700px;
    }

}

@media (max-width: 1250px) {
    .header_section::before {
        width: 75%;
    }

    .navbar-brand.brand_desktop {
        margin-left: -20px;
        margin-top: -5px;
        margin-right: -700px;
    }

}

@media (max-width: 1200px) {
    .navbar-brand.brand_desktop {
        margin-left: -100px;
        margin-top: -5px;
        margin-right: -700px;
    }
}

@media (max-width: 1140px) {
    .navbar-brand.brand_desktop {
        margin-left: -90px;
        margin-top: -5px;
        margin-right: -700px;
    }
    
}

@media (max-width: 1120px) {
    .navbar-brand.brand_desktop {
        margin-left: -50px;
        margin-top: -5px;
        margin-right: -700px;
    }
    
    .navbar-brand.brand_desktop img {
        width: 30%;
    }
    
    .nav-items {
        font-size: 15px;
    }

    .slider_section .slider_heading {
        margin-top: -40px;
        left: -80px;
        opacity: 1;
    }

    /*carousel -------------------------------------------------------------------------------*/
    
    .carousel {
        margin-top: 100px;
        margin-bottom: -50px;
    }
    
    .slider_section .carousel-indicators li {
        margin-left: -120px;
    }

    .slider_section .carousel-inner h1 {
        font-size: 38px;
    }
}

@media (max-width: 1075px) {
    .navbar-brand.brand_desktop {
        margin-left: -10px;
        margin-top: -20px;
        margin-right: -700px;
    }
    
    .navbar-brand.brand_desktop img {
        width: 25%;
    }
    
    .nav-items {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .hero_area {
        height: auto;
    }

    .hero_area::before {

        background: linear-gradient(to bottom, transparent, #5855ff);

    }

    .navbar-brand.brand_mobile {
        display: flex;
    }

    .navbar-brand.brand_desktop {
        display: none;
    }

    .header_section .main_nav {
        flex: 1;
    }

    #navbarSupportedContent {
        margin-top: 15px;
    }

    .header_section {
        padding: 10px 0;
        clip-path: none;
    }

    .header_section::before,
    .main_nav .top_nav {
        display: none;
    }

    .slider_section {
        padding: 45px 0;
    }

    .slider_section .slider_heading {
        margin-left: 0px;
        top: 40px;
    }

    .slider_section .slider_heading h2 {
        font-size: 3rem;
    }
    .slider_section .slider_heading h3 {
        font-size: 2rem;
    }

    /*carousel -------------------------------------------------------------------------------*/
    
    .carousel {
        margin-top: 180px;
        margin-bottom: -50px;
    }
    
    .slider_section .carousel-indicators li {
        margin-left: -120px;
    }

    .slider_section .carousel-inner h1 {
        font-size: 2rem;
    }

    .class_section .owl-carousel .owl-nav {

        flex-direction: row;
        top: initial;
        bottom: -45px;
        right: 50%;
        transform: translateX(50%);

    }

    .class_section .owl-carousel .owl-nav .owl-prev,
    .class_section .owl-carousel .owl-nav .owl-next {
        margin: 2px 5px;
    }

    .class_section .class_container {
        margin-bottom: 75px;
    }

    .sub_page .class_section .owl-carousel .owl-nav {
        top: initial;
        bottom: 65px;
    }
    /*dalsi stranky ------------------------------------------------------------------------------*/ 

    .stranka-fluid {
        margin-top: -80px;
        margin-bottom: -80px;
    }

    .rozpis h2 {
        margin-right: 0px;
        font-size: 30px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis p {
        padding-left: 20px;
        font-size: 22px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty h2 {
        font-size: 28px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis-kontakty p {
        padding-left: 20px;
        font-size: 20px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty img {
        height: 10%;
        width: 10%;
    }
}

@media (max-width: 767px) {
    .slider_section #carouselExampleIndicators {
        align-items: center;
    }

    .slider_section #carouselExampleIndicators .box {
        justify-content: center;
    }

    .slider_section .slider_heading {
        margin-top: -30px;
        left: 50px;
        opacity: 1;
    }

    .carousel {
        margin-top: 180px;
    }
    
    .slider_section .carousel-indicators li {
        margin-left: -120px;
    }

    .slider_section .carousel-inner h1 {
        font-size: 24px;
    }


    .about_section .about_container {
        background-size: auto;
    }

    .class_section .class_box-container .box .img-box .detail-box button {
        width: 45px;
        height: 45px;

    }

    .class_section .class_box-container .box .img-box .detail-box button img {
        width: 15px;
        margin-left: 3px;
    }

    .blog_section .box .detail-box {
        margin-left: 25px;
    }

    .blog_section .box.b2 .detail-box {

        padding-left: 0;
        padding-right: 25px;

    }

    .blog_section .box.b2 .detail-box .img_date {
        left: 0;
    }

    .info_section .info_main-row {
        flex-direction: column-reverse;
    }

    .info_section .contact_section {
        margin-top: 45px;
    }

    .info_section .contact_section form {
        padding-right: 20px;
    }

    .footer_section .social_box {
        justify-content: center;
    }

    .footer_section .social_box a {
        margin: 0 10px;
    }

    .footer_section p {
        text-align: center;
    }
    
    .stranka-fluid {
        margin-top: -80px;
        margin-bottom: -80px;
    }

    .rozpis h2 {
        margin-right: 0px;
        font-size: 30px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis p {
        padding-left: 20px;
        font-size: 22px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty h2 {
        font-size: 28px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis-kontakty p {
        padding-left: 20px;
        font-size: 20px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty img {
        height: 10%;
        width: 10%;
    }

    .footer-img {
        padding-left: 0px;
    }
}

@media (max-width: 576px) {
    .about_section .about_container {

        padding: 45px 15px 45px 25px;
    }

    .client_section .box {
        margin: 0;
    }
    
    .slider_section .slider_heading {
        margin-top: -20px;
        left: 90px;
        opacity: 1;
    }

    .carousel {
        margin-top: 180px;
    }
    
    .slider_section .carousel-indicators li {
        margin-left: -120px;
    }

    .slider_section .carousel-inner h1 {
        font-size: 24px;
    }

    .slider_section .carousel-control-prev,
    .slider_section .carousel-control-next {
        display: none;
    }
    
    .stranka-fluid {
        margin-top: -80px;
        margin-bottom: -80px;
    }

    .rozpis h2 {
        margin-right: 0px;
        font-size: 30px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis p {
        padding-left: 20px;
        font-size: 22px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty h2 {
        font-size: 28px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis-kontakty p {
        padding-left: 20px;
        font-size: 20px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty img {
        height: 10%;
        width: 10%;
    }
}

/* 500<--------------------------------------------------- */

@media (max-width: 500px) {
    .hero_area {
        background-size: 800px 600px;
    }

    .slider_section .slider_heading {
        margin-top: -15px;
        left: 60px;
        opacity: 1;
    }

    .carousel {
        margin-top: 180px;
    }
    
    .slider_section .carousel-indicators li {
        margin-left: -120px;
    }

    .slider_section .carousel-inner h1 {
        font-size: 24px;
    }

    .slider_section .carousel-control-prev,
    .slider_section .carousel-control-next {
        display: none;
    }
    
    .stranka-fluid {
        margin-top: -80px;
        margin-bottom: -80px;
    }

    .rozpis h2 {
        margin-right: 0px;
        font-size: 35px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis p {
        padding-left: 20px;
        font-size: 25px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty h2 {
        font-size: 2rem;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis-kontakty p {
        padding-left: 20px;
        font-size: 20px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty img {
        height: 10%;
        width: 10%;
    }
}

@media (max-width: 435px) {
    .hero_area {
        background-size: 800px 600px;
    }

    .slider_section .slider_heading {
        margin-top: -50px;
        left: 45px;
        opacity: 1;
    }

    .carousel {
        margin-top: 120px;
    }
    
    .slider_section .carousel-indicators li {
        margin-left: -120px;
    }

    .slider_section .carousel-inner h1 {
        font-size: 24px;
    }

    .slider_section .carousel-control-prev,
    .slider_section .carousel-control-next {
        display: none;
    }
    
    .stranka-fluid {
        margin-top: -80px;
        margin-bottom: -80px;
    }

    .rozpis h2 {
        margin-right: 0px;
        font-size: 35x;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis p {
        padding-left: 20px;
        font-size: 25px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty h2 {
        font-size: 2rem;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis-kontakty p {
        padding-left: 20px;
        font-size: 18px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty img {
        height: 10%;
        width: 10%;
    }
}

@media (max-width: 400px) {
    .hero_area {
        background-size: 800px 600px;
    }

    .slider_section .slider_heading {
        left: 20px;
        opacity: 1;
    }

    .carousel {
        margin-top: 120px;
    }
    
    .slider_section .carousel-indicators li {
        margin-left: -120px;
    }

    .slider_section .carousel-inner h1 {
        font-size: 24px;
    }

    .slider_section .carousel-control-prev,
    .slider_section .carousel-control-next {
        display: none;
    }
    
    .stranka-fluid {
        margin-top: -80px;
        margin-bottom: -80px;
    }

    .rozpis h2 {
        margin-right: 0px;
        font-size: 32px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis p {
        padding-left: 20px;
        font-size: 20px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty h2 {
        font-size: 26px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis-kontakty p {
        padding-left: 20px;
        font-size: 17px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty img {
        height: 10%;
        width: 10%;
    }
}

@media (max-width: 370px) {
    .body {
        margin: -10px;
    }

    .hero_area {
        background-size: 950px 600px;
    }

    .slider_section .slider_heading {
        left: 30px;
        opacity: 1;
    }

    .carousel {
        margin-top: 120px;
    }
    
    .slider_section .carousel-indicators li {
        margin-left: -120px;
    }

    .slider_section .carousel-inner h1 {
        font-size: 24px;
    }

    .slider_section .carousel-control-prev,
    .slider_section .carousel-control-next {
        display: none;
    }
    
    .stranka-fluid {
        margin-top: -80px;
        margin-bottom: -80px;
    }

    .rozpis h2 {
        margin-right: 0px;
        font-size: 30px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis p {
        padding-left: 20px;
        font-size: 20px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty h2 {
        font-size: 26px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis-kontakty p {
        padding-left: 20px;
        font-size: 15px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty img {
        height: 10%;
        width: 10%;
    }
}

@media (max-width: 330px) {    
    .body {
        margin: -1000px;
    }

    .hero_area {
        background-size: 900px 600px;
    }

    .slider_section .slider_heading {
        left: 30px;
        opacity: 1;
    }

    .carousel {
        margin-top: 120px;
    }
    
    .slider_section .carousel-indicators li {
        margin-left: -120px;
    }

    .slider_section .carousel-inner h1 {
        font-size: 24px;
    }

    .slider_section .carousel-control-prev,
    .slider_section .carousel-control-next {
        display: none;
    }
    
    .stranka-fluid {
        margin-top: -80px;
        margin-bottom: -80px;
    }

    .rozpis h2 {
        margin-right: 0px;
        font-size: 30px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis p {
        padding-left: 20px;
        font-size: 20px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty h2 {
        font-size: 26px;
        font-weight: bold;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;  
        color: yellow;
    }

    .rozpis-kontakty p {
        padding-left: 20px;
        font-size: 15px;
        font-weight: normal;
        text-shadow: none;  
        color: black;
    }

    .rozpis-kontakty img {
        height: 10%;
        width: 10%;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }

}