* {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    color: #9b4066; 
}

body {
    padding: 0px; 
    margin: 0px;
}

nav {
    z-index: 3;
}

section {
    display: block;
    width: 100vw;
    min-height: 100vh;
}

h1 {
    font-family: 'Single Day', 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: min(7vw, 230px);
}

h2 {
    font-family: 'Single Day', 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 6rem; 
}

h3 {
    font-family: 'Single Day', 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 3.5rem;
}

h4 {
    font-family: 'Single Day', 'Courier Prime', 'Courier New', Courier, monospace;
    font-size: 2.5rem;
}

img {
    display: block; 
}

a {
    text-decoration: none;
}

a:hover {
    opacity: 70%;
}

p {
    text-align: justify;
}

em {
    font-style: normal;
}

video:fullscreen {
    border: none;
}

/* Slider styles -------------------------------------------*/
input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 3px;
    -webkit-transition: .2s;
    transition: .2s;
    margin: 0;
    border-radius: 2px;
    cursor: pointer;
    margin: 20px 0 20px 0;
    touch-action: none;
}

input[type="range"]::-webkit-slider-thumb, input[type="range"]::-moz-range-thumb{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 6px;
    height: 6px;
    background: white;
    border: 1px solid white;
    cursor: pointer;
    border-radius: 1px;
}

.yell-slider input[type="range"]::-webkit-slider-thumb, input[type="range"]::-moz-range-thumb {
    border: 1px solid #9b4066;
}



.flex-container {
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    flex-wrap: wrap;
}

#normal-nav {
    width: 100%; 
    height: 70px; 
    background-color: rgba(234, 151, 118, 0.6);
    position: fixed; 
}

.nav-area {
    height: 70px;
    gap: 3%;
}

#nav-home-area {
    width: auto;
    margin-left: 20px;
}

#home-button, #home-button-alt {
    color: #821a5b;
}

#nav-general-area {
    width: 80%;
    justify-content: flex-end;
    margin-right: 20px;
}

.nav-item {
    height: 100%; 
    font-size: 1.2rem; 
    color: #fff4ba;
    padding: 0 17px 0 17px; 
}

#alt-nav {
    position: relative;
}

#menu-icon {
    display: none;
    width: 40px; 
    margin: 20px; 
    position: fixed; 
}

#alt-nav-overlay {
    position: fixed; 
    height: 100vh;
    width: 100vw; 
    padding: 0 20px 0 20px;
    box-sizing: border-box;
    background-color: rgba(234, 151, 118, 0.8);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3%;
}

#alt-nav-overlay a {
    text-align: center;
}

.nav-item-alt {
    font-size: 1.6rem;
    color: #fff4ba;
}

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

#main-section {
    background-color: #ea9776;
    height: 100vh;
    min-height: 600px;
}

#games-section {
    background-color: #fef1a6;
}

#music-section {
    background-color: #ea9776;
}

#main-section-content{
    width: 70%;
    max-width: 2160px;
    height: 100%;
    position: relative; 
    overflow: hidden;
}

#main-section-img {
    width: 100%;
    min-width: 800px; 
    max-width: 2160px;
    aspect-ratio: 1535/990;
    background-image: url("Pictures/Main_cropped.webp");
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    position: absolute;
}


#main-section-text {
    width: 85%;
    max-width: 100%;
    box-sizing: border-box;
    aspect-ratio: 1535/990;
    min-height: 450px;
    display: flex; 
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    position: absolute; 
    z-index: 2;
}

#hello {
    font-size: min(1.8vw, 55px);
    margin: 5% 61% 0 0;
}

#first-name {
    position: relative; 
    transform: translate(-40%, -20%);
    margin: 0;
}

#last-name {
    position: relative; 
    transform: translate(0, -55%);
    margin: 0;
}

#description {
    display: block; 
    width: 35%;
    margin: 0;
    position: relative; 
    transform: translate(-8%, -60%);
    font-size: min(1.1vw, 35px);
}

