
body
{
    margin: auto;
    text-align: center;
    font-family: "Noto Sans";
    background-color: rgb(13, 13, 13);
    color: rgb(240, 240, 240);
    overflow-x: hidden;
}

@media (max-width: 600px)
{
    body {
        width: 95%;
    }
}

h1 {
    font-family: "Zain";
    font-size: 60px;
    margin-bottom: -20px;
    margin-top: 10px;
}



/*HEADER*/

#header {
    position: fixed;
    display: flex;
    left: 0;
    width: 100%;
    padding: 10px 0px;
    background-color: rgb(30, 30, 30);
    color: rgb(220, 220, 220);
    z-index: 3;
    border-bottom: 3px solid black;
    /*box-shadow: 0px 5px 10px rgba(108, 75, 127, 0.4);*/
}

#title-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
}

#header-title a {
    padding-left: 10px;
    margin: auto 0px;
    color: rgb(255, 255, 255);
    font-size: 36px;
    font-weight: bold;
    text-decoration: none;
}

#header-subtitle {
    font-size: 18px;
    margin-top: -3px;
    margin-left: 30px;
}

#right-header {
    margin-left: auto;
    display: flex;
    align-items: center;
}

#horiz-divider {
    width: 2px;
    height: 60px;
    margin: 0px 45px 0px 0px;
    background-color: white;
}

#left-header {
    margin-right: auto;
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.header-icon {
    display: block;
    width: clamp(35px, 5vw, 55px);
    margin-right: clamp(5px, 3vw, 40px);
    margin-bottom: -10px;
}

.header-icon-big {
    display: block;
    width: clamp(45px, 5vw, 65px);
    margin-right: clamp(5px, 3vw, 40px);
    margin-bottom: -10px;
}

.header-icon-desc {
    padding-right: 50px;
    font-size: 18px;
}

.header-link {
    width: 80px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: clamp(5px, 3vw, 40px);
    background-color: rgb(40, 40, 40);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid white;
}

.section-link {
    width: 80px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: clamp(5px, 3vw, 20px);
    background-color: rgb(40, 40, 40);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid rgb(130, 130, 130);
}

.section-link-filled {
    width: 80px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: clamp(5px, 3vw, 20px);
    background-color: rgb(210, 210, 210);
    padding: 15px;
    border-radius: 10px;
    color: black;
    border: 2px solid rgb(0, 0, 0);
}


/*DROPDOWN*/

#dropdown {
    display: none;
    margin-left: auto;
    padding-right: 20px;
    align-items: center;
    position: relative;
}

#dropdown-top {
    width: 40px;
    right: 0;
    cursor: pointer;
}

#dropdown.open #dropdown-menu,
#dropdown:hover #dropdown-menu {
  display: block;
}


#dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  font-size: 16px;
  background: rgb(30, 30, 30);
  min-width: 130px;
  box-shadow: 0px 4px 6px rgba(108, 75, 127, 0.4);
  z-index: 1000;
}

#dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
}

#dropdown-menu a:hover { background: rgb(18, 18, 18); }

@media (max-width: 1000px)
{
    #dropdown {
        display: flex;
    }

    #left-header, #right-header {
        display: none;
    }
}




/*INTRO*/

#intro {
    background-color: rgb(64, 64, 64);
    margin-top: 25px;
    border: 4px solid rgb(30, 30, 30);
}

#intro-content {
    width: 55%;
    margin: auto;
    padding: 20px 30px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 50px;
}

#intro img {
    margin: auto;
    border-radius: 100px;
    width: 200px;
    height: 200px;
    /*border: 3px solid rgb(0, 0, 0);
    box-shadow: 0px 0px 15px rgba(108, 75, 127, 0.6);*/
}

@media (max-width: 1000px) {
    #right-header {
        display: none;
    }

    #intro-content {
        flex-direction: column;
        width: 85%;
        margin-bottom: -20px;
    }

    #intro img {
        margin-bottom: -40px;
    }
}


/*IMAGE GRID*/

.image-grid {
    width: 85%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 70px 60px;
    padding: 150px 30px 30px;
}

.image-item {
    /*box-shadow: 0px 0px 15px rgba(108, 75, 127, 0.5);*/
    box-shadow: 5px 5px 16px rgba(108, 75, 127, 0.4);
    border: 2px solid rgb(0, 0, 0);
}

.image-item-bg {
    margin-top: -5px;
    border-top: 3px solid white;
    background-color: rgb(30, 30, 30);
    padding-bottom: 20px;
}

