body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Основний контейнер */
.unsubscribe-container p{
    text-align: center;
}
.container_btn p {
    text-align: center;
}
.unsubscribe-container {
    margin: 50px 30px;
    background-color: white;
    padding: 20px;
    border-radius: 17px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    height: auto;
    min-height: 600px;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

/* Заголовок та текст */
h2 {
    font-size:  2.25rem;
    margin-bottom: 10px;
    font-weight: normal;
    text-shadow: none;
    text-align: center;
}
.container_btn h3{
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: none;
    font-weight: normal;
}

p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    text-align: justify;
}

/* Кнопки */

form {
    text-align: center; /* Центрирование содержимого */
}

/* Стили кнопок */
.subscribe-btn, .submit-feedback-btn {
    color: white;
    padding: 5px 10px;
    background-color: #1c9bd8;
    border: 1px solid #1683b6;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 11rem;


    margin: 10px auto; /* Центрирование кнопки по горизонтали */
    display: inline-block; /* Чтобы кнопки выровнялись через контейнер */
    text-align: center;
    text-decoration: none;
}

.subscribe-btn a, .submit-feedback-btn a {
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.subscribe-btn:hover, .submit-feedback-btn:hover {
    background-color: #005f7a;
}

.subscribe-btn a:hover, .submit-feedback-btn a:hover {
    color: white;
    text-decoration: none;
}

/* Текстовое поле */
textarea {
    width: 100%;
    height: 250px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    margin-top: 10px;
    font-size: 1rem;
    box-sizing: border-box;
}

textarea::placeholder {
    color: #aaa;
}

/* Контейнер для кнопок */
.container_btn {
    margin: 50px 30px;
    background-color: white;
    padding: 20px;
    border-radius: 17px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: auto;
    height: auto;
    text-align: left;
    box-sizing: border-box;
}


.a {
    text-decoration: none;
    color: white;
}

.a:hover {
    text-decoration: none;
    color: white;
}



/*  Адаптація */
@media (max-width: 768px) {
    .unsubscribe-container {
        max-width: 90%;
        padding: 15px;
        min-height: 60vh;
    }
    .container_btn {
        max-width: 90%;
        padding: 15px;
    }
    h2 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.9rem;
    }

    .subscribe-btn, .submit-feedback-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
        width: 8rem;
    }

    textarea {
        height: 150px;
    }
}

/* Адаптація для тел */
@media (max-width: 480px) {
    .unsubscribe-container {
        max-width: 95%;
        padding: 10px;
        min-height: 50vh;
    }

    h2 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.8rem;
    }

    .subscribe-btn, .submit-feedback-btn {
        padding: 3px 8px;
        font-size: 0.7rem;
        min-width: 100px;
    }

    textarea {
        height: 120px;
    }
}
