
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 95%;
    /* overflow: hidden; Отключаем прокрутку */
    background: url('back.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-color);
}

/* Контейнер */
.container {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    align-items: center;
    min-height: 95vh;
    padding: 20px;
    text-align: center;
}

.footer-message {
    color: white !important; /* Змінимо колір саме для цього елемента на білий з пріоритетом */
}



/* Промо баннер */
.promo-banner {
    background-image: url('1.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    width: 100%;
    max-width: 600px;
    height: 150px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Промокод "MEDIOCILINDRO" */
.promo-text {
    position: absolute;
    top: 83%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: #cc3333;
    letter-spacing: 2px;
    text-shadow: 
        -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px  1px 0 #000,
        1px  1px 0 #000;
}

.section p {
    /* font-size: 3vw; */
    margin: 0;
    color: chartreuse;
}


/* Секция с блоками */
.section {
    padding: 0px;
    margin: 5px 0 0 0; /* Додаємо верхній відступ (20px) */
    border-radius: 5px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 10px;
}

.section h2 {
    font-size: 4vw;
    font-weight: 600;
    margin: 0;
}

.section p {
    font-size: 1vw;
    margin: 0px 0;
    line-height: 1;
}

.button {
    display: inline-block;
    padding: 8px 12px;
    margin: 10px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 3.5vw;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.button:hover {
    background-color: #0056b3;
}

.button i {
    margin-right: 6px;
}

.small-text {
    font-size: 3vw;
    color: #ffffff;
    text-align: center;
}

/* Сообщение о копировании */
.copy-alert {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffcc00;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 3.5vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.copy-alert.show {
    opacity: 1;
    visibility: visible;
    text-align: center;
}


.promoCodeCopy {
    cursor: pointer;
}


/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .promo-banner {
        font-size: 22px;
        height: 200px;
    }

    .promo-text {
        font-size: 28px;
    }

    .section h2 {
        font-size: 22px;
    }

    .section p {
        font-size: 16px;
    }

    .button {
        font-size: 16px;
        padding: 10px;
    }

    .small-text {
        font-size: 14px;
    }
}



/* Десктопная версия */
@media (min-width: 769px) {
    .container {
        max-width: 800px;
        margin: 0 auto;
        height: 100vh;
        justify-content: space-around;
    }

    .promo-banner {
        height: 200px;
        font-size: 28px;
        margin-bottom: 0; /* Прибираємо нижній відступ */
    }

    .promo-text {
        font-size: 28px;
    }

    .section h2 {
        font-size: 18px;
    }

    .section p {
        font-size: 14px;
    }

    .button {
        font-size: 16px;
        padding: 10px;
        width: 100%;
        max-width: 250px;
    }

    .small-text {
        font-size: 14px;
    }
}