@media (max-width: 1000px) {   
    .image-grid {
        grid-template-columns: 1fr;
        gap: 60px 0px;
        padding: 135px 0px 30px;
        margin: auto;
        width: 95%;
    }
}
  
.image-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-item a {
    position: relative;
    display: inline-block;
}

.image-label {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
    font-size: 20px;
    font-weight: bold;
    padding: 4px 6px;
    color: white;
    border: 1px solid white;
}

.image-item h1 {
    text-align: center;
    font-weight: bold;
    margin-bottom: -5px;
    padding-top: 5px;
    font-size: 36px;
    color: #d0d0d0;
}

.image-item span {
    font-size: 24px;
}

.image-item p {
    text-align: center;
    margin: 5px 0 0;
    font-size: 16px;
    margin-top: 5px;
    color: #bfbfbf;
    padding: 0px 10px;
}

.image-item-details p {
    text-align: left;
    font-size: 17px;
    margin: 5px 30px 0 30px;
}




/*ART PAGE*/

.section-header {
    text-align: left;
    margin-left: 15px;
    margin-bottom: -5px;
    font-size: 24px;
    display: flex;
    align-items: center;
}

.section-tag {
    display: flex;
    align-items: center;
    margin-left: 20px;
    font-size: 18px;
    color: #d0d0d0;
    padding: 5px 10px;
    background-color: rgb(30, 30, 30);
    border: 2px solid rgb(120, 120, 120);
    border-radius: 10px;
}

.section-tag img {
    width: 25px;
    margin-right: 5px;
}

.section-line {
    margin: 0px 20px 40px 0px;
}

.art-gallery {
    column-count: 3;
    column-gap: clamp(15px, 3vw, 45px);
    margin: 0px 15px;
}

.art-image {
    position: relative;
    display: inline-block;
    margin-top: 40px;
}

.art-image img, video {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.art-image img:hover, .art-image video:hover {
    opacity: 0.7;
}

.art-image p {
    margin-top: 5px;
    padding-left: 5px;
    font-style: italic;
    text-align: left;
}


@media (min-width: 600px) {   
    #art-gallery-3col { display: block; }
    #art-gallery-1col { display: none; }
}

@media (max-width: 1200px) {   
    .art-gallery {
        column-count: 2;
        column-gap: 25px;
    }
}

@media (max-width: 600px) {   
    .art-gallery {
        column-count: 1;
        margin: 0px;
    }

    #art-gallery-3col { display: none; }
    #art-gallery-1col { display: block; }
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

#lightbox.visible {
    display: flex;
}

#lightbox img {
    max-width: 80%;
    max-height: 85%;
    border: 3px solid rgb(180, 180, 180);
    border-radius: 10px;
}

#lightbox video {
    height: 85%;
    width: auto;
    max-width: 80%;
    border: 3px solid rgb(180, 180, 180);
}

#lightbox-caption {
    color: white;
    position: absolute;
    bottom: 0%;
    font-size: 22px;
    font-style: italic;
    margin: 20px;
}

#lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 90px;
  cursor: pointer;
  user-select: none;
}

#lightbox .prev { left: 7%; }
#lightbox .next { right: 7%; }
#lightbox .nav:hover { opacity: 0.5; }

@media (max-width: 600px) {   
    #lightbox img {
        max-width: 95%;
        max-height: 95%;
    }
    #lightbox video {
        width: 95%;
        height: auto;
    }
    #lightbox .prev { left: 5%; }
    #lightbox .next { right: 5%; }
    #lightbox-caption { font-size: 19px; }
}




/*GAME PAGE TOP*/

.cover-gif {
    /*border: 4px solid rgb(0, 0, 0);
    width: 60%;
    margin: 15px 45px 0px 0px;*/
    width: 110%;
    margin: -40px 0px 10px 0px;
    border-radius: 0px;
    border: none;
}

.game-page {
    max-width: 1000px;
    padding: 140px 0px 0px;
    width: 85%;
    margin: auto;
    text-align: left;
    font-size: 20px;
}

.game-page-top {
    display: flex;
    align-items: flex-start;
}

.game-page h1 {
    font-size: clamp(40px, 5vw, 60px);
    white-space: nowrap;
    overflow: visible;
}

.game-summary {
    flex: 1;
    font-size: clamp(16px, 4.5vw, 20px);
}