#games-section > h2 {
    padding-top: 3vh; 
    margin: 0 20px 0 20px;
    font-size: 3.5rem;
}

#games-section > p, #music-section > p {
    margin: 0 0 30px 0;
}

#music-section > h2{
    padding-top: 20vh; 
    margin: 0 20px 0 20px;
    font-size: 3.5rem;
}

#showreel-container-home {
    width: 100%;
    padding: 0 5% 0 5%;
    box-sizing: border-box;
}

#showreel-container-home .game-demo-video {
    margin: 7% 0 4% 0;
    margin-top: max(7%, 100px);
    margin-bottom: max(4%, 70px);
    flex: 1 1 50%;
    max-width: 750px;
}

.games-container-generic, #music-container{
    align-items: flex-start;
    max-width: 1200px;
    margin: auto; 
    column-gap: 2vw;
    row-gap: 5px;
    justify-content: space-between;
}

#highlighted-game-home {
    width: 90%;
    margin: auto;
    margin-bottom: 20px;
}

.highlighted-game-text h4 {
    text-align: left;
    max-width: 570px;
    margin: 0;
    padding: 0 0 100px 7%;
    padding-bottom: min(100px, 30%);
    color: #9b4066;
}

#highlighted-game-home .hidden h4 {
    text-align: center; 
    padding: 0 0 20px 0;
}

#highlighted-pic-container {
    width: 100%;
    max-width: min(90%, 350px);

}

#highlighted-pic-container .games-descriptors p {
    font-size: 1.1rem;
}

.highlighted-game-text {
    max-width: 400px;
}

.highlighted-game-text a {
    text-decoration-thickness: 2px;
}

#games-container-home {
    width: 60%;
    padding: 1% 0 5vh 0;
    max-width: 900px;
}

#music-container {
    width: 80%;
    padding: 3% 0 2vh 0;
}

.background-element {
    width: 100%; 
    aspect-ratio: 1/1;
    position: relative; 
    box-sizing: border-box;
    min-width: 200px;
    z-index: 2;
}

.background-element > img {
    width: 100%;
}

.background-element-purp {
    background-color: #9b4066;
    border: 10px solid #9b4066;
}

.background-element-yell {
    background-color: #fff4ba;
    border: 10px solid #fff4ba;
}

.games-container-generic > div, #music-container > div{
    flex: 1 1 0;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

#music-section *{
    color: #fff4ba;
}

.info-overlay-box {
    position: absolute;
    flex-direction: column;
    height: 100%;
    width: 100%;
    opacity: 0%; 
    gap: 10%; 
    touch-action: none;
}

.info-overlay-box:hover, .music-window-cell:hover .info-overlay-box, .hover-effect {
    opacity: 100%;
}

.hidden {
    display: none;
    opacity: 100%;
}

.info-overlay-box:hover .hidden, .music-window-cell:hover .hidden, .hover-effect .hidden {
    display: block; 
}

.hover-effect {
    display: flex;
}

/*
.mobile-hover {
    -webkit-user-select: none;
    -webkit-touch-callout: none;        
}
    */

.transp-purp {
    background-color: rgba(155, 64, 102, 0.7);
}

.transp-yell {
    background-color: rgba(255, 244, 186, 0.6);
}

.games-descriptors {
    height: 15%;
}

.games-descriptors > p {
    color: #fff4ba !important;
    text-align: center;
    margin: 2px;
    font-size: 0.95rem;
}

.play-button-yell {
    margin-top: 0;
    width: 25%;
}

.play-button-yell-alt {
    width: 10% ;
}

.play-button-purp {
    width: 30%;
}

.img-button:hover {
    opacity: 70%;
    cursor: pointer;
}

.button-yell {
    background-color: rgba(0, 0, 0, 0);
    border: 4px solid #fff4ba;
    color: #fff4ba;
    font-size: 1.1rem;
    padding: 7px 13px 7px 13px; 
}

