:root {
    --green-color: #10CD7E;
    --yellow-color: #F2FE67;
}

html {
    font-size: 16px; 
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: "Barlow", serif;
    
}

.fff {
    background: linear-gradient(to bottom, #10CD7E, #F2FE67, #FFFFFF);
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-left: 40px;
    margin-right: 40px;
}

.links{
    display: flex;
    gap: 20px;
    align-items: center;
}

.links a {
    text-decoration: none;
    color: black;
    font-family: "Barlow", serif;
    font-weight: 500;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    background-color: var(--yellow-color);
    position: absolute;
    top: 70px;
    left: 40px;
    width: calc(100% - 80px);
    z-index: 1000;
    flex-direction: column;
    padding: 10px 0;
    align-items: center;
}

.dropdown-menu a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: black;
}

.centered-button a .yellow-button {
    color: white;
    border: 1px solid black;
}

.links-mobile {
    display: flex;
    align-items: center;
    text-align: center;
}

.centered-button {
    display: flex;
    justify-content: center; 
    width: 100%; 
    margin-top: 10px;
}

@media (max-width: 768px) {
    .links {
        display: none;
    }
    .menu-icon {
        display: block;
    }
}

.first-section {
    height: 100vh;
    padding: 20px;
}

.yellow-button {
    background-color: var(--yellow-color);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex; 
    align-items: center;
}

.button-content {
    display: flex; /* Используем flexbox для выравнивания текста и стрелки */
    align-items: center; /* Центрируем элементы по вертикали */
}

.vertical-line {
    width: 1px; /* Ширина вертикальной линии */
    height: 30px; /* Высота вертикальной линии */
    background-color: #0000001A; /* Цвет линии */
    margin: 0 8px; /* Отступы вокруг линии */
}

.greeting {
    display: flex; /* Используем flexbox для выравнивания */
    align-items: center; /* Центрируем элементы по вертикали */
    justify-content: center; /* Центрируем элементы по горизонтали */
    text-align: center;
    padding: 8px 18px;
    border-radius: 100px;
    background-color: white;
    max-width: 445px;
    min-width: 300px; /* Минимальная ширина для мобильных устройств */
    max-height: 40px;
    font-weight: 500;
    margin-bottom: 10px;
}

.greeting img {
    margin-left: 10px; /* Отступ слева для картинки */
}

.greeting-block {
    display: flex;
    flex-direction: column;
    align-items: center;     
    margin: 0;
    margin-top: 10px;
}

.skewed-title {
    position: relative;
    z-index: 1;
}

.svg-container {
    width: 100%; /* или установите фиксированную ширину, если необходимо */
    max-width: 1138px; /* максимальная ширина для сохранения пропорций */
}
svg {
    width: 100%;
    height: auto; /* высота будет автоматически подстраиваться */
}

.left-block,
.right-block {
    display: flex;
    flex-direction: column;
    padding-bottom: 0.625rem; /* 10px = 0.625rem */
    max-width: 12.5rem; /* 200px = 12.5rem */
    gap: 1.25rem; /* 20px = 1.25rem */
    font-weight: 400;
    font-size: 0.875rem; /* 14px = 0.875rem */
    line-height: 1.125rem; /* 18px = 1.125rem */
}

.left-block {
    text-align: end;
}

.right-block {
    text-align: start;
}

.exchange-block {
    display: flex;
    gap: 60px;
}

.middle-block {
    margin-top: -20px;
    max-width: 415px;
    background-color: #0D9F62;
    border-radius: 24px;
    padding: 10px;
}

.middle-block .text-upper {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.middle-block .text-upper p {
    color: black;
    font-weight: 600;
    font-size: 15px;
    line-height: 24px;
    margin: 0;
}

.middle-block .text-upper span {
    color: black;
    font-weight: 400;
    font-size: 12px;
    line-height: 14.4px;
}


.swap-indicator {
    position: relative; /* Позволяет использовать абсолютное позиционирование для дочерних элементов */
    display: flex;
    align-items: center; /* Центрируем элементы по вертикали */
    margin: 10px 0; /* Отступы сверху и снизу */
}


.arrow-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Позволяет позиционировать элементы внутри */
    z-index: 3; /* Убедитесь, что круг выше линии */
    border: 1px solid #ccc; /* Граница круга */
    border-radius: 50%; /* Круглая форма */
    padding: 10px; /* Отступы внутри круга */
    width: 40px; /* Ширина круга */
    height: 40px; /* Высота круга */
    margin-left: 45%;
    background-color: white;
}

