@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans&display=swap');

:root {
    --dark-darker: #111111;
    --dark: #232323;
    --dark-lighter: #414141;
    --light: #DADADA;
    --light-darker: #808080;
    --orange: #FF7F27;
    --dark-transparent: rgba(35, 35, 35, 0.5);
    --light-transparent: rgba(255, 255, 255, 0.5);
    --orange-transparent: rgba(255, 126, 41, 0.7);

    --sb-bg-color: var(--dark);
    --sb-fg-color: var(--dark-darker);
}
/* scrollbar firefox */
* {
    scrollbar-color: var(--sb-bg-color) var(--sb-fg-color);
    scrollbar-width: 14px;
}
/* scrollbar chromium */
::-webkit-scrollbar {
    z-index: 10;
    width: 14px;
}
::-webkit-scrollbar-track {
    background: var(--sb-bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--sb-fg-color);
}

* {
    color: var(--light);
    font-family: 'Rethink Sans', sans-serif;
    z-index: 100;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    width: 100%;
    height: 5vw;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--dark-darker);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.6);
    font-size: 1.5lvw;
    transition: background-color 0.5s ease, box-shadow 0.25s ease;
}
.transparent-navbar {
    background-color: transparent !important;
    box-shadow: none !important;
    transition: background-color 0.5s ease, box-shadow 0.25s ease;
}
#checkBtn {
    font-size: 4lvh;
    color: inherit;
    cursor: pointer;
    display: none;
}
.menu {
    display: none;
}
.navbar .left,
.navbarlogo,
.navbar .right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
}
.navbar .left {
    margin-left: 2.5%;
    justify-content: flex-start;
}
.navbar .right {
    margin-right: 2.5%;
    justify-content: flex-end;
}
.navbar-logo {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    height: 8vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: ease-in-out 0.45s;
}
a + a {
    margin-left: 10%;
}
.left a,
.right a {
    text-decoration: none;
    color: inherit;
    transition: color 0.5s ease;
    white-space: nowrap;
}
.left a:hover,
.right a:hover {
    color: var(--orange);
    transition: color 0.5s ease;
}

.sections {
    display: flex;
    flex-direction: column;
}
.section {
    padding: 2.5%;
    padding-top: 15vh;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
    flex-wrap: nowrap;
}
.content {
    display: flex;
    width: 100%;
    height: 100%;
}

#jbin-container {
    position: relative;
    width: 100%;
    height: 100vh;
}
#jbin {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.background-image {
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.background-image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: ease-in-out 2s;
    background-position: center;
}
.background-image img.active {
    opacity: 1;
}
#jbin, .background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
#jbin .content {
    display: flex;
    align-items: center;
    justify-content: center;
}
#jbin .content .text {
    width: 50%;
    height: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#jbin .content .text .sign {
    font-size: 2lvw;
    font-weight: bold;
    border-radius: 10px;
    padding: 1%;
    margin: 1%;
    transition: all 2s ease;
    white-space: nowrap;
    color: var(--orange);
}
#jbin .content .text .sign a {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

#about {
    background: linear-gradient(to top, var(--dark) 25%, var(--dark-lighter) 100%);
}
#about .content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#about .content img {
    width: 35%;
    height: 100%;
    border-radius: 10px;
    margin-right: 7.5%;
    margin-left: 2.5%;
    object-fit: scale-down;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.6));
}
#about .content .text {
    font-size: 1.75lvw;
    width: 50%;
    height: auto;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    color: var(--light);
    border: solid 3px var(--orange);
    border-radius: 10px;
    padding: 2%;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
}
#about .content .text h1 {
    margin-bottom: 3%;
    color: var(--orange);
}

#team {
    background: linear-gradient(to top, var(--dark-darker) 25%, var(--dark) 100%);
    flex-direction: column;
    padding-top: 12.5vh;
}
#team .content {
    display: flex;
    flex-direction: column;
}
#team .team-header {
    font-weight: bold;
    font-size: 1.5lvw;
    margin-bottom: 0.5%;
    border-radius: 10px;
    padding: 0.5%;
    white-space: nowrap;
    color: var(--light);
    border: solid 3px var(--orange);
    color: var(--orange);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
}
.profile-row {
    display: flex;
    flex-direction: row;
    margin-top: 0.25%;
    margin-bottom: 0.25%;
    height: 50%;
    width: 100%;
}
.profile {
    display: flex;
    flex-direction: row;
    background-color: var(--dark);
    width: 20%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
    padding: 1%;
    margin: 0.25%;
}
.profile img {
    width: 35%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 5%;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
}
.profile #expand-icon {
    display: none;
}
.profile .text {
    display: flex;
    flex-direction: column;
    width: 60%;
}
.profile .text .title {
    font-size: 1.2lvw;
    color: var(--orange);
    font-weight: bold;
}
.profile .text .short-description {
    font-size: 1lvw;
    margin-top: 1.5%;
    margin-bottom: 5%;
}
.profile .text .description {
    font-size: 0.8lvw;
}
.profile .text .description ul {
    margin-left: 0.75vw;
    width: 100%;
}

