@import "https://www.nerdfonts.com/assets/css/webfont.css";

/* fonts */
:root {
    --flex-weight: 400;
    --flex-slnt: 0;
    --flex-wdth: 100;
    --flex-grad: 0;
    --flex-rond: 0;
}
.font-gsansflex {
    font-family: "Google Sans Flex", "NerdFontsSymbols Nerd Font", Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: var(--flex-weight);
    font-variation-settings:
        "slnt" var(--flex-slnt),
        "wdth" var(--flex-wdth),
        "GRAD" var(--flex-grad),
        "ROND" var(--flex-rond);
}
.font-hround {
    --flex-rond: 600;
    --flex-weight: 900;
}
.font-hsharp {
    --flex-rond: 0;
    --flex-weight: 900;
}

/* colors */
:root { /* epic video https://www.youtube.com/watch?v=_gKEUYarehE  */
  --text-color: #000;
  --text-secondary: #333;
  --primary-color: #ffffff;
  --banner: rgb(220,220,220,0.5);
}
.darkmode {
  --text-color: #fff;
  --text-secondary: #ccc;
  --primary-color: #101010;
  --banner: rgba(50,50,50,0.5);
}

/* main */
* {
    margin: 0;
    padding: 0;
}
html {
    font-family: "Google Sans Flex", "NerdFontsSymbols Nerd Font", Arial, sans-serif;
    overflow-x: hidden;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--primary-color);
    color: var(--text-color);
}
a {
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
}

/* across all pages */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    background-color: var(--banner);
    color: var(--text-color);
    top: 0;
    width: 100%;
    z-index: 999;
}
.header-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 1280px;
    padding: 8px;
}
.header-left {
    display: flex;
    align-items: center;
}
.header-left img { 
    height: 50px;
    width: auto;
}
.header-left h2 {
    padding-left: 10px;
}
.header-center {
    display: flex;
    align-items: center;
    position: absolute; 
    left: 50%; 
    top: 26px;
    transform: translateX(-50%); 
    gap: 20px;
}
.header-right {
    display: flex;
    align-items: center;
    font-size: 24px;
    gap: 12px;
}
header .hamburger {
    display: none;
}

#themeswitch, #menuswitch {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
#themeswitch a:last-child, #menuswitch a:last-child {
    display: none;
}
.darkmode #themeswitch a:first-child {
    display: none;
}
.darkmode #themeswitch a:last-child {
    display: block;
}

.page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    padding-top: 150px;
    z-index: 1;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    width: 100%;
    height: 150px;
    background-color: var(--banner);
}
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 1280px;
    padding: 8px;
}
.footer-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex: 1;
}
.footer-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer-access a {
    font-size: 30px;
    padding-left: 10px;
}
.footer-social a {
    font-size: 30px;
}
.footer-social {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex: 1;
}
.footer-social img {
    width: 32px;
    height: 32px;
}
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    align-items: flex-end;
}
.footer-links {
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 5px;
}

/* page responsiveness */
@media screen and (max-width: 720px) {
    .header-center {
        display: none !important;
    }
    #menuswitch a:first-child {
        display: none;
    }
    #menuswitch a:last-child {
        display: block;
    }
}