.divider {
    position: absolute; /* Абсолютное позиционирование */
    left: 0; /* Начинаем с левой стороны */
    width: 100%; /* Ширина линии на 100% */
    border: none; /* Убираем стандартные стили */
    height: 1px; /* Высота линии */
    background-color: #ccc; /* Цвет линии */
    z-index: 0; /* Линия ниже круга */
}

.first-coin,
.second-coin {
    margin-top: 10px;
    padding-bottom: 40px;
}

.coin-name {
    display: flex;
    justify-content: space-between;
}

.coin-name p {
    margin: 0;
}

.button-connect-wallet {
    background-color: var(--yellow-color);
    color: black;
    text-align: center;
    padding: 12px 10px;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
}

a { 
    text-decoration: none;
}

.exchange-container {
    background-color: white;
    border-radius: 16px;
    padding: 10px;
    margin-top: 30px;
}

.coin-name-flex {
    display: flex;
    gap: 5px;
}

.coin-name-flex p {
    font-weight: 500;
    font-size: 15px;
    line-height: 24px;
}

.coin-name-flex img {
    height: 100%;
    width: 100%;
}

.warning {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.warning p {
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 15px;
    line-height: 24px;
}

.warning svg {
    width: 16px;
    height: 16px;
}

.coin-input input {
    border: none; /* Убираем границу */
    outline: none; /* Убираем обводку при фокусе */
    font-family: 'Tiny5', sans-serif; /* Устанавливаем нужный шрифт */
    font-size: 2rem; /* Устанавливаем размер шрифта */
    width: 100%; /* Ширина инпута */
}

/* Стили для placeholder */
.coin-input input::placeholder {
    color: #999; /* Цвет placeholder */
    font-family: 'Tiny5', sans-serif; /* Устанавливаем нужный шрифт для placeholder */
    font-size: 2rem; /* Устанавливаем размер шрифта для placeholder */
}

/* Убираем стрелки у input[type="number"] */
.coin-input input::-webkit-inner-spin-button,
.coin-input input::-webkit-outer-spin-button {
    -webkit-appearance: none; /* Убираем стрелки в Chrome */
    margin: 0; /* Убираем отступы */
}

@media (max-width: 1024px) { /* Устанавливаем максимальную ширину для мобильных устройств и планшетов */
    .left-block,
    .right-block {
        display: none; /* Скрываем левый и правый блоки */
    }
    
    .middle-block {
        flex: 1; /* Центральный блок занимает оставшееся пространство */
        margin-top: -5px;
    }
}

@media (max-width: 768px) { /* Устанавливаем максимальную ширину для мобильных устройств */
    .left-block,
    .right-block {
        display: none; /* Скрываем левый и правый блоки */
    }
    
    .middle-block {
        flex: 1; /* Центральный блок занимает оставшееся пространство */
        margin-top: 20px;
    }
}

.text-section {
    text-align: center;
    margin-top: 40px;
    font-weight: 300;
    font-size: 21px;
    line-height: 35px;
    max-width: 864px;
}

.info-section {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 4;
}

.block-about {
    display: flex;
    flex-direction: column;
    background-color: white;
    justify-content: space-between;
    min-height: 188px;
    width: 100%; /* Занимает всю ширину родительского контейнера */
    max-width: 418px;
    border-radius: 8px;
    padding: 20px 24px 8px; /* Упрощенное указание отступов */
}

@media (max-width: 768px) {
    .block-about {
        width: 100%; /* Блоки занимают всю ширину на мобильных устройствах */
    }
}

.about-earning{
    display: flex;
    background-color: white;
    border-radius: 8px;
    padding-top: 20px;
    padding-right: 24px;
    padding-bottom: 20px;
    padding-left: 24px;
    margin-top: 20px;
    gap: 30px;
}

.title-in-about-blocks {
    color: black;
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
}

.block-about .muted-text {
    color: black;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
}

.about-bulkyman {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; 
    gap: 20px;
    flex-wrap: wrap;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .about-bulkyman {
        flex-direction: row; /* Горизонтальное расположение блоков на планшетах */
        justify-content: center; /* Центрируем блоки */
    }

    .block-about {
        width: calc(50% - 16px); /* Два блока в ряд с отступом */
    }
}

.text-block-about-earning-two {
    display: flex;
    flex-direction: row; /* Горизонтальное расположение по умолчанию */
    justify-content: space-between;
    background-color: var(--green-color);
    min-height: 194px;
    max-width: 338px;
    padding-left: 10px;
    padding-top: 10px;
    border-radius: 8px;
}

.text-block-about-earning-two .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.text-block-about-earning-two p {
    color: black;
    font-weight: 500;
    font-size: 17px;
    line-height: 20.4px;
}

.text-block-about-earning-two span {
    color: #00000040;
}

/* Адаптация для мобильных устройств и планшетов */
@media (max-width: 1024px) { /* Устанавливаем максимальную ширину для мобильных устройств и планшетов */
    .about-earning {
        flex-direction: column; /* Вертикальное расположение на мобильных устройствах */
        align-items: center; /* Центрируем элементы по горизонтали */
    }
}

.another-info-blocks {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.block-with-picture-and-text-another-info-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: 456px;
    min-height: 188px;
    flex-basis: calc(33.33% - 14px); /* Устанавливаем ширину блока на 1/3 с учетом отступа */
    background-color: white;
    border-radius: 8px;
    padding: 20px 24px;
    text-align: center;
    box-sizing: border-box; /* Учитываем отступы в ширине */
}

.block-with-picture-and-text-another-info-block p {
    text-align: start;
    font-weight: 400;
    font-size: 17px;
    line-height: 28px;
}

.block-with-picture-and-text-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
}


