* {
    box-sizing: border-box; /* Ensure padding and margin don't affect width */
}


body {
    font-family: "Open Sans";
    color: #26272B;
    background-color: #FAFBFE;
    display: flex;
    justify-content: center; /* Center the outer container on the page */
    align-items: center; /* Center vertically */
    /* height: 100vh; Full height */
    margin: 0; /* Remove default margin */
    gap: 10px;
}


.container {
    margin: 0 auto;
    display: flex;
    box-sizing: border-box;
}


h1 {
    font-size: 32px;
    margin-bottom: 5px;
    font-weight: bold;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}



p {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: normal;
    color: #26272B;
}

button {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.text {
    font-size: 15px; /* для стр Offer */
    margin-bottom: 6px;
    font-weight: normal;
    color: #26272B;
}

.text-0 {
    font-size: 15px; /* для стр Offer */
    margin-bottom: 0px;
    font-weight: normal;
    color: #26272B;
}

.text-N {
    font-size: 18px; /* для стр Offer */
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: bold;
}

.text-NN {
    font-size: 16px; /* для стр Offer */
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: bold;
}

/* общий стиль end*/

/* Стиль для верхнего меню: */

.menu-container {
    display: flex;
    justify-content: space-between; /* Размещает логотип слева, меню справа */
    /* Центрирует элементы по вертикали */
    padding: 15px;
    background-color: white;
    position: relative; /* Для позиционирования псевдоэлемента */
}

.left .logo {
    height: auto; /* Высота логотипа */
}

.horizontal-menu ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.horizontal-menu li {
    margin-left: 10px; 
    display: flex;
    align-content: center;
}

.horizontal-menu a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    /*line-height: 10px;*/
    font-weight: 600;
}

.horizontal-menu a:hover {
    text-decoration: none;
    color: #0038FF;

    
}

.menu-container:after {
    content: "";
    position: absolute;
    bottom: 0; /* Линия будет внизу контейнера */
    left: 0;
    width: 100%;
    height: 14px; /* Толщина линии */
    background: linear-gradient(to right, E3EDFF, rgba(237, 243, 254, 0)); /* Градиентная линия */
}

/* Стиль для 404 */
.pt-menu a {
    text-decoration: none; /* меню 404 */
    color: #0038FF;
    font-size: 16px;
    /*line-height: 10px;*/
    font-weight: 600;
}

    .pt-menu a:hover {
        text-decoration: none; /* меню 404 */
        color: #AAC4F4;
        font-size: 16px;
        /*line-height: 10px;*/
        font-weight: 600;
    }

    /* Стиль для ссылки в офере */
.of-menu a {
    text-decoration: none; 
    color: #0038FF;
            
}

.of-menu a:hover {
        text-decoration: none; /* меню 404 */
        color: #AAC4F4;
                  
    }
    
/* Стиль для верхней части текста с картинкой на стр QA и Расстановки: */
.about-user {
    display: flex;
    justify-content: space-between;
    padding: 10px 80px;
}

    .about-user div {
        width: auto;
        padding: 0px 0px;
    }

    .about-user img {
        width: 250px;
        height: 250px;
        max-width: 250px;
        padding: 0px;
        margin-top: auto
    }

/* 2 кнопки: офер и контакт: */
.button-container {
    display: flex;
    gap: 10px;
}

/**** Changes 07.11.2024 ****/
.rounded-button {
    display: flex;
    justify-content: center; /* Horizontally center the text */
    align-items: center; /* Vertically center the text */
    color: white; /* Black text */
    padding: 10px 30px; /* Padding */
    border-radius: 50px; /* Rounded corners */
    cursor: pointer; /* Pointer on hover */
    font-size: 14px; /* Font size */
    width: 180px; /* Button width */
    height: 40px; /* Button height */
    line-height: normal;
    text-align: center; /* Center the text */
}

    .rounded-button.left {
        background-color: #0038FF; /* Blue background */
        color: white; /* White text */
    }

    .rounded-button.right {
        background-color: black;
        color: white; /* White text */
    }

    .rounded-button.left:hover {
        border: 2px solid black; /* Black border */
        color: black; /* Black text */
    }

    .rounded-button.right:hover {
        border: 2px solid #0038FF; /* Blue border */
        color: #0038FF; /* Blue text */
    }

    /* Change background color on hover */
    .rounded-button:hover {
        background-color: white;
    }
/**** Changes 07.11.2024 ****/

