* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

body, input, button, select, textarea {
    font-family: 'Poppins', sans-serif;
}
body {
    
    background: #e5e5e5;
}

body::before {
    content: '';
    width: 100%;
    height: 320px;
    background-color: black;
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: -1;
    
}

.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;
}

header p {
    font-family: 'poppins',sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #42d3ff;
}

form {
    background: #fafafc;
    margin: auto;
    width: 700px;
    min-height: 300px;
    margin-top: 38px;
    border-radius: 8px 8px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 64px;
}

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 black;
    padding-bottom: 16px;
}

.input-wrapper {
    display: flex;
    flex-direction: column;

}


.input-wrapper label {
    margin-bottom: 8px;
}

.input-wrapper label span, 
.fieldset-wrapper label span,
.colum-3 {
    padding-left: 20px;
    color: #4a4756;
    
}

.input-wrapper label span:hover {
    color: #7d798e;
}

.input-wrapper input,
.input-wrapper select,
.fieldset-wrapper input {
   font-size: 16px;
    height: 56px;
    line-height: 26px;
    border-radius: 8px;
    padding: 0px 24px;
}

.input-wrapper textarea
 {
    font-size: 16px;
    height: 169px;
    line-height: 26px;
    border-radius: 8px;
    padding: 0px 24px;
}

.input-wrapper select {
    appearance: none;
    background: url(arrow-down_icon-icons.com_72377.svg);
    background-repeat: no-repeat;
    background-position: right 24px top 50%;
    background-size: 20px;
}

.colum-3 {
    display: flex;
    gap: 20px;
}

.colum-3 :nth-child(1) {
    width: 100%;
}



.input-checkbox {
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
}

.input-checkbox input:focus + label::before {
    outline: 2px solid black;
}

.input-checkbox input {
    opacity: 0;
    position: absolute;
    width: 18px;
    height: 18px;
    
}

.input-checkbox label::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 1px solid black;
    border-radius: 8px;
    display: block;
}

.input-checkbox label {
    display: flex;
    gap: 16px;
}

.input-checkbox input:checked + label::before {
    background: url(check-mark_2714-fe0f\ \(1\)\ 1.png);
}

footer {
    background: #f0f0f4;
    height: 136px;
    display: flex;
    flex-direction: column;
    padding: 40px 64px;
    margin-bottom: 100px;
    border-top: 1px solid #d9d6d6;
    border-bottom: 0px 0px 8px 8px;
    width: 700px;
    margin: auto;
}

footer .button {
    font-family: 'archivo';
    color: white;
    border-radius: 8px;
    height: 56px;
    font-size: 16px;
    font-weight: 600px;
    line-height: 26px;
    background: #04d361;
    border: none;
    cursor: pointer;
}

footer .button:hover {
    
    background: #05a44c;

}

