@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700');

body {
 margin: 0;
 padding: 0;
 font-family: Roboto, sans-serif;
    background-image: url(../img/photo.jpg);
 -webkit-background-size: cover;
 background-attachment: fixed;
 background-size: cover;
}

/* -----  Выравнивание по середине  -----*/
.wrapper {
 display: flex;
 height: 100vh;
 justify-content: center;
 align-items: center;
}

.dws-form{
   background-color: #ffffff3a;
padding: 10px;
border-radius: 1px 1px 20px 20px;

}

.dws-form a{
    text-decoration: none;
    transition: .5s;
    color: #942cc2;

}

.dws-form a:hover {
color: #36d2ff;
}

.dws-form ul{
    list-style: none;
    padding: 0;
    margin: 0;

}

.dws-form input{
    display: block;
    width: 100%;
}

.tab-form{
    background-color: #ffffff;
    display: none;
    padding: 30px 20px 20px;
}

.tab-form.active{
    display: block;
}

label.tab{
    color:#942cc2 ;
    font-weight: 600;
    padding: 15px;
    display: inline-block ;
    border-radius: 3px 3px 0 0;
    margin-bottom: -1px;
    cursor: pointer;
}

input[name="tabs"] {
    display: none;
}

.tab::before {
    content: '\f090';
    font-family: 'FontAwesome', sans-serif;
    font-size: 20px;
    margin-right: 9px;
    font-weight: normal;
}

.tab[for*='2']::before{
    content: '\f234';
}

label.tab.active {
     background-color: #ffffff; 
    color:#fcac49 ;

}
/* form */
.input{
    font-size: 16px;
    border: 1px solid #e9eaea;
    padding: 14px;
    box-sizing: border-box;
    margin-bottom: 22px;
    color:#942cc2 ;
    outline: none;
}

::-webkit-input-placeholder {color:#c4c9c9;}/* webkit */
::-moz-placeholder          {color:#298cad;}/* Firefox 19+ */
:-moz-placeholder           {color:#298cad;}/* Firefox 18- */
:-ms-input-placeholder      {color:#298cad;}/* IE */
 
a.button {
    background: #8018d1;
    color:#ffffff ;
    font-size: 18px;
    text-transform: uppercase;
    display: block;
    text-align: center;
    line-height: 48px;
    border-radius: 30px 30px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.social {
    display: flex;
    justify-content: space-between;
    font-size: 24px;
   }

   .social a {
    width: 40px;
    height: 40px;
    display: block;
    line-height: 40px;
    text-align: center;
   }
   
   .social + a {
    margin-top: 10px;
    display: block;
    font-size: 12px;
    text-align: center;
   }

   .social-2 {
    margin-top: 10px;
    display: block;
    font-size: 12px;
    text-align: center;
   }  

   .box-input {
      position: relative; 
   }

.box-input input {
    border: none;
    border-bottom: 1px solid #e9aeae ;
    padding: 10px 0;

}

.box-input label {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 10px;
    color: #c4c9c9;
    transition: 0.7s;pointer-events:none ;
    font-size: 16.1px;

}

.box-input input:focus ~ label,
.box-input input:valid ~ label {
    outline: 0px solid orange;
    top: -30px;
    font-size: 12px;
    color: #b62d2dd8;
}

.box-input-2 {
    position: sticky; 
}

.box-input-2 input {
  border: none;
  border-bottom: 1px solid #e9aeae ;
  padding: 10px 0;
}

.box-input-2 label {
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 10px;
  color: #c4c9c9;
  transition: 0.7s;pointer-events:none ;
}

.box-input-2 input:focus ~ label,
.box-input-2 input:valid ~ label {
  top: -24px;
  font-size: 12px;
  color: #b62d2dd8;
}

label[for='ckbox'] {
    cursor: pointer;
    padding-left: 35px;
    width: 240px;
    display: block;
    position: relative;
}

label[for='ckbox']::before { 
    content: '';
    position: absolute;
    border: 2px solid #c4c9c9;
    width: 15px;
    height: 15px;
    top: 0;
    left: 0;
    border-radius: 3px;
    transition: .2s;
}

#ckbox:checked + label::before {
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #408cc2;
    border-bottom: 2px solid #408cc2;
    transform: rotate(40deg);
    width: 10px;
    height: 20px;
    transform-origin: 100% 100%;
    top: -4px;
    left: -5px;
}

#ckbox:not(:checked),
#ckbox:checked {
    display: none;
}

.del{
    display: none;
}