html {
    font-size: 17px;
}

body {
    width: 100%;
    margin: auto;
    font-size: 1rem;
    background-color: #252c39;
    color: #F7FAFC;
    font-family: 'Wix Madefor Display', sans-serif;
}

/* headers */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Istok Web', sans-serif;
    color: #32BAFF;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

/* links */
a {
    text-decoration: none;
    color: #0091FF;
}

a:hover {
    color: #32BAFF;    
}

/* select dropdowns */
select, select option, button, input, input[type="checkbox"] {
    all: unset;
}


/* Inputs */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #F7FAFC !important;
    -webkit-box-shadow: 0 0 0px 1000px #252c39 inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
    border-radius: 5px !important;
    font-size: 1.3rem !important;
    caret-color: #10E7C3;
}

/* Targets Chrome's autofill when the element is focused */
input:-internal-autofill-previewed,
input:-internal-autofill-selected,
textarea:-internal-autofill-previewed,
textarea:-internal-autofill-selected,
select:-internal-autofill-previewed,
select:-internal-autofill-selected {
    font-size: 1.3rem !important;
    padding: 5px 20px 
    border-radius: 5px
    background-color: #252c39 !important;
    color: #F7FAFC !important;
}

input:-internal-autofill-selected {
    appearance: none !important;
    -webkit-text-fill-color: #F7FAFC !important;
    -webkit-box-shadow: 0 0 0 100px #252c39 inset !important;
    border-radius: 5px !important;
    background-color: #252c39 !important;
    font-size: 1.3rem !important;
    padding: 5px 20px;
}

input {
    font-size: 1.3rem;
    padding: 5px 20px;
    border-radius: 5px;
    background-color: #252c39;
    color: #F7FAFC;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    caret-color: #10E7C3;
}

input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 5px;
    padding: 0;
    vertical-align: middle;
}

input[type="radio"]:checked {
    background-color: #10E7C3; 
    border-color: #10E7C3; 
}

input[type='number'] {
    text-align: center; 
    padding-right: 10px; /* Keeps the text from getting too close to the spinner */
}

/* styling input datetime-local */
/* the calendar icon */
input[type="datetime-local"]::-webkit-calendar-picker-indicator { 
    filter: invert(89%) sepia(73%) saturate(1848%) hue-rotate(89deg) brightness(96%) contrast(88%);
}


input[type="file"] {
  display: none;
}

textarea {
    background-color: #252c39;
    color: #F7FAFC;
    font-size: 0.8rem;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    caret-color: #10E7C3;
}

select {
    font-size: 1.3rem;
    padding: 5px 20px;
    border-radius: 5px;
    border: 0px solid #F7FAFC;
    background-color: #252c39;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

select option {
    color: #F7FAFC;
}

select option:hover,
select option:focus {
    background-color: #252c39;
    color: #F7FAFC;
}

/* checkboxes */
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid #10E7C3 !important;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    line-height: 20px;
    padding: 0; 
    margin: 0; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

input[type="checkbox"]:checked {
    background-color: #10E7C3;
    outline: none;
}

input[type="checkbox"]:checked::before {
    display: block;
}

/* buttons */
button {
    font-size: 1.176rem;
    font-weight: bold;
    padding: 10px;
    color: #F7FAFC;
    background-color: #0091FF;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: none;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

button:hover {
    background-color: #32BAFF;
}

span.description {
    color: #ccc;
    font-size: 0.8rem;
}