form {
    padding: 40px;
    background-color: var(--white);
    color: var(--black1);
    border-radius: var(--brad);

    box-shadow: 1px 10px 77px #00000012;
}
form h3,
form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

form > div {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
}
form > div > * {
    flex: 1 1 100%;
}
select:focus,
input:focus,
input:active {
    outline: none;
}

input::placeholder {
    color: var(--black1);
    opacity: 0.7;
}
input,
label,
select {
    padding: 18px 16px;
    border-radius: var(--brad);
    width: 100%;

    font-size: 20px;
    color: var(--black1);
}
input {
    background-color: #f3f3f3;
    border: none;
}
/*  */
/*  */
/*  */
/*  */
/*  */
label {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 0;
}
label p {
    margin-bottom: 8px;
    font-size: 16px;
    opacity: 1;
}
.agree {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
.agree > * {
    flex: 1 1 1%;
}
.agree > input {
    width: 15px;
    height: 15px;
}
.agree > label {
    flex: 1 1 99%;
}
form:has(> div + p) div {
    margin-bottom: var(--mar-s) !important;
}
form:has(> div + p) p {
    margin-bottom: 0;
}
@media (max-width: 992px) {
    form > div {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    form h3,
    form h2 {
        font-size: 20px;
    }
}
