@font-face {
    font-family: 'NeueAachen';
    src: url('../fonts/NeueAachenPro/NeueAachenProBold.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'NeueAachen';
    src: url('../fonts/NeueAachenPro/NeueAachenProRegular.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'NeueAachen';
    src: url('../fonts/NeueAachenPro/NeueAachenProMedium.TTF') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'NeueAachen';
    src: url('../fonts/NeueAachenPro/NeueAachenProLight.TTF') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'NeueAachen';
    src: url('../fonts/NeueAachenPro/NeueAachenProBlk.TTF') format('truetype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'NeueAachen';
    src: url('../fonts/NeueAachenPro/NeueAachenProIt.TTF') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Equestrian';
    src: url(../fonts/EquestrianWinter-ALdd2.otf) format('opentype');
}

:root {
    --light-background: rgba(216, 219, 226, 0.9);
}


html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    max-height: 100vh;
    background-color: black;
    background-size: contain;
    background-image: url(../images/background.jpg);
    background-position: center 20%;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: NeueAachen;
}

header {
    top: 7.5vh;
    height: 7.5vh;
    /* box-shadow: 0 10px 10px 0 rgba(33, 33, 33, 0.5); */
    /* --webkit-box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 1); */
    /* --moz-box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 1); */
    z-index: 9;
    position: relative;
    width: 100%;
    background-color: #05A8AA;
    text-align: center;
    display: flex;
    justify-content: center;
}
main {
    height: 85vh;
    /* background-color: rgb(51, 51, 51); */
    position: relative;
    overflow-y: scroll;
    text-align: center;
    overflow-x: hidden;
    margin-top: 7.5vh;
}

section#circles-container {
    display: none;
    height: 15vw;
    margin: auto;
    position: absolute;
    bottom: 0;
    text-align: center;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6);
    left: 50%;
    width: 58vw;
    transform: translate(-50%, 0);
    padding-top: 5vh;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
section .circle {
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    background-color: red;
    display: inline-block;
    margin: 0 2vw;
    background: rgb(227,73,73);
    background: radial-gradient(circle, rgba(227,73,73,1) 0%, rgba(128,0,0,1) 100%);
    position: relative;
    /* z-index: 1; */
}

section .circle::after {
    content: "";
    width: 11vw;
    height: 11vw;
    border-radius: 50%;
    background: rgb(249,242,149);
    background: radial-gradient(circle, rgba(249,242,149,1) 15%, rgba(224,170,62,1) 100%);
    position: absolute;
    top: -0.5vw;
    left: -0.5vw;
    z-index: -10;
}

header #logo {
    height: 250%;
    transform: translateY(-25%);
    background-color: black;
    padding: 10px;
    position: relative;
    vertical-align: middle;
    /* flex-basis: fit-content; */
}

nav {
    flex: 1;
    height: 100%;
    position: relative;
    color: white;
    font-family: NeueAachen;
    vertical-align: middle;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    line-height: 50%;
}

nav ul li {
    display: inline;
    height: 100%;
    line-height: 7.5vh;
    margin: 2vh 1vw;
    box-sizing: border-box;
    transition: 500ms;
    color: white;
    padding: 1vh;
}

nav ul li:hover {
    background-color: white;
    color: #05A8AA;
}

nav ul li a {
    text-decoration: none;
    font-size: 1.5em;
    color: inherit;
}

section.overlay hr {
    flex: 1;
    height: 0.1px;
    /* width: 33vw; */
    background-color: #bf9a33;
    border: none;
}

section.overlay h1 {
    font-weight: 200;
    margin: 0;
    font-size: 1em;
}

section.overlay h1:nth-child(2) {
    font-size: 1.5em;
    margin: 0;
}
div.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
    backdrop-filter: blur(px);
}
section {
    min-height: 50vh;
    /* display: flex; */
    width: 75%;
    margin: auto;
    background-color: var(--light-background);
    text-align: left;
    padding: .5em;
    border-radius: 10px;
    margin-bottom: 1em;
}
section.overlay {
    color: #bf9a33;
    font-weight: 100;
    backdrop-filter: blur(0.5px);
    font-size: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    box-sizing: border-box;
    text-align: center;
    background-color: transparent;
}

section#home h2 {
    font-size: 3em;
    margin: 0;
    margin-top: .25em;
    color: #05A8AA;
    font-family: NeueAachen;
}
section img.right-hand-float {
    width: 20%;
    margin: 0 2.5%;
    float: right;
}
section img.left-hand-float {
    width: 20%;
    margin: 0 2.5%;
    float: left;
}


@media screen and (max-width: 768px) {
    section {
        width: 90%;
    }
    header #logo {
        height: 125%;
    }
    header {
        height: 15vh;
    }
    section.overlay {
        height: 75vh;
    }
}