/* Change basic font */

body {
    font-family: Arial, sans-serif;
}

/* Articles */

article {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}

article img {
    width: 100%;
}

article a {
    margin-top: 2rem;
    text-decoration: none;
    color: #333;
}

article a:hover {
    text-decoration: underline;
}

blockquote {
    background: #ffffff;
    border-left: 10px solid #d2d2d2;
    padding: 5px;
    margin: 0;
}

blockquote p {
    margin: 5px;
}

@media (pointer: none), (pointer: coarse) {
    article {
        width: 100%;
    }
}

/* Time Map stuff */

.time-map {
    width: 500px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

img.time-map {
    width: 500px;
}

/* Buttons and input */
input[type="number"] {
    height: 35px;
    border: 1px solid black;
    text-align: center;
}

input[type="text"] {
    height: 35px;
    width: 100px;
    border: 1px solid black;
    border-radius: 0;
}

input[type="button"] {
    height: 40px;
    width: 100px;
    border: 1px solid black;
    border-radius: 0;
}

select {
    height: 40px;
    width: 200px;
    border: 1px solid black;
    border-radius: 0;
}

/* Misc. */
table p {
    margin: 0px;
    font-size: smaller;
}

h3, h4 {
    margin-bottom: 0;
    margin-top: 0;
}

a {
    color: black;
}

header {
    position: fixed;
    z-index: 1000;
}

.header {
    background-image: url("/assets/images/background.png");
    background-repeat: repeat-x;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.center {
    text-align: center;
}

td {
    padding: 0;
}

/* Mobile */

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }

    .main-table {
        width: 100%;
    }

    @media (pointer: none), (pointer: coarse) {
        .time-map {
            width: 100%;
        }
        img.time-map {
            width: 100%;
        }
    }
}

@media (min-width: 769px) {
    .hide-on-desktop {
        display: none;
    }
}
