*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background: #e5e5e5;
}

body, input, select, textarea{
  font-family: 'Popins' sans-serif;
}

body::before{
  position: absolute;
  width: 99.4%;
  height: 368px;
  top: 0;
  left: 0;
  background: #121214;
  z-index: -1;
  content: 'asdf';
}

.page{
  width: 736px;
  
  margin: auto;
}

header{
  
  width: 319px;
  margin-top: 74px;
}

header h1{
  font-family: 'archivo', sans-serif;
  font-weight: bold;
  font-size: 36px;
  line-height: 42px;
  color: white;

  margin-bottom: 24px;
}

header p{
  font-size: 16px;
  line-height: 26px;
  color: #42d3ff;
}

form{
  background: #fafafc;
  min-height: 300px;
  margin-top: 38px;
  border-radius: 8px 8px 0 0;
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

fieldset{
  border: none;
}

.fieldset-wrapper{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

fieldset legend{
  font-family: 'Archivo' sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 34px;
  width: 100%;
  border-bottom: 1px solid #e6e6f0;
  padding-bottom: 16px;
}

.input-wrapper{
  display: flex;
  flex-direction: column;
}

.input-wrapper label,
.checkbox-wrapper label{
  font-size: 14px;
  line-height: 24px;
  color: #4e4958;
  margin-top: 8px;
}

.input-wrapper label span{
  margin-left: 12px;
  font-size: 12px;
  line-height: 20px;
  color: #6c6a71;
}

.input-wrapper input, 
.input-wrapper textarea,
.input-wrapper select{
  background: #fafafc;
  border: 1px solid #e6e6f0;
  border-radius: 8px;
  height: 56px;
  padding: 0 24px;
  font-size: 16px;
  line-height: 26px;
  color: #6c6a71; 
  appearance: none;
  -webkit-appearance: none;
}

.input-wrapper textarea{
  padding: 0;
  height: 168px;
}

.col-3{
  display: flex;
  gap: 20px;
}

.col-3 > div:nth-child(1){
  width: 100%;
}


.checkbox-wrapper label{
  align-items: center;
  margin: 0;
  display: flex;
  gap: 16px;
}

.checkbox-wrapper{
  position: relative;
}

.checkbox-wrapper input{
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  opacity: 0;
}

.checkbox-wrapper label::before{
  content: '';
  width: 24px;
  height: 24px;
  border: 1px solid #e6e6f0;
  display: block;
  border-radius: 8px;
}

.checkbox-wrapper input:checked + label::before{
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.00016 16.1698L4.83016 11.9998L3.41016 13.4098L9.00016 18.9998L21.0002 6.99984L19.5902 5.58984L9.00016 16.1698Z' fill='%2342D3FF'/%3E%3C/svg%3E%0A");
}

.checkbox-wrapper input:focus + label::before{
  outline: 2px solid black;
}

footer{
  background: #f0f0f4;
  height: 136px;
  display: flex;
  flex-direction: column;
  padding: 40px 64px;
  margin-bottom: 100px;
  border-top: #d6d6d6 1px solid;
  border-radius: 0 0 8px 8px;
}

footer .button{
  height: 56px;
  border-radius: 8px;
  background: #04d361;
  border: 0;
  font-family: 'Archivo';
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  color: #fff;
}

footer .button:hover{
  background: #08a04c;
}

input:invalid{
  border: 1px solid #ff1010;
}