html, body, main {
    height: 100%;
}

body {
    background-color: #E5E5E5;
}

.header {
    background-color: #FE2F51;
    height: 86px;
}

.header strong {
    font-weight: 800;
    line-height: 28px;
    font-size: 28px;
    margin-left: 8px;
}

form {
    max-width: 643px;
}

.feedback-wrapper {
    padding: 0 16px;
}
.feedback-wrapper h1 {
    color: #212121;
    height: 32px;
    font-size: 32px;
    line-height: 32px;
}

.panel {
    min-height: 356px;
    padding: 24px;
    border-radius: 24px;
}

.form-label {
    color: #212121;
    font-size: 22px;
    line-height: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.form-control {
    font-weight: 500;
    line-height: 16px;
    color: #212121;
    background-color: #f1f1f1;
    border: none;
    border-radius: 8px;
    caret-color: #1a73e9;
}
.form-control:focus {
    color: #212121;
    background-color: #f1f1f1;
    border: 1px solid #1a73e9;
    box-shadow: none;
}
.was-validated .form-control:invalid, .was-validated .form-control:invalid:focus {
    background-image: none;
    border: 1px solid #ff2d2d;
    box-shadow: none;
}
.was-validated .form-control:valid, .was-validated .form-control:valid:focus {
    background-image: none;
    border: none;
    box-shadow: none;
}

.form-row {
    margin-bottom: 20px;
}
.form-row:last-child {
    margin-bottom: 0;
}

.form-text {
    height: 20px;
    margin-top: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: rgba(33, 33, 33, 0.6);
}

#email {
    height: 48px;
    padding: 16px;
}

#description {
    height: 144px;
    resize: none;
    padding: 16px 16px 28px;
    line-height: 140%;
}

.btn-primary {
    margin: 24px auto 0;
    max-width: 280px;
    width: 100%;
    height: 44px;
    border: none;

    --bs-btn-font-weight: 600;
    --bs-btn-font-family: "Manrope";
    --bs-btn-font-size: 16px;
    --bs-btn-line-height: 16px;
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #fe2f51;
    --bs-btn-border-color: #fe2f51;
    --bs-btn-border-radius: 24px;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #fe2f51;
    --bs-btn-hover-border-color: #fe2f51;
    --bs-btn-focus-shadow-rgb: #fe2f51;
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #fe2f51;
    --bs-btn-active-border-color: #fe2f51;
    --bs-btn-disabled-color: #c7c8cd;
    --bs-btn-disabled-bg: #f2f2f2;
    --bs-btn-disabled-border-color: #f2f2f2;

    --bs-btn-padding-y: 14px;
    --bs-btn-padding-x: 16px;
}

.invalid-feedback {
    color: #ff2d2d;
    height: 20px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

#count_message {
    line-height: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.002em;
    color: rgba(33 , 33, 33, 0.6);
    margin: -20px 6px 16px 0;
}

.modal-dialog {
    max-width: 205px;
    margin: auto;
}
.modal-content {
    padding: 24px;
    border: none;
}
.modal-header {
    padding: 0 0 8px 0;
    justify-content: center;
    border: none;
}
.modal-body {
    padding: 8px 0 0 0;
}
.modal-body p {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    color: #212121;
}

@media (max-width:481px) {
    header svg {
        display: none;
    }

    .header strong {
        margin-left: 0;
    }

    .feedback-wrapper h1 {
        height: 22px;
        font-size: 22px;
        line-height: 22px;
    }

    .panel {
        min-height: 372px;
        border-radius: 8px;
    }

    .form-label {
        font-size: 20px;
        line-height: 100%;
        font-weight: 700;
    }

    .form-text {
        height: 40px;
    }
}
