@font-face {
    font-family: roboto-regular;
    src: url('/font/Roboto-Regular.ttf');
}

body {
    background-color: #AAAAAA;
    color: #FFFFFF;
    font-family: roboto-regular, serif;
    margin: 0;
}

#map {
    width: 100%;
    height: 400px;
}

h2 {
    color: #000000;
    margin: 0;
    font-size: 0.8rem;
    padding: 0;
}

h1 {
    color: #b8cff1;
    margin: 0.5rem 0;
    font-size: 1.1rem;
    padding: 0;
    font-weight: bold;
}

p {
    padding: 0.5rem 0;
    line-height: 1.1rem;
}

h3 {
    color: #b8cff1;
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    padding: 0.2rem;
    font-weight: bold;
    background-color: rgba(155, 155, 155, 0.1);
    width: 100%;
    text-align: center;
}

section {
    padding: 0.5rem;
    box-shadow: 0 0 14px rgba(40, 40, 40, 0.6);
    background-color: #222222;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    min-width: 6rem;
    align-items: center;
}

section > * {
    /*flex: 1 1 auto;*/
}

section > div  {
	min-width: 25vw;
}

section > div > dl {
	flex: 1 1 auto;
	display: flex !important;
}

section > div > dl > dt,
section > div > dl > dd {
	display: flex !important;
}

#main, #extra {
    display: grid;
    padding: 0.5rem;
}

/*
@media only screen and (min-width: 1300px),
only screen and (min-device-width: 1300px) {
    #main {
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 0.5rem;
        grid-row-gap: 0.5rem;
    }

    #extra {
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 0.5rem;
        grid-row-gap: 0.5rem;
    }

    #sponsors div {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-column-gap: 0.5rem;
        grid-row-gap: 0.5rem;
        text-align: center;
    }

    dl {
        display: block;
        min-width: 26rem;
        max-width: 100vw;
        margin: 0;
    }

    dt {
        display: inline-block;
        font-weight: bold;
        min-width: 11rem;
        margin: 0.25rem 0;
    }

    dd {
        display: inline-block;
        margin-inline-start: 2rem;
    }

}
*/

/*@media only screen and (max-width: 1300px),
only screen and (max-device-width: 1300px) {*/
    #main, #extra {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
        grid-row-gap: 0;
        padding: 0;
    }

    #sponsors div {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-column-gap: 0.5rem;
        grid-row-gap: 0.5rem;
        text-align: center;
    }

    dl {
        display: block;
        margin: 0;
    }

    dt {
        display: block;
        font-weight: bold;
        min-width: 8rem;
        margin: 0.25rem 0;
    }

    dd {
        display: block;
        margin-inline-start: 4px;
    }
/*}*/

.marker {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(0, 0, 0);
    background-color: rgba(190, 196, 255, 0.4);
}

.marker:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 800;
    color: #b8cff1;
    font-size: 22px;
    line-height: 37px;
    padding: 0;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    width: 37px;
    display: inline-block;
}

.marker.start:before {
    content: "\f005";
}

.marker.finish:before {
    content: "\f11e";
}

.marker.stop:before {
    content: "\f6bb";
}

.marker.car:before {
    /*content: "\f1ba";*/
    content: "\f124";
}

section > a[href] {
    text-decoration: none;
    color: #DDDDDD;
    font-size: 1.3rem;
}

section > a[href]:hover {
    color: #FFFFFF;
}

header {
    background-color: #000000;
    border-bottom: 2px solid #000044;
    padding: 0.5rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
}

#sponsors img {
    max-width: 15rem;
    display: inline-block;
    background-color: #CCCCCC;
    padding: 0.5rem;
    box-shadow: 1px 1px 8px rgb(0, 0, 0);
}

#bearing {
    font-size: 2rem;
    position: absolute;
    right: 2rem;
    top: 2rem;
}

.social {
    font-size: 2.5rem !important;
}
