@media (max-width: 1200px) {
    .container{
        width: 1000px;
    }

    .nav__link{
        padding: 30px 15px;
    }

    .poster-cards{
        grid-column-gap: 1%;
    }

    .last-news-cards{
        gap: 1%;
    }

    .last-news-btn{
        right:    25px;
    }

    .last-news-card-content{
        width: 100%;
        height: 100%;
        max-width: 275px;
        max-height: 210px;
        padding: 20px;
    }

    .calendar-card-list{
    grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1000px) {
    .container{
        width: 768px;
    }

    .nav__link{
        padding: 20px 10px;
    }

    .header-nav{
        max-height: 120px;
    }

    .logo{
        width: 150px;
        height: 150px;
        max-width: 120px;
        max-height: 120px;
    }

    .news-banner{
        height: 600px;
        margin-top: 8%;
    }

    .slider{
        width: 550px;
        height: 380px;
        overflow: hidden;
        position: relative;
        right: 0;
    }

    .last-news-btn{
        right:    45px;
    }

    .last-news-card-content{
        width: 100%;
        height: 100%;
        max-width: 200px;
        max-height: 210px;
        padding: 20px;
    }

    .calendar-card-list {
        grid-template-columns: repeat(4, 1fr);
        grid-column-gap: 2%;
        grid-row-gap: 5%;
    }
    .calendar-title{
    font-size: 64px;
}

    .calendar-card-img{
    max-height: 125px;
    transition: .5s;
}
    .qr{
        display: none;
    }
}


@media only screen and (max-width: 768px) {
    .container{
        width: 480px;
    }

    .news-banner{
        display: block;
        height: 700px;
    }

    .news-title{
        padding-top: 5%;
        margin-bottom: 7%;
        text-align: center;
    }
    
    .news-description{
        font-size: 18px;
        color: #fff;
        text-align: center;
    }

    .slider{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 3%;
        height: 300px;
        overflow: hidden;
        position: relative;
        right: 0;
    }

    .last-news-btn{
        right:    45px;
    }

    .last-news-card-content{
    max-width: 180px;
    }

    .nav__link{
        padding: 20px 3px;
    }

    footer{
        max-height: 850px;
    }

    .footer-content{
        width: 100%;
        padding: 4% 0 4% 0;
        display: grid;
        grid-template-columns: 50% 50%;
        gap: 5%;
    }

    .content-right {
        grid-column: 1 / span 2;
        gap: 5%;
    }

    .contacts{
        width: 50%;
    }

    .working-shedule{
        width: 50%;
    }

    .map {
    width: 100%;
    height: 100%;
    }

    .content-right{
        display: flex;
    }

    .page-content{
        padding-top: 20%;
    }

    .news-cards{
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-card-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .calendar-card-img{
    max-height: 75px;
    transition: .5s;
    }

    .calendar-title{
    font-size: 48px;
}
    .qr{
          display: none;
       }
}

@media (max-width: 576px) {
    .calendar-card-list {
        grid-template-columns: repeat(4, 1fr);
    }
    .calendar-card-img{
        max-height: 75px;
        transition: .5s;
    }

    .calendar-title{
        font-size: 36px;
    }
    
    .qr{
        display: none;
    }
}


