@font-face {
    font-family: Roboto;
    src: url(media/fonts/Roboto-Medium.ttf);
}

:root {
    --brand: #5C4210;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0px;
    font-family: Arial, sans-serif;
    
    letter-spacing: 1px;
    line-height: 26px;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

.fullscreen {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0px;
    display: flex;
    align-items: center;
}

.fullscreenmenu {
    margin-left: 10%;
    color: white;
    border-left: 5px solid white;
    padding-left: 40px;
    line-height: 70px;
    font-size: 150%;
    font-weight: 600;
}

.menubarwrapper {
    padding: 10px;
    background-color: white;
}

.menubar {
    background-color: var(--brand);
    color: white;
}

.menubar a {
    padding: 30px;
    display: flex;
    gap: 30px;
    background-color: var(--brand);
    transition-duration: 500ms;
}

.menubar a:hover {
    background-color: white;
    color: var(--brand);
    transition-duration: 200ms;
}

.pagetitle {
    font-weight: 600;
    font-family: "Raleway", Helvetica, Arial, sans-serif;
}

.menuitems {
    font-family: "Roboto", Arial, sans-serif;
}

.menubar .menuitems {
    display: none;
}

@media screen and (min-width: 992px) {
    .menubar .menuitems {
        display: flex;
    }
}

.centercontent {
    display: grid;
    justify-content: center;
    align-items: center;
}

.fade {
    position: fixed;
    background-color: var(--brand);

    animation: fadeInAnimation ease-in 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;

    color: white;
    font-weight: 600;
    font-size: 300%;

    z-index: 2;
}
  
@keyframes fadeInAnimation {
    0% {
        opacity: 1;
        display: block;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}



.site section {
    margin: 10px;
    padding: 40px 30px;
}

.site section:nth-child(odd) {
    background-color: white;
}

.site section:nth-child(even) {
    background-color: #F4F4F4;
}

.header {
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 3px;
    font-family: "Roboto", Arial, sans-serif;
}

.content {
    gap: 50px;
}

@media screen and (min-width: 992px) {
    .content {
        display: flex;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* external css: flickity.css */
  
.carousel {
    background: #FAFAFA;
}
  
.carousel-cell {
    width: 100%;
    aspect-ratio: 16/9;
    margin-right: 10px;
    background: var(--brand);
    counter-increment: carousel-cell;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 200px;
    font-size: 80px;
    color: white;
}

@media screen and (min-width: 600px) { 
    .carousel-cell {
        width: 66%;
    }
}

@media screen and (min-width: 992px) { 
    .carousel-cell {
        width: 33%;
    }
}

.half {
    padding-bottom: 30px;
}

.half:last-child {
    padding-bottom: 0px;
}

@media screen and (min-width: 992px) { 
    .half {
        width: 50%;
        padding-bottom: 0px;
    }
}

.right {
    float: right;
}

.footer {
    background-color: var(--brand);
    margin: 10px;
    padding: 30px;
    padding-bottom: 100px;
    color: white;
}

.twocolumns {
    column-count: 2;
    column-gap: 20px;
}

.spacebetween {
    display: flex;
    justify-content: space-between;
}

.maxwidth {
    display: inherit;
    justify-content: inherit;
    width: 100%;
}

@media screen and (min-width: 992px) { 
    .maxwidth {
        width: 70%;
        max-width: 1200px;
        margin: auto;
    }
}

.sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0px;
    z-index: 1;
}

a.anchor {
    display: block;
    position: relative;
    top: -120px;
    visibility: hidden;
}