@import url("reset.css");

/*-------------------font------------------*/

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


/*----------------------body-----------------*/
header, nav, section, article, aside, footer {
    display: block
}

html {
    /*height: 100%*/
}

body {
    font: 500 22px/26px 'Roboto', Arial, Helvetica, sans-serif;
    color: #2F1141;
    letter-spacing: -0.03em;
    -webkit-text-size-adjust: none;
    background: url(../images/bg.avif) no-repeat center top;
    background-size: cover;
}

@media (max-width: 750px) {
    body {
        background-image: url(../images/bg-mobile.avif);
    }
}

.main {
    position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  
}
.main::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
 
  background:rgba(0,0,0,.5);
  filter: blur(10px);
  z-index: 1;
}

a {
    color: #2F1141;
    text-decoration: none;
    opacity: .3;
    letter-spacing: 0;
    text-transform: uppercase;
}

a:hover {
    opacity: 1;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

* {
    box-sizing: border-box;
}


/*------------------------------button-------------------------*/
.btn {
    height: 52px;
    width: 100%;
    display: block;
    transition: all 0.2s linear;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 26px;
    font: 500 24px/22px 'Roboto', Arial, Helvetica, sans-serif;
    padding: 15px 0px;
    text-align: center;
    color: #fff;
    background: #FF4200;
    text-transform: uppercase;
   margin: 36px 0 18px;
   opacity: 1;
   letter-spacing: 0;
}

.btn:hover {
    background: #2F1141;

}

/*-------------------------home-----------------------*/
.div_cookie, .div_form{
    background: #F6F4F6;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0) rotateX(90deg);
    z-index: 2;
    border-radius: 30px;
    width: 710px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.2s linear;
}
.div_cookie.active, .div_form.active{
     transform: translate3d(-50%,-50%,0) rotateX(0);
}
h2{
    font: 700 24px/24px 'Roboto', Arial, Helvetica, sans-serif;
    letter-spacing: -.05em;
    padding-bottom: 26px;
}

.div_form p{
    max-width: 341px;
    margin: 0 auto;
}
.div_form a{
    text-transform: none;
    display: inline;
    color: #FF4200;
    opacity: 100%;
}
.div_form a:hover{
    text-decoration: underline;
}
/*-------------------------------form---------------------------*/

form{
    position: relative;
}
.input_pic{
    position: absolute;
    right: 11px;
    top: 12px;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
    border: none;
    border: 1px solid #2F1141;
    width: 100%;
    height: 52px;
    position: relative;
    font: 500 22px/26px 'Roboto', Arial, Helvetica, sans-serif;
    color: #2F1141;
    padding: 18px 20px;
    display: block;
    margin: 35px 0px 20px;
    text-align: left;
    transition: all 0.3s linear;
    box-sizing: border-box;
    border-radius: 8px;
    background: #fff;

}

input[type="submit"] {
    border: none;
    display: block;
    font: 500 24px/24px 'Inter', Arial, Helvetica, sans-serif;
    height: 52px;
    width: 100%;
    text-decoration: none;
    background: #FF4200;
    text-align: center;
    padding: 0px 10px 0px;
    color: #fff;
    text-transform: uppercase;
    margin-top: 40px;
    cursor: pointer;
    transition: all 0.2s linear;
    border-radius: 26px;
}

input[type="submit"]:hover{
    background: #2F1141;
}

input[type="submit"]:disabled,
button:disabled {
  background-color: #ccc;        
  color: #666;                         
  cursor: not-allowed;           
  opacity: 0.7;                   
  transition: all 0.2s ease;      
}

::-webkit-input-placeholder {
    color: #2F1141;
    opacity: 1;
    transition: opacity 0.3s ease;
}

::-moz-placeholder {
    color: #2F1141;
    opacity: 1;
    transition: opacity 0.3s ease;
}

:-moz-placeholder {
    color: #2F1141;
    opacity: 1;
    transition: opacity 0.3s ease;
}

:-ms-input-placeholder {
    color: #2F1141;
    opacity: 1;
    transition: opacity 0.3s ease;
}

:focus::-webkit-input-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

:focus::-moz-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

:focus:-moz-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

:focus:-ms-input-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 16px;
  user-select: none;
  position: relative;
  text-align: left;
}

.custom-checkbox input {
  display: none;
}
.span_content{
    width: calc(100% - 26px);
}
.checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid #2F1141;
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  transition: all 0.2s ease;
  background: #fff;
}


.custom-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -2px;
  width: 6px;
  height: 12px;
  border: solid #2F1141;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
/*---------------------media------------------*/
@media (max-width: 750px) {
  .div_cookie, .div_form{
    width: 90%;
  }
}

