@media (max-width: 400px) {
    :root {
        --white: #fff;
        --xsmall-text: 14px;
        --small-text: 16px;
        --footer-text: 16px;
        --medium-text: 22px;
        --large-text: 30px;
        --left-margin: 75px;
        --top-margin: 50px;
        --background-tint: rgba(0, 0, 0, .7);
    }
    .section {
        margin: 5vw !important;
    }
}

@media (min-width: 400px) {
    :root {
        --white: #fff;
        --xsmall-text: 14px;
        --small-text: 18px;
        --footer-text: 18px;
        --medium-text: 24px;
        --large-text: 36px;
        --left-margin: 75px;
        --top-margin: 50px;
        --background-tint: rgba(0, 0, 0, .7);
    }
}

/* navigation bar */

.navbar {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    flex-wrap: wrap;
    z-index: 10;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
}

.navbar-entry {
    color: black;
    padding: 15px;
    font-size: var(--small-text);
    font-weight: 300;
}

.navbar-show-small-screen {
    display: none;
}

@media (max-width: 580px) {
    .navbar-hide-small-screen {
        display: none;
        width: 100vw;
    }
    .navbar-show-small-screen {
        display: inline-block;
        cursor: pointer;
    }
    input:checked~.navbar-hide-small-screen {
        display: block;
    }
}

.navbar-entry-logo {
    margin-right: auto;
    font-size: var(--medium-text);
    padding: 10px 15px;
    font-weight: 300;
}