/* Адаптивность для меньших экранов */
@media (max-width: 768px) {
    .block-with-picture-and-text-another-info-block {
        flex-basis: calc(50% - 20px); /* 2 блока в ряд на экранах меньше 768px */
    }
}

@media (max-width: 480px) {
    .block-with-picture-and-text-another-info-block {
        flex-basis: 100%; /* 1 блок в ряд на мобильных экранах */
    }
}

.big-sphere-image{
    display: flex;
    position: relative;
    z-index: -1;
    align-items: center;
    justify-content: center;
    margin-top: -130px;
}

.about-bulkyman-design-header {
    font-family: 'Tiny5', sans-serif; /* Шрифт заголовка */
    width: 100%; /* Установите ширину на 100% для адаптивности */
    max-width: 38.875rem; /* 622px = 38.875rem, ограничение ширины для больших экранов */
    text-align: center; /* Центрирование текста */
    font-weight: 400; /* Нормальный вес шрифта */
    font-size: 3.8125rem; /* 61px = 3.8125rem */
    line-height: 3.8125rem; /* 61px = 3.8125rem */
    letter-spacing: -0.25rem; /* -4px = -0.25rem */
    margin: 0 auto; /* Центрирование заголовка в контейнере */
    padding: 0 1.25rem; /* Отступы по бокам для мобильных устройств */
}

.big-sphere-bg {
    display: flex;
    justify-content: center;
    position: relative; /* Убедитесь, что элемент позиционируется относительно своего контейнера */
    margin-top: -100px; /* Отрицательный отступ, чтобы перекрыть секцию info-section */
    z-index: 0; /* Убедитесь, что z-index не отрицательный */
}

.big-sphere-image {
    max-width: 100%; /* Ограничивает максимальную ширину изображения до 100% от родительского контейнера */
    height: auto; /* Сохраняет пропорции изображения */
}

.about-bulkyman-design {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Вертикальное центрирование */
    align-items: center; /* Горизонтальное центрирование */
    text-align: center; /* Центрирование текста */
    z-index: 1; /* Убедитесь, что z-index положительный, чтобы быть над big-sphere-bg */
    margin-top: -640px;
}


