﻿@import url("https://fonts.googleapis.com/css2?family=Bree+Serif&family=Hind:wght@400;700&display=swap");

:root {
    --blue: #004C6A;
}

* {
    margin: 0;
    padding: 0;
    font-size: 1em;
}

    *:disabled {
        pointer-events: none;
    }

html {
    font-family: "Hind", sans-serif;
    font-size: 24.4px;
    line-height: 1.4;
}

body {
    padding: 1rem;
    padding-bottom: 6rem;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

img {
    max-width: 50rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Bree Serif", serif;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 1.5rem;
    font-weight: 400;
}

    h1 a {
        text-decoration: none;
        color: var(--blue);
    }

        h1 a:hover, h1 a:focus {
            text-decoration: underline;
        }

h2 {
    font-size: 1.875rem;
    font-weight: 400;
}

h5 {
    font-weight: 400;
}

select, input[type=checkbox], label[for] {
    cursor: pointer;
}

input, select {
    border-color: black;
    background-color: white;
}

    input:hover, input:focus, select:hover, select:focus {
        border-color: var(--blue);
    }

    input[type=text], input[type=date], select {
        padding: 1rem;
        border-radius: .25rem;
        border-width: .1rem;
        border-style: solid;
        margin: .5rem;
        white-space: nowrap;
    }

    input[type=checkbox] {
        -moz-appearance: none;
        -webkit-appearance: none;
        outline: none;
        content: none;
        font-size: 1.2rem;
        line-height: 1.6rem;
        width: 2rem;
        height: 2rem;
        border-radius: .25rem;
        border-width: .1rem;
        border-style: solid;
        margin: .5rem;
    }

        input[type=checkbox]:before {
            color: transparent;
            content: "L";
            display: inline-block;
            transform: scaleX(-1) rotate(315deg);
            margin-left: 0.6rem;
        }

        input[type=checkbox]:checked {
            background-color: var(--blue);
        }

            input[type=checkbox]:checked:before {
                color: white;
            }

    input[type=date] {
        cursor: text;
    }

        input[type=date]:not([selected]):not(:focus)::before {
            width: 100%;
            content: attr(placeholder);
            color: grey;
            font-family: "Hind", sans-serif;
            line-height: 1;
        }

    select[selected=""] {
        color: grey;
    }

label[for] {
    vertical-align: middle;
}

button {
    cursor: pointer;
    border: none;
}

    button:hover, button:focus {
        text-decoration: underline;
    }

hr {
    height: .0125rem;
    background-color: black;
    opacity: 0.125;
}

li {
    margin-left: 1rem;
}
