body {
            font-family: 'Montserrat', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            background-image: url("back_mail.jpg"); /* Путь к вашей картинке */
            background-size: cover; /* Масштабирование картинки, чтобы она покрывала весь экран */
            background-position: center; /* Центрирование картинки */
            background-repeat: no-repeat; /* Отключение повторения картинки */
            background-attachment: fixed; /* Фиксирование фона при прокрутке */
        }
        
        
        .container {
            width: 100%;
            max-width: 600px;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            text-align: center;
            

background: linear-gradient(119deg, rgba(12,4,17,1) 0%, rgba(64,10,75,1) 68%, rgba(115,2,97,1) 100%);
        }
        .form {
            max-width: 550px;
            margin: 0px auto;
            padding: 30px 0;
           
        }

        .form__body{
        position: relative;
        }
        .form__body::after{
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(51, 51, 51, 0,9) url(../assets/images/loading.gif) center / 50px no-repeat;
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s ease 0s;
        }

        .form__body._sending::after{
            opacity: 1;
            visibility: visible;
        }


        .form__title {
            font-size: 36px;
            margin-bottom: 20px;
            color: #fff;
        }
        .form__item {
            margin-bottom: 15px;
        }
        .form__label {
            font-size: 14px;
            margin-bottom: 5px;
            color: #fff;
            display: block;
            text-align: left; /* Выравнивание по левому краю */
        }
        .form__input {
            width: 100%;
            height: 50px;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
        }
        .form__input:focus {
            border-color: #007bff;
            outline: none;
        }
        .form__input._error{
        box-shadow: 0 0 15px darkred;
        }

        .form__button {
            width: 100%;
            min-height: 60px;
            padding: 10px 15px;
            font-size: 30px;
            color: #000;
            background-color: #fff;
            border: solid 3px #502958;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
            letter-spacing:1px;
            font-family: 'Montserrat', sans-serif;
            font-weight:bold;
        }
        
        .form__button:hover {
            background-color: #000;
            color:#fff;
            border: solid 3px #000;
        }
        
        .form__button i {
    margin-left: 10px;
  font-size:23px;
}
        
.home__link {
    display: inline-block;
    margin-top: 40px;
    text-align: center;
    color: #888;
    text-decoration: none;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}
.home__link:hover {
    text-decoration: underline;
    color:#fff;
}


        textarea.form__input{
            min-height: 120px;
            resize: vertical;
            padding: 10px;
        }
        
        
        @media only screen and (max-width: 600px) {
    body {
        background-image: none;
        background-color: black;
    }
}
