* {
    font-family: Arial, Helvetica, sans-serif;
	color:rgb(0, 0, 0);
    padding: 0;
    margin: 0;
}

.intro {
    grid-column: 1/2;
    grid-row: 1/2;
    padding: 34px 0 45px 0;
    background-color: rgb(236, 81, 24);
}

button, .button {
    font-family: "contane_medium";
    display: block;
    font-size: 1.3em;
    font-weight: bold;
    color: #000;
    background-color: rgb(97, 142, 224); 
    padding: 0.5em 1em; 
    border-radius: 1.5rem;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(25, 1, 70, 0.3);
    transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

button:hover {
    transform: scale(1.1);
    color: rgb(243, 232, 226);
    box-shadow: 0px 6px 12px rgba(25, 1, 70, 0.5);
}

button:active {
    transform: scale(1.05); /* Slightly shrink on click */
    box-shadow: 0px 3px 8px rgba(25, 1, 70, 0.3); /* Subtle shadow change */
}

.rightButton {
    float: right;
}

.floatingImage, .floatingImage2 {
    display: inline-block;
    transition: transform 0.3s ease;
    animation: bobbing 5s ease-in-out infinite;
}

.floatingImage2 {
    animation-delay: 1s;
}

.floatingImage:hover, .floatingImage2:hover {
    animation: bobbing 1s ease-in-out infinite;
}

@keyframes bobbing {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

html {
    scroll-behavior: smooth;
}

image {
    width: 100%;
    height: auto;
}

@font-face {
    font-family: contane;
    src: url(contane_extrabold.otf);
}
@font-face {
    font-family: contane_medium;
    src: url(contane_medium.otf);
}

h1 {
    font-family: "contane";
    font-size: 5.2em;
    text-align: center;
    letter-spacing: -6.6px;
    line-height: 0.8;
}

h2 {
    font-size: 1.7em;
    line-height: 1.2;
    margin-bottom: 1em;
}

h3 {
    font-size: 1.2em;
    line-height: 1.2;
}

a {
    text-decoration: none;
}

body {
    background-color: rgb(243, 232, 226);
} 

#wrapper {
	max-width: 100vw;
    height: auto;

	/*primary grid*/
	display: grid;
	grid-template-columns: 130px auto;
	grid-template-rows: auto 200px;
}

header {
    grid-column: 1/2;
    grid-row: 1/2;
    background-color: rgb(97, 142, 224);

    /* justify-items: center; */

    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: minmax(150px, 5%) 200px;
}

#logo {
    grid-column: 1/2;
    grid-row: 1/2;
    border-radius: 100%;
    padding: 50%;
    transform: translateX(-5%) translateY(5%);
    z-index: 10;
	background-color: rgb(243, 232, 226);
	align-self: center;
}

nav {
    grid-column: 1/2;
    grid-row: 2/3;

    position: sticky;
    top: 0;
    padding: 70% 0 0 20%;
    background-color: rgb(97, 142, 224);
    z-index: 9;
}

nav ul {
    list-style: none;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 1rem; 
    transition: gap 0.3s ease; 
}

nav a {
    font-family: "contane_medium";
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 1.3em;
    font-weight: bold;
    color: #000;
    transition: transform 0.2s ease, color 0.2s ease; 
    display: inline-block; 
}

nav a:hover {
    transform: translateX(0.5em);
    color: rgb(243, 232, 226);
}

nav ul:hover {
    gap: 1.5rem; 
}

/* Dropdown Styling */
.dropdown-menu li {
    margin: 0.3rem 0;
}

.dropdown-menu a {
    font-size: 1rem;
}


.dropdown-menu {
    list-style: none;
    padding: 0.5rem; 
    display: none;
}

.dropdown-menu.visible {
    display: block; 
    /* max-height: 500px;  */
    opacity: 1; 
}

#part1 {
    grid-column: 2/3;
    grid-row: 1/2;

    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(4, auto);
}

#part1 h3 {
    text-align: center;
}

