/*// X-Small devices (portrait phones, less than 576px)*/
/*!*@media (max-width: 575.98px) { ... }*! *//*НЕ БОЛЬШЕ 575 >*/

/*// Small devices (landscape phones, 576px and up)*/
/*@media (min-width: 576px) { ... }*/ /* НЕ МЕНЬШЕ 576 >*/

/*// Small devices (landscape phones, less than 768px)*/
/*@media (max-width: 767.98px) { ... }*/

/*// Medium devices (tablets, 768px and up)*/
/*@media (min-width: 768px) { ... }*/

/*// Medium devices (tablets, less than 992px)*/
/*@media (max-width: 991.98px) { ... }*/

/*// Large devices (desktops, 992px and up)*/
/*@media (min-width: 992px) { ... }*/

/*// Large devices (desktops, less than 1200px)*/
/*@media (max-width: 1199.98px) { ... }*/

/*// X-Large devices (large desktops, 1200px and up)*/
/*@media (min-width: 1200px) { ... }*/


/*// X-Large devices (large desktops, less than 1400px)*/
/*@media (max-width: 1399.98px) { ... }*/

/*// XX-Large devices (larger desktops, 1400px and up)*/
/*@media (min-width: 1400px) { ... }*/

/*// Small devices (landscape phones, 576px and up)*/


/*Small devices (landscape phones, less than 768px)*/
@media (min-width: 576px) and (max-width: 767.98px) {
div.portrait_b{
    width: 100%;
}
.text_b{
    width: 100%;
    justify-content: center;
    
}
div.portrait_b h1{
    margin-left: 125px;
    font-size: 450%;
    margin-top: -225px;
}
.bk_music {
    margin-top: -365px;
}
div.portrait_b img {
    width: 45%;
    z-index: -1;
}
.diploma{
    margin-top: -1%;
    padding-top: 75px;
    background-color: #e9a484;
}
.text_b p {
    max-width: 100%;
    margin-right: 0;
    padding: 0 5%;
    font-size: 175%;
    background-color: #e9a484;
    margin-top: 550px;
    
}

}

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
div.portrait_b{
    width: 100%;
}
.text_b{
    width: 100%;
    justify-content: center;
    
}
div.portrait_b h1{
    margin-left: 125px;
    font-size: 450%;
    margin-top: -225px;
}
.bk_music {
    margin-top: -365px;
}
div.portrait_b img {
    width: 45%;
    z-index: -1;
}
.diploma{
    margin-top: -1%;
    padding-top: 75px;
    background-color: #e9a484;
}
.text_b p {
    max-width: 100%;
    margin-right: 0;
    padding: 0 10%;
    font-size: 175%;
    background-color: #e9a484;
    margin-top: 550px;
    
}

}

@media (min-width: 992px) and (max-width: 1199.98px)  { 
    div.portrait_b{
        width: 100%;
    }
    .text_b{
        width: 100%;
    }
    div.portrait_b h1{
        margin-left: 125px;
        margin-top: -225px;
        font-size: 425%;
    }
    .bk_music {
        margin-top: -400px;
    }
    .text_b p {
        margin-top: 475px;
        font-size: 150%;
    }
    .diploma{
        background-color: #e9a484;
        margin-top: 60px;
    }

}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .bk_music {
        margin-top: -515px;
    }
    div.portrait_b h1 {

        margin-left: 10%;
        margin-top: -25%;
    }
    .text_b p {
        font-size: 130%;
        margin-top: 550px;
    }
    div.portrait_b{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 0 auto;
    }
    .text_b{
        display: flex;
        justify-content: flex-end;
        width: 100%;
        margin: 0 auto;
    }
    .diploma{
        background-color: #e9a484;
    }
}
@media (min-width: 1400px) and (max-width: 1949.99px) {
    div.portrait_b h1 {
        margin-left: 18.7%;
        margin-top: -16.9%;
        font-size: 84px;
    }
    div.portrait_b img {
        position: relative;
        right: 1.5%;
    }
    .bk_music {
        margin-top: -38.4%;
        background-size: 122%;
        background-position: 85% 0;
    }
    .text_b p {
        width: 664px;
        font-size: 20px;
        padding-top: 46.7%;
        margin-top: 0;
        margin-right: 7.5%;
        line-height: 22px;
    }
    .diploma{
        background-color: transparent;
         width: 1400px;
        margin: 0 auto;
         margin-top: 4%;
        padding-bottom: 2%;
        flex-wrap: wrap;
    }
    .diploma .img_t{
        margin-left: 0%;
    }
    .diploma .img_t img{
        width: 80%;
    }
    .diploma img {
        width: 20%;
        position: relative;
        right: 2%;
    }
    .img_t img{
        margin-left: 13%;
    }
    .img_t img:first-child {
        margin-bottom: 5%;
    }
    .diploma > * {
        margin-right: 1%;
        margin-bottom: 0px;
    }
    .diploma > img:last-child{
        margin-right: 0%;
    }
}
@media (min-width: 1950px){
    .bk_music {
        margin-top: -935px;
    }
    div.portrait_b img {
        width: 100%;
        z-index: -1;
    }
    .text_b p {
       
        margin-top: 65%;
    
    }
    .text_b p {
        max-width: 57%;
        margin-right: -125px;
        font-size: 225%;

    }
    }