﻿
.contact-form_button {
    background: linear-gradient(315deg, rgb(000,161,155), rgba(0, 75, 161, 1) 70%); 
    color: white; 
    font-size: clamp(0.6rem, 2.5vw, 1.1rem);
    border: none;
    border-radius: 5px;
    padding: 5px;
    width: 45%;

    /* background: #4a90e8;
    display: flex; display: -webkit-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 240px;
    margin: 30px auto 0;
    border-radius: 5px;
    height: 40px;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    border: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: .3s;
    padding: 2px 0 0 0; */
}
.contact-form_button_container{
    display: flex; display: -webkit-flex;
    width: 90%;
    height: auto;
}




.form-wrapper {
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 120;
}

.form-wrapper.open{
    display:flex;
    flex-wrap: wrap;
    position: fixed;
    overflow-y: scroll;

}

.contact-form {
    box-sizing: border-box;
    width: 100%;
    max-width: 540px;
    background: #fff;
    padding: 10px 30px;
    box-shadow: 0 3px 35px rgba(0, 0, 0, .1);
    border-radius: 10px;
    overflow: hidden;
}

.contact-form__title {
    box-sizing: border-box;
    margin: 0 -20px 0px;
    padding: 15px 20px;
    width: calc(100% + 40px);
    text-align: left;
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    /* box-shadow: 0px 3px 3px rgba(0, 0, 0, .15); */
}

/* Крестик */
.closebtn {
    margin-left: 15px;
    float: right;
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: rgb(19, 0, 128);
}

.contact-form__description {
    display: none;
    text-align: center;
    font-size: 18px;
}

.contact-form__inform{
    margin: 30px 0;
    text-align: center;
}


.contact-form__input-wrapper {
    margin: 15px 0;
    display: flex; display: -webkit-flex;
    flex-wrap: wrap;
    align-items: center;
}
.input_button{
    margin: 0 0 15px;
    display: flex; display: -webkit-flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
}

.contact-form__input-wrapper-label{
    width: max-content;
}

.contact-form__input {
    width: 100%;
    height: 32px;
    padding: 5px 5px;
    box-sizing: border-box;
    border: 1px solid #e2e2e2;
    background: #fbfbfb;
    border-radius: 5px 0 0 5px;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);

    -webkit-appearance: none;
}

.contact-form__text {
    height: 50px;
    padding: 15px;
    resize: vertical;
    font: 16px 'PT Sans',
        sans-serif;
}

.contact-form__checkbox {
    -webkit-appearance: checkbox;
    width: 15px;
    height: 15px;
    margin: 0 15px 0 0;
}

.contact-form__checkbox-label {
    width: calc(100% - 30px);
    font-size: 13px;
}

.contact-form__checkbox-label a {
    text-decoration: none;

}

.contact-form__file {
    padding: 12px 15px;
}

.contact-form__error {
    font-size: 14px;
    width: 100%;
}

.contact-form__button {
    background: #4a90e8;
    display: flex; display: -webkit-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 240px;
    margin: 20px auto 0;
    border-radius: 5px;
    height: 40px;
    color: #fff;
    border: none;
    padding: 2px 0 0 0;
}
.contact-form__button a{
    color: #fff;
    font-size: 16px;
}
.form_copy {
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 5px 5px;
    width: 60px;
    height: 32px;
    font-family: roboto-light;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: white;
    background-color: #000000;
  }

 :disabled {
    background: #ccc;
  }

  .contact-form__message_field{
    height: 15px;
  }
 

@media (max-width: 480px) {
    .form-wrapper {
        padding: 15px;
    }

    .contact-form {
        padding: 0 15px 15px;
    }

   

    .contact-form__checkbox {
        margin-top: 1px;
    }

    .contact-form__checkbox-label {
        font-size: 14px;
    }

    .contact-form__input-wrapper {
        align-items: flex-start;
    }

}

/* Стили страницы благодарности */

.thank-you-page {
    background: url('./img/bg.png') top center no-repeat;
    padding: 15px;
}

.thank-you-page__title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
}

.thank-you-page__descriptor {
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.thank-you-page__button {
    box-sizing: border-box;
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    background: #4a90e8;
    transition: .3s;
    display: flex; display: -webkit-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    height: 50px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;

}

.thank-you-page__button:hover {
    transition: .3s;
    background: #2eb7ab;
}