.pitch {
    grid-column: 1/2;
    grid-row: 2/3;

    display: grid;
    grid-template-columns: minmax(20%, 50%) minmax(20%, 50%);
    grid-template-rows: auto;
    column-gap: 7%;
    margin: 5% 10% 5% 10%;
}

/* #pitch h2, #pitch p {
    padding-top: 15%;
    text-align: right;
} */


#headerimg {
    mix-blend-mode: multiply;
    width: 420px;
    max-width: 100%;
    height: auto;

    display: block;
    margin-left: auto;
    margin-right: auto;
}


#graph {
    grid-column: 1/2;
    grid-row: 3/4;


    width: 90%;
    max-width: 2100px;
    justify-self: center;

    margin: 1em 3em 3em 3em;

    display: grid;
    grid-template-columns: repeat(6, 16.6%);
    grid-template-rows: auto auto;
}

#graph img, #graph a {
    width: 100%;
    max-width: 120px;
    height: auto;
    justify-self: center;
}

#one, #two, #three, #four, #five, #six {
    text-align: center;
    font-weight: bold;
    transform: translateY(-4px);
}
#one {
    grid-column: 1/2;
    grid-row: 2/3;
}
#two {
    grid-column: 2/3;
    grid-row: 2/3;
}
#three {
    grid-column: 3/4;
    grid-row: 2/3;
}
#four {
    grid-column: 4/5;
    grid-row: 2/3;
}
#five {
    grid-column: 5/6;
    grid-row: 2/3;
}
#six {
    grid-column: 6/7;
    grid-row: 2/3;
}
#line {
    grid-column: 1/7;
    grid-row: 1/2;
    border-bottom: 2px solid rgb(0, 0, 0);
    position: relative; /* Ensure the container is positioned */
}
#transwa {
    grid-column: 1/2;
    grid-row: 3/4;
}
#lighthouse {
    grid-column: 2/3;
    grid-row: 3/4;
}
#disko {
    grid-column: 3/4;
    grid-row: 3/4;
}
#earbus {
    grid-column: 4/5;
    grid-row: 3/4;
}
#vida {
    grid-column: 5/6;
    grid-row: 3/4;
}
#selbukassa {
    grid-column: 6/7;
    grid-row: 3/4;
}

/*content fill*/

#fill {
    grid-column: 1/2;
    grid-row: 4/5;

    justify-self: center;
    width: 90%;

    max-width: 1200px;

    display: grid;
    grid-template-columns: minmax(200px, 500px) auto 20px;
    grid-template-rows: repeat(7, auto);
}

#fill img, img a {
    width: 100%;
    height: auto;
    display: flex;
    margin: 5% 0 5% 0;
    border: 2px solid rgb(0, 0, 0);
}

/*vertical line*/

#vertical {
    grid-column: 3/4;
    grid-row: 1/7;

    border-right: 2px solid rgb(43, 39, 39);
}
#v_one, #v_two, #v_three, #v_four, #v_five, #v_six {
    font-weight: bolder;
    padding: 2px;
    align-self: center;
}
#v_one {
    grid-column: 3/4;
    grid-row: 1/2;
}
#v_two {
    grid-column: 3/4;
    grid-row: 2/3;
}
#v_three {
    grid-column: 3/4;
    grid-row: 3/4;
}
#v_four {
    grid-column: 3/4;
    grid-row: 4/5;
}
#v_five {
    grid-column: 3/4;
    grid-row: 5/6;
}
#v_six {
    grid-column: 3/4;
    grid-row: 6/7;
}

/* fill images and text*/

#transwa_text, #lighthouse_text, #disko_text, #earbus_text, #vida_text, #selbukassa_text {
    padding: 2% 6% 2% 6%;
    align-self: center;
}

