* {
    box-sizing:border-box;
}

body{
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.iframe {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100vh;
}

.container{
    width: 100%;
    max-width: 700px;
    margin: auto;
    padding: 100px 0 110px;  
    -webkit-box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.content {
    max-width: 500px;
    margin: 0 auto;
}

.offer-name {
    text-align: center;
}

.offer-title {
    margin: 0 0 30px;
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    letter-spacing: 0.02em;
    color: #D63740;
}

.offer-image img {
    display: block;
    width: 162px;
    margin: 0 auto;
}

.form__wrapp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.form-select {
    width: 100%;
}

.form-group {
    width: 100%;
    margin-top: 15px;
}

.form-control {
    display: block;
    padding: 15.5px 10px 15.5px 48px;
    width: 100%;
    border: 1px solid #D2D2D2;
    border-radius: 4px;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.005em;
    color: #333;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 15.5px center;
    -webkit-transition: border-color .3s ease-in-out;
    -o-transition: border-color .3s ease-in-out;
    transition: border-color .3s ease-in-out;
}

.wv_name {
    background-image: url("../img/name.svg");
}

.wv_phone {
    background-image: url("../img/phone.svg");
}

.form-control:focus,
.form-control:hover{
    border-color: #D63740;
    outline: none;
}

.form-control:focus:required:invalid {
    border-color: #ca1a03;
  }
  
.form-control:required:valid {
    border-color: #359712;
}

.form-control::placeholder{
     color:#717171;
}

.country_select {
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select{
    position: relative;
    height: 1px;
}

.form-btn {
    margin: 30px 0 40px;
    width: 100%;
}

.btn-buy {
    position: relative;
    display: block;
    padding: 26px 0 26px;
    width: 100%;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    overflow: hidden;
    color: #fff;
    cursor: pointer;  
    background: -webkit-gradient(linear, left top, right top, from(#D63740), to(#FA2A36));
    background: -o-linear-gradient(left, #D63740 0%, #FA2A36 100%);
    background: linear-gradient(90deg, #D63740 0%, #FA2A36 100%);
}

/* .btn-buy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 34%;
    width: 24px;
    height: 24px;
    background-image: url('../img/btn.svg');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
} */

.animated-button::after {
    content: "";
    position: absolute;
    height: 0%;
    left: 50%;
    top: 50%;
    width: 150%;
    -webkit-transition: all 0.75s ease 0s;
    -o-transition: all 0.75s ease 0s;
    transition: all 0.75s ease 0s;
}
  
.animated-button:hover:after {
    height: 450%;
}
  
.sandy-three::after {
    border: 6px solid #e65f71;
    opacity: 0;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    transform: translateX(-50%) translateY(-50%) rotate(-25deg);
}
  
.sandy-three:hover:after {
    height: 400%;
    opacity: 1;
    color: #fff;
}

.form-attention {
    margin: 0 auto;
    max-width: 300px;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.5px;
    text-align: center;
    color: #717171;
}

.text-decoration {
    text-decoration: underline;
}

@media screen and ( max-width : 1400px){
    .container{
        max-width: 570px;
        padding: 70px 0 40px;  
    }

    .content {
        max-width: 430px;
    }

    .offer-title {
        font-size: 30px;
        line-height: 35px;
    }

    .offer-image img {
        width: 112.3px;
    }

    .btn-buy {
        padding: 21px 0 21px;
    }

    /* .btn-buy::before {
        left: 30%;
    } */
}

@media screen and ( max-width : 768px){

    body{
        margin: 0;
    }

    .container{
        max-width: 100%;
        padding: 15px; 
        -webkit-box-shadow: none;
        box-shadow: none; 
    }

    .content {
        max-width: 368px;
    }

    .offer-image img {
        width: 130.9px;
    }

    .offer-title {
        font-size: 36px;
        line-height: 42px;
    }

    /* .btn-buy::before {
        left: 28%;
    } */
}

@media screen and ( max-width : 500px){

    .container{
        max-width: 100%;
        padding: 20px; 
    }

    .content {
        max-width: 100%;
    }

    .offer-image img {
        width: 131px;
    }
}

@media screen and ( max-width : 413px){

    .offer-title {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 28px;
    }

    .offer-image img {
        width: 95px;
    }

    .form-btn {
        margin: 20px 0 30px;
    }

    .btn-buy {
        padding: 19.5px 0;
        font-size: 18px;
        line-height: 21px;
    }

    /* .btn-buy::before {
        left: 25%;
    } */
}