/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;600;700;800;900&display=swap');

/* :root (var) */
:root {
    --backgroundColor1: #0C1122;
    --backgroundButtonColor1: #171f36;
}

/* Generic */
html {
    background: url("./background/scr00011.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: local;

    scroll-behavior: smooth;

    max-height: 100vh;
}

*::selection {
    background-color: var(--backgroundColor1);
    color: white;
}

* { box-sizing: border-box; }

body {
    display: grid;
    grid-template-columns: 100px auto;
    margin: 0px;
    font-family: 'Maven Pro', sans-serif;
}

/* Header */
header {
    position: sticky;
    top: 0px; 

    color: white;
    padding: 1.2em;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;

    display: grid;
    grid-template-rows: max-content auto;

    background-color: var(--backgroundColor1);
}

header hr {
    color: rgba(100, 180, 255);
}

header div.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

header div.logo img {
    width: 100%;
    max-width: 64px;
    border-radius: 120px;
}

header div.logo :hover img {
    background-color: var(--backgroundButtonColor1);
}

/* Navigation */
nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.33em;
    padding: 0.5em;
}

nav a {
    display: inline-block;
}

nav a img {
    width: 100%;
    opacity: 0.75;
    border-radius: 100px;

    transition: opacity 0.125s ease-in-out;
}

nav a:hover img {
    background-color: var(--backgroundButtonColor1);
}

nav a:hover img {
    opacity: 1;
}

/* Banner */
div.banner {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0.5em;
    justify-content: center;
    min-height: 100vh;
    align-items: center;
    color: white;
}

div.banner :is(h1, span, h2) { mix-blend-mode: difference; color: #ccc; overflow-wrap: anywhere; }

div.banner h1 {
    font-size: 128px;
    text-transform: uppercase;
    margin-block: 0px;
}

div.banner span {
    font-size: 32px;
    font-weight: 900;
}

/* Navigator */
div.navigator {
    position: fixed;
    padding: 13.8px 2em;
    left: 109px;
    background-color: var(--backgroundColor1);
    color: white;
    border-radius: 100px;
    z-index: 1000;
}

/* Content */
div.content {
    overflow-x: hidden;
}

div.section {
    padding: 3em;
    background-color: white;
    color: var(--backgroundColor1);

    /* Background Properties */
    background-position: center;
    background-size: cover;
}

div.section.invert {
    color: white;
}

div.section.shaded {
    background-color: #eee;
}

div.wrapper {
    max-width: 1100px;
    margin: auto;
}

div.wrapper.static {
    position: relative;
}

div.section :is(h1, h2, h3, h4) {
    margin-block-start: 0px;
}

/* Grids */
div.grid-3 {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

div.grid-3.growth_custom {
    margin-block-start: 2em;
    margin-block-end: -2em;
}

div.grid-3 > div {
    display: grid;
    grid-template-columns: max-content auto;
    align-items: center;
    gap: 0.66em;
    padding: 2em;
    background: #eee;
    border-radius: 8px;
}

div.grid-3 > div img {
    width: 48px;
    filter: invert(1)
}

div.grid-3 > div.no-invert img {
    filter: invert(0);
}

div.grid-3 > div span.numbers {
    font-size: 42px;
    font-weight: bold;
}

div.grid-2 {
    display: grid;
    gap: 2em;
    align-items: center;
    grid-template-columns: auto auto;
}


div.grid-2 img {
    max-width: 240px;
}

/* Media (responsiveness) */
@media (max-width: 1100px) {
    div.banner h1 {
        font-size: 96px;
    }
}

@media (max-width: 850px) {
    div.banner h1 {
        font-size: 48px;
    }

    div.grid-2 { 
        display: flex;
        flex-direction: column;
    }

    /* Exhibit */
    div.exhibit > img {
        max-height: 200px;
        max-width: 100%;
        width: 1000px;
        object-fit: cover;
    }
}

@media (max-width: 600px) {
    div.grid-3 { 
        display: flex;
        flex-direction: column;
    }

    div.banner h1 {
        font-size: 36px;
    }

    div.grid-3 > div {
        font-size: small;
        padding: 1em;
    }
}

/* exhibit div */
div.exhibit {
    position: relative;
}

div.exhibit > span {
    position: absolute;
    bottom: 0; left: 0;
    padding: 1em;
    color: white;
}

/* Flex Case */
div.flexcase {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

div.flexcase > * {
    flex: 1 500px;
}

div.flexcase p {
    margin-block: 0em;
}

/* Misc */
a {
    color: slateblue;
}

p {
    line-height: 1.44;
}

p.cutoff {
    margin-block-end: -3em;
}

img.pos-img {
    --vLeft: 0px;
    --vTop: 0px;
    --r: 0deg;

    position: absolute;
    z-index: 0;
    mix-blend-mode: darken;

    transform: rotate(var(--r));
    top: var(--vTop);
    left: var(--vLeft);

    pointer-events: none;
}

/* leftBordered */
*.leftBordered {
    --c: #fff;
    display: block;
    margin-bottom: 0.5em;
    padding: 0.3em 0.5em;

    border-left: var(--c) 5px solid;
}

/* Creditation */
div.creditation {
    position: absolute;
    right: 0;
    top: 0;
    margin: 2em;

    display: flex;
    flex-wrap: wrap;
    gap: 1em;

    filter: drop-shadow(0 0 0.1rem black);

    font-size: smaller;
}

div.creditation a {
    color: white;
    opacity: 0.75;
    text-decoration: none;

    transition: 0.125s ease-in-out all;
}

div.creditation :is(a:hover, a:focus-visible) {
    opacity: 1;
}

/* Buttons */
a.button {
    display: inline-block;
    padding: 1em 2em;
    background-color: var(--backgroundColor1);
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 8px;
    margin-block: 0.25em;

    outline: transparent 2px solid;
    outline-offset: 2px;

    transition: all 0.125s ease-in-out;
}

:is(a.button:hover, a.button:focus-visible) {
    background-color: var(--backgroundButtonColor1);
    outline-color: #171f365d;
}

/* Brief Container List */
div.brief-outer {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-items: flex-start;
}

div.brief-outer > div.brief {
    background-color: #eee;
    border-radius: 8px;
    flex: 1 300px;
    overflow: hidden;
}

div.brief-outer > div.brief.purple {
    background-color: #e2ddff;
}

div.brief-outer > div.brief > div {
    padding: 1.5em;
    line-height: 1.44;
}

div.brief-outer > div.brief > img {
    width: 100%;
    height: 148px;
    object-fit: cover;
}

@media (max-width: 600px) {
    div.brief-outer > div.brief {
        font-size: smaller;
    }
}

/* Header Toggle */
div.header-toggle {
    position: fixed;
    top: 34px;
    left: 88px;
    transform: rotate(-90deg);
    z-index: 10000;
}

div.header-toggle button {
    margin: 0;
    padding: 0.5em 0.75em;
    display: inline-block;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 1px;
    background-color: var(--backgroundColor1);
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}