#transwa_content {
    grid-column: 1/2;
    grid-row: 1/2;
}
#transwa_text {
    grid-column: 2/3;
    grid-row: 1/2;
}
#lighthouse_content {
    grid-column: 1/2;
    grid-row: 2/3;
}
#lighthouse_text {
    grid-column: 2/3;
    grid-row: 2/3;
}
#disko_content {
    grid-column: 1/2;
    grid-row: 3/4;
}
#disko_text {
    grid-column: 2/3;
    grid-row: 3/4;
}
#earbus_content {
    grid-column: 1/2;
    grid-row: 4/5;
}
#earbus_text {
    grid-column: 2/3;
    grid-row: 4/5;
}
#vida_content {
    grid-column: 1/2;
    grid-row: 5/6;
}
#vida_text {
    grid-column: 2/3;
    grid-row: 5/6;
}
#selbukassa_content {
    grid-column: 1/2;
    grid-row: 6/7;
}
#selbukassa_text {
    grid-column: 2/3;
    grid-row: 6/7;
}
#break{
    grid-column: 1/4;
    grid-row: 7/8;
    margin: 40px;
}

/* Poster desk */

#posters {
    /* Poster Main Grid */
    grid-column: 1/2;
    grid-row: 5/6;

    width: 100%;
    height: 100vh;

    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 200px 70%;
}

#posters h2 {
    grid-template-columns: 1/2;
    grid-row: 1/2;
    font-family: "contane";
    text-align: center;
    font-size: 2.4em;
}


.poster-container {
    grid-column: 1/2;
    grid-row: 2/3;

    position: relative; /* Ensures children are positioned within this container */
    overflow: hidden;

    background-image: url("/images/posters/desk.webp");
    background-repeat: repeat;
}

.img {
    grid-column: 1/2;
    grid-row: 2/3;

    position: absolute;
}

.img img {
    grid-column: 1/2;
    grid-row: 2/3;
    width: 400px;
    height: auto; /* Automatically adjust height to preserve aspect ratio */
    object-fit: contain; /* Ensure the image fits nicely within the dimensions */
    box-shadow: 0px 4px 10px rgba(25, 1, 70, 0.473); /* Light shadow */
}

#stir-button {
    grid-row: 1/2;
    display: grid;
    place-items: center;
}

.new-pos {
  font-size: 1.5em;

}

/* end of poster desk*/

footer {
    grid-column: 1/3;
    grid-row: 2/3;
    background-color: rgb(97, 142, 224)
}
footer p {
    text-align: start;
    padding: 50px 10px 10px 15px;
    color: rgb(0, 0, 0);
}

/* about */

#about {
    grid-column: 2/3;
    grid-row: 1/2;

    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
}

#about1 {
    grid-column: 1/2;
    grid-row: 3/4;
    margin: 5% 10% 0% 10%;
    padding-bottom: 10%;
    display: grid;
    grid-template-columns: minmax(20%, 30%) minmax(20%, 50%);
    grid-template-rows: auto auto;
    gap: 7%;

}

#portrait {
    display: flex;
    grid-column: 1/2;
    grid-row: 1/2;
}

#about2 {
    grid-column: 2/3;
    grid-row: 1/2;
}

#about3 {
    grid-column: 1/2;
    grid-row: 2/3;
}

#bottom_image {
    width: 100%;
    grid-column: 2/3;
    grid-row: 2/3;
}

/* contact form */

#contact_content {
    grid-column: 1/2;
    grid-row: 2/3;
    margin: 5% 10% 0% 10%;
    padding-bottom: 5%;
    display: grid;
    grid-template-columns: minmax(20%, 50%) minmax(30%, 50%);
    grid-template-rows: auto;
    gap: 7%;
}

#contact_text {
    z-index: 3;
}

#contact_text img {
    width: 100%;
}


#contact_form {
    padding: 2em;
    border: 2px solid rgb(0, 0, 0);
    border-radius: 1.4rem;
    background-color: white;
}

fieldset {
    border: none;
}

#contact_form fieldset, #contact_form legend,
 #contact_form label, #contact_form button {
    margin-bottom: 1em;
}

#contact_form input, #contact_form select, #contact_form textarea {
    background-color: rgb(243, 232, 226);
}

#contact legend{
    font-weight: bold;
}

#contact input, #contact textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    box-sizing: border-box;
    font-family: Arial;
}


/* transwa in depth */

#transwa_depth {
    grid-column: 2/3;
    grid-row: 1/2;

    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto auto auto;
}

.marginfix {
    margin: 5% 10% 0% 10%;
}

