:root {
    --dark_color: #101d26;
    --middle_color: #1A2E3DFF;
    --bright_color: hsl(206, 40%, 25%);

    --button_color_dark: #4775a3;
    --button_color_highlight: #5d9bdb;

    --min_safe: 960px;

    --font_small: calc(20px * 1.0/1vw);
    --font_medium: 24px;
    --font_large: 32px;
    --font_huge: 48px;
    --font_huge_2: 64px;
}

html {
    padding: 0px;
    margin: 0px;
    font-family: default_font, sans-serif;
    font-size: var(--font_small);
    overflow-x: hidden;
}

body {
    background-color: var(--dark_color);
    color: white;
    text-align: center;
    margin: auto;
}

.main_section {
    background-color: var(--middle_color);
    padding-bottom: 48px;
}

.center_content {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    margin-right: 16px;
    
}

.centered_paragraph {
    text-align: center;
    max-width: var(--min_safe);
    margin: 0 auto;
}

h1 {
    font-size: var(--font_huge);
    font-weight: 900;
}

h2 {
    font-size: var(--font_large);
    font-weight: 600;
}


h3 {
    font-size: var(--font_medium);
    font-weight: 400;
    color: lightgray;
}

h3_dark {
    font-size: var(--font_medium);
    font-weight: 400;
    color: gray;
}

footer a {
    text-decoration: none;
}

a h3_dark:hover {
    color: lightgray;
}

.image_box {
    margin-top: -100px;
    position: relative;
    width: 100%;
    height: 600px;
}

.image_box img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    /* filter: blur(); */
}

.image_text_center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--font_huge_2);
    -webkit-text-stroke: 24px #1A2E3DFF;
    paint-order: stroke fill;
    font-family: script;
}

@font-face {
    font-family: script;
    src: url(assets/bukhari_script.ttf);
}

@font-face {
    font-family: default_font;
    src: url(assets/VarelaRound-Regular.ttf);
}

.big_centered_button {
    display: inline-block;
    font-size: var(--font_huge);
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    width: 100%;
    max-width: var(--min_safe);
    margin: auto auto;
    background-color: var(--button_color_dark);
    border-radius: 20px;
    color: white;
    text-decoration: none;
}

.big_centered_button:hover {
    background-color: var(--button_color_highlight);
}

.wiggle {
    display: inline-block;
}

.wiggle:hover {
    animation: wiggle 2.0s ease-in-out infinite;
}

@keyframes wiggle {
    0%   { transform: scale(1.1) rotate(0deg); }
    25%  { transform: scale(1.1) rotate(-3deg); }
    50%  { transform: scale(1.1) rotate(3deg); }
    75%  { transform: scale(1.1) rotate(-3deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

.panel_container {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.member_panel {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;

    max-width: var(--min_safe);
    
    margin: auto;

    background: var(--bright_color);
    border-radius: 20px;

    overflow: hidden;

    margin-bottom: 48px;
    box-shadow: -4px 4px 6px rgba(0.0, 0.0, 0.0, 0.3);
}

.member_reverse {
    flex-direction: row-reverse;
}

.member_image {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
}

.member_content {
    display: flex;
    flex-direction: column;
    padding: 16px;
    color: white;
    text-align: center;
    flex: 1;
    min-width: 320px;
}

.member_content h2 {
    margin: 0 0 22px;
}

.member_content h3 {
    margin: 0 0 24px;
}

.social_links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: auto;
    padding-top: 20px;
}

.social_links a {
    color: white;
    text-decoration: none;
}

.hbox {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.hbox > * {
    flex-grow: 1;
    flex-basis: auto;
}

/* @media (max-width: 850px) {
    .member_panel {
        flex-direction: column;
    }
} */

.youtube {
    width: 100%;
    max-width: var(--min_safe);
    aspect-ratio: 16 / 9;
    height: auto;
    margin-bottom: 32px;
}

.steam {
    width: 100%;
    max-width: var(--min_safe);
    margin-top: 32px;
}

/* FOOTER CSS SECTION --------------------------------------------------------*/
footer {
    width: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: row;
    background-color: #101d26;
    justify-items: center;
    align-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0px -2px 6px rgba(0.0, 0.0, 0.0, 0.2);
    box-sizing: border-box;
    padding-left: 8px;
    padding-right: 8px;
    gap: 16px;
}

footer ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    margin: auto;
    padding: 0px;
}

footer h3_dark {
    font-size: clamp(0.75rem, 1vw + 0.5rem, var(--font_medium));
}

footer > * {
    flex-grow: 1;
    flex-basis: 0;
}

footer ul {
    list-style-type: none;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

footer img {
    height: 2.0em;
    width: auto;
}

h2 a {
    color: var(--button_color_highlight);
}


/* NAVBAR CSS SECTION --------------------------------------------------------*/
#navbar {
    display: flex;
    flex-direction: row;

    align-items: center;
    align-content: center;

    background-color: #101d26;
    position: sticky;
    top: 0;
    
    box-sizing: border-box;
    box-shadow: 0px 2px 6px rgba(0.0, 0.0, 0.0, 0.2);
    z-index: 100;
    font-weight: 900;
    width: 100%;

    padding-left: 16px;
    padding-right: 16px;

    height: 128px;
}

#navbar_menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

#navbar_logo {
    width: auto;
    object-fit: contain;
    margin-right: 64px
}

#navbar_menu a {
    color: lightblue;
    text-decoration: none;
    font-size: var(--font_medium)
}

#navbar .active_page {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    text-decoration-color: var(--button_color_highlight);
}

#navbar_pages {
    display: flex;
    gap: 64px;
}

#navbar_socials {
    display: flex;
    gap: clamp(0px, calc(100vw - 1200px), 32px);
}

#navbar_menu a:hover {
    color: white;
    text-shadow: 0 0 20px white;
}

#navbar_menu img {
    height: 2.0em;
    width: auto;
}

#hamburger_button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 960px) {

    #navbar {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #navbar_logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    #hamburger_button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #navbar_pages {
        flex-direction: column;
    }

    #navbar_socials {
        gap: 4px;
    }

    #navbar_menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;

        background-color: #101d26;
        box-sizing: border-box;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    }

    #navbar_menu.active {
        display: flex;
    }
}