.button-purp {
    background-color: rgba(0, 0, 0, 0);
    border: 4px solid #9b4066;
    color: #9b4066;
    font-size: 1.1rem;
    padding: 7px 13px 7px 13px; 
}

#soundcloud-general-button {
    padding-bottom: 60px;
}

footer {
    display: block;
    width: 100vw;
    background-color: #9b4066; 
}

#footer-main-area {
    display: flex; 
    justify-content: space-between;
}

#footer-main-area > div {
    width: 30%;
    display: flex; 
    flex-direction: column;
}

#footer-links-container {
    padding: 20px 0 0 30px;
}

#footer-links-container a {
    color: #fff4ba;
    font-size: 0.9rem; 
    margin: 10px 0 10px 0;
    width: fit-content;
}

#footer-button-container, #footer-button-container-alt {
    align-items: center;
}

#footer-button-container-alt, #footer-button-container-alt > a {
    display: none !important; 
}

.to-top-button {
    margin-top: 20px; 
    height: 18px; 
    width: 120px;
}

#footer-contact-container {
    padding: 20px 30px 0 0;
    align-items: end;
}

#mail-link {
    color: #fff4ba;
    margin-right: 10px; 
    font-size: 0.9rem; 
    margin-top: 2%; 
}

#socials {
    margin-right: 10px; 
}

#socials img {
    width: 50px;
    display: inline;
}

#footer-bottom-area {
    margin-top: 20px;
    padding-bottom: 20px; 
}

#footer-bottom-area p {
    color: #fff4ba;
    font-size: 0.7rem; 
    margin: 10px 30px 10px 30px;
    opacity: 50%;
}

/* ------ contact page -------------------------------------------------- */

#contact-page-content {
    height:100vh; 
    background-color: #9b4066;
}

#contact-page-content a, #contact-page-content p, #contact-page-content h2 {
    color: #fff4ba;
    text-align: center;
}

#contact-page-content h2 {
    margin: 0;
    font-size: 4rem;
}

.p-with-link {
    display: inline; 
}

#mail-link-contact-page {
    display: block;
    margin: 25px 0 25px 0; 
    font-size: 1.2rem;
    word-break: break-all;
}

.link-in-text {
    font: inherit;
    text-decoration: underline;
    color: inherit;
}
 
/* ------ about page ---------------------------------------------------- */

#about-page-section {
    background: linear-gradient(#ea9776, #e6b388);
    width: 100%;
    height: 100vh; 
    min-height: 800px;
}

#about-content {
    gap: 30px; 
    margin-top: 50px;
}

#about-text {
    flex: 0.6 1 0;
}

#about-text h2 {
    text-align: left;
    margin: 0 0 10px 0;
    font-size: 6rem;
    max-width: 570px;
    padding-left: 4%;
    padding-right: 4%;
    color: #821a5b;
}

#about-text p {
    text-align: justify;
    margin: 2px;
    max-width: 570px;
    padding-left: 4%;
    padding-right: 4%;
    color: #821a5b;
}

#about-pic-container {
    flex: 0.4 1 0;
}

#about-pic-container img {
    max-width: 350px;
    width: 85%;
}

/* ------ music page ---------------------------------------------------- */

#music-page-section, #games-page-section{
    background: linear-gradient(#ea9776, #e6b388);
    width: 100%;
}

.standard-content-div {
    width: 70%;
    max-width: 1100px; 
}

.standard-content-div h2 {
    text-align: left;
    margin: 20vh 0 0 0;
    font-size: 6rem;
    color: #821a5b;
    width: 100%;
}

.standard-content-div h3 {
    text-align: left;
    margin: 0 0 10px 0;
    color: #821a5b;
    width: 100%;
}

.standard-content-div h3:last-of-type {
    margin-top: 20px;
}

#music-br {
    margin-top: 10px;
}

.standard-content-div p {
    color: #821a5b;
}

#music-text {
    margin-bottom: 25px; 
}

