*, *:before, *:after {
    box-sizing: border-box;
}

/* ГЛАВНЫЙ КОНТЕЙНЕР ПОРТАЛА - ФИКСИРОВАННЫЙ */
.portal-container {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.portal-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .portal-container {
        top: 50px !important;
        height: calc(100vh - 50px);
    }

    .image-container img {
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
}

/* Затемнение левой части */
.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(to right, rgb(0, 0, 0), rgba(0, 0, 0, 0));
    pointer-events: none;
}

/* СВЕЧЕНИЕ НАД ПОРТАЛОМ */
.portal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: pulse infinite ease-in-out;
    z-index: 3;
    pointer-events: none;
}

.glow {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(238, 166, 42, 0.648), transparent 70%);
    animation-duration: 4s;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* Главный Заголовок */
.main-overlay-text {
    position: absolute;
    top: 25%;
    left: 60px;
    transform: translateY(-50%);
    color: #d6ae68;
    font-family: 'Cormorant Garamond', serif;
    font-size: 6em;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 0.8;
    z-index: 2;
    margin-bottom: 0;
}

.main-overlay-text h1 {
    font-size: 1em;
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
    color: inherit;
    font-family: inherit;
}

/* Контейнер для подзаголовка */
.sub-overlay-text {
    position: absolute;
    top: 55%;
    left: 60px;
    transform: translateY(-50%);
    color: #fcfce7;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.5;
    max-width: 600px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    z-index: 2;
    margin: 0;
}

/* Стили для списка преимуществ */
.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: white;
}

.advantage-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-item:last-child {
    border-bottom: none;
}

.icon-container {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-right: 20px;
    overflow: hidden;
}

.advantage-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-text {
    font-size: 1em;
    line-height: 1.5;
    color: #fcfce7;
    flex: 1;
}

.marquee {
    position: absolute;
    top: 83%;
    left: 0;
    width: 100%;
    overflow: visible;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: auto;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 80s linear infinite;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #dd9f59;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* КОНТЕНТ КОТОРЫЙ НАЕЗЖАЕТ ПОВЕРХ */
.content-overlay {
    position: relative;
    z-index: 10;
    background: #1b1411;
    margin-top: 100vh;
    min-height: 100vh;
}

/* Секция с описанием */
.desc {
    display: flex;
    width: 100%;
    min-height: 500px;
}

.desc .photo {
    width: 50%;
    height: auto;
    object-fit: cover;
}

.desc>div {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fcfce7;
}

.desc-text {
    padding: 40px;
    max-width: 500px;
    color: #1b1411;
}

.desc-text h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 44px;
    margin-bottom: 20px;
    color: #1b1411;
}

.desc-text p {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #1b1411;
}

/* Секция преимуществ */
.advantages-section {
    width: 100%;
    background: #1b1411;
    padding: 80px 0;
}

.advantages-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 60px;
}

