/* Обнуление стилей */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: "Roboto Condensed", sans-serif;

    background-color: #f4f4f4;

}



/* Стили для header */

.header {

    text-align: center;

    color: #ffffff;

    position: relative;

    padding: 320px 0;

}



.header::after{

    content: "";

    background-image: url(../img/photo1720191757.jpg);

    background-position: center;

    background-repeat: no-repeat;

    background-size: cover;

    opacity: 0.8;

    top: 0;

    left: 0;

    bottom: 0;

    right: 0;

    position: absolute;

    z-index: -1;   



}



.sale{

    color: #c72c26;

    text-transform: uppercase;

}



.logo{

    display: none;

    position: absolute;

    top: 0;

    width: 100%;

    height: 200px;

    border-radius: 0px 0px 200px 200px / 0px 0px 50px 50px;

}





.logoa{

    display: none;

    position: absolute;

    top: 0;

    border-radius: 100%;

    max-width: 100px;

    border: 1px solid #fff;

    margin-top: 200px;

    left:50%;

    transform:translate(-50%, -50%);

}



.header h1 {

    font-size: 2.5em;

    margin-bottom: 10px;

}



.header p {

    font-size: 1.2em;

}



/* Стили для секции с концертами */

.concert-details {

    background-blend-mode: multiply;

    display: flex;

    flex-direction: column;

    gap: 20px;

    align-items: center;

    padding: 100px 20px; /* Добавлен padding по бокам для лучшей адаптивности */

    background-image: url("https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920");

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    background-color: rgba(48, 47, 47, 0.548);

    min-height: 100vh;

}



.concert-info {

    padding: 20px;

    border-radius: 10px;

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    text-align: center;

    color: #ffffff;

    width: 100%;

    max-width: 800px; /* Ограничение ширины для десктопа */

}



.concert-info h2 {

    margin-bottom: 10px;

    font-size: 2.2em;

    font-weight: 900;

    text-transform: uppercase;

}



.concert-info p {

    font-size: 1.2em;

}



/* Новый контейнер для афиши и информации */

.concert-main {

    display: flex;

    align-items: stretch; /* Растягиваем дочерние элементы по высоте */

    gap: 20px;

    width: 100%;

    justify-content: center;

}







.poster-image {

    width: 100%;
    max-width: 900px;

    object-fit: cover; /* Сохраняет пропорции, обрезая если нужно */

    border-radius: 10px;

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

}



.concert-info-block {

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 20px;

}



.concert-extra {

    background: #3131318e;

    padding: 20px;

    border-radius: 10px;

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    display: flex;

    align-items: center;

    vertical-align: middle;

    color: #ffffff;

    flex: 1; /* Каждый блок информации растягивается равномерно */

}



.concert-image {

    max-width: 50px;

    border-radius: 10px;

    margin-right: 40px;

    flex-shrink: 0;

}



.sub-info h3 {

    margin-bottom: 10px;

    font-size: 1.5em;

}



.sub-info p {

    font-size: 1.2em;

}



.buy-ticket {

    text-align: center;

    background-color: #ffff13;

    color: #000000;

    border: none;

    padding: 20px 20px;

    font-size: 1.2em;

    cursor: pointer;

    border-radius: 5px;

    transition: background-color 0.3s;

    width: 100%;

    max-width: 400px;

    margin-top: 30px;

    text-decoration: none;

}



.buy-ticket:hover {

    background-color: #42412e;

}

.tablet,.phone{
    display: none;
}


/* Медиа-запросы для полной адаптивности */

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

    .tablet{
        display: block;
        width: 100%;
        max-width: none;
    }

    .desktop{
        display: none;

    }








    .concert-info-block {

        width: 100%;

    }



    .concert-extra {

        width: 100%;

        justify-content: center; /* Центрируем на мобильных */

    }

}



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

    .logo{

        display: block;

    }



    .logoa{

        display: block;

    }



    .header {

        padding: 200px 0; /* Уменьшаем padding header на мобильных */

    }



    .header h1 {

        font-size: 2em;

    }



    .header p {

        font-size: 1em;

    }



    .concert-details {

        padding: 60px 10px;

    }





    

}



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



    .concert-extra{

        font-size: 12px;

        padding: 15px;

    }



    .buy-ticket{

        padding: 15px;

        font-size: 1em;

    }



    h2{

        font-size: 1.5em !important;

    }






    .sub-info h3 {

        font-size: 1.3em;

    }



    .sub-info p {

        font-size: 1em;

    }

}





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





    .concert-extra{

        font-size: 11px;

        padding: 12px;

    }



    .buy-ticket{

        padding: 12px;

        font-size: 0.9em;

    }



    h2{

        font-size: 1.3em !important;

    }



    .concert-info p{

        font-size: 14px;

    }






    .sub-info h3 {

        font-size: 1.2em;

    }



    .sub-info p {

        font-size: 0.9em;

    }

}





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





    .concert-extra{

        font-size: 10px;

        padding: 10px;

    }



    .buy-ticket{

        padding: 10px;

        font-size: 0.85em;

    }



    .concert-image{

        max-width: 40px;

        margin-right: 20px;

    }






    .sub-info h3 {

        font-size: 1.1em;

    }



    .sub-info p {

        font-size: 0.85em;

    }

}