.music-window {
    width: 100%;
    max-height: 180px;
    background-color: #bb7276;
    border: 10px solid #9b4066;
    box-sizing: border-box;
    overflow-y: scroll;
    column-gap: 0.1%;
    row-gap: 5px;
    position: relative;
    z-index: 2;
}

.music-window-cell {
    width: 49.8%;
    height: 50px; 
    box-sizing: border-box;
    border: 3px solid #fef1a6;
    align-items: flex-start;
    background-color: #bb7276;
    overflow: hidden;
}

.small-pic-container {
    box-sizing: border-box;
    position: relative;
    height: 40px; 
    aspect-ratio: 1/1;
    margin: 2px 4% 2px 2px;
    border-top: 1px solid #9b4066;
    border-right: 1px solid #fef1a6;
    border-bottom: 1px solid #fef1a6;
    border-left: 1px solid #9b4066;
}

.small-pic-container > img {
    height: 100%;
    aspect-ratio: 1/1;
}

.music-window-cell p {
    color: #fff4ba !important;
    word-break: break-word;
}

.music-window-cell p:first-of-type {
    align-self: center;
    margin: 0;
    flex: 1;
    text-align: left;
}

.music-window-cell p:last-of-type {
    text-align: right;
 
    margin: 13px 10px 13px 4%;
    opacity: 70%;
}

#bottom-SDpage {
    margin-bottom: 50px;
}


/* experiment */
.music-player-ext {
    background-color: #9b4066;
    width: 100%;
    height: 30px;
    border-bottom: 10px solid #9b4066;
    position: relative;
    transform: translateY(-50px);
    z-index: 0;
    transition: transform 1s ease-in-out;
}

.music-player-ext input {
    width: 40px;
}

.below-slider {
    transform: translateY(-50px);
    transition: transform 1s ease-in-out;
}

.below-bignsmall-slider {
    transform: translateY(-90px);
}

.small-slider + p {
    transform: translateY(-40px);
    transition: transform 1s ease-in-out;
}

.music-player-ext p {
    display: inline;
    margin: 0 15px 0 15px;
    color: #fff4ba
}

.small-slider {
    box-sizing: border-box;
    height: 43px;
    border-left: 10px solid #9b4066;
    border-right: 10px solid #9b4066;
}

.small-slider p{
    display: inline-block;
    width: 50%;
    margin: 0;
    font-size: 0.8rem;
}

.right-align {
    text-align: right;
}

.small-slider input {
    width: 100%;
    margin: 5px 0 5px 0;
}

.music-player-ext input {
    flex: 1;
}

.yell-slider {
    background-color: #fff4ba;
    border-bottom: 10px solid #fff4ba;
    border-left: 10px solid #fff4ba;
    border-right: 10px solid #fff4ba;
}

.yell-slider p {
    color: #821a5b !important;
}




.music-window-cell:hover {
    background-color: rgba(254, 241, 166, 0.4);
    cursor: pointer;
}

.play-button-small {
    width: 50%;
}

#soundcloud-cell {
    background-color: rgba(254, 241, 166, 0.85);
}

#soundcloud-cell:hover {
    opacity: 100%;
    background-color: rgba(254, 241, 166, 0.7);
}

#soundcloud-cell p {
    width: 100%; 
    text-align: left;
    margin: 7px; 
    color: #821a5b !important;
}

#games-container-SDpage {
    width: 100%;
    padding: 1% 0 1.5% 0; 
}

#games-container-SDpage .background-element {
    min-width: 160px;
}

#music-page-section em {
    color: #fff4ba;
}

/* ------ art page ------------------------------------------------------ */

#art-page-section {
    background: linear-gradient(#ea9776, #df797e);
    width: 100%;
}

#art-page-section h2, #games-page-section h2 {
    margin-bottom: 0;
}

#art-page-section p {
    margin-bottom: 40px; 
    margin-top: 0; 
}

#art-gallery {
    display: flex; 
    flex-wrap: wrap;
    padding: 0;
    justify-content: center;
    flex-direction: row;
    row-gap: 1vw;
    column-gap: 0.9vw;
    border: 10px solid rgba(155, 64, 102, 0);
    background: rgba(155, 64, 102, 0.2);
}

