
html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Karla', sans-serif;
    background: #f9f9f9;
    opacity: 1;
    transition: 0.7s opacity;
    scroll-behavior: smooth;
}

body.fade {
    opacity: 0;
    transition: none;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background: white;
    border-top: 1px solid #f1f1f1;
    text-align: center;
}

main {
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 60px 0;
    min-height: calc(100vh - 50px);
}

section {
    margin: 30px 0;
    padding: 0 2rem;
    width: 100%;

    @media(max-width: 992px) {
        margin: 20px 0;
        padding: 0;
    }
}

a {
    color: black;
    text-decoration: none;
}

ul {
    list-style: none;
}

input:not([type='checkbox']) {
    display: block;
    height: 35px;
    border: none;
    padding: 10px;
}

input:focus,
textarea:focus,
select:focus {
    outline: #c7c7c7 auto 1px;
}

textarea {
    resize: none;
}

select {
    width: 100%;
    min-width: 80px;
    height: 35px;
    color: #383838;
    border: 1px solid #e6e9ee;
    background-color: #fff;
    border-radius: 2px;
    padding: 0 0.7em;
    margin-bottom: 0.5em;
    line-height: normal;
}

button {
    outline: none;
    border: none;
    background: none;
}

button:hover {
    cursor: pointer;
    filter: brightness(0.9);
}

p,
h1,
h2,
h3,
h4,
h5 {
    margin: 10px 0;
}

h1,
h2,
h3,
h4,
h5 {
    color: #2b2b2b;
}

h1 {
    font-size: 25pt;
}

@media(max-width: 992px) {
    p {
        line-height: 23px;
    }
}


/* TABLES */

table,
td,
th {
    table-layout: fixed;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 90%;
}

table {
    border-collapse: collapse;
    width: 100%;
    @media(max-width: 992px) {
        width: auto;
    }
}

th {
    font-size: 12pt;
}

th,
td {
    padding: 12px;
}

tr:first-child {
    background-color: #f2f2f2;
}