/* :root {
    --bg: #f5f5f5;
    --navbar: #ffffff;
    --text: #000000;
    --shadow: rgba(88, 88, 88, 0.5);
    --theme: #715EFF;
    --loader: #715EFF;
} */
:root {
    --bg: #303030;
    --navbar: #222222;
    --text: #818181;
    --shadow: rgba(26, 26, 26, 0.6);
    --theme: #715EFF;
    --loader: #ffffff;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #303030;
        --navbar: #222222;
        --text: #818181;
        --shadow: rgba(26, 26, 26, 0.6);
        --theme: #715EFF;
        --loader: #ffffff;
    }
}
body {
    padding: 0;
    margin: 0;
    background: var(--bg);
    font-family: 'Varela', sans-serif;
    color: var(--text);
    overflow-x: hidden;
}
.hidden {
    display: none;
}
#main-navbar {
    background: var(--navbar);
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    padding: 0em;
    margin: 0;
    width: 100%;
    box-shadow: 0px 0px 8px 0px var(--shadow);
    z-index: 1;
    border-bottom: #715EFF 5px solid;
}
#main-navbar ul {
    display: inline;
    position: absolute;
    right: 6em;
    list-style: none;
    text-align: right;
    font-size: 1.2em;
}
#main-navbar li {
    display: inline;
    margin-left: 0.8em;
    margin-right: 0.8em;
    border-bottom: 3px solid var(--navbar);
    transition: all .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    color: var(--text)
}
#main-navbar li:hover {
    border-bottom: 3px solid var(--theme);
}
#main-navbar .gemplo-logo {
    width: 10em;
    margin-left: 6em;
}
#gemplo-mascot {
    right: 10px;
    top: 25em;
    width: 5vw;
    height: 5vw;
    border: solid var(--loader) .32vw;
    transform: scale(6) translate(0px, 0px) rotate(-50deg);
    box-shadow: 0px 0px 8px 0px var(--shadow);
}
.gemplo-loader {
    position: relative;
    margin-left: auto;
}
.gemplo-loader .eye, .nose {
    width: 1.6vw;
    height: 1.6vw;
    background: var(--loader);
    position: absolute;
    animation: vibrate-1 0.3s linear infinite both alternate-reverse
}
.gemplo-loader .eye:nth-child(1) {
    top: 5px;
    left: 5px;
}
.gemplo-loader .eye:nth-child(2) {
    top: 5px;
    right: 5px;
}
.gemplo-loader .nose {
    width: 0.8vw;
    height: 0.8vw;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 1.4vw;
    animation: vibrate-1 0.3s linear infinite both;
}
.gemplo-loader .pupil {
    width: 0.8vw;
    height: 0.8vw;
    background: var(--bg);
    position: absolute;
}
.gemplo-loader .pupil1 {
    top: 18px;
    left: 18px;
    animation: infinite ease-in 0.5s pupil;
}
.gemplo-loader .pupil2 {
    top: 18px;
    right: 10px;
    animation: infinite reverse ease-in-out 0.5s pupil;
}
body::-webkit-scrollbar {
    width: 0.5em;
}
body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px var(--navbar);
}
body::-webkit-scrollbar-thumb {
    border-radius: 2em;
    background-color: var(--theme);
    outline: 1px solid var(--theme);
    transform: scale(0.9)
}
.scroller::-webkit-scrollbar {
    width: 10px;
}
.scroller::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0);
}
.scroller::-webkit-scrollbar-thumb {
    border-radius: 2em;
    background-color: var(--theme);
    outline: 1px solid var(--theme);
    transform: scale(0.9)
}
#banner {
    padding-left: 10em;
}
h1 {
    font-family: 'Righteous', cursive;
    font-size: 3vw;
    color: var(--theme);
    text-shadow: 2px 2px 4px var(--shadow);
}
#banner h1 {
    width: 50vw;
}
#banner .embed-style {
    font-family: 'Varela', sans-serif;
    max-width: 50%;
    font-size: 1.5vw;
    padding-left: 1em;
    background: var(--navbar);
    padding: 1em;
    border-left: #715EFF solid 5px;
    border-radius: 0.2em;
}
#specializations-container {
    text-align: center;
}
#specializations-container img {
    height: 100px;
    max-width: 50%;
}
.prog-platform {
    font-family: 'Righteous', cursive;
    display: inline-block;
    background: var(--theme);
    color: white;
    font-size: 0.8em;
    padding: 0.1em;
    padding-left: 0.4em;
    padding-right: 0.4em;
    vertical-align: middle;
    border-radius: 0.25em;
}
#section-projects {
    background: var(--navbar);
    width: 100%;
    display: block;
    margin-top: 10em;
    box-shadow: 0px 0px 12px 0px var(--shadow);
    text-align: center;
    padding-top: 2em;
    padding-bottom: 10vh;
}
.project-card {
    background: var(--bg);
    display: inline-block;
    padding: 1em;
    text-align: center;
    overflow: hidden;
    width: 15em;
    height: 25em;
    vertical-align: top;
    position: relative;
}
.project-card h2 {
    display: inline-block;
}
.project-card img {
    margin-top: 1em;
    height: 10em;
    border-radius: 1em;
}
.project-card a {
    font-family: 'Righteous', cursive;
    font-size: 1em;
    background: var(--theme);
    color: white;
    outline: none;
    border: none;
    padding: 0.75em;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 0;
}
#mobile-menu {
    display: none;
}
#project-banners {
    text-align: center;
    margin-bottom: 1vw;
    white-space: nowrap;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}
#project-banners img {
    width: 40vw;
    margin: 0vw 1vw 0vw 1vw;
    border: var(--loader) solid 0.6em;
    display: inline-block;
}
#project-banners img:hover {
    opacity: 1;
}
@media only screen and (max-width: 600px) {
    #gemplo-mascot {
        display: none;
    }
    #main-navbar .gemplo-logo {
        margin-left: 3vw;
    }
    #banner {
        padding-left: 4vw;
    }
    h1 {
        font-size: 6vw;
    }
    #banner h1 {
        width: 80vw;
    }
    #banner .embed-style {
        max-width: 80vw;
        font-size: 6vw;
    }
    #section-projects {
        margin-top: 6vh;
    }
    .project-card {
        width: 80vw;
        height: 25em;
        position: relative;
        margin: 1vh;
    }
    #main-navbar ul {
        display: none;
        font-size: 1.2em;
        width: 100%;
        top: 10vh;
        position: absolute;
        left: 0;
        right: 0;
        padding: 0;
        margin: 0;
        text-align: center;
    }
    #main-navbar li {
        width: 100%;
        display: block;
        margin: 0;
        background: var(--navbar);
        color: var(--text);
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        border: none;
    }
    #mobile-menu {
        display: inline-block;
        position: absolute;
        top: 4vw;
        right: 4vw;
        padding: 2vw 4vw 2vw 4vw;
    }
    #project-banners img {
        display: none;
    }
}