#art-gallery img {
    object-fit: cover;
}

#art-gallery > div {
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1vw;
}

.focus-gallery {
    flex: 1; 
}

.focus-gallery img {
    max-height: 30.5vw;
}

.small-items-gallery {
    flex: 2;
    min-width: 50%;
}

.small-items-gallery img {
    max-height: 14.75vw; 
}

.bottom-gallery {
    width: 100%;
}

.bottom-gallery img {
    max-height: 16.5vw; 
}

/* individual row height adjustments */

#plants-img img {
    max-height: 32vw;
}

.plants-adg img {
    max-height: 15.5vw;
}

.spotlight-overlay {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0; 
    z-index: 4;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

.spotlight-overlay img {
    max-height: 95%; 
    max-width: 95%; 
}

.can-be-big:hover {
    cursor: pointer; 
}

#responsive-KLK {
    display: none !important;
}

#art-insta-button {
    margin-bottom: 70px;
}

#expanding-content-div {
    max-width: none;
}

#art-content-max-width {
    max-width: 1100px;
}

/* ------ games page ---------------------------------------------------- */

.background-element-wide {
    width: 100%; 
    aspect-ratio: 1920/1080;
    position: relative; 
    box-sizing: border-box;
    min-width: 400px;
}

.background-element-wide > img {
    width: 100%;
}

#games-container-games-page {
    width: 100%;
    padding: 3% 0 7vw 0;
}

#games-container-games-page p {
    text-align: center;
}

#games-container-games-page > div {
    margin-bottom: 2%;
}

/* ------ grandmas page ------------------------------------------------- */

#grandmas-page-section, #ultramarine-page-section, #SUB-page-section, #progress-page-section{
    background: linear-gradient(#fef1a6, #f0bb90);
    word-break: keep-all;
}

.margin_30{
    margin-bottom: 30px; 
}

.itch-button {
    margin: 40px 0 70px 0;
}

.itch-button a {
    font-size: 1.6rem;
}

.game-demo-video {
    width: 100%;
    max-width: 1920px;
    border: 10px solid #9b4066;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#grandmas-art-gallery {
    border: 10px solid rgba(155, 64, 102, 0);
    background: rgba(155, 64, 102, 0.2);
    gap: 1vw;
}

#grandmas-art-gallery img {
    max-height: min(23vw, 363px);
}

.extra-border {
    border-top: 1px solid rgba(155, 64, 102, 0.5);
    border-right: 1px solid rgba(254, 241, 166, 0.2);
    border-bottom: 1px solid rgba(254, 241, 166, 0.2);
    border-left: 1px solid rgba(155, 64, 102, 0.5);
    margin-bottom: 40px;
}

/* ------ ultramarine page ---------------------------------------------- */




/* ------ media queries ------------------------------------------------- */

@media screen and (max-width: 1199px) {
    #hello {
        font-size: 1.3rem;
    }

    #description {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 1100px) {
    h1 {
        font-size: 10vw;
    }

    #hello {
        font-size: 2.5vw;
    }

    #description {
        font-size: 1.6vw;
    }

    #normal-nav, #normal-nav div, #normal-nav a {
        display: none;
    }

    #menu-icon {
        display: block;
    }

    #main-section-content {
    width: 100%;
    }

    #games-container-home, #music-container {
        width: 60%;
    }

    .background-element {
        min-width: 229px;
    }

    #games-container-SDpage {
        width: 80%;
    }

    #games-container-SDpage .background-element {
        min-width: 200px;
    }
}