.about-bulkyman-design p {
    margin-top: 1.25rem; /* 20px = 1.25rem */
    margin-bottom: 2.5rem; /* 40px = 2.5rem */
    max-width: 600px; /* 600px = 37.5rem */
    font-weight: 400; /* Нормальный вес шрифта */
    font-size: 1.125rem; /* 18px = 1.125rem */
    line-height: 1.875rem; /* 30px = 1.875rem */
}
.button-content {
    color: black;
    font-weight: 500;
    font-size: 17px;
    line-height: 16px;
}

.bulkyman-history-section {
    display: flex;
    position: relative;
    flex-direction: column;
    z-index: 2;
    margin-top: 200px;
    gap: 20px;
}

.first-floor-bulkyman-history-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    min-width: 1,140.01px;
}

.first-floor-bulkyman-history-section .left .block-about {
    max-width: 950.33px;
    max-height: 228px;
    min-height: 228px;
}

.first-floor-bulkyman-history-section .left {
    display: flex;
    justify-content: space-between;
    flex: 2; /* Блок .left занимает 2 части */
}

.first-floor-bulkyman-history-section .right {
    display: flex; /* Добавьте display: flex, чтобы использовать flexbox */
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1; /* Блок .right занимает 1 часть */
}

.rows-floor {
    display: flex;
    overflow: hidden;
}

.second-floor-bulkyman-history-section {
    display: flex;
    flex-direction: column; /* Элементы располагаются в колонку */
    gap: 10px;
}

.second-floor-bulkyman-history-section .block-with-picture-and-text-another-info-block{
    max-width: 369.33px;
    max-height: 252px;
    min-height: 188px;
}

.second-floor-bulkyman-history-section .block-with-picture-and-text-another-info-block h4 {
    text-align: start;
}

.second-floor-bulkyman-history-section h3 {
    font-weight: 600;
    font-size: 27px;
    line-height: 31px;
    text-align: left; /* Выравнивание текста по левому краю */
    width: 85%; /* Задаем ширину 100%, чтобы заголовок занимал всю ширину */
    margin: 0; /* Убираем отступы */
    padding-left: 0; /* Убираем внутренний отступ слева, если есть */
}

.blocksqq {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media (max-width: 1399px) {
    .blocksqq {
        justify-content: center;
    }
    
}

.third-floor-bulkyman-history-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.third-floor-bulkyman-history-section h3 {
    font-weight: 600;
    font-size: 27px;
    line-height: 31px;
    text-align: left; /* Выравнивание текста по левому краю */
    width: 85%; /* Задаем ширину 100%, чтобы заголовок занимал всю ширину */
    margin: 0; /* Убираем отступы */
    padding-left: 0; /* Убираем внутренний отступ слева, если есть */
}

.roadmap-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}

.roadmap-block {
    display: flex;
    flex-direction: column;
    gap: 10px;    
}

.roadmap-block-stage {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Задаем нижнюю границу */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.roadmap-block-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
}

.roadmap-block-stage {
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
}

.footer {
    display: flex;
    margin-top: 50px;
    justify-content: center;
    flex-direction: column;
}

.first-floor-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0;
}

@media (max-width: 1157px) {
    .first-floor-footer {
        flex-direction: column;
        overflow: hidden;
    }
    .roadmap-blocks {
        justify-content: center;
    }
}

.first-floor-footer .resources,
.first-floor-footer .community {
    width: 570px;
}

.text-container {
    max-width: 460px;
    width: 100%; 
}

.qwerty {
    margin: 0; /* Убираем отступы, если это необходимо */
}

.doc-links {
    border-top: 1px solid #0000001A;
    padding-top: 20px;
    margin-top: 50px;
}

.doc-links a {
    color: black;
}

.doc-link {
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #0000001A;
}


.footer-a-lot-of-text {
    display: flex;
    flex-direction: column;
    margin-top: 200px;
    justify-content: center;
}

.footer-a-lot-of-text p {
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
}

