:root {
    --footer-image-height: 60vh;
    --main-menu-color: #b50d08;
}

*, *:before, *:after {
    box-sizing: border-box;
}

html {
    font-family: "Special Elite", system-ui;
    font-weight: 400;
    font-style: normal;
}
html, body {
    width: 100%;
    height: 100%;
    background-color: #000;
    overflow: hidden;
}
header {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}
header img#logo-top {
    position: relative;
    height: auto;
    max-width: 94vw;
    max-height: 20vh;
    z-index: 10;
}
footer {
    position: fixed;
    bottom: 0;
    z-index: 9999;
    text-align: center;
    width: 100%;
}
#main-menu-toggle {
    background-image: url('/img/menu-icon.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 64px;
    height: 64px;
    border: 0 none;
    cursor: pointer;
}
nav#main-menu {
    position: absolute;
    z-index: 100000;
    top: 2.5vh;
    left: 2.5vw;
}
#main-menu-items {
    list-style-type: none;
    margin: 0;
    padding: 6px 6px;
    border: 2px solid var(--main-menu-color);
    background-color: rgba(0, 0, 0, 0.65);
    box-shadow: 8px 8px 2px rgba(0, 0, 0, 0.75);
}
#main-menu-items li {
    padding: 0;
    margin: 0;
}
#main-menu-items li a,
#main-menu-items li a:hover,
#main-menu-items li a:focus {
    font-size: 24px;
    color: var(--main-menu-color);
    cursor: pointer;
    text-decoration: none;
}
main {
    text-align: center;
    position: relative;
    height: calc(99vh - var(--footer-image-height));
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

main #content {
    width: 90vw;
    height: 100%;
}
img#bottom-bg {
    position: absolute;
    bottom: -10px;
    left: -4px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    object-position: center top;
}
#bottom-bg-container {
    position: absolute;
    left: 0;
    bottom: -10px;
    height: var(--footer-image-height);
    width: 100%;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  
    background-image:
      linear-gradient(to right, #282828 1px, transparent 1px),
      linear-gradient(to bottom, #282828 1px, transparent 1px);
    background-size: 20px 20px;
  
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent 80%);
    mask-mode: alpha;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent 80%);
    -webkit-mask-mode: alpha;
}

.bg-overlay:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, 0.25);
}

#social-icons {
    width: 28px;
    position: absolute;
    right: 1.75vw;
    bottom: 0.5vh;
    z-index: 9999;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: inline-block;
    opacity: 85%;
    cursor: pointer;
}
.social-icon img {
    width: 28px;
    height: 28px;
}
.social-icon:hover {
    opacity: 100%;
}

@media screen and (orientation: portrait) {
    :root {
        --footer-image-height: 40vh;
    }
}

@media screen and (max-width: 640px) {
    #main-menu-toggle {
        width: 44px;
        height: 44px;
    }
}

