#container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.promo {
    background-image: url(images_new/Vector_AR_metki.webp);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: flex;
    overflow: hidden;
    width: 45%;
    height: 250px;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    padding: 10px 20px 40px 0;
    background-color: transparent;
}

.promo_end {
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    background-color: rgba(20, 34, 59, 1);
    color: #13F6FC;
    display: flex;
    background-image: url(images_new/Vector_AR_metki.webp);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 50%;
    height: 400px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px 20px 40px 0;
    background-color: transparent;
}

.promo__logo img {
    width: 180px;
    height: 180px;
    margin-top: 25px;
    margin-left: 20px;
}

.promo__title_company {
    display: flex;
    position: relative;
}

.promo__title_company_style {
    background-image: url('images_new/background_title_company.webp');
    width: 100%;
    margin-top: 30px;
    font-family: "Tektur", sans-serif;
    margin-left: 30px;
    margin-right: 30px;
    height: 8vh;
    font-size: 1.2em;
    color: black;
    text-align: center;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50%;
}

.promo__content {
    overflow: hidden;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
}

.promo__content p {
    color: white;
    margin: 15px;
    -webkit-line-clamp: 5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
    font-family: "Tektur", sans-serif;
}

.promo__content_end {
    color: white;
    margin: 15px;
    overflow-y: scroll;
}

.promo__content_end p {
    margin-top: 0px;
    font-family: "Tektur", sans-serif;
}

.promo__content_end::-webkit-scrollbar {
    background-color: #114157;
}

.promo__content_end::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background-color: #114157;
}

.promo__content_end::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #00f6ff;
}

.promo__content_end::-webkit-scrollbar {
    scrollbar-width: thin;
}

/* Media queries для promo */
@media only screen and (max-device-width: 1024px) {
    .promo {
        background-image: none;
        border: 2px solid rgba(0, 242, 234, 1);
        border-radius: 5px;
        display: flex;
        overflow: hidden;
        width: 80%;
        margin-top: 20px;
        margin-bottom: 20px;
        background-color: rgb(25, 2, 37);
    }
    
    .promo_end {
        background-image: none;
        border: 2px solid rgba(0, 242, 234, 1);
        display: flex;
        overflow: hidden;
        width: 80%;
        border-radius: 5px;
        margin-top: 20px;
        margin-bottom: 20px;
        background-color: rgb(25, 2, 37);
    }
    
    .promo__title_company_style {
        color: black;
        width: 170pxß;
        background-image: none;
        background-color: rgba(0, 242, 234, 1);
        height: 5vh;
    }
    
    .promo__content_end p {
        font-family: "Tektur", sans-serif;
    }
}

@media only screen and (max-device-width: 768px) {
    .promo {
        background-image: none;
        border: solid 2px rgba(0, 242, 234, 1);
        border-radius: 8px;
        background-repeat: no-repeat;
        background-size: contain;
        display: flex;
        overflow: hidden;
        background-color: rgb(25, 2, 37);
        height: 250px;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 90%;
    }
    
    .promo_end {
        background-image: none;
        border: solid 2px rgba(0, 242, 234, 1);
        border-radius: 8px;
        background-repeat: no-repeat;
        background-size: contain;
        display: flex;
        overflow: hidden;
        background-color: rgb(25, 2, 37);
        height: 250px;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 90%;
    }
}

@media only screen and (max-device-width: 500px) {
    .promo__logo img {
        width: 100px;
        height: 100px;
    }
}

@media only screen and (orientation: portrait) and (min-device-width: 414px) and (max-device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
    .promo {
        background-image: none;
    }
    
    .promo_end {
        background-image: none;
    }
    
    .promo__title_company_style {
        width: 170px;
    }
}

@media only screen and (min-device-width: 767px) and (max-device-width: 1024px) and (orientation:landscape) {
    .promo {
        background-repeat: no-repeat;
        background-size: contain;
        display: flex;
        overflow: hidden;
        width: auto;
        height: 250px;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 82%;
    }
    
    .promo_end {
        background-repeat: no-repeat;
        background-size: contain;
        display: flex;
        overflow: hidden;
        width: auto;
        height: 250px;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 82%;
    }
    
    .promo__title_company_style {
        width: 80%;
        height: 3.5vh;
    }
}

@media only screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation:portrait) {
    .promo {
        background-image: none;
    }
    
    .promo_end {
        background-image: none;
    }
    
    .promo__title_company_style {
        width: 60%;
    }
}

@media only screen and (min-device-width:315px) and (max-device-width:325px) and (orientation:portrait) {
    .promo {
        width: 85%;
        border-radius: 5px;
    }
    
    .promo_end {
        width: 85%;
        border-radius: 5px;
    }
    
    .promo__title_company_style {
        width: 56%;
        height: 5vh;
        font-size: 5vw;
    }
}

@media only screen and (device-width: 932px) and (device-height: 430px) and (-webkit-device-pixel-ratio: 3) and (orientation:landscape) {
    .promo {
        background-image: none;
        border: 2px solid rgba(0, 242, 234, 1);
        border-radius: 8px;
    }
    
    .promo_end {
        background-image: none;
        border: 2px solid rgba(0, 242, 234, 1);
        border-radius: 8px;
    }
    
    .promo__title_company_style {
        height: 5vh;
    }
}

@media only screen and (min-device-width:650px) and (max-device-width:660px) and (orientation:landscape) {
    .promo__title_company_style {
        width: 60vw;
    }
}

@media only screen and (orientation:landscape) and (min-device-width:840px) and (max-device-width:844px) {
    .promo__title_company_style {
        height: 6.5vh;
    }
}

@media only screen and (orientation:landscape) and (min-device-width:738px) and (max-device-width:742px) {
    .promo__title_company_style {
        width: 63vw;
    }
}

@media all and (orientation:portrait) and (min-device-width:358px) and (max-device-width:362px) {
    .promo {
        width: 84%;
    }
    
    .promo_end {
        width: 84%;
    }
}

@media all and (orientation:landscape) and (min-device-width:1023px) and (max-device-width:1025px) {
    .promo__title_company_style {
        width: 60vw;
        height: 4vw;
    }
}