@supports (-webkit-touch-callout: none) {
    .rounded-button {
        line-height: normal; /* Override potential Safari quirks */
        padding: 0 30px; /* Ensure consistent padding */
    }
}

/* для оферов и блога для большого экрана */
.blog.inner-container {
    display: flex; /* Create a flex container for boxes */
    flex-direction: column; /* Stack sections vertically */
    padding: 20px 180px 20px 180px;
    gap: 20px;
}


/* 5 блоков начало */
.inner-container {
    display: flex; /* Create a flex container for boxes */
    flex-direction: column; /* Stack sections vertically */
    padding: 10px 80px 10px 80px;
}


.center .center-image {
    max-width: 70px; /* Максимальная ширина центрального изображения */
    height: auto;
}

.section-title {
    font-family: "Open Sans";
    font-size: 24px;
    font-weight: bold;
    color: black;
    padding-bottom: 20px;
}

.block {
    display: flex;
    align-items: center;
    padding: 0px 10px;
}

/* изменения для большего єкрана */
@media screen and (max-width: 1240px) {
    .inner-container {
        padding: 20px 80px 20px 80px;
    }
    .blog.inner-container {
        display: flex; /* Create a flex container for boxes */
        flex-direction: column; /* Stack sections vertically */
        padding: 20px 80px 20px 80px;
        gap: 20px;
    }
    

}    

  
@media screen and (max-width: 1000px) {
    
    .about-user div {
        width: auto;
        padding: 0px 10px;
    }

    .about-user {
        border: none;
        padding: 0px 20px;
    }

    .inner-container {
        padding: 20px 20px 20px 20px;
    }

    .blog.inner-container {
        display: flex; /* Create a flex container for boxes */
        flex-direction: column; /* Stack sections vertically */
        padding: 20px 20px 20px 20px;
        gap: 20px;
    }
    
    .about-user img {
        max-width: 200px;
        width: 200px;
        height: 200px;
    }
}

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

    

    .about-user div {
        width: auto;
        padding: 0px 20px;
    }

    .about-user {
        flex-direction: column;
        align-items: center;
        border: none;
        padding: 0px 10px;
    }

    .inner-container {
        align-items: center;
        justify-content: center;
        padding: 10px 20px 20px 20px;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
        border: none;
    }

    .about-user div {
        order: 1;
        text-align: center;
        width: auto;
    }

    .about-user img {
        text-align: center;
        height: auto;
        width: 160px;
        max-width: 160px;
        margin-bottom: 20px;
        box-shadow: -6px 12px 0 #EDF3FE;
        border-radius: 60%;
    }

    .section-title {
        text-align: center;
        margin: 0px auto
    }

    h1 {
        font-size: 28px;
        margin-bottom: 5px;
    }

    h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    p {
        font-size: 16x;
        margin-bottom: 10px;
    }
}

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

    .block {
        display: flex;
        align-items: center;
        padding: 0px;
    }

    .inner-container {
        align-items: center;
        justify-content: center;
        padding: 10px 20px 20px 20px;
    }

    .menu-container .left .logo {
        content: url('/images/logo.svg'); /* Подмена изображения */
        width: 24px; /* Устанавливаем ширину */
        height: auto; /* Сохраняем пропорции */
    }

    .horizontal-menu a {
        text-decoration: none;
        color: black;
        font-size: 15px;
        /*line-height: 10px;*/
        font-weight: 600;
        padding: 0px;
    }

    .black-container .menu_down a {
        padding: 0px;
        font-size: 14px;
        /*line-height: 10px;*/
        font-weight: normal;
        text-decoration: none;
        color: white;
        padding: 0px;
    }

    .center .center-image {
        display: none
    }

    .horizontal-menu li {
        margin-left: 5px;
    }

    .map-switch {
        display: none
    }

    .section-title {
        text-align: center;
        margin: 0px auto
    }

    .black-container .text.w {
        font-size: 11px;
        font-weight: normal;
        color: white;
        align-self: flex-end;
        margin-top: auto;
    }
}

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

    .block {
        display: flex;
        align-items: center;
        padding: 0px;
        margin: 0px;
    }

    .inner-container {
        align-items: center;
        justify-content: center;
    }

    .menu-container .left .logo {
        content: url('/images/logo.svg'); /* Подмена изображения */
        width: 24px; /* Устанавливаем ширину */
        height: auto; /* Сохраняем пропорции */
        margin: 0px;
        padding: 0px;
    }

    .horizontal-menu a {
        text-decoration: none;
        color: black;
        font-size: 14px;
        /*line-height: 10px;*/
        font-weight: 600;
        padding: 0px;
        margin: 0px;
    }

    .black-container .menu_down a {
        padding: 0px;
        font-size: 14px;
        /*line-height: 10px;*/
        font-weight: normal;
        text-decoration: none;
        color: white;
        padding: 0px;
        margin: 0px;
    }

    .center .center-image {
        display: none
    }

    .map-switch {
        display: none
    }

    .horizontal-menu li {
        margin-left: 0px;
    }

    .section-title {
        text-align: center;
        margin: 0px;
        
    }

    .black-container .text.w {
        font-size: 11px;
        font-weight: normal;
        color: white;
        align-self: flex-end;
        margin-top: auto;
    }
}