.project-info {
    position: relative;
    overflow: hidden;
    background-color: rgb(30, 30, 30);
    margin: 30px 15px 0px -10px;
    padding: 10px 15px 10px;
    border: 2px solid rgb(62, 62, 62);
}

.project-info h2 {
    margin-top: 10px;
}

.itch-button {
    position: absolute;
    top: 15px;
    right: 15px;
    margin: 0px;
    /*width: 150px;*/
    display: flex;
    align-items: center;
    text-align: center;
    background-color: rgb(70, 66, 85);
    border: 2px solid rgb(34, 30, 49);
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 20px;
}

.itch-button-small {
    position: absolute;
    top: 12px;
    right: 12px;
    margin: 0px;
    width: 50px;
    text-align: center;
    background-color: rgb(70, 66, 85);
    border: 2px solid rgb(34, 30, 49);
    padding: 8px 5px 0px;
    border-radius: 10px;
}

@media (min-width: 600px) {
    .itch-button-small { display: none; }
}

@media (max-width: 600px) {
    .itch-button { display: none; }
}

.itch-button:hover {
    background-color: rgb(42, 40, 49);;
}

.itch-button a {
    color:rgb(255, 255, 255);
    text-decoration: none;
    font-style: italic;
    font-size: 21px;
}

@media (max-width: 1000px) {
    .cover-gif {
        margin: -40px 0px 10px 0px;
        width: 100vw;
        border-radius: 0px;
        border: none;
    }
}

@media (max-width: 2000px) {
    .game-page {
        width: 95%;
    }
    
    .game-page-top {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .game-page h1 {
        padding: 0px;
    }

    .game-summary {
        padding: 0px;
    }

    .project-info {
        margin: 20px 0px 0px 0px;
    }

    .game-summary {
        margin-bottom: 5px;
    }
}


/*GAME PAGE DESCRIPTION*/

.desc {
    width: 90%;
    padding-top: 30px;
    margin: auto;
    line-height: 1.6;
}

.desc ul {
    margin-bottom: 30px;
}

.desc h2 {
    margin-top: -20px;
    margin-bottom: -10px;
}

.desc p {
    margin: 0px 0px 30px 0px;
}

.accordion-header {
    background-color: rgb(50, 50, 50);
    color: white;
    font-size: 20px;
    text-align: left;
    border: 2px solid rgb(150, 150, 150);
    border-radius: 3px;
    box-shadow: 5px 3px 16px rgba(108, 75, 127, 0.4);
    padding: 7px 15px;
    margin-top: 15px;
    width: 60%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#small-accordion {
    border-color: rgb(100, 100, 100);
    background-color: rgb(40, 40, 40);;
    font-size: 17px;
    box-shadow: none;
    width: clamp(0vw, 800px, 70vw);
    margin-bottom: -15px;
}

.accordion-panel pre {
    font-size: 16px;
    line-height: 120%;
    margin-bottom: -20px;
}

.accordion-header span {
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.accordion-panel {
    font-size: 18px;
    height: 0;
    overflow: hidden;
    transition: height 300ms ease;
}

.accordion-panel p {
    margin: 0px 0px 0px 0px;
}

.accordion-panel div {
    margin: 15px 0px 10px 20px;
}

ul li {
    margin-bottom: 8px;
}

.game-image-small {
    width: clamp(0vw, 400px, 80vw);
    margin-top: 10px;
    margin-bottom: -5px;
    border-radius: 0px;
}

.game-image-large {
    width: 65%;
    margin-bottom: 10px;
    margin-top: 10px;
}

hr {
    height: 1px;
    background-color: white;
    margin-top: 50px;
    margin-bottom: 50px;
}

@media (max-width: 2000px) {
    .accordion-header {
        width: 100%;
    }

    .desc {
        width: 100%;
    }

    hr {
        width: 100%;
    }

    .game-image-large {
        width: 110%;
        margin-left: -5px;
    }
}

@media (max-width: 800px)
{
    #small-accordion {
        display: none;
        margin: 0px;
    }
}



/*MISC*/

a:hover { opacity: 0.7; }
a {
    color: rgb(255, 255, 255);
    font-size: 24px;
    text-decoration: none;
}

@media (min-width: 600px)
{
    .display-on-mobile {
        display: none;
    }
    .display-on-desktop {
        display: block;
    }
}

@media (max-width: 600px)
{
    .display-on-mobile {
        display: block;
    }
    .display-on-desktop {
        display: none;
    }
}