body {
    background-color: #0e0e0ed5;
    color: white;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    background-image: url('https://shitpost.chayka43.ru/files/3617796c-4495-4ee9-907a-093fd2cbe5ce.jpg');
    background-size: cover;          /* изображение покрывает весь экран */
    background-position: center;     /* центрирование */
    background-repeat: no-repeat;    /* без повторения */
    background-attachment: fixed;    /* фон остаётся неподвижным при прокрутке */
    background-blend-mode: multiply;
}

.rectangle {
    width: 50%;
    height: 100px;
    background: #1d1d1d;
    border-radius: 15px;
    border: 3px solid #ffffff;
    box-shadow: 0 0 15px rgba(173, 173, 173, 0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    animation: glowPulse 2.5s ease-in-out infinite;
    margin-left: auto;
    margin-right: auto;
}

.maintext {
    font-style: italic;
    font-weight: bold;
    font-size: 30px;
    font-family: Arial, sans-serif;
    text-shadow: 1px 1px 2px rgb(255, 255, 255);
    color: white;
    margin: 0;
    flex-shrink: 0;
    animation: textPulse 2.5s ease-in-out infinite;
    margin-left: auto;
    margin-right: auto;
}


.color1 {
    color: #00fff2;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.color2 {
    color: #ff9100;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 15px rgba(173, 173, 173, 0.3); }  /* Тусклая */
    50% { box-shadow: 0 0 25px rgba(173, 173, 173, 0.9); } /* Яркая */
    100% { box-shadow: 0 0 15px rgba(173, 173, 173, 0.3); } /* Снова тусклая */
}

@keyframes buttonPulse {
    0% { box-shadow: 0 0 15px rgba(173, 173, 173, 0.3); }  /* Тусклая */
    50% { box-shadow: 0 0 25px rgba(173, 173, 173, 0.519); } /* Яркая */
    100% { box-shadow: 0 0 15px rgba(173, 173, 173, 0.3); } /* Снова тусклая */
}

@keyframes mainButtonPulse {
    0% { box-shadow: 0 0 15px rgba(173, 173, 173, 0.3); }  /* Тусклая */
    50% { box-shadow: 0 0 25px rgba(173, 173, 173, 0.540); } /* Яркая */
    100% { box-shadow: 0 0 15px rgba(173, 173, 173, 0.3); } /* Снова тусклая */
}

@keyframes textPulse {
    0% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.2); }  /* Тусклая */
    50% { text-shadow: 0 0 25px rgba(244, 243, 243, 0.701); } /* Яркая */
    100% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.2); } /* Снова тусклая */
}

.inline-buttons {
    display: flex;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.btn-inline {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 6px;
    transition: 0.2s;
    background-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid #ffffffab;
    cursor: pointer;
}

.main-btn-inline {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 6px;
    transition: 0.2s;
    background-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid #ffffffab;
    animation: mainButtonPulse 2.5s ease-in-out infinite;
    cursor: pointer;
}

@media (max-width: 600px) {
    .rectangle {
        height: auto;
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }
    .inline-buttons {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    .btn-inline {
        min-width: 120px;
    }
}


.header {
    padding-bottom: 5px;
    border-bottom: 2px solid #333;
    font-size: 20px;
    color: #e0e0e0;
    margin-top: 25px;
    margin: 25px auto 0;
    width: 45%; 
}

.content {
    margin-top: 25px;
    margin: 25px auto 0;
    margin-left: 28%;
}

img.emoji {
    height: 2em;        /* Высота равна размеру текущего шрифта */
    width: auto ;        /* Ширина подстроится автоматически */
    vertical-align: middle; /* Выравнивание по центру строки */
    display: inline-block;  /* Чтобы вела себя как буква */
    margin: 0 0.05em;   /* Небольшой отступ, как у настоящих эмодзи */
    transition: transform 0.3s ease-in-out;
}

img.emoji:hover {
    transform: scale(1.5);
}