#projects {
    background: linear-gradient(to top, var(--dark) 25%, var(--dark-darker) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}
#projects .content {
    flex-direction: row;
    justify-content: space-between;
}
#projects .content .project-buttons {
    display: flex;
    flex-direction: column;
    width: 10%;
    height: 40%;
    list-style: none;
}
#projects .content .project-display {
    display: flex;
    flex-direction: row;
    width: 90%;
    justify-content: space-between;
    margin-left: 3.5%;
}
#projects .content .project-display img {
    display: flex;
    width: 60%;
    height: 100%;
    min-width: 60%;
    border-radius: 10px;
    margin-left: 2.5%;
    object-fit: cover;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
    transition: opacity 0.25s;
}
#projects .content .project-display #project-text {
    width: 40%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
#projects .content .project-display #project-text #project-title {
    font-size: 2.5lvw;
    font-weight: bold;
    margin-bottom: 5%;
}
#projects .content .project-display #project-text #project-description {
    font-size: 1.85lvw;
    text-align: left;
    margin-top: 0;
}
#projects .content .project-display #project-text #stage {
    margin-top: auto;
    font-size: 2lvw;
    text-align: left;
}
#projects .content .project-display #project-text #project-stage {
    font-size: 1.9lvw;
    text-align: left;
    font-style: italic;
    color: var(--orange);
}
#projects .content .project-buttons button, #projects .content #project-title button {
    width: 300px;
    height: 25px;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
    transition: all 1s ease;
    white-space: nowrap;
    color: var(--orange);
}
#projects .content .project-buttons button {
    font-size: 1.2lvw;
    margin-bottom: 2vh;
    color: inherit;
}
#projects .content .project-buttons button:hover {
    font-size: 1.4lvw;
}
#projects .content .project-buttons button.active {
    font-weight: bold;
}
.content-mobile {
    display: none;
}

#updates {
    background: linear-gradient(to top, var(--dark-darker) 10%, var(--dark-lighter) 50%, var(--dark) 100%);
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#updates .content {
    margin: 0 2.5%;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 90%;
}
#updates .content .text {
    width: 50%;
    height: auto;
    font-size: 1.75lvw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: solid 3px var(--orange);
    border-radius: 10px;
    padding: 2%;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
}
#updates .content .text h1, #updates .content .text p {
    margin-bottom: 3%;
}
#updates .content .text h1 {
    color: var(--orange);
}
#updates .content .text a {
    align-self: flex-end;
    display: flex;
    justify-content: center;
    width: 35%;
    min-height: 10%;
}
#updates .content .text a img {
    width: 50%;
    object-fit: scale-down;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.5));
    transition: width 0.5s ease;
}
#updates .content .text a img:hover {
    width: 65%;
}
#updates .content .video {
    width: 50%;
    margin-right: 5%;
}
iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
}

.footer {
    width: 100%;
    height: 5vw;
    display: flex;
    align-items: center;
    background-color: var(--dark-darker);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.6);
    font-size: 1.5lvw;
    z-index: 1000;
    margin-top: 5vh;
}
.footer ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5px;
    list-style: none;
}
.footer ul li {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}
.footer ul li .footer-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.footer ul li .footer-info p {
    margin-right: 8%;
    margin-left: 8%;
}
.footer ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.footer ul li img {
    width: 20%;
    object-fit: contain;
}
#case {
    height: 100%;
}
.window {
    opacity: 0;
    display: none;
    pointer-events: none;
}