/* Sasha - 5 box in container: */

.outer-container {
    display: flex; /* Create a flex container */
    align-items: center; /* Center items vertically */
    /* background-color: #E3EDFF Background color not used */
}

.inner-content-container {
    display: flex; /* Create a flex container for boxes */
    flex-wrap: wrap; /* Allow boxes to wrap to the next line */
    gap: 10px; /* Gap between boxes */
    justify-content: center; /* Center boxes horizontally*/
}


/* Sasha - 5 box in container: */
.box {
    width: 340px; /* Fixed width for boxes */
    /* height: 200px; Fixed height for boxes */
    background-color: white; /* Box background color */
    border-radius: 10px;
    color: #45474C; /* Text color */
    display: flex; /* Flex for centering content */
    flex-direction: column; /* Stack sections vertically */
    align-items: center; /* Center text vertically */
    /*justify-content: center; /* Center text horizontally */
    padding: 15px;
}

.box-title-container {
    width: 280px; /* Fixed width for box title container */
    height: 48px;
    /* margin-top: 20px; */
    align-items: center; /* Center text vertically */
    justify-content: left; /* Align content to left */
    display: flex; /* Flex for centering content */
    flex-direction: row; /* Stack sections vertically */
}

.box-title {
    padding-left: 16px;
    font-family: "Open Sans";
    font-size: 20px;
    font-weight: bold;
    color: black
}

.box-icon {
    width: 36px;
    height: 36px;
}

.box-content-container {
    width: 280px; /* Fixed width for box title container */
    /* height: 112px; */
    align-items: center; /* Center text vertically */
    text-align: left; /* left content */
    display: flex; /* Flex for centering content */
    color: #45474C
}

.box {
    min-height: 200px; /* Use minimum height instead of fixed */
}

.box-content-container {
    height: auto; /* Allow content to dictate height */
}

.photo {
    border: 3px solid #1D73D5; /* Толщина и цвет рамки */
    border-radius: 15px; /* Радиус скругления углов */
    padding: 2px; /* Дополнительное пространство между изображением и рамкой */
}

/*char GPT menu_down*/
.black-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 15px;
    background-color: black;
}

.left.logo {
    height: auto;
    margin: 10px 10px 0px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.text.w {
    font-size: 12px;
    font-weight: normal;
    color: white;
    align-self: flex-end;
    margin-top: auto;
}

.menu_down ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu_down li {
    margin: 0px 0px;
    padding: 5px 0px;
}

.menu_down a {
    
    font-size: 16px;
    line-height: 16px;
    font-weight: normal;
    text-decoration: none;
    color: white;
}

.menu_down a:hover {
    text-decoration: none; 
    color: #AAC4F4;
   
}
/*char GPT menu_down* конец*/

/* Style for the language switcher wrapper */
#language-switcher {
    position: relative;
    display: inline-block;
    width: 50px; /* Adjust width as needed */
    margin-left: 5px;
    font-weight: 600;
    font-size: 12px;
}

/* Style for the dropdown */
#language-switcher select {
        appearance: none; /* Removes native styling */
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: white;
        border: 1px solid black;
        border-radius: 5px;
        width: 100%;
        cursor: pointer;
        /* padding: 8px 12px;*/
        padding-right: 30px; /* Space for the arrow */
        text-align-last: center; /* Centers the text for most browsers */
    }

/* Focus styling */
#language-switcher select:focus {
     outline: none;
     border-color: #0078d7;
}

/* Custom arrow */
#language-switcher::after {
        content: "в-_"; /* Down arrow */
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none; /* Arrow doesn't block interaction with select */
        font-size: 12px;
        color: black;
    }
