@font-face {
    font-family: "Switzer";
    src:    url(src/fonts/Switzer-Extralight.otf) format("opentype");
    font-weight: 200;
}
@font-face {
    font-family: "Switzer";
    src:    url(src/fonts/Switzer-Light.otf) format("opentype");
    font-weight: 300;
}
@font-face {
    font-family: "Switzer";
    src:    url(src/fonts/Switzer-Regular.otf) format("opentype");
}
@font-face {
    font-family: "Switzer";
    src: url(src/fonts/Switzer-Bold.otf) format("opentype");
    font-weight: bold;
}
@font-face {
    font-family: "Switzer";
    src:    url(src/fonts/Switzer-Extrabold.otf) format("opentype");
    font-weight: 800;
}
:root {
    --heading-line-height: .5em;
    --bottombar-height: 5em;
    --bottombar-margin: 1em;
    --grid-padding: 1em;

    --video-height: calc(100vh - var(--bottombar-height) - var(--grid-padding)*2);
    --group-height: calc((100vh - var(--bottombar-height)) * 0.7);
    --infopost-height: calc((100vh - var(--bottombar-height)) * 0.6);
}
body {
    margin: 0;
    padding: 0;
    font-family: "Switzer";
    background-color: white;
}

main {
    margin: 0 auto;
    background-color: white;
    padding-top: var(--grid-padding);
    display: grid;
    row-gap: calc(var(--grid-padding)*3);
    grid-template-rows: var(--video-height) var(--group-height) repeat(2, auto);
    padding-bottom: calc(var(--bottombar-height) + var(--grid-padding));
}

footer {
    background-color: white;
}

#bottombar {
    position: fixed;
    bottom: 0;
    height: var(--bottombar-height);
    width: 100%;
    background: white;
    color: black;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 -2px black;
    z-index: 1;
}

#heading-box {
    flex-basis: auto;
    margin-left: var(--bottombar-margin);
    margin-bottom: -.4em;
    flex: 1;    
}
h1 {
    margin: 0;
    font-size: 2em;
    font-weight: 200;
    line-height: var(--heading-line-height);
    white-space: nowrap;
    width: fit-content;
}
span#tagline {
    text-align: center;
    margin-left:.3em;
    text-transform: uppercase;
    font-weight: 800;
    font-size: .7em;
}

#list-box {
    flex: 2;
}
#list-box ul {
    width: fit-content;
    margin: auto;
    padding-top: calc(var(--heading-line-height)*2);
    padding-left: 0;
}
#list-box li {
    font-weight: 300;
    font-size: .7em;
    list-style: none;
    display: inline;
}
#list-box li:not(:last-of-type)::after {
    content:" |"
}

#referrer {
    flex: 1;
    text-align: right;
    margin-right: var(--bottombar-margin);
    padding-top: var(--heading-line-height);
    text-transform: uppercase;
    font-size: .7em;
    font-weight: 300;
    transition: .15s ease;
}
#referrer a {
	text-decoration: none;
	color: inherit;
	opacity: 0.5;
}
#referrer a:hover {
	opacity: 1;
	}

.video-wrapper {
    max-width: 100vw;
}
#video-mg {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
    transition: ease .1s;
}
.brightness {
    filter: brightness(.8);
}


.group.reels{
    display: flex;
    flex-direction: row;
    margin: 0 auto;
}
.reels {
    gap: 1em;
    }
.group.infopost .slider {
    width: calc(100vw - var(--grid-padding));
    display: flex;
    flex-direction: row;
}

.button-box {
	display: none;
	margin-top: -.3em;
	border-bottom: 2px solid black;
}
.button-box button {
	flex: 1;
	background: white;
	border: none;
	padding: .5em;
}
.button-box button:hover {
	background: #eee;
}
.button-box button:active {
	background: #ddd;
}

.vertical video {
    max-height: var(--group-height);
    width: auto;
}
.img-wrapper img, .img-wrapper video {
    width: 100%;
    height: auto;
}

@media (max-width: 800px) {

main {
    margin: 0 auto;
    background-color: white;
    padding-top: var(--grid-padding);
    display: grid;
    row-gap: calc(var(--grid-padding)*3);
    grid-template-rows: auto;
    padding-bottom: calc(var(--bottombar-height) + var(--grid-padding));
}

.group.reels {
	flex-direction: column;
	}
	
.slider-wrapper {
	overflow: hidden;
}
.slider {
	display: flex;
	position: relative;
	transition: 0.5s;
}
.slider .img-wrapper {
	flex: 1 0 100%;
	min-height: fit-content;
}
.button-box {
	display: flex;
}
.vertical video {
	max-height: calc(100vh - var(--bottombar-height));
	}
#bottombar {
    position: fixed;
    bottom: 0;
    height: calc(var(--bottombar-height)/2);
    width: 100%;
    background: white;
    color: black;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 -2px black;
}

#heading-box {
    flex-basis: auto;
    margin-left: var(--bottombar-margin);
    margin-bottom: -.4em;
    flex: 1;    
    text-align: center;
}
h1 {
	text-align: auto;
    margin: 0;
    margin-top: .4em;
    font-size: 1.4em;
    font-weight: 200;
    line-height: 0;
    white-space: nowrap;
    width: auto;
}
span#tagline {
    text-align: center;
    margin-left:.15em;
    text-transform: uppercase;
    font-weight: 800;
    font-size: .5em;
}

#list-box {
display: none;
    flex: 0;
}
#list-box ul {
    width: fit-content;
    margin: auto;
    padding-top: calc(var(--heading-line-height)*2);
    padding-left: 0;
}
#list-box li {
    font-weight: 300;
    font-size: .7em;
    list-style: none;
    display: inline;
}
#list-box li:not(:last-of-type)::after {
    content:" |"
}

#referrer {
display: none;
    flex: 0;
    text-align: right;
    margin-right: var(--bottombar-margin);
    padding-top: calc(var(--heading-line-height)*4);
    text-transform: uppercase;
    font-size: .35em;
    font-weight: 300;
    transition: .15s ease;
}
#referrer a {
	text-decoration: none;
	color: inherit;
	opacity: 0.5;
}
#referrer a:hover {
	opacity: 1;
	}

}