@media all and (max-aspect-ratio: 1.75) {
    .profile .text .title {
        font-size: 1.35lvw;
    }
    .profile .text .short-description {
        font-size: 1.15lvw;
    }
    .profile .text .description {
        font-size: 0.95lvw;
    }
}
@media all and (max-aspect-ratio: 1.5) {
    .navbar {
        height: 10vh;
        justify-content: space-between;
        align-items: center;
        transition: all 0.5s ease 0s;
        padding: 3%;
    }
    .navbar-logo {
        height: 6.5vh;
        align-self: center;
    }
    #checkBtn {
        position: absolute;
        display: flex;
        align-self: center;
        justify-self: left;
    }
    .left a, .right a {
        display: none;
    }
    .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        list-style: none;
    }
    .menu li a {
        text-decoration: none;
        transition: color 0.5s ease;
        white-space: nowrap;
        font-size: 3.5lvh;
    }
    .menu li a:hover {
        color: var(--orange);
        transition: color 0.5s ease;
    }
    .section {
        padding-top: 10vh;
    }
    #jbin .content .text .sign {
        font-size: 5lvw;
    }
    #about .content {
        justify-content: space-between;
        flex-direction: column-reverse;
        padding-bottom: 8%;
        padding-top: 6vh;
    }
    #about .content img {
        width: 85%;
        height: 35%;
        margin-right: 0;
        margin-left: 0;
        margin-top: 4%;
        margin-bottom: 4%;
    }
    #about .content .text {
        font-size: 3lvh;
        width: 100%;
        height: 55%;
        padding-left: 5%;
        padding-right: 5%;
        border: none;
        box-shadow: none;
    }
    #about .content .text h1 {
        text-align: center;
    }
    #team {
        padding-top: 12vh;
    }
    #team .team-header {
        font-size: 2.2lvw;
    }
    #team .content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 95%;
    }
    .profile {
        width: 75%;
        height: 100%;
    }
    .profile img {
        width: 100%;
        height: 100%;
        margin-right: 0;
        object-fit: cover;
    }
    .profile #expand-icon {
        background-color: var(--light-transparent);
        border-radius: 4px;
        padding: 3px;
        display: flex;
        width: 45px;
        height: 45px;
        position: absolute;
        z-index: 2000;
    }
    .profile .text {
        display: none;
    }
    .window {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: all 0.5s ease 0s;
        z-index: 1001;
    }
    .windowContent {
        width: 50%;
        height: 70%;
        padding: 20px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: linear-gradient(to right top, var(--dark), var(--dark-lighter));
        border-radius: 10px;
    }
    .closeBtn {
        padding: 0.5% 2%;
        position: absolute;
        top: 0;
        right: 10px;
        font-size: 30px;
        text-align: center;
        cursor: pointer;
        z-index: 1010;
    }
    .pfp {
        margin-top: 5%;
        width: 75%;
        height: 60%;
        border-radius: 10px;
        object-fit: cover;
        display: flex;
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
    }
    .title {
        font-size: 1.9lvw;
        text-align: center;
        color: var(--orange);
        font-weight: bold;
    }
    .short-description {
        font-size: 1.7lvw;
        text-align: center;
        margin-bottom: 2%;
    }
    .description {
        font-size: 1.5lvw;
    }
    .description ul {
        margin-left: 10%;
    }

    #projects {
        padding-top: 12vh;
    }

    #updates .content {
        justify-content: center;
        flex-direction: column-reverse;
        align-items: center;
        width: 90%;
    }
    #updates .content .text {
        width: 100%;
        height: 50%;
        font-size: 3lvh;
        text-align: center;
        margin-bottom: 5%;
        border: none;
        box-shadow: none;
    }
    #updates .content .text a {
        display: none;
    }
    #updates .content .video {
        width: 55%;
        margin-right: 0;
    }
    .footer {
        height: 10vh;
        font-size: 2.5lvw;
        flex-direction: row-reverse;
        justify-content: center;
    }
    .footer ul li .footer-info {
        flex-direction: column;
    }
    .footer ul li img {
        width: 8vh;
    }
}
@media all and (max-aspect-ratio: 1.3) {
    .windowContent {
        width: 80%;
    }
    #projects .content {
        display: none;
    }
    .content-mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }
    .content-mobile button {
        width: 25px;
        height: 45px;
        display: flex;
        position: absolute;
        align-items: center;
        background: none;
        border: none;
        padding: 0;
        font: inherit;
        cursor: pointer;
        text-align: left;
        transition: all 1s ease;
        white-space: nowrap;
        z-index: 2000;
    }
    .content-mobile button#left {
        left: 2%;
    }
    .content-mobile button#right {
        right: 2%;
    }
    .content-mobile button img {
        padding: 4px;
        background-color: var(--orange-transparent);
        border-radius: 4px;
        width: 25px;
        height: 45px;
        transition: all 0.25s ease;
    }
    .content-mobile button img:active {
        width: 33px;
        height: 60px;
    }
    .content-mobile .project-display-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 100%;
        margin-right: 2%;
    }
    .content-mobile .project-display-mobile img {
        display: flex;
        width: 100%;
        height: 60%;
        min-width: 80%;
        border-radius: 10px;
        margin-left: 2.5%;
        object-fit: cover;
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
        transition: opacity 0.25s;
        margin-top: 5%;
    }
    .content-mobile .project-display-mobile #project-text-mobile {
        width: 100%;
        height: 35%;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .content-mobile .project-display-mobile #project-text-mobile #project-title-mobile {
        font-size: 3.5lvw;
        font-weight: bold;
        margin-bottom: 2%;
        color: var(--orange);
    }
    .content-mobile .project-display-mobile #project-text-mobile #project-description-mobile {
        font-size: 2.5lvw;
        text-align: left;
        margin-top: 0;
    }
    .content-mobile .project-display-mobile #project-text-mobile #stage-mobile {
        margin-top: auto;
        font-size: 2.7lvw;
        text-align: left;
    }
    .content-mobile .project-display-mobile #project-text-mobile #project-stage-mobile {
        font-size: 2.2lvw;
        text-align: left;
        font-style: italic;
        color: var(--orange);
    }
}
@media all and (max-aspect-ratio: 1.1) {
    #about .content .text {
        font-size: 2.2lvh;
        width: 100%;
        height: 55%;
        padding-left: 5%;
        padding-right: 5%;
    }
    #team .team-header {
        font-size: 4lvw;
    }
    .windowContent {
        width: 80%;
        height: 70%;
    }
    .title {
        font-size: 3lvh;
        font-weight: bold;
    }
    .short-description {
        font-size: 2lvh;
        margin-bottom: 5%;
    }
    .description {
        font-size: 1.8lvh;
    }
    #updates .content .video {
        width: 85%;
        margin-right: 0;
    }
    .footer {
        font-size: 3lvw;
        margin-top: 5vh;
    }
}
@media all and (max-aspect-ratio: 0.8) {
    .content-mobile .project-display-mobile #project-text-mobile #project-title-mobile {
        font-size: 4lvw;
    }
    .content-mobile .project-display-mobile #project-text-mobile #project-description-mobile {
        font-size: 3.3lvw;
    }
    .content-mobile .project-display-mobile #project-text-mobile #stage-mobile {
        font-size: 3.75lvw;
    }
    .content-mobile .project-display-mobile #project-text-mobile #project-stage-mobile {
        font-size: 2.8lvw;
    }
}
@media all and (max-aspect-ratio: 0.5) {
    .content-mobile .project-display-mobile #project-text-mobile #project-title-mobile {
        font-size: 6lvw;
    }
    .content-mobile .project-display-mobile #project-text-mobile #project-description-mobile {
        font-size: 4lvw;
    }
    .content-mobile .project-display-mobile #project-text-mobile #stage-mobile {
        font-size: 4.8lvw;
    }
    .content-mobile .project-display-mobile #project-text-mobile #project-stage-mobile {
        font-size: 4.8lvw;
    }
}
@media all and (min-aspect-ratio: 2.2) {
    #team {
        padding-top: 14vh;
    }
    #team .team-header {
        font-size: 2.4lvh;
        margin-bottom: 0;
    }
}
@media all and (min-aspect-ratio: 2.6) {
    #team {
        padding-top: 14vh;
    }
    #team .team-header {
        font-size: 2.5lvh;
        margin-bottom: 0.75%;
    }
    #team .content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 95%;
    }
    .profile {
        width: 75%;
        height: 100%;
    }
    .profile img {
        width: 100%;
        height: 100%;
        margin-right: 0;
        object-fit: cover;
    }
    .profile #expand-icon {
        background-color: var(--light-transparent);
        border-radius: 4px;
        padding: 3px;
        display: flex;
        width: 45px;
        height: 45px;
        position: absolute;
        z-index: 2000;
    }
    .window {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: all 0.5s ease 0s;
        z-index: 1001;
    }
    .windowContent {
        width: 50%;
        padding: 20px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: linear-gradient(to right top, var(--dark), var(--dark-lighter));
        border-radius: 10px;
    }
    .closeBtn {
        padding: 0.5% 2%;
        position: absolute;
        top: 0;
        right: 10px;
        font-size: 30px;
        text-align: center;
        cursor: pointer;
        z-index: 1010;
    }
    .pfp {
        display: none;
    }
    .title {
        font-size: 1.9lvw;
        color: var(--orange);
        font-weight: bold;
    }
    .short-description {
        font-size: 1.7lvw;
        margin-bottom: 2%;
    }
    .description {
        font-size: 1.5lvw;
    }
    .description ul {
        margin-left: 10%;
    }
    .profile .text {
        display: none;
    }
}