@import url('https://fonts.googleapis.com/css2?family=Sen:wght@400..800&display=swap');

.form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.form-container>label {
    font-size: var(--size-18);
    font-weight: var(--weight-600);
    color: var(--white);
}

.form-container>:is(input, textarea, select) {
    padding: 15px;
    background: transparent;
    border-radius: 12px;
    outline: none;
    border: 1px solid var(--header);
    border-radius: 0;
    letter-spacing: 2px;
    transition: all 0.4s ease-in-out;
    resize: vertical;
    width: 40%;
    font-size: var(--size-14);
    color: var(--white);
    font-family: "Sen", sans-serif;
}

.form-container>textarea {
    height: 200px;
}

.form-container>:is(input, textarea, select):hover {
    border: 1px solid var(--header);
    background: var(--header);
    color: var(--white);
    transition: all 0.4s ease-in-out;
}

.form-container>::-webkit-file-upload-button {
    border: 1px solid var(--white);
    background: var(--white);
    padding: 10px 15px;
    cursor: pointer;
    color: var(--header);
}

input::placeholder,
textarea::placeholder,
select::placeholder {
    color: var(--white);
}

.checkbox-container {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-content {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.checkbox-content>p {
    margin: 0;
}

input[type="checkbox"] {
    flex: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: var(--size-18);
    height: var(--size-18);
    border: 1px solid var(--white);
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    outline: none;
}

input[type="checkbox"]:checked::before {
    content: "\f00c";
    color: var(--white);
    background: var(--header);
    width: 19px;
    height: 19px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--size--14);
}

form:invalid button[type="submit"] {
    pointer-events: none;
    opacity: .3;
}