label {
    font-family: var(--baskerville-font);
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 20px 0 0 0;
    width: 100%;
    display: block;
}

select {
    width: 100%;
    padding: 12px 20px 12px 12px;
    margin: 8px 0;
    display: inline-block;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    position: relative;
    font-family: var(--baskerville-font);
    font-size: 1rem;
    letter-spacing: 2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #f8f8f8;
    color: #c0bfbf;
}

select option {
    font-family: var(--baskerville-font);
    margin-left: 20px;
}

select.minimal {
    background-image:
            linear-gradient(45deg, transparent 50%, gray 50%),
            linear-gradient(135deg, gray 50%, transparent 50%),
            linear-gradient(to right, #ccc, #ccc);
    background-position:
            calc(100% - 20px) calc(1em + 2px),
            calc(100% - 15px) calc(1em + 2px),
            calc(100% - 2.5em) 0.5em;
    background-size:
            5px 5px,
            5px 5px,
            1px 1.5em;
    background-repeat: no-repeat;
}

select.minimal:focus {
    background-image:
            linear-gradient(45deg, green 50%, transparent 50%),
            linear-gradient(135deg, transparent 50%, green 50%),
            linear-gradient(to right, #ccc, #ccc);
    background-position:
            calc(100% - 15px) 1em,
            calc(100% - 20px) 1em,
            calc(100% - 2.5em) 0.5em;
    background-size:
            5px 5px,
            5px 5px,
            1px 1.5em;
    background-repeat: no-repeat;
    border-color: green;
    outline: 0;
}

.dbl-field-double {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
}

.field-one {
    width: 48%;
}

.custom-select {
    position: relative;
    font-family: var(--baskerville-font);
    width: 100%;
    padding-right: 2rem;
}

.custom-select select {
    display: none;
}

/*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border-color: #000 transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
    color: var(--darkblue);
    padding: 8px 16px;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    user-select: none;
    font-family: var(--baskerville-font);
    letter-spacing: 2px;
}

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type=checkbox] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: auto;
    border: none;
    outline: none;
    display: block;
    box-sizing: border-box;
    font-family: var(--baskerville-font);
    letter-spacing: 2px;
    font-size: 1rem;
    width: 20px;
}

label.chkbox {
    padding-left: 40px;
    width: 100%;
    margin-top: -35px;
    font-size: 0.78rem;
}

input[type=text] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    font-family: var(--baskerville-font);
    letter-spacing: 2px;
    font-size: 1rem;
    background: #f8f8f8;
}

input[type=text]::placeholder,
input[type=number]::placeholder,
input[type=email]::placeholder,
input[type=date]::placeholder,
input[type=tel]::placeholder,
textarea::placeholder {
    color: #9b9b9b;
}

input[type=number] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    box-sizing: border-box;
    outline: none;
    border: none;
    border-bottom: 1px solid #ccc;
    font-family: var(--baskerville-font);
    letter-spacing: 2px;
    font-size: 1rem;
    background: #f8f8f8;
}

input[type=email] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    box-sizing: border-box;
    outline: none;
    border: none;
    border-bottom: 1px solid #ccc;
    font-family: var(--baskerville-font);
    letter-spacing: 2px;
    font-size: 1rem;
    background: #f8f8f8;
}

input[type=date] {
    width: 100%;
    padding: 30px 20px;
    margin: 8px 0;
    display: inline-block;
    box-sizing: border-box;
    border: none;
    outline: none;
    border-bottom: 1px solid #ccc;
    background: #f8f8f8;
    font-family: var(--baskerville-font);
    letter-spacing: 2px;
    font-size: 1rem;
}

input[type=tel] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    box-sizing: border-box;
    border: none;
    outline: none;
    border-bottom: 1px solid #ccc;
    background: #f8f8f8;
    font-family: var(--baskerville-font);
    letter-spacing: 2px;
    font-size: 1rem;
}

input[type="submit"] {
    color: #fff;
    border: none;
    outline: none;
    font-size: 18px;
    cursor: pointer;
    padding: 13px 25px;
    width: 100%;
    background: var(--jadegruen);
    transition: background 0.3s ease;
}

input[type="submit"]:hover {
    color: var(--darkblue);
    background: var(--lightjadegruen);
}

textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    box-sizing: border-box;
    outline: none;
    border: none;
    border-bottom: 1px solid #ccc;
    font-family: var(--baskerville-font);
    letter-spacing: 2px;
    font-size: 1rem;
    background: #f8f8f8;
}

form .button-area{
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.button-area button{
    color: #cccccc;
    border: none;
    outline: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    padding: 13px 25px;
    background: #cccccc;
    transition: background 0.3s ease;
    font-family: 'PT Mono', monospace;
}

.button-area button:hover {
    background: #cccccc;
}

.button-area span{
    font-size: 14px;
    margin-left: 30px;
    font-family: 'PT Mono', monospace;
    display: none;
}


@media screen and (min-width: 320px) and (max-width: 600px) {
    label {
        font-size: 0.85rem;
    }

    input[type=text],
    input[type=number],
    input[type=email],
    textarea,
    select{
        font-size: 0.85rem;
    }

    .dbl-field-double {
        display: block;
        width: 100%;
        justify-content: space-between;
        gap: 20px;
    }

    .field-one {
        width: 100%;
    }
}

@media screen and (min-width: 601px) and (max-width: 1023px) {
    label {
        font-size: 0.85rem;
    }

    input[type=text],
    input[type=number],
    input[type=email],
    textarea,
    select{
        font-size: 0.75rem;
    }
}