* {
    text-align: center;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: 'Work Sans', arial, helvetica, sans-serif;
    font-weight: 400;

    color: #000000;

    font-size: 1.025em;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    margin-left: -15px;
    margin-right: -15px;
    background-color: #ffffff;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #1e1e1e;
    }
}

main {
    overflow-x: hidden;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 30px;
}

footer {
    height: 50px;
    width: 100%;

    color: #ffffff;
    background: #2a2a2a;

    padding: 20px;
    margin: -20px;
}


gallery {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 633px;
    height: auto;
    flex-wrap: wrap;

    margin: 5px 0 25px 0;
}

.gallery-label {
    width: 100%;
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px 0;
}

.img-container {
    display: flex;
    width: 100%;
    height: 357px;
    flex-wrap: nowrap;
    justify-content: center;
}

/* Gallery Image */
#focus-image {
    width: 100%;
    height: 100%;

    display: flex;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* transition: 0.15s; */

    cursor: pointer;
}

.arrow-container {
    width: inherit;
    height: fit-content;

    display: flex;
    justify-content: left;

    margin-top: 15vw;
    margin-left: 5px;
    margin-right: 5px;
}

/* gallery-arrow icon text */
.arrow-container i {
    font-size: 40px;
    opacity: 0.6;
    cursor: pointer;
    height: 40px;
    width: 40px;
}

.gallery-arrow {
    color: #ffffff;

    padding: 15px;
    border-radius: 25%;

    background: #000000;
}

.thumb-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 5px;
    width: 85%;
    height: auto;

	margin-top: 5px;
}

.thumb {
    color: #ffffff;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    font-size: 2em;

    padding: 1.15vw 1.15vw 1.15vw 1.15vw;

    cursor: pointer;
    overflow: hidden;

    text-align: center;

    width: 0.625vw;
    max-height: 6.25px;

    opacity: 1;
}

.thumb:hover {
    opacity: 0.5;
    transition: 0.1s;
}

.thumb.selected {
    background-color: #ffffff2c;
    border-radius: 8px;
    opacity: 1;
}

.logo {
    font-family: Noto Serif;
    /* font-family: Arial, Helvetica, sans-serif; */
    color: #000000;
    /* text-shadow: 2px 2px 2px #611945; */

    margin: auto;
    font-size: 2em;
}

a:hover {
    color: #c3c3c3;
    transition: 0.05s;
}

nav {
    background-color: #ffffff;
    box-shadow: 2px 2px 5px #00000026;

    position: fixed;
    z-index: 5;

    width: 100%;
    height: auto;
    margin: -15px 0 0 0;
    padding: 10px 10px 10px 10px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-decoration: none;
}

nav a {
    text-decoration: none;
    color: #900000;
    font-weight: bold;

    padding-right: 25px;
}

.back-btn {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    padding: 0;
    color: #ffffff;
}

.nav-links {
    flex-basis: 100%;
    height: auto;
    padding: 15px;
    background: white;
    font-size: 18px;

    margin: 10px 0 0 -10px;
    position: relative;
}

.hamburger-button {
    color: #ffffff;
    font-size: 2em;
    padding-left: 10px;

    cursor: pointer;
}

#hamburger-menu {
    background: #ffffff;
    color: #900000;

    position: fixed;
    z-index: 99;
    margin: -15px;
    padding: 15px;

    display: flex;
    flex-wrap: wrap;
    justify-content: left;

    overflow: visible;

    display: none;

    width: 0px;
    height: 100%;

    /* transition: 0.5s; */
}

#hamburger-menu div a {
    text-decoration: none;
    justify-content: left;
    text-align: left;
    color: #900000;
    flex-basis: 100%;
    font-size: 2em;
    height: 75px;
}

#hamburger-menu div a:hover {
    text-decoration: none;
    color: #ad0101;
    font-weight: bold;
    flex-basis: 100%;
    font-size: 2em;
    height: 50px;
}

#hamburger-menu i {
    font-size: 3em;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.button {
    background: #900000;
    color: #ffffff;
    font-size: 25px;
    padding: 1vw 2vw 1vw 2vw;
    border-radius: 15px;

    width: 10vw;
    height: auto;

    margin: 20px auto 0 auto;
    min-width: 100px
}

.button:hover {
    background: #ad0101;
    font-size: 26px;
    transition: 0.15s;
    cursor: pointer;
}

.project-btn {
    width: clamp(180px, 15vw, 250px);
    height: clamp(120px, 10vw, 170px);
    flex-shrink: 0;

    margin: 0.5em;
    border-radius: 1em;
    padding: 1em;

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

.project-btn:hover {
    background-color: #d1d1d1;
    transition: 0.15s;
}

.project-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*
        Source - https://stackoverflow.com/a/53336754
        Posted by Manish Menaria, modified by community. See post 'Timeline' for change history
        Retrieved 2026-02-05, License - CC BY-SA 4.0
    */
    filter: invert(0%) sepia(0%) saturate(100%) hue-rotate(0) brightness(0) contrast(80%);
}

.project-btn:hover {
    transition: 0.15s;
    cursor: pointer;
}

.container {
    font-family: 'Work Sans', arial, helvetica, sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    padding-top: 1.5em;
    padding-bottom: 1.5em;

    flex-basis: 100%;
}

.container-break {
    width: 100vw;
    padding-top: 1em;
    padding-bottom: 1em;
}

.container video {
    height: auto;
    /* box-shadow: 1px 1px 8px #000000ad; */
}

.container:nth-child(even) {
    background: #f6f6f6ec;
    /* border-style: solid; */
    /* border-color: #900000; */
    /* border-width: 5px; */
}