#transwa3 {
    grid-column: 1/2;
    grid-row: 5/6;

    display: grid;
    grid-template-columns: minmax(20%, 50%) minmax(20%, 50%);
    grid-template-rows: auto;
    column-gap: 7%;
    margin: 5% 10% 5% 10%;
}

#trainPosterimg {
    width: 50%;
    margin-top: 7%;
    border-radius: 1.5rem;
    float: right;
    transition: transform 0.3s ease;
}

#posterZone {
    margin: 10px;

    margin: 2% 10% 0% 10%;

    display: grid;
    grid-template-columns: 30vw auto;
    grid-template-rows: 99.5%;
}

.zoomContainer{
    position: relative;
    height: auto;
}

#posterImage {
    width: 30vw;
    height: auto;
    justify-self: left;

}

#trainPosterimg:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 70px rgb(243, 232, 226);
}

#zoomLens{
    width: 160px;
    height: 160px;
    position: absolute;
    border-radius: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 190, 50, 0.3);
    border: black solid 0.5em;
}

#zoomResult {
    position: absolute;
    left: calc(100% + 50px);
    border-radius: 100%;
    top: 15%;
    width: 30vw;
    height: 30vw;
    margin-left: 15%;
    background-repeat: no-repeat;
    border: black solid 0.5em;
}

#phonehand {
    display: flex;
    justify-content: left;
    overflow: hidden;
    align-items: center;
}

#transwa_video {
    border-radius: 1.5rem;
    width: 15vw;
    border: 10px black solid;
    margin-top: 30px;
    margin-bottom: 60px;
}

#hand {
    position: absolute;
    width: 34%;
    margin-left: -3%;
    margin-top: 21%;
    z-index: -1;
}

#smallHand {
    display: none;
}

/* lighthouse in depth */

#lighthouse_depth {
    grid-column: 2/3;
    grid-row: 1/2;

    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto auto;
}


#pizza {
    height: 100%;
    width: auto;
}

#lighthouse2 {
    grid-column: 1/2;
    grid-row: 3/4;

    display: grid;
    grid-template-columns: minmax(30%, 50%) 30%;
    grid-template-rows: auto;
    column-gap: 7%;
    margin: 5% 10% 5% 10%;
}

#lighthouseLongimg {
    grid-column: 1/2;
    grid-row: 1/2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

#lighthouseLongimg img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

#lighthouse3 {
    grid-column: 2/3;
    grid-row: 1/2;
}

#lighthouse4 {
    margin: 5% 10% 5% 10%;
}

#videos {
    grid-column: 1/2;
    grid-row: 4/5;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
}

iframe {
    margin: 10px;
}

#video-placeholder {
    border: 2px solid rgb(0, 0, 0);
    border-radius: 1.4rem;
    margin: 10px;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */

    max-width: 100%;
    max-height: 100%;
}

#pizza, iframe {
    border: 2px solid rgb(0, 0, 0);
    border-radius: 1.4rem;
}

/* Disko in depth*/

#disko_depth {
    grid-column: 2/3;
    grid-row: 1/2;

    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto;
}

#disko_mid_fill{
    grid-column: 1/2;
    grid-row: 2/3;
}

#diskoweb_gallery {
    position: relative;

    display: grid;
    grid-template-columns: minmax(20%, 45%) minmax(20%, 40%);
    grid-template-rows: auto;
    column-gap: 7%;
    margin: 5% 10% 5% 10%;
}

#computerText {
    align-self: center;
}

#oldComputer {
    grid-column: 1/2;
    grid-row: 1/2;
}

#previousButton {
    float: left;
}

#nextButton {
    float: right;
}
  
#diskoweb_gallery img {
    display: none;
    width: 100%;
}
  
#diskoweb_gallery img.active {
    display: block;
}

#pixelButtons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

  
#pixel_art {
    grid-column: 1/2;
    grid-row: 3/4;

    display: grid;
    grid-template-columns: minmax(20%, 30%) minmax(20%, 50%);
    grid-template-rows: auto;
    column-gap: 7%;
    margin: 5% 10% 5% 10%;
}