@media screen and (max-width: 789px) {
    h1 {
        font-size: 80px;
    }

    #last-name {
        transform: translate(0, -50%);
    }

    #hello {
        font-size: 20px;
    }

    #description {
        font-size: 12.5px;
        transform: translate(-8%, -50%);
        width: 250px;
    }

    #main-section-text {
        width: 90%;
        aspect-ratio: unset;
    }

    #footer-main-area {
        flex-direction: column;
        justify-content: space-between;
    }

    #footer-main-area > div {
        width: 100%;
        align-items: center;
        padding-left: 0;
        padding-right: 0;
    }

    #footer-button-container {
        display: none !important;
    }

    #footer-button-container-alt {
        display: flex !important;
    }

    #footer-contact-container {
        margin: 10px 0 10px 0;
    }

    #about-page-section {
        min-height: 1300px;
    }

    #about-content {
        flex-direction: column;
    }

    #about-text h2, #art-content-max-width h2 {
        text-align: center;
    }

    #about-pic-container img {
        width: 100%;
    }

    #art-gallery {
        flex-direction: column;
    }

    .small-items-gallery {
        min-width: 50%;
    }

    .bottom-gallery {
        width: 100%;
    }

    .small-items-gallery img, .bottom-gallery img {
        max-height: 22vw; 
    }

    .plants-adg img {
        max-height: 22vw;
    }

    .focus-gallery img, #plants-img img {
        max-height: none;
        max-width: 100%;
    }

    #responsive-KLK {
        display: block !important;
    }

    #normal-KLK {
        display: none !important;
    }

    .bottom-1{
        max-height: 26vw !important;
    }

    .bottom-2{
        max-height: 41.5vw !important;
    }

    #games-container-home, #music-container {
        width: 80%;
    }

    .background-element {
        min-width: 200px;
    }

    .music-window {
        max-height: 155px;
    }

    .music-window-cell {
        width: 100%;
    }

    #games-container-SDpage {
        width: 100%;
    }

    #games-container-games-page {
        flex-direction: column;
    }

    .background-element-wide {
        min-width: 0;
    }

    #grandmas-art-gallery {
        justify-content: space-around;
    }

    #grandmas-art-gallery img {
        max-height: 32vw;
    }
}

@media screen and (max-width: 600px) {
    #main-section-img {
        background-position: 50px 0;
    }

    h1 {
        font-size: 70px;
    }

    #hello {
        margin-right: 57%;
    } 
    
    #first-name {
        transform: translate(-30%, -20%);
    }

    #last-name {
        transform: translate(0, -50%);
    }

    #description {
        width: 45%;
        transform: translate(-3%, -38%);
    }

    #about-page-section {
        min-height: 1400px;
    }

    h2 {
        font-size: max(15vw, 3.5rem) !important;
    }

    #games-section h2, #music-section h2 {
        font-size: 11vw !important;
    }

    #ultramarine-page-section h2 {
        font-size: max(13vw, 3rem) !important;
    }

    h3 {
        font-size: max(10vw, 2rem);
    }

    h4 {
        font-size: max(6vw, 1.6rem);
    }

    #highlighted-game-home {
        flex-direction: column;
    }

    #highlighted-game-home .hidden {
        display: block;
    }

    .highlighted-game-text {
        display: none;
    }

}

@media screen and (max-width: 513px) {
    #games-container-home, #music-container {
        width: 80%;
    }

    #games-container-home .background-element, #music-container .background-element {
        min-width: 160px;
    }
}

@media screen and (max-width: 470px) {
    #main-section-img {
        background-position: 65px 0;
    }

    h1 {
        font-size: 62px;
    }

    #hello {
        margin-top: 30px;
        margin-right: 50%;
    } 

    #first-name {
        transform: translate(0, -20%);
        margin-right: 10vw;
    }

    #description {
        width: 53%;
        transform: translate(-3%, -30%);
        font-size: 11.5px;
    }

    #about-text h2 {
        font-size: 4.5rem;
    }

    #about-pic-container img {
        width: 70%;
        margin: auto;
    }

    #art-insta-button a {
        font-size: 0.7rem;
        padding: 7px 6px 7px 6px; 
    }

    #games-container-home, #music-container {
        width: 70%;
    }

    .music-window-cell p:first-of-type {
        font-size: 3.4vw;
    }
}