* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: Arial;
    font-size: 16px;
    line-height: 1.4;
    background-color: rgb(21, 21, 21);
    color: #fff;
}
img,
svg {
    max-width: 100%;
    vertical-align: top;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
}
p {
    margin-top: 0;
    margin-bottom: 0;
}
a {
    text-decoration: none;
}
input,
select,
textarea {
    width: 100%;
    font-size: 16px;
    font-family: Arial;
    background: none;
    border: 2px solid rgba(255,255,255, 0.5);
    border-radius: 45px;
    padding: 20px 55px 20px 35px;
    color: #fff;
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
}
input[type="checkbox"],
input[type="radio"] {
    width: auto;
    display: none;
}
label a {
    color: rgb(255, 189, 67);
}
select {
    appearance: none;
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: calc(100% - 25px) 50%;
    background-image: url(img/select-arrow.svg);
    cursor: pointer;
}
optgroup {
    color: rgb(35, 35, 35);
    padding-left: 0;
    margin-left: 0;
}
button {
    font-size: 16px;
    font-family: Arial;
    border: none;
}
label {
    display: block;
    position: relative;
    font-size: 14px;
    color: rgba(255,255,255, 0.5);
}
.label_span {
    position: absolute;
    top: 21px;
    left: 27px;
    background-color: rgb(35, 35, 35);
    padding-left: 10px;
    padding-right: 10px;
    transition: 500ms;
}

.input_label {
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) 50%;
}
.input_label:valid {
    background-image: url(img/input-valid.svg);
}

.input_label:focus + .label_span,
.input_label:valid + .label_span,
select:valid + .label_span {
    top: -10px;
}


/* Checkbox */
.label_checkbox {
    position: relative;
    padding-left: 35px;
}
.label_checkbox::before,
.label_checkbox::after {
    content: '';
    position: absolute;
    width: 19px;
    height: 19px;
}
.label_checkbox::before {
    top: 0;
    left: 0;
    border: 1px solid rgb(0, 136, 255);
    border-radius: 100%;
}
.label_checkbox::after {
    top: -1px;
    left: 4px;
    background-image: url(img/check.svg);
    background-size: 100%;
    transition: 150ms;
    transform: scale(0);
}
.input_checkbox:checked + .label_checkbox::after {

    transition: 500ms;
    transform: scale(1);
}


.container {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.indent {
    padding-top: 70px;
    padding-bottom: 70px;
}

.button {
    display: inline-block;
    background-color: rgb(0, 136, 255);
    color: #fff;
    border-radius: 45px;
    padding: 27px 45px;
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    transition: 100ms;
    cursor: pointer;
}
.button:hover {
    box-shadow: 0 10px 35px rgba(0, 136, 255, 0.5);
}
.button:active {
    transform: scale(0.9);
}






.reg_form {
    width: 550px;
    margin-left: auto;
    margin-right: auto;
    padding: 45px;
    border-radius: 45px;
    background-color: rgb(35, 35, 35);
    border: 1px solid rgb(71, 71, 71);
    box-shadow: 0 0 15px rgb(71, 71, 71);
}
.reg_form h1 {
    margin-bottom: 15px;
}

.form_row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}
.form_col_50,
.form_col_100 {
    margin: 12px 10px;
}
.form_col_50 {
    width: calc(50% - 20px);
}
.form_col_100 {
    width: calc(100% - 20px);
}
