/* Import link for SUSE font */
@import url('https://fonts.googleapis.com/css2?family=SUSE:wght@100..800&display=swap');

/* We use this to define some variables associated with the color scheme chosen for this website */
:root {
    --bg-color1: #161616;
    --bg-color2: #1c1c1c;
    --bg-color3: #282828;
    --bg-color4: #2d2d2d;
    --boxshadow-1: #1b1b1b;
    --lg-1: linear-gradient(90deg, rgba(56, 189, 248, 0), #707070 50%, rgba(236, 72, 153, 0)) 1;
}

/* We set some base "rules" for the html and body tags to avoid running into inconsistent behavior */
html,
body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color1);
    color: #ededed;
    overscroll-behavior: none;
    font-family: "SUSE", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}

/* CSS Styles used across all pages */
footer {
    position: static;
    background-color: white;
    width: 100%;
    min-height: 5vh;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 5%;
    background-color: var(--bg-color2);
    border-top: 2px solid;
    border-image: var(--lg-1);
    text-align: center;
}

nav {
    display: flex;
    align-items: center;
    direction: rtl;
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 10vh;
    background-color: var(--bg-color2);
    border-bottom: 2px solid;
    border-image: var(--lg-1);
    z-index: 1;
    max-width: 100%;
}

/* This is a class instead of an ID because there are technically two site titles, but it is not possible to see both at once (the nav dropdown and main title are seperate) */
.siteTitle {
    position: absolute;
    left: 25px;
    display: block;
    float: left;
}

#mainContent {
    position: relative;
    width: auto;
    height: auto;
    background-color: var(--bg-color1);
    min-height: 80vh;
}

#menu {
    display: none;
}

#menu:target {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: var(--bg-color2);
    transition: all 0.5s ease;
    height: 100vh;
    display: block;
    z-index: 2;
}

#menuItems {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20%;
}

#menuItems a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50vw;
    background-color: var(--bg-color4);
    border: 1px solid;
    border-image: var(--lg-1);
    margin: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #ededed;
}

#closeMenuIcon {
    position: absolute;
    right: 0;
    top: 0;
}

.contentPanel {
    background-color: var(--bg-color2);
    min-height: 20vh;
    width: auto;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 5%;
    border: 1px solid;
    border-image: var(--lg-1);
    padding: 10px;
}

.contentPanel img {
    width: 100%;
}

#platformIcons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

#platformIcons img {
    width: 50px;
    height: 50px;
}

#linksPanel {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

#linksPanel img {
    width: 70px;
    height: 70px;
}

/* CSS Styles used only on works.html */

#imageContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#imageContainer img {
    max-width: 100%;
}

/* CSS Styles used only on index.html */
#bannerContainer {
    width: auto;
    height: 60vh;
    background-image: url("../imgs/photos/photo-16.jpg");
    background-color: var(--bg-color2);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid;
    border-image: var(--lg-1);
}

/* Generic CSS Styles used for slight behavior modification across all pages */
.img-sbs {
    width: 50%;
}

.interactionIcon {
    margin: 20px;
    width: 50px;
}

.invertIcon {
    filter: invert(1);
}

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

.insetText {
    margin-left: 20px;
}

/* Media Queries to assist with responsivity (originally I planned to make this website change layouts on desktop, but ran out of time to implement) */
@media (max-aspect-ratio: 1/1) {
    #bannerContainer {
        height: 80vh;
    }

    #menuItems {
        margin-top: 50%;
    }

    #menuItems a {
        width: 90vw;
    }

    #content {
        margin-left: 10px;
        margin-right: 10px;
    }
}