@font-face {
    font-family: Orkney;
    src: url("../assets/fonts/OrkneyRegular.otf") format("opentype");
}

@font-face {
    font-family: Bebas;
    src: url("../assets/fonts/BebasKai-Regular.otf") format("opentype");
}

body {
    margin: 0;
    font-family: "Orkney", Arial, sans-serif;
    background-color: #99D8F7;
    color: #5F707A;
}

.cloudy {
    background-color: white;
    position: relative;
    margin: 150px 0;
}

@keyframes move-clouds {
    from {
        background-position-x: 0px;
    }

    to {
        background-position-x: 100vw;
    }
}

.more-clouds-before, .cloudy::before {
    bottom: 100%;
}

.more-clouds-before, .more-clouds-after {
    content: "";
    position: absolute;
    background: url("../assets/cloud.svg");
    width: 100%;
    height: 66px;
    left: 0;
    background-size: 120px 80px;
    animation-name: move-clouds;
    animation-duration: 123s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.cloudy::before, .cloudy::after {
    content: "";
    position: absolute;
    background: url("../assets/cloud.svg");
    width: 100%;
    height: 50px;
    left: 0;
    /*bottom: 100%;*/
    background-size: 80px 60px;
    animation-name: move-clouds;
    animation-duration: 60s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.cloudy::after, .more-clouds-after {
    transform: rotate(180deg);
    top: 100%;
}

header {
    text-align: center;
    margin-top: 10vh;
}

.nav {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.nav > h1 {
    padding: 0 0.5em;
}

#logo {
    margin: 0.25em 5vw;
}

#logo > object {
    padding-bottom: 0.5em;
    border-bottom: solid white 0.25em;
}

@media (min-width: 1200px) {
    #logo {
        margin: 0.25em 30vw;
    }

    section {
        padding: 0.5em 16em;
    }
}

@media (min-width: 700px) and (max-width: 1200px) {
    #logo {
        margin: 0.25em 25vw;
    }

    section {
        padding: 0.5em 8em;
    }
}

@media (max-width: 700px) {
    #logo {
        margin: 0.25em 15vw;
    }

    section {
        padding: 0.5em 2em;
    }
}

.track-svg {
    width: 40%;
    text-align: center;
}

/*@media (max-width: 960px) and (min-width: 600px) {
    .track-svg {
        width: 40%;
    }
}*/

@media (max-width: 600px) {
    .track-svg {
        width: 60%;
    }
}

.track-svg > object {
    width: 100%;
}

footer {
    text-align: center;
}

a {
    color: inherit;
    transition: 0.25s color;
    text-decoration: none;
    position: relative;
}

a.no-hover {
    text-decoration: underline;
}

a.no-hover:hover {
    color: inherit;
}

a:hover {
    color: white;
}

a:hover::after {
    width: 100%;
}

a::after {
    width: 0;
    height: 2px;
    content: "";
    background-color: white;
    position:absolute;
    bottom: 0;
    left: 0;
    transition: 0.25s width
}

a.disabled {
    opacity: .50;
}

a.disabled:hover {
    color: inherit;
    text-decoration: none;
}

a.disabled:hover::after {
    width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Bebas", Arial, sans-serif;
}

.cloudy > h1:first-of-type {
    margin-top: 0;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2.0em; }
h3 { font-size: 1.75em; }
h4 { font-size: 1.5em; }
h5 { font-size: 1.25em; }
h6 { font-size: 1.0em; }

@media (min-width: 3000px) {
    body { font-size: 3em; }
}

@media (min-width: 2000px and max-width: 2999px) {
    body { font-size: 2em; }
}

table {
    width: 100%;
    text-align: center;
    font-size: 1.1em;
    table-layout: fixed;
}

.center {
    text-align: center;
}

.sponsors > a > img {
    height: 15vh;
    width: auto;
    display: flex-inline;
    margin: 0.5em;
}

.sponsors > a:hover::after {
    display: none;
}

.sponsors > a {
    padding: 2em;
}

.sponsors {
    width: 100%;
    text-align: center;
}

#date {
    margin-bottom: 0;
}

tr > td {
    padding: 0.5em;
    vertical-align: top;
}