.feature {
    color: #ffffff;
    background-image: url('img/ex_img0.JPG');
    background-position: center;

    font-size: 2em;

    margin: 15px;
    padding: 90px 10px 90px 10px;

    cursor: pointer;
    overflow: hidden;

    text-align: center;

    width: auto;
    height: auto;
    min-width: 200px;
    max-width: 200px;
}

.feature:hover {
    opacity: 80%;
    font-size: 2.1em;
    transition: 0.15s;
}

.divider {
    background: #dfdfdf;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    flex-basis: 100%;
    font-size: 1.25em;

    align-items: center;

    color: #000000;

    padding: 2vw;
    margin: 0 -20px 0 -20px;
}

.divider img {
    width: 350px;
    height: auto;
    /* filter: invert(0%) sepia(0%) saturate(100%) hue-rotate(0) brightness(0) contrast(80%); */
    /* box-shadow: 1px 1px 8px #000000ad; */
}

.divider video {
    width: 525px;
    height: auto;
    /* box-shadow: 1px 1px 8px #000000ad; */
}

.logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logos {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.logo-group .role {
    text-align: center;
    margin-top: 10px;
    font-size: 1.5em;
    font-weight: 300;
}

.logo-group .site-link {
    margin-top: 8px;
    font-size: 1em;
}

.logo-group .site-link a {
    font-weight: bold;
    text-decoration: none;
}

.logo-group .site-link a:hover {
    transition: 0.05s;
}

.logo-group .site-link i {
    padding-right: 6px;
}

.break {
    flex-basis: 100%;
    height: 50px;
}

.item {
    padding: 10px;
}

.title-container {
    color: #ffffff;
    /* text-shadow: 3px 3px 2px #b92424; */

    z-index: 3;
    position: absolute;

    justify-content: center;
    margin-top: 9vw;

    max-width: 50vw;

    width: auto;
    height: auto;
}

.title {
    /* background-color: #9000006e; */
    border-radius: 15px;
    /* border: solid;
  border-color: #ffffff; */

    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
    font-family: "Playfair Display";

    font-size: 3.7vw;
    padding: 15px;

    width: auto;
    height: auto;
}

.subtitle {
    background-color: #700000;

    font-size: 1.5vw;
    padding: 10px;

    width: 75%;
    height: auto;
}

.showcase {
    width: 100%;
    height: 35vw;

    display: flex;
    justify-content: center;

    padding: 20px;
    margin: 5px -20px 0 -20px;

    opacity: 0.65;

    background-size: cover;
    background-position-y: center;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    width: 25vw;
    min-width: 400px;
}

.contact-form p {
    width: auto;
}

.contact-form input {
    padding: 10px 0 10px 10px;
    margin-top: 13px;

    border: solid;
    border-color: #cacaca;
    border-width: 1px;

    text-align: left;

    font-size: 15px;
    font-weight: normal;
}

.contact-form textarea {
    padding: 10px 0 10px 10px;
    margin-top: 13px;

    border: solid;
    border-color: #cacaca;
    border-width: 1px;

    text-align: left;

    font-size: 15px;
    font-weight: normal;
}

.contact-form input:hover {
    border-color: #363636;
    border-width: 1px;
    /* transition: 0.15s; */
}

.contact-form textarea:hover {
    border-color: #363636;
    border-width: 1px;
    /* transition: 0.15s; */
}

@media only screen and (max-width: 1500px) {
    .showcase {
        height: 35vw;
    }
}

@media only screen and (max-width: 1300px) {
    .divider {
        flex-wrap: wrap;
    }

    .divider div {
        flex-basis: 100%;
        width: 350px !important;
        margin: 15px auto !important;
    }
}

@media only screen and (max-width: 750px) {
    .contact-form {
        width: 80vw;
    }

    .button {
        min-width: 150px;
        min-height: 60px;
    }

    .logo {
        margin: auto;
    }

    .nav-links {
        display: none;
    }

    .title-container {
        margin-top: 25vw;
        max-width: 90vw;
    }

    .title {
        font-size: 9vw;
    }

    .subtitle {
        font-size: 1.3em;
    }

    .hamburger-button {
        display: block;
    }

    .divider {
        flex-wrap: wrap;
    }

    .divider div {
        flex-basis: 100%;
        width: 90% !important;
        margin: 0 auto 15px auto !important;
    }

    .container > div:not(.thumb-container):not(.thumb):not(.img-container) {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .showcase {
        height: 75vw;
    }

    .img-container {
        height: 250px;
    }

    #focus-image {
        width: 100%;
        height: 100%;

        display: flex;

        background-size: contain;
    }

    .arrow-container {
        margin-top: 20vw
    }

    .thumb-container {
        flex-wrap: wrap;
        height: auto;
        justify-content: flex-start;
        margin: 0 10%;
        width: 80%;
    }

    .thumb {
        width: 45px;
        height: 45px;
        max-height: 45px;
        padding: 4px;
    }
}

@media only screen and (min-width: 750px) {
    .hamburger-button {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .project-btn {
        width: 70%;
        height: 120px;
        min-width: unset;
        min-height: unset;
    }
}


/* Dark theme styles */
@media (prefers-color-scheme: dark) {
    * {
        color: #ffffff;

    }

    .container {
        background: #131313;
    }

    .container:nth-child(even) {
        background: #141414ec;
    }

    nav {
        background-color: #222222;
        box-shadow: 2px 2px 5px #ffffff26;
    }

    .logo {
        color: #ffffff;
    }

    .divider {
        background: #242424;
    }

    .logo-aether {
        filter: invert(0%) sepia(0%) saturate(100%) hue-rotate(0) brightness(100%) contrast(0%);
    }

    .project-btn img {
        filter: invert(0%) sepia(0%) saturate(100%) hue-rotate(0) brightness(100%) contrast(0%);
    }
}
