@font-face {
    font-family: "Sports Heading";
    src: url(fonts/azn-unified.oblique.otf);
}

@font-face {
    font-family: "Sports Body";
    src: url(fonts/forgotten-futurist.rg-regular.otf);
}

:root {
    --background-primary: #1f1f27;
    --background-secondary: #2f2f3b;
    --content: #f1f3f5;
    --accent: #c92a2a;
    --accent-secondary: #ee8730;
    --transition: 0.35s;
}

body {
    width: 100vw;
    height: 100vh;

    padding: 0;
    margin: 0;

    font-family: "Sports Body", sans-serif;

    background-color: var(--background-primary);
    color: var(--content);
}

header {
    top: 0;
    padding-right: 0.555em;

    height: 6em;

    z-index: 5;

    /* box-shadow: 0 0 1em var(--background-primary); */
    box-shadow: 0 0 1em #111111;

    max-width: 100vw;
}

#greeting {
    margin-top: 6em;

    height: 40em;

    background-image: url("imgs/main/bacon-burger.webp");
    /* background-size: contain; */
    background-size: cover;
    /* background-position: 100% 80%; */
    background-position: 100% 80%;
    background-repeat: no-repeat;
    background-color: #1f1f27;
}

#greeting-text {
    max-width: 30em;
}

#hamburger-button, #hamburger-menu {
    display: none;
}

.full-width {
    width: 100%;
}

.hw-container {
    width: 50%;
    max-width: 50%;
}

.hw-expandable {
    width: 49%;
    max-width: 49%;
}

.tw-container {
    width: 33%;
    max-width: 33%;
}

.tw-expandable {
    width: 32%;
    max-width: 32%;
}

.mc-expandable {
    width: 70%;
}

.full-height {
    height: 100%;
}

.row {
    display: flex;
    flex-direction: row;

    flex-wrap: wrap;
}

.r-row {
    display: flex;
    flex-direction: row-reverse;

    flex-wrap: wrap;
}

.column {
    display: flex;
    flex-direction: column;
}

/* flex no assume height */
.flex-nah {
    align-items: flex-start;
}

.flex-ns {
    flex-shrink: 0;
}

.sm-gap {
    gap: 1em;
}

.md-gap {
    gap: 2em;
}

.sm-gap-padding {
    padding: 0 0.5em;
}

.grow {
    flex-grow: 1;
}

.x-center {
    display: flex;

    justify-content: center;
}

.y-center {
    display: flex;

    align-items: center;
}

.xy-center {
    display: flex;

    justify-content: center;
    align-items: center;
}

.text-center {
    text-align: center;
}

.skew-x {
    transform: skewX(-20deg);
}

.sm-padding {
    padding: 1em;
}

.md-padding {
    padding: 2em;
}

.long-padding {
    padding: 1.25em 2.5em;
}

.glass-box {
    background-color: rgba(0, 0, 0, 0.7);

    backdrop-filter: blur(0.5em);
}

.heading {
    font-family: "Sports Heading";
}

.xl-text {
    font-size: 4em;
}

.lg-text {
    font-size: 3.75em;

    /* margin: 0;
    padding: 0; */
}

.md-text {
    font-size: 2.5em;

    vertical-align: middle;
}

.sm-text {
    font-size: 1.25em;
}

.no-select {
    user-select: none;
}

.fixed {
    position: fixed;
}

.border-sizing {
    box-sizing: border-box;
}

.bg-primary {
    background-color: var(--background-primary);
}

.bg-secondary {
    background-color: var(--background-secondary);
}

.button-translate {
    transform: translateX(-0.555em);
}

.content-container {
    display: flex;
    flex-direction: column;

    gap: 1em;
}

.card {
    padding: 1.25em;

    background-color: var(--background-secondary);

    box-shadow: 0 0 2em var(--background-primary);
}

.card img {
    height: 100%;
}

.button {
    padding: 0.75em;

    color: var(--content);
    background-color: var(--accent);

    border-radius: 0.75em 0 0.75em 0;

    font-size: 1.5em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;

    /* transform: skewX(-20deg) translateX(-0.555em); */
    transform: skewX(-20deg);
    transition: var(--transition);

    user-select: none;
    cursor: pointer;
}

.button:hover{
    background-color: #ee8730;
    text-decoration: none;

    border: 0;

    transform: scale(1.05) skewX(-20deg);
    transition: var(--transition);
}

#hamburger-button {
    display: none;

    height: 100%;
    padding: 1em 0.5em;

    box-sizing: border-box;
}

#hamburger-menu {
    width: 100%;
    max-width: 100vw;;
    padding: 1em 2em;

    box-sizing: border-box;

    background-color: #1f1f27;

    /* display: flex; */
    display: none;
    flex-direction: column;

    gap: 1em;

    position: fixed;
    z-index: 5;

    top: 6em;
}

footer {
    margin-top: 6em;
    padding: 2em;

    box-sizing: border-box;

    background-color: var(--accent);
}

.logo {
    width: 2em;
}

.no-link-style * {
    /* text-decoration: none !important; */

    color: var(--content);
}

.no-link-style-myself-but-underline {
    /* text-decoration: none !important; */

    color: var(--content);
}

@media only screen and (max-width: 70em) {
    #header-text {
        font-size: 1.5em;
    }

    #navbar-buttons {
        display: none;
    }

    #hamburger-button {
        display: block;
    }

    .hw-expandable, .tw-expandable {
        width: 100%;
        max-width: 100%;
    }

    .mc-expandable {
        width: 90%;
        max-width: 90%;
    }

    .lg-text {
        font-size: 3.25em;
    
        /* margin: 0;
        padding: 0; */
    }
}