body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px 0; /* Добавляем отступы сверху и снизу */
    background: radial-gradient(circle at calc(50% - 200px) calc(50% - 100px), #fffff8 0%, #9a98a5 100%);
    font-family: Arial, sans-serif;
    margin-top: 20px; /* Добавляем отступ сверху для логотипа */
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 40%;
    height: auto;
}

.buttons {
    display: flex;
    flex-direction: column; /* делает кнопки вертикальными */
    gap: 15px;
    margin-top: 10px;
    align-items: center; /* выравнивание по центру */
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 25px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    text-align: center;
    height: auto;
    width: 220px;
    transition: 0.3s;
    box-shadow: 0 0 1px 1px white;
    font-size: 16px;
}

.button img {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.button:hover {
    background: black;
    color: white;
}

.backs {
    display: flex;
    flex-direction: column; /* делает кнопки вертикальными */
    gap: 15px;
    margin-top: 10px;
    align-items: center; /* выравнивание по центру */
}


.back {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 25px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    text-align: center;
    height: auto;
    width: 80px;
    transition: 0.3s;
    box-shadow: 0 0 1px 1px white;
    font-size: 16px;
}

.back img {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.back:hover {
    background: black;
    color: white;
}






.top-right-container {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.top-right {
    font-size: 14px;
    color: black;
    text-decoration: underline;
    display: flex;
    align-items: center;
}

.top-right img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .logo img {
        max-width: 60%;
    }

    .button {
        width: 180px;
        font-size: 14px;
        padding: 8px 16px;
    }

    .button img {
        width: 14px;
        height: 14px;
        margin-right: 4px;
    }

    .back {
        width: 80px;
        font-size: 14px;
        padding: 8px 16px;
    }

    .back img {
        width: 14px;
        height: 14px;
        margin-right: 4px;
    }


    .top-right-container {
        right: 8px;
        top: 8px;
    }

    .top-right {
        font-size: 12px;
    }

    .top-right img {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 80%;
    }

    .button {
        width: 160px;
        font-size: 13px;
    }

    .button {
        width: 60px;
        font-size: 13px;
    }

    .top-right-container {
        gap: 6px;
    }
}

.message {
    max-width: 600px;
    width: 90%;
    margin: 15px auto;
    padding: 20px;
    background: rgba(185, 185, 185, 0.85);
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    color: #333;
    font-size: 16px;
    text-align: left;
    backdrop-filter: blur(5px);
    box-sizing: border-box;
    word-wrap: break-word;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .message {
        width: 85%;
        padding: 15px;
        margin: 8px auto;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .message {
        width: 80%;
        padding: 12px;
        margin: 6px auto;
        font-size: 14px;
        line-height: 1.5;
    }
}






.content-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
