html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    color: #001f3f;
    font-size: 100%;
    min-width: 490px;
    font-family: "calibri", Garamond, 'Comic Sans', serif;
}

@media screen and (min-width: 766px) and (max-width: 969px) {}

@media screen and (min-width: 970px) {}

@media screen and (max-width: 765px) {}

header,
footer {
    text-align: center;
    color: var(--bgtext);
}

nav {
    text-align: center;
    color: var(--bgtext);
    padding: 10px;
    min-width: 490px;
    background: var(--bg);
}

p {
    font-size: 1.2rem;
    margin: 6px;
}

nav>a {
    background: var(--card);
    color: var(--cardtext);
    text-decoration: none;
    border: 1px solid #000000;
    padding: 4px;
}

nav>a:visited {
    color: var(--cardtext);
}

/* mouse over link */
a:hover {
    color: white;
    background-color: #001f3f;
}

/* selected link */
a:active {
    color: blue;
}

header>h1 {
    margin: 6px;
}

header>h4 {
    margin: 4px;
}

footer {
    font-size: 60%;
}

footer>h3 {
    margin: 5px 0;
}

footer>h4 {
    margin: 2px 0 20px 0;
    padding: 0;
}

section {
    /* height: 240px; */
    /*padding: 2px 0 10px 0;*/
    /*border-bottom: 0.5vh solid #001f3f;*/
    background-color: white;
}

section>div>h1 {
    margin: 0;
    padding: 0 6px;
}

section>div>p {
    margin: 0;
    padding: 0 6px;
}

.section-header {
    background-color: gainsboro;
    border-top: 0.5vh solid #001f3f;
    border-bottom: 0.5vh solid #001f3f;
    height: 70px;
    text-align: center;
}

.flex-container {
    display: -webkit-flex;
    /* Safari */
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    align-content: space-between;
}

.flex-container>section {
    flex: 1;
}

.wind-container {

    margin: 0;
    padding: 0;
}

.wind-cell {
    width: 100%;
    min-width: 120px;
    height: 160px;
    text-align: center;
}

.even,
.odd {
    border-top: 1px solid black;
    height: 160px;
    text-align: center;
}

.odd {
    background-color: gainsboro;
}

.speedunit {
    font-size: 0.7em;         /* Slightly smaller than the number */
    font-weight: bold;        /* Make it bold */
    color: #555;              /* Give it a subtle grey color */
    margin-left: 2px;         /* Add a bit of spacing from the number */
}

#left {
    border-right: 1px solid black;
    max-width: 75px;
}