.navbar-text-gradient {
    background: rgb(0, 25, 209);
    background: -moz-linear-gradient(33deg, rgba(0, 25, 209, 1) 40%, rgba(195, 0, 0, 1) 89%);
    background: -webkit-linear-gradient(33deg, rgba(0, 25, 209, 1) 40%, rgba(195, 0, 0, 1) 89%);
    background: linear-gradient(33deg, rgba(0, 25, 209, 1) 40%, rgba(195, 0, 0, 1) 89%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0019d1", endColorstr="#c30000", GradientType=1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d6e700", endColorstr="#c30000", GradientType=1);
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.wrap {
    height: var(--large-text);
    display: flex;
}

.logo-icon {
    margin-right: 10px;
    max-height: 100%;
    height: 100%;
}

.navbar-icon {
    cursor: pointer;
}

.navbar-link {
    text-decoration: none;
    color: black;
}

/* Splash page */

.landing {
    height: 100%;
    width: 100%;
    margin: 0;
    position: relative;
    background: rgb(79, 211, 228);
    background: -moz-linear-gradient(33deg, rgba(79, 211, 228, 1) 19%, rgba(99, 227, 181, 1) 89%);
    background: -webkit-linear-gradient(33deg, rgba(79, 211, 228, 1) 19%, rgba(99, 227, 181, 1) 89%);
    background: linear-gradient(33deg, rgba(79, 211, 228, 1) 19%, rgba(99, 227, 181, 1) 89%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4fd3e4", endColorstr="#63e3b5", GradientType=1);
}

/* Desktop */

@media screen and (min-aspect-ratio: 7/8) {
    @media (max-height: 650px) {
        .header-box {
            position: absolute;
            width: 80vw;
            left: 50%;
            transform: translatex(-50%);
            background-color: var(--background-tint);
            background-blend-mode: multiply;
            padding: 25px;
            border-radius: 15px;
        }
        .hide-for-small-screen {
            display: none;
        }
        .landing {
            height: 175%;
        }
    }
    @media (min-height: 650px) {
        .header-box {
            background-color: var(--background-tint);
            background-blend-mode: multiply;
            margin-left: var(--left-margin);
            max-width: 30vw;
            width: 100%;
            padding: 25px;
            border-radius: 15px;
            position: absolute;
        }
    }
    .sphere {
        width: 70vh;
        height: 70vh;
        margin: 75px;
        margin-right: 4vw;
        min-width: 360px;
    }
    .quote {
        background-color: var(--background-tint);
        background-blend-mode: multiply;
        margin-left: var(--left-margin);
        width: 50vw;
        padding: 15px;
        border-radius: 15px;
        color: var(--white);
        font-weight: 300;
        font-size: var(--small-text);
        position: absolute;
        bottom: 8vh;
    }
}

/* Mobile */

@media screen and (max-aspect-ratio: 7/8) {
    @media (min-width: 530px) {
        .header-box {
            position: absolute;
            width: 80vw;
            left: 50%;
            transform: translatex(-50%);
            background-color: var(--background-tint);
            background-blend-mode: multiply;
            padding: 25px;
            border-radius: 15px;
        }
        .hide-for-small-screen {
            display: none;
        }
    }
    @media (max-width: 530px) {
        .header-box {
            position: absolute;
            width: 80vw;
            left: 50%;
            transform: translatex(-50%);
            background-color: var(--background-tint);
            background-blend-mode: multiply;
            padding: 25px;
            border-radius: 15px;
        }
    }
    .sphere {
        margin: auto;
        width: 80vh;
        height: 80vh;
    }
    .quote {
        background-color: var(--background-tint);
        background-blend-mode: multiply;
        width: 80vw;
        padding: 15px;
        border-radius: 15px;
        color: var(--white);
        font-weight: 300;
        font-size: var(--small-text);
        position: absolute;
        bottom: 4vh;
        left: 50%;
        transform: translatex(-50%);
    }
}

@media (max-height: 700px) {}

.entry {
    margin-top: 5px;
    margin-bottom: 5px;
}

.subtitle {
    color: #E62163;
    font-weight: 400;
    font-size: var(--small-text);
}

.title {
    color: var(--white);
    font-weight: 600;
    font-size: var(--large-text);
}

.description {
    color: var(--white);
    font-weight: 300;
    font-size: var(--small-text);
}

.head-flex-container {
    padding-top: 100px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.overlay-container {
    padding-top: 12vh;
}

.sphere-overlay {
    position: absolute;
    max-width: 80vw;
    width: 70vh;
    right: 10vw;
    top: 100px;
    z-index: 0;
}

.sph-temp {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Misc */

body, html {
    height: 100%;
    margin: 0;
    /* scroll-behavior: smooth;*/
    font-family: 'Open Sans', sans-serif
}

hr {
    width: 95%;
    border-radius: 6px;
    height: 6px;
    border-width: 0px;
}

.gradient-purple {
    background: rgb(95, 59, 198);
    background: -moz-linear-gradient(33deg, rgba(95, 59, 198, 1) 19%, rgba(183, 94, 214, 1) 89%);
    background: -webkit-linear-gradient(33deg, rgba(95, 59, 198, 1) 19%, rgba(183, 94, 214, 1) 89%);
    background: linear-gradient(33deg, rgba(95, 59, 198, 1) 19%, rgba(183, 94, 214, 1) 89%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5f3bc6", endColorstr="#b75ed6", GradientType=1);
}

.gradient-orange {
    background: rgb(231, 97, 0);
    background: -moz-linear-gradient(33deg, rgba(231, 97, 0, 1) 19%, rgba(195, 3, 0, 1) 89%);
    background: -webkit-linear-gradient(33deg, rgba(231, 97, 0, 1) 19%, rgba(195, 3, 0, 1) 89%);
    background: linear-gradient(33deg, rgba(231, 97, 0, 1) 19%, rgba(195, 3, 0, 1) 89%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e76100", endColorstr="#c30300", GradientType=1);
}

.gradient-green {
    background: rgb(210, 231, 0);
    background: -moz-linear-gradient(33deg, rgba(210, 231, 0, 1) 19%, rgba(92, 195, 0, 1) 89%);
    background: -webkit-linear-gradient(33deg, rgba(210, 231, 0, 1) 19%, rgba(92, 195, 0, 1) 89%);
    background: linear-gradient(33deg, rgba(210, 231, 0, 1) 19%, rgba(92, 195, 0, 1) 89%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d2e700", endColorstr="#5cc300", GradientType=1);
}

.icon {
    color: white;
    transition: .25s;
    margin-left: 0.5vmin;
    margin-right: 0.5vmin;
}

.icon:hover {
    color: rgb(181, 44, 181);
    transform: scale(1.25);
}

.button-shortcut {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-wrapper {
    margin: auto;
    max-width: 2000px;
}

.section {
    margin: var(--top-margin) var(--left-margin);
}

.section-header {
    font-weight: 300;
    font-size: var(--large-text);
    margin-bottom: 40px;
}

.section-subheader {
    font-weight: 300;
    font-size: var(--small-text) !important;
    margin-bottom: 40px;
}

/* About Section */

.about-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    background-color: var(--background-tint);
    border-radius: 15px;
    margin: auto;
    margin-top: 36px;
    max-width: 700px;
}

.about-entry {
    width: 50%;
    flex-grow: 1;
    min-width: 200px;
    line-height: 26px;
}

.about-text {
    margin: 15px;
    color: var(--white);
    font-weight: 300;
    font-size: var(--small-text);
}

.flex-reverse {
    flex-direction: row-reverse;
}

.about-image {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.about-image-outer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.about-image-inner {
    padding: 10px;
}

.about-hyperlink {
    text-decoration: none;
    font-weight: 600;
    color: var(--white);
}

/* Project Section */

.project-wrapper {
    position: relative;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.project-container {
    width: 100%;
    height: 300px;
}

.project-entry {
    margin: 1vh 2vh;
}

.project-slide {
    box-shadow: 0 0 10px 3px #bbb;
    width: 300px;
    border-radius: 15px;
    text-align: center;
    margin: auto;
    margin-top: 25px;
    font-size: 18px;
    transition: .5s ease-in-out;
    position: relative;
    padding: 0;
    display: block;
    cursor: pointer;
    overflow: hidden;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.project-card-image {
    height: 15rem;
    width: 100%;
    object-fit: fill;
}

.image {
    opacity: 1;
    transition: .5s ease-in-out;
    backface-visibility: hidden;
}

.project-content {
    border-radius: 15px;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.85);
    width: 100%;
    height: 100%;
    transition: 0.4s;
}

.project-slide .project-content:hover {
    opacity: 1;
}

.project-slide .project-content .project-text {
    height: 0;
    opacity: 1;
    transition-delay: 0s;
    transition-duration: 0.4s;
}

.project-text {
    /* center text */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    color: var(--white);
    font-weight: 300;
    font-size: var(--small-text);
}

.project-text-wrapper {
    padding: 10px;
}

.project-subtitle {
    color: black;
    font-weight: 300;
    font-size: var(--small-text);
}

/* Contact Section */

.contact-text {
    font-size: var(--small-text);
    font-weight: 300;
}

.icon {
    transition: .25s;
    margin-left: 1vmin;
}

.icon-white {
    color: white;
}

.icon-black {
    color: black;
}

.icon:hover {
    color: rgb(181, 44, 181);
    transform: scale(1.25);
}

.button {
    transition: 0.25s;
    cursor: pointer;
    padding: 10px 4vw !important;
}

.button:hover {
    background-color: rgb(181, 44, 181);
    color: white;
}

.contact-region {
    /*margin: 0 3vw;*/
}

.contact-box {
    background-color: #DDD;
    box-shadow: 0 0 10px 2px #eee;
    border-radius: 15px;
    border-width: 0;
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: var(--xsmall-text);
    font-weight: 300;
}

.contact-small-box {
    width: 100%;
    resize: vertical;
}

.contact-textarea {
    min-height: 80px;
}

.contact-submission {
    width: fit-content;
    margin: auto;
}

.test {
    width: 90%;
    margin: auto;
}

footer {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: var(--footer-text);
    font-weight: 300;
    padding: 20px;
}

.attribution {
    color: black;
    text-decoration: none;
    font-weight: 400;
}
