@font-face {
    font-family: 'Futura';
    src: url('../fonts/FuturaPTMedium.otf') format('opentype');
}

:root {
    --fries-gold: #c2991e;
    --dark-grey: #252525;
    --mid-grey: #404040;
    --light-grey: #808080;
    --ultra-light-grey: #D2D2D2;
    --link-blue: #0f74ef;
    --free-green: #247657;
    --table-light-grey: #f6f6f6;
    --table-mid-grey: #f0f0f0;
    --alert-red: #9f2121;
}

html {
    background-color: var(--dark-grey);
}

body {
    background-color: white;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: var(--dark-grey);
}

p {
    overflow-wrap: break-word;
}

.futura {
    font-family: 'Futura';
}

.nowrap {
    white-space: nowrap;
}

a {
    color: var(--link-blue);
}

.text-paragraph {
    text-indent: 15px;
}

/* TOPBARS */

#scroll-topbar-container {
    position: fixed;
    z-index: 20;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.649);
    backdrop-filter: blur(4px);
    display: none;
}

#scrolled-topbar {
    position: relative;
}

#fixed-topbar {
    position: absolute;
    z-index: 10;
}

#general-topbar {
    position: relative;
}

.ffries-icon {
    position:absolute;
    top: 5px;
    left: 3%;
}

.topbar {
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    height: 50px;
}

.menu-icon {
    position:absolute;
    top: 5px;
    right: 13%;
}
.facebook-icon {
    position:absolute;
    top: 5px;
    right: 8%;
}

.discord-icon {
    position:absolute;
    top: 5px;
    right: 3%;
}

.ffries-icon img, .menu-icon img, .facebook-icon img, .discord-icon img {
    width: 40px;
}

/* MENU */

#menu-underlayer {
    position: fixed;
    z-index: 20;
    top: 0;
    background-color: rgba(0, 0, 0, 0.749);
    backdrop-filter: blur(2px);
    width:100%;
    height: 100vh;
    display: none;
    opacity: 0;
    transition: all .2s ease;
}

#menu-underlayer:hover {
    cursor: pointer;
}

#menu-base {
    position: fixed;
    z-index: 30;
    font-family: 'Futura';
    background-color: white;
    right: 0;
    min-width: 20vw; 
    min-height: 30vh;
    box-shadow: 0px 0px 40px black;
    padding: 10px;
}

#menu-base:hover {
    cursor: default;
}

#menu-close {
    text-align: right;
    padding-right: 30px;
}

.menu-item-icon {
    width: 28px;
}

.menu-item {
    padding-top: 30px;
    padding-right: 30px;
    font-size: 28px;
    vertical-align: bottom;
}
.menu-item:last-of-type {
    padding-bottom: 40px;
}

.menu-item a {
    text-decoration: none;
    color: var(--dark-grey);
    margin-left: 20px;
}

/* MAIN PAGE */

section#main-page-wrapper {
    position: relative;
    padding: 20px 30px;

}

#main-page {
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

h1 {
    padding-top: 20px;
    padding-bottom: 10px;
    color: var(--dark-grey);
    font-family: 'Futura';
}

h2 {
    padding-top: 20px;
    padding-bottom: 10px;
    color: var(--mid-grey);
    font-family: 'Futura';
    font-size: calc(1rem + .9vw);
}

h3 {
    padding-top: 20px;
    padding-bottom: 10px;
    text-indent: 20px;
    color: var(--mid-grey);
    font-family: 'Futura';
    font-size: calc(0.8rem + .7vw);
}

/* FOOTER */

footer {
    background-color: var(--dark-grey);
    color: var(--fries-gold);
    width: 100%;
    padding: 3.5vh 10px;
    text-align: center;
    min-height: 8vh;
    font-size: 12px;
}

footer a {
    color: var(--fries-gold);
    text-decoration: none;
    transition: color .2s ease;
}

footer a:hover {
    color: white;
}

img.footer-icon{
    width: 30px;
    margin: 4px;
    transition: all .2s ease;
}

a.footer-social:hover img.footer-icon{
    filter: brightness(10);
}

/* ANIMATION */

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        }
}

/* RESPONSIVE */

@media screen and (max-height: 500px) {
    .menu-item {
        padding-top: 15px;
        padding-bottom: 10px;
        font-size: 18px;
    }
}

@media screen and (max-height: 400px) {
    .menu-item {
        padding-top: 10px;
        padding-bottom: 8px;
        font-size: 14px;
    }
}

@media screen and (max-width: 1200px) {
    .menu-icon {
        right: 15%;
    }
    .facebook-icon {
        right: 9%;
    }
}

@media screen and (max-width: 970px) {
    .menu-icon {
        right: 17%;
    }
    .facebook-icon {
        right: 10%;
    }
}

@media screen and (max-width: 800px) {
    .menu-icon {
        right: 20%;
    } 
    .facebook-icon {
        right: 12%;
    }
}

@media screen and (max-width: 600px) {
    .menu-icon {
        right: 20%;
    }
    .facebook-icon {
        display: none;
    }
}


@media screen and (max-width: 500px) {
    .menu-icon {
        right: 20%;
    }
}

@media screen and (max-width: 350px) {
    .discord-icon {
        display: none;
    }
    .menu-icon {
        right: 6%;
    }
}