.the-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    margin-bottom: 50px;
}

.the-footer a {
    color: black;
}

@media (max-width: 1024px) {
    .first-floor-bulkyman-history-section .left .block-about {
        max-width: 1000px;
    }

    .first-floor-bulkyman-history-section {
        flex-direction: column;
    }

    .first-floor-bulkyman-history-section .left {
        justify-content: center;
    }
}

.careers-first-block {
    background-image: url('assets/background-careers.jpeg');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    height: 75vh;
}

.careers-name {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 70px;
}

.careers-name p {
    font-weight: 300;
    font-size: 21px;
    line-height: 35px;
    max-width: 426.38px;
}

.email-contact {
    background-color: white;
    max-width: 360.28px;
    max-height: 48px;
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: black;
}

.about-bulkyman-careers {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.block-about-careers {
    max-width: 460px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.block-about-careers h4 {
    font-weight: 600;
    font-size: 27px;
    line-height: 31px;
    margin-bottom: 30px;
}

.block-about-careers p {
    font-weight: 400;
    font-size: 19px;
    line-height: 30px;
}


.action-buttons-big-careers {
    height: 60vh;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(215, 215, 215, 1), rgba(255, 255, 255, 1));
    display: flex;
    align-items: center; 
}


.first-floor-action-careers,
.second-floor-action-careers {
    display: flex;
    font-family: 'Tiny5', sans-serif;
    align-items: center;
}

.coming-soon {
    font-family: "Barlow", serif;
    background-color: rgba(245, 245, 245, 1);
    padding: 15px 30px;
    border-radius: 60px;
    color: rgba(157, 157, 157, 1);
    font-weight: 600;
    font-size: 16px;
    line-height: 30px;
    max-width: 157.97px;
}

.floors {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 16px;
    max-width: 1140px;
}

.floors hr {
    margin: 0;
}

.first-floor-action-careers h2,
.second-floor-action-careers h2 {
    font-weight: 400;
    font-size: 48px;
    line-height: 72px;
    margin: 0;
    letter-spacing: -4px;
    color: black;
    padding: 20px;
}

.first-floor-action-careers p {
    font-family: 'Tiny5', sans-serif;
    
}

.careers-muted{
    color: #9D9D9D !important;
}

.terms-of-use-main {
    display: flex;
    flex-direction: column;
    margin-top: 100px;
    margin-bottom: 200px;
    align-items: center;
}

.terms-of-use-main h1 {
    font-family: 'Tiny5', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 72px;
    letter-spacing: -4px;
}

.tof-block {
    max-width: 721px;
    font-weight: 400;
    font-size: 17px;
    line-height: 28px;
    margin-top: 50px;
}

.tof-block h4 {
    color: rgba(0, 0, 0, 1);
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: -0.5px;
}

.modal-window {
    display: none; /* Скрыто по умолчанию */
    flex-direction: column;
    position: absolute;
    z-index: 999;
    background-color: white;
    border-radius: 12px;
    padding: 22px;
    gap: 14px;
    align-items: center;
    text-align: center;
    max-height: 212px;
    min-width: 375px;
    max-width: 475;
    left: 50%; /* Центрирование */
    margin-top: 200px;
    transform: translateX(-50%); /* Центрирование */
}

.modal-overlay {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Затемнение фона */
    z-index: 998; /* Под модальным окном */
}


.modal-window h4 {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
}

.okay-button {
    display: flex;
    background-color: var(--yellow-color);
    max-width: 68px;
    max-height: 56px;
    padding: 16px 40px;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0px 2px 4px 0px #00000026;
    color: black;

}

@media (max-width: 543px) {
    .about-bulkyman-careers {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .coming-soon {
        margin: 0;
        justify-content: center;
        /* text-wrap: nowrap; */

        margin-right: 50px;
    }
}

@media (max-width: 991px) {
    .big-sphere-bg {
        display: none;
    }

    .about-bulkyman-design {
        margin-top: 20px;
        background-image: url('assets/big-shere.png');
        background-size: cover;
        justify-content: center;
    }

    .bulkyman-history-section {
        margin-top: 50px;
    }
}