﻿section:first-of-type {
    margin: 100px 0 200px 0;
}

label {
    font-family: Quicksand, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    display: inline-block;
}

td label {
    white-space: nowrap;
    margin-right: 15px;
}

input {
    margin-bottom: 10px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

input[type=text], input[type=password], input[type=email], textarea, select {
    font-family: Roboto, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 25px;
    padding: 5px 15px;
    border-radius: 5px;
    border: 1px solid var(--black);
    filter: drop-shadow(0 0 0 var(--green));
    transition: all 300ms ease-in-out;
    margin-right: 15px;
}

textarea {
    height: auto;
    margin-top: 5px;
    resize: none;
    padding: 10px 15px;
    overflow: hidden;
}

select {
    height: 35px;
    margin-top: 5px;
}

option {
    padding: 10px 5px;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, textarea:focus, select:focus {
        border: 1px solid var(--green);
        filter: drop-shadow(0 0 2px var(--green));
}

select:focus {
    border-radius: 0;
}

input[type=text]:hover, input[type=password]:hover, input[type=email]:hover, textarea:hover, select:hover {
    border: 1px solid var(--green);
}

input[type=checkbox] {
    margin: 0 10px 0 0;
    width: 25px;
    height: 25px;
    border: 1px solid var(--black);
    background: var(--white);
    border-radius: 50%;
    -webkit-appearance: none;
    appearance: none;
    transition: all linear 150ms;
    cursor: pointer;
}

input[type=checkbox]:hover {
    border: 1px solid var(--green);
}

input[type=checkbox]+label {
    vertical-align: super;
}

input[type=checkbox]:checked {
    background: var(--green);
    border: none;
}

input[type=submit] {
    -webkit-appearance: none;
    appearance: none;
    font-family: Roboto, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 20px;
    font-size: 20px;
    padding: 8px 14px;
    background-color: var(--white);
    border: 4px solid var(--blue);
    transition: all 300ms ease-in-out;
    transition-property: border-color, color, background-color, filter, border-radius;
    color: var(--blue);
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    filter: drop-shadow(0 0 0 var(--green));
}

input[type=submit]:hover {
    border-color: var(--green);
    color: var(--white);
    background-color: var(--green);
    border-radius: 10px;
    filter: drop-shadow(0 0 4px var(--green));
}

.error {
    color: red;
}

td .error, select+.error {
    display: inline;
}