#pixel_art_gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#pixel_art_gallery img {
    display: none;
    width: 100%;
    height: auto;

    padding-bottom: 10%;
}

#pixel_art_gallery img.active {
    display: block;
    width: 100%;
    height: auto;

    padding-bottom: 10%;
}


#imageIndicator {
    color: rgba(0, 0, 0, 0.627);
}

/* Web Dev Page */

.websitePreview {
    width: 100%;
    height: 550px;
}
.webProjectText {
    margin: 10%;
}

.webProjectText a {
    font-weight: bold;
}

/* Flex layout for projects */
#webdev {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#webProjectContainer {
    margin: 5% 10% 5% 10%;
}

.webProject {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: auto;
}

/* Earbus  */

#earbus2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 5% 10% 5% 10%;
}

#earbus2Text {
    max-width: 45%;
}

#earbus2 img {
    max-width: 25%;
    margin: 3%;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

#earbus2 img:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 70px rgb(243, 232, 226);
}

/* Selbukassa */

#selbukassa1 {

    display: grid;
    grid-template-columns: minmax(20%, 50%) minmax(20%, 50%);
    grid-template-rows: auto;
    column-gap: 7%;
    margin: 5% 10% 5% 10%;
}

#selbukassa2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 5% 10% 5% 10%;
}

#selbukassa2 img{
    height: 350px;
    border-radius: 1.4rem;
    margin-right: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

#selbukassa2 img:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 70px rgb(243, 232, 226);
    
}

/* Vida */

#vida1 {

    display: grid;
    grid-template-columns: minmax(20%, 50%) minmax(20%, 50%);
    grid-template-rows: auto;
    column-gap: 7%;
    margin: 5% 10% 5% 10%;
}

#vida2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 5% 10% 5% 10%;
}

#vida2 img{
    height: 400px;
    border-radius: 14rem;
    margin-right: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

#vida2 img:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 70px rgb(243, 232, 226);
    
}


/* Error */

#error {
    display: grid;
    grid-template-columns: 30%, 70%;
    grid-template-rows: auto;
    /* column-gap: 7%; */
    margin: 5% 10% 5% 10%;

    align-items: center;
    justify-content: center;
    padding-bottom: 20vh;
}


#error h2 {
    font-size: 20vw;
    margin: 0px;
}

#error_text {
    grid-column: 2/3;
    grid-row: 1/2;
}

#error img {
    grid-column: 1/2;
    grid-row: 1/2;
    width: 20vw;
}


