/* ========================================
   GLOBAL VARIABLES & RESET
   Used by: All Pages
   ======================================== */

:root {
    --nice-padding: 6rem;
    --roundness: 0.75rem;
    --accent1: #02db02;
    --accent2: #05b305;
    --accent2_transp: #05b30555;
    --background1: #212529;
    --background2: #16191b;
    color-scheme: dark;
}

span {
    font-family: 'Space Grotesk', sans-serif;
}

body {
    font-family:'Space Grotesk', sans-serif;
    background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('../media/misc/bg.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    margin:0px;
}


/* ========================================
   NAVIGATION - DESKTOP
   Used by: All Pages
   ======================================== */

.desktop_navbar {
    position:fixed;
    display: flex;
    height: 4rem;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom:0;
    background-color: #00000022;
    backdrop-filter: blur(15px);
    z-index: 5;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.desktop_navbar_logo_img {
    width: 5rem;
    padding-left: 2rem;
    padding-right: 1rem;
}

.desktop_navbar_link {
    font-size: 1.2rem;
    padding: .8rem;
    transition: all .5s;
    text-decoration: none;
    color: #fff;
    text-align: center;
}

.desktop_navbar_link:hover {
    color: var(--accent1);
}

.desktop_navbar_link2 {
    padding:.5rem;
    color: #fff;
    text-decoration: none;
    text-align: center;
}

.desktop_navbar_link2_div {
    font-size: 1.2rem;
    padding: .8rem;
    transition: all .5s;
    margin-left: auto;
    margin-right: 2rem;
    font-weight: 700;
    border: solid 1px var(--accent1);
    border-radius: var(--roundness);
    text-align: center;
}

.desktop_navbar_link2_div:hover {
    border: solid 1px var(--accent2);
    background-color: var(--accent2);
    transform: scale(1.05)
}


/* ========================================
   NAVIGATION - MOBILE
   Used by: All Pages
   ======================================== */

.mobile_navbar {
    display: none;
    overflow: hidden;
    background-color: #00000033;
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    z-index: 5;
    flex-direction: row;
    min-height: 53px;
}

.mobile_navbar #mobile_navbar_links {
    display: none;
    margin-top: 53px;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background-color: #00000011;
    padding: 0.5rem 0;
}

.mobile_navbar_link {
    padding: 1rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

.mobile_navbar a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    display: block;
}

.mobile_navbar .icon {
    background-color: #00000044;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 16px;
}


/* ========================================
   SHARED COMPONENTS
   Used by: Multiple Pages
   ======================================== */

.mainflex {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}

.headline {
    margin-top: 2rem;
    color: #fff;
    font-size:3rem;
    text-align: center;
    font-weight: 600;
}


/* ========================================
   FOOTER
   Used by: All Pages
   ======================================== */

.footer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    padding-bottom: 1rem;
    background-color: var(--background2) !important;
    background-image: none !important;
    width: 100% !important;
    min-height: 4rem !important;
    height: 4rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}


/* ========================================
   MOBILE RESPONSIVE STYLES
   Used by: All Pages
   ======================================== */

@media (max-width: 768px) {
  .desktop_navbar_logo_img {
    display: none !important;
  }

  .mobile_navbar::before {
    display: none !important;
  }

  .mobile_navbar a[href="#"]:first-child {
    display: none !important;
  }

  .mainflex {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .desktop_navbar_link2_div {
    display: none;
  }

  #mobile_navbar_links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #222;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }
  
  .mobile_navbar_link {
    padding: 12px 16px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #333;
  }
  
  .headline {
    text-align: center;
    width: 100%;
    display: block;
    margin-bottom: 25px;
  }
}