.advantages-section .advantages-list {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

/* Стили для контейнеров с изображениями и текстом */
.image-sub-container-right,
.image-sub-container-left {
    position: relative;
    width: 100%;
    height: 100vh;
}

.image-sub-container-right img,
.image-sub-container-left img {
    width: 60%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.image-sub-container-right img {
    margin-left: auto;
    margin-right: 0;
}

.image-sub-container-left img {
    margin-left: 0;
    margin-right: auto;
}

.overlay-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    z-index: 10;
}

.image-sub-container-right .overlay-text {
    left: 5%;
}

.image-sub-container-left .overlay-text {
    right: 5%;
}

.overlay-text .column.dark {
    background: #1b1411;
    padding: 10px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* Стили для колонок */
.three-columns {
    display: flex;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    padding: 60px;
    text-align: left;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dark-blocktext {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(221, 159, 89, 0.1);
    border-radius: 12px;
    background: linear-gradient(180deg, #322520 0%, #1b1411 100%);
    padding: 25px;
    margin: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    height: fit-content;
}

.dark-blocktext:hover {
    transform: translateY(-5px);
    border-color: rgba(221, 159, 89, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: none;
}

.dark-blocktext ul {
    font-family: "Open Sans", sans-serif;
    color: #fcfcfc;
    padding-left: 20px;
    margin-top: 10px;
}

.dark-blocktext li {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #fcfcfc;
    line-height: 1.6;
    margin-bottom: 10px;
    list-style-type: disc;
}

.white-text {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #fcfcfc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.advantage-text {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 1em;
    line-height: 1.5;
    color: #fcfce7;
}

/* Стили для разделенной секции */
.split-section {
    display: flex;
    width: 100%;
    min-height: 500px;
    position: relative;
}

.text-content {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    z-index: 2;
    position: relative;
    background: #fcfce7;
}

.image-content {
    width: 66.67%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.split-section .photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-section {
    background-color: #dfa079;
    color: #1b1411;
    padding: 30px 60px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.top-section h1 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-size: 68px;
    margin: 0;
    color: #1b1411;
}

.top-section h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 24px;
    margin: 10px 0 0 0;
    color: #fcfce7;
}

.bottom-section {
    background-color: #fcfce7;
    color: #1b1411;
    padding: 30px 60px;
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bottom-content {
    max-width: 400px;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-section strong {
    font-weight: 700;
    color: #1b1411;
}

.bottom-section p {
    color: #1b1411;
    font-weight: 400;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
    object-fit: cover;
}

.video-container:hover::before {
    content: '🔊 Нажмите для полноэкранного режима со звуком';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fcfcfc;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 3;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    pointer-events: none;
}

.video-container video {
    width: 140%;
    height: 140%;
    object-fit: cover;
    position: relative;
    left: -10%;
    top: -20%;
}

/* Стили для одноколоночных секций */
.one-columns-blue {
    width: 100%;
    background: #1b1411;
    color: #ffffff;
    padding: 10px 60px;
    box-sizing: border-box;
}

.one-columns-blue h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.one-columns-blue p {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.one-columns {
    width: 100%;
    background: #ffffff;
    color: #1b1411;
    padding: 80px 60px;
    box-sizing: border-box;
}

.one-columns h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 30px;
    color: #1b1411;
    margin-bottom: 30px;
    text-align: center;
}

.one-columns p {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #1b1411;
    line-height: 1.6;
    margin-bottom: 20px;
}

.one-columns strong {
    font-weight: 700;
    color: #1b1411;
}

.one-columns ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.one-columns li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #1b1411;
    gap: 20px;
}

.one-columns li img {
    flex-shrink: 0;
}

.one-columns li p {
    margin: 0;
    flex: 1;
}

.text-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.text-content-wrapper h2,
.text-content-wrapper p,
.text-content-wrapper ul {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.final-note {
    width: 100%;
    text-align: left;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 10, 32, 0.1);
}

.little-men {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 40px 0;
    background: #ffffff;
}

.little-men img {
    height: 200px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Стили для кнопок и action блоков */
.buttons-container-white {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    margin: 40px 0;
    flex-wrap: wrap;
    background-color: #ffffff;
}

.action-block {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    border: 1px solid #34495e;
    border-radius: 12px;
    background: #ffffff;
    padding: 30px;
    margin: 15px 0;
    box-shadow: 0 4px 8px rgba(0, 10, 32, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.action-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 10, 32, 0.15);
}

.action-block h4 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 24px;
    color: #1b1411;
    margin-bottom: 20px;
    text-align: center;
}

.action-block p {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #1b1411;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    flex-grow: 1;
}

.scroll-to-top-container {
    display: flex;
    justify-content: center;
    padding: 30px;
    background: #1b1411;
}

/* Общие стили для типографики */
h2,
h3 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 30px;
}

h4 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: 30px;
    color: #1b1411;
    line-height: 1.6;
    margin-bottom: 1px;
}

p {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #091326;
    line-height: 1.6;
    margin-bottom: 20px;
}

.video-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(27, 20, 17, 0.8);
    color: #dd9f59;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    border: 1px solid rgba(221, 159, 89, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 3;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.video-container:hover .video-hint {
    opacity: 1;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
    .main-overlay-text {
        font-size: 7em;
        left: 50px;
    }

    .sub-overlay-text {
        left: 50px;
        max-width: 550px;
    }

    .advantages-container {
        padding: 0 50px;
    }
}

@media (max-width: 992px) {
    .main-overlay-text {
        font-size: 5em;
        left: 40px;
        top: 30%;
    }

    .dark-overlay {
        width: 80%;
    }

    .pre-portal-subheading {
        font-size: 2em;
    }

    .desc {
        flex-direction: column;
    }

    .desc .photo,
    .desc>div {
        width: 100%;
    }

    .desc-text {
        padding: 30px 20px;
    }

    .sub-overlay-text {
        left: 40px;
        top: 50%;
        max-width: 500px;
        font-size: 1.1em;
    }

    .advantages-section {
        padding: 60px 0;
    }

    .advantages-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .main-overlay-text {
        font-size: 3.2em;
        left: 20px;
        max-width: 90%;
        line-height: 0.9;
        top: 15%;
        transform: translateY(-50%);
    }

    .pre-portal-subheading {
        font-size: 1.8em;
    }

    .advantage-text {
        font-size: 0.9em;
    }

    .icon-container {
        width: 28px;
        height: 28px;
        margin-right: 15px;
    }

    .image-sub-container-right,
    .image-sub-container-left {
        position: relative;
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    .image-sub-container-right img,
    .image-sub-container-left img {
        width: 100%;
        height: auto;
        margin: 0;
        display: block;
    }

    .overlay-text {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        padding: 30px 20px;
        margin: 0;
        box-sizing: border-box;
        background: #1b1411;
    }

    .image-sub-container-right .overlay-text,
    .image-sub-container-left .overlay-text {
        left: auto;
        right: auto;
    }

    .overlay-text .column.dark {
        background: transparent;
        padding: 0;
        border-radius: 0;
        backdrop-filter: none;
    }

    .three-columns {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .column {
        padding: 20px;
        width: 100%;
    }

    .dark-blocktext {
        background: linear-gradient(180deg, #322520 0%, #1b1411 100%);
        border: 1px solid rgba(221, 159, 89, 0.2);
        border-radius: 12px;
        padding: 25px;
        margin: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }
    
    .dark-blocktext:hover {
        transform: none;
    }

    .center {
        margin-bottom: 15px;
    }
    
    .center img {
        width: 60px;
        height: 60px;
    }
    
    .center h3 {
        font-size: 24px;
        margin: 10px 0;
    }
    
    .dark-blocktext ul {
        padding-left: 20px;
        margin: 10px 0;
    }
    
    .dark-blocktext li {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .desc {
        flex-direction: column;
    }

    .desc .photo,
    .desc>div {
        width: 100%;
    }

    .desc-text {
        padding: 30px 20px;
    }

    .marquee-content {
        font-size: 18px;
        padding: 15px 0;
    }

    .split-section {
        flex-direction: column;
        min-height: auto;
    }

    .text-content,
    .image-content {
        width: 100%;
    }

    .image-content {
        position: relative;
        background: #1b1411;
    }
    
    .video-container {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
        overflow: hidden;
        background: #1b1411;
    }
    
    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #000000;
        display: block;
    }
    
    .video-container:hover::before {
        display: none;
    }
    
    .video-container::after {
        display: none;
    }

    .video-container {
        position: relative;
    }

    .video-container .video-hint {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 14px;
        z-index: 3;
        pointer-events: none;
        white-space: nowrap;
    }

    .video-hint {
        bottom: 15px;
        padding: 8px 16px;
        font-size: 13px;
        background: rgba(27, 20, 17, 0.9);
        border-width: 1px;
    }

    .video-container:-webkit-full-screen .video-hint,
    .video-container:fullscreen .video-hint {
      opacity: 0;
      visibility: hidden;
}

    .top-section {
        padding: 40px 20px;
    }

    .bottom-section {
        padding: 30px 20px;
    }

    .top-section h1 {
        font-size: 36px;
    }

    .top-section h2 {
        font-size: 20px;
    }

    .top-column,
    .bottom-column {
        padding: 30px 20px;
    }

    .sub-overlay-text {
        left: 20px;
        top: 72%;
        max-width: 85%;
        font-size: 1.1em;
        line-height: 1.4;
        transform: translateY(-50%);
    }

    .advantages-section {
        padding: 50px 0;
    }

    .advantages-container {
        padding: 0 30px;
    }

    .advantages-section .advantages-list {
        max-width: 100%;
    }

    .one-columns {
        padding: 60px 30px;
    }

    .one-columns h2 {
        font-size: 24px;
    }

    .buttons-container-white {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .action-block {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .main-overlay-text {
        font-size: 2.8em;
        left: 20px;
        top: 12%;
        line-height: 0.95;
        max-width: 90%;
    }

    .dark-overlay {
        width: 90%;
    }

    .pre-portal-subheading {
        font-size: 1.5em;
    }

    .advantage-text {
        font-size: 0.85em;
    }

    .icon-container {
        width: 24px;
        height: 24px;
        margin-right: 12px;
    }

    .sub-overlay-text {
        left: 20px;
        top: 74%;
        max-width: 88%;
        font-size: 1em;
        line-height: 1.3;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    }

    .advantages-section {
        padding: 40px 0;
    }

    .advantages-container {
        padding: 0 20px;
    }

    .one-columns {
        padding: 40px 20px;
    }

    .one-columns li {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .main-overlay-text {
        font-size: 2.4em;
        top: 10%;
        left: 15px;
        max-width: 95%;
    }

    .dark-overlay {
        width: 95%;
    }

    .marquee-content {
        font-size: 16px;
    }

    .column .image {
        max-width: 150px;
    }

    .overlay-text {
        padding: 30px 15px;
    }

    .sub-overlay-text {
        left: 15px;
        max-width: 92%;
        font-size: 0.95em;
        top: 75%;
        line-height: 1.25;
    }

    .video-hint {
        bottom: 10px;
        padding: 6px 12px;
        font-size: 12px;
        white-space: normal;
        max-width: 90%;
        text-align: center;
        line-height: 1.4;
    }
}

html,
    body {
      margin: 0;
      padding: 0;
      width: 100%;
      overflow-x: hidden;
    }

    html {
      scroll-behavior: smooth;
    }

    :target {
      scroll-margin-top: 130px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    [id] {
      scroll-margin-top: 130px;
    }

    @media (max-width: 768px) {
      :target,
      h1,
      h2,
      h3,
      h4,
      h5,
      h6,
      [id] {
        scroll-margin-top: 110px;
      }
    }

    @media (max-width: 768px) {
    .call-to-action {
        width: 90%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        padding: 25px 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 15px;
    }
    
    .article-card {
        width: 85%;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .buttons-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 0;
        width: 80%;
    }
    
    .action-block {
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .buttons-container:last-of-type {
        margin-top: 60px;
        margin-bottom: 40px;
    }
    
    .buttons-container:first-of-type {
        margin-bottom: 30px;
    }
}

.desc-text {
    padding: 40px;
    max-width: 500px;
    color: #1b1411;
    display: flex;
    flex-direction: column;
}

.desc-text p {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #1b1411;
    width: 100%;
}

.about-me {
    align-self: center;
    margin: 0 auto;
}

@media (max-width: 768px) {
    /* Контейнер с кнопками Назад/Вверх */
    .buttons-container:last-of-type {
        display: flex;
        flex-direction: column;
    }
    
    /* Меняем порядок */
    .buttons-container:last-of-type .button-wrapper:first-child {
        order: 2; /* Назад становится вторым (снизу) */
    }
    
    .buttons-container:last-of-type .button-wrapper:last-child {
        order: 1; /* Вверх становится первым (сверху) */
    }
}