/* Font Import - Both Inter and Rokkitt are being imported with this link */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400&family=Rokkitt:wght@200;300;400&display=swap');


/* BEGINNING OF CODE FOR THIS FORM STYLING PAGE SPECIFICALLY */

:root {
    --input-font-size: 1.2em;
    --input-width: 20em;
    --input-height: 3em;
    --input-padding: 1em;
}    

.reg-form-hero {
    height: 20em;
    background-color: var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
}

.reg-form-hero-header {
    color: #fff;
    font-weight: 300;
    font-size: 6em;
}

/* beginning of form */

.reg-form-first-header {
    padding-top: 2em;
}


.form-div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-section-header {
    margin-top: 2em;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-top: 2em;
}

label {
    color: #fff;
    font-size: 1.2em;
}

input {
    width: var(--input-width);
    height: var(--input-height);
    margin-top: 0.5em;
    padding: var(--input-padding);
    font-size: var(--input-font-size);
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 18px;
}

input:hover {
    border-color: #53ff7b;
    box-shadow: 1px 1px 10px #53ff7b45;
}

input:valid {
    border-color: var(--blue);
    box-shadow: inset 0 0 10px #2d9bdb9c;
}

select {
    width: var(--input-width);
    height: var(--input-height);
    margin-top: 0.5em;
    padding: var(--input-padding);
    padding: 10px;
    /* font-family: 'Rokkitt'; */
    font-size: var(--input-font-size);
    /* letter-spacing: 0.8px; */
    background-color: #000;
    color: #cecece;
    border: 1px solid #fff;
    border-radius: 18px;
}

select:hover {
    border-color: #53ff7b;
    box-shadow: inset 0 0 10px #2d9bdb9c;
}

select:valid {
    border-color: var(--blue);
    box-shadow: inset 0 0 10px #2d9bdb9c;
}

option {
    padding: 10px;
}

.checkbox-container {
    display: flex;
    flex-direction: column;
    margin-top: 1.5em;
}

input[type="checkbox"] {
    width: 30px;
    height: 30px;
    background-color: #000;
    margin-right: 0.8em;
}

textarea {
    width: var(--input-width);
    height: 10em;
    margin-top: 0.5em;
    padding: var(--input-padding);
    font-family: 'Inter';
    font-size: var(--input-font-size);
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    background-color: #000;
    background-clip: padding-box;
    border: 1px solid #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 18px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

textarea:hover {
    border-color: #53ff7b;
    box-shadow: inset 0 0 10px #2d9bdb9c;
}

textarea:focus {
    border-color: #afffc2;
    box-shadow: inset 0 0 10px #2d9bdb9c;
}

textarea:valid {
    border-color: var(--blue);
    box-shadow: inset 0 0 10px #2d9bdb9c;
}

.double-input {
    width: 84%;
    display: flex;
    justify-content: space-between;
}

.birth-flex {
    display: flex;
    justify-content: space-between;
    width: 48em;
}

.birth-flex-item {
    width: 12em;
}

.health-margin {
    margin-top: 2em;
}

.form-instructions {
    font-size: 1.2em;
    text-align: left;
    line-height: 1.4em;
}

/* MEDIA QUERIES - Used so the content of the website will respond to the size of the user's screen. (Makes content adapt for tablet and mobile screens.) */

@media screen and (max-width: 61.9em) {
    .form-instructions {
        max-width: 90vw;
    }
}

@media screen and (max-width: 59.6em) {
    .double-input {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .birth-flex {
        width: auto;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 48em) {
    /* tablet < 48em or 768px */
    .reg-form-hero-header {
        font-size: 4em;
    }
    .double-input {
        flex-direction: column;
    }
}

/* @media screen and (max-width: 30em) { /* mobile < 480px  } */

@media screen and (max-width: 26em) {
    input {
        width: 90vw;
    }
    select {
        width: 90vw;
    }
    textarea {
        width: 90vw;
    }
    .form-instructions {
        font-size: 1em;
    }
}