@media only screen and (max-width: 1000px) {

    #wrapper {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 60px auto 100px auto;
    }

    h1 {
        font-size: 4em;
        padding: 0px;
    }

    h2 {
        margin-bottom: .05em;
    }

    .intro {
        padding: 1.4rem;
        margin: 0px;
    }

    header {
        grid-column: 1/2;
        grid-row: 1/2;

        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 60px;

        align-items: center;
    }
    
    #logo {
        display: none;
    }

    nav {
        grid-column: 1/2;
        grid-row: 1/2;
        padding: 0.8em;
    }

    nav ul {
        flex-direction: row; /* Switch to horizontal layout */
        justify-content: space-around; /* Center links horizontally */
        padding: 0; 
        gap: 2rem; 
    }

    nav a {
        font-size: 1rem; 
    }

    nav ul:hover {
        gap: 2.5rem; 
    }

    nav li {
       display: inline;
       font-size: 0.9em;
    }

    /* Dropdown Styling */

    .dropdown-menu {
        padding-top: 12rem; 
    }


    footer {
        grid-column: 1/2;
        grid-row: 3/4;
    }

    footer p{
        text-align: center;
    }

    #part1 {
        grid-column: 1/2;
        grid-row: 2/3;

        display: grid;
        grid-template-columns: 100vw;
        grid-template-rows: auto auto auto auto;
    }

    .pitch {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto auto;
        margin: 5%
    }

    #headerimg {
        margin-top: 1em;
    }

    /*content fill*/
    
    #fill {
        grid-column: 1/2;
        grid-row: 4/5;
    
        justify-content: center;
        max-width: 100%;
    
        display: grid;
        grid-template-columns: minmax(200px, 370px);
        grid-template-rows: repeat(11, auto);

        row-gap: 20px;
    }

    .fillLine {
        display: none;
    }
    
    #graph{
        max-width: 98%;
        padding: none;
    }


    #ee, #ai {
        font-size: 10px;
        flex: none;
    }
    
    /*vertical line*/
    
    #vertical {
        grid-column: 2/3;
        grid-row: 1/13;
         margin-bottom: 30px;
    }

    #v_one {
        grid-column: 2/3;
        grid-row: 1/2;
    }
    #v_two {
        grid-column: 2/3;
        grid-row: 3/4;
    }
    #v_three {
        grid-column: 2/3;
        grid-row: 5/6;
    }
    #v_four {
        grid-column: 2/3;
        grid-row: 7/8;
    }
    #v_five {
        grid-column: 2/3;
        grid-row: 9/10;
    }
    #v_six {
        grid-column: 2/3;
        grid-row: 11/12;
    }
    
    /* fill images and text*/
    
    #transwa_content {
        grid-column: 1/2;
        grid-row: 1/2;
    }
    #transwa_text {
        grid-column: 1/2;
        grid-row: 2/3;
    }
    #lighthouse_content {
        grid-column: 1/2;
        grid-row: 3/4;
    }
    #lighthouse_text {
        grid-column: 1/2;
        grid-row: 4/5;
    }
    #disko_content {
        grid-column: 1/2;
        grid-row: 5/6;
    }
    #disko_text {
        grid-column: 1/2;
        grid-row: 6/7;
    }
    #earbus_content {
        grid-column: 1/2;
        grid-row: 7/8;
    }
    #earbus_text {
        grid-column: 1/2;
        grid-row: 8/9;
    }
    #vida_content {
        grid-column: 1/2;
        grid-row: 9/10;
    }
    #vida_text {
        grid-column: 1/2;
        grid-row: 10/11;
    }
    #selbukassa_content {
        grid-column: 1/2;
        grid-row: 11/12;
    }
    #selbukassa_text {
        grid-column: 1/2;
        grid-row: 12/13;

        margin-bottom: 30px;
    }

    /* Poster desk */

    #posters {
        height: 95vh;
        width: 100vw;

        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 200px auto;
        margin-bottom: 50px;
    }

    .img {
        grid-column: 1/2;
        grid-row: 2/3;

        position: absolute; 
    }

    .img img {
        width: 250px; /* poster width */
    }

    /* about */

    img, h2, button  {
        margin: 3% 0%;
    }


    #about {
       grid-column: 1/2;
       grid-row: 2/3;

       display: grid;
       grid-template-columns: 100vw;
       grid-template-rows: auto auto auto;
    }

    #cheers {
        width: 100%;
        margin-top: 1em;
    }

    #about1 {
        padding-bottom: 10%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-template-rows: auto auto auto auto;
        margin: 5%;
        gap: 0%;
        overflow: hidden;
        justify-items: center;
    }
    
    #portrait {
        grid-column: 1/2;
        grid-row: 2/3;
    }

    #about2 {
        grid-column: 1/2;
        grid-row: 1/2;
    }
    
    #about3 {
        grid-column: 1/2;
        grid-row: 3/4;
    }

    #bottom_image {
        grid-column: 1/2;
        grid-row: 4/5;
    }

    /* contact */

    #contact_content {
        padding-bottom: 10%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-template-rows: auto auto auto auto;
        margin: 5%;
        gap: 0%;
        overflow: hidden;
        justify-items: center;
    }
    
    #contact_form {
        padding: 2em;
        border: 2px solid rgb(0, 0, 0);
        border-radius: 1.4rem;
        background-color: white;
    }

    /* transWA */

    #transwa_depth {
        grid-column: 1/2;
        grid-row: 2/3;

        display: grid;
        grid-template-columns: 100vw;
        grid-template-rows: auto auto auto auto auto;
    }

    .marginfix {
        margin: 0% 5%;
    }

    #transwa3 {
        grid-column: 1/2;
        grid-row: 5/6;
    
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-template-rows: auto;
        margin: 5%;
        gap: 0%;
    }

    #transwaPitchImg {
        width: 100%;
        object-fit: contain; 
        /* display: block; */
    }

    #trainPosterimg {
        width: 100%;
        margin-top: 0%;
    }
    
    #posterZone {
        margin: 0;
        padding: 0;
    
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-template-rows: auto;
    }
    
    #posterImage {
        width: 100%;
        display: block;
    }

    #posterControls {
        display: flex;
        flex-direction: row;
    }

    .changePosterBtn{
        max-width: 50%;
        font-size: 1.1em;
    }

    #btnAnother {
        float: right;
    }
    
    #zoomLens{
        display: none;
    }
    
    #zoomResult {
        display: none;
    }
    
    #transwa_video {
        width: 70vw;
        margin-left: 14%;
    }
    
    #hand {
        display: none;
    }

    #smallHand {
        display: block;
        position: absolute;
        width: 100%;
        margin-top: 60%;
        z-index: -1;
    }
    /* Lighthouse */

    #lighthouse_depth {
        grid-column: 1/2;
        grid-row: 2/3;

        padding: 0%;
        margin: 0%;

        display: grid;
        grid-template-columns: 100vw;
        grid-template-rows: auto auto auto;
    }

    #lighthouse_depth img {
        width: 100%;
        max-width: 100%; /* Limit width to container */
        height: auto; /* Maintain aspect ratio */
        object-fit: contain; /* Ensure image is fully visible */
        display: block; /* Prevent extra inline space around images */
    }
    

    #lighthouse2 {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto;
        gap: 5%;
        margin: 5%;
    }

    #lighthouseLongimg {
        grid-column: 1/2;
        grid-row: 2/3;
    
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }

    #lighthouse3 {
        grid-column: 1/2;
        grid-row: 1/2;
    }
    
    #videos {
        max-width: 100%;
    }

    iframe {
        margin: 10px;
    }
    
    #video-placeholder {
        margin: 0px;
        margin-bottom: 10px;
    
        max-width: 100%;
        max-height: 100%;
    }

    /* Disko */

    #disko_depth {
        grid-column: 1/2;
        grid-row: 2/3;
    }

    #influencer{
        width: 100%;
    }

    #diskoweb_gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-template-rows: auto auto;
        margin: 5%;
    }

    #pixel_art_gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-template-rows: auto auto;
    }

    #pixel_art {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-template-rows: auto auto;
        margin: 5%;
    }

    /* Web-dev */

    #webProjectContainer {
        margin: 0% 5%;
    }

    .webProjectText {
        grid-column: 1/2;
        grid-row: 1/2;
        padding: 0%;
        margin: 0%;
    }

    #webdev img{
        width: 100%;
    }

    .websitePreview {
        width: 100%;
        height: 450px;
    }
    
    #webdev {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .webProject {
        width: auto;
        margin-bottom: 10%;
    }

    /* earbus */

    #earbus1 img {
        width: 100%;
    }

    #earbus2 {
        margin: 5%;
    }
    
    #earbus2Text {
        max-width: 100%;
        margin-bottom: 5%;
    }
    
    #earbus2 img {
        max-width: 100%;
        margin: 0%;
        margin-bottom: 5%;
        border-radius: 50%;
    }

    /* Selbukassa mobile */

    #selbukassaDepth img {
        width: 100%;
        height: auto;
    }

    #selbukassa1 {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto;
        column-gap: 7%;
        margin: 5% 10% 5% 10%;
    }

    /* Vida */
    .noShow {
        display: none;
    }

    #vidaDepth img {
        width: 100%;
        height: auto;
    }

    #vida1 {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto;
        column-gap: 7%;
        margin: 5% 10% 5% 10%;
    }

    /* Error */

    #error {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto auto;
        justify-items: center;
        
        padding-bottom: 6vh;
    }
    
    
    #error h2 {
        font-size: 25vw;
        text-align: center;
    }
    
    #error_text {
        grid-column: 1/2;
        grid-row: 2/3;
        place-items: center;
    }

    #error img {
        width: 70%;
    }

}