/*--------------------------------------------------------------------------------------------------
RESET
--------------------------------------------------------------------------------------------------*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-weight: normal;
	font-size: 100%;
	-webkit-font-smoothing: antialiased;
 	-moz-osx-font-smoothing: grayscale;
}

a {
	color: black;
	text-decoration: none;
}

ol,
ul {
	list-style: none;
}

img {
	width: 100%;
}


/*--------------------------------------------------------------------------------------------------
COLORS
--------------------------------------------------------------------------------------------------*/

:root{
    --lime: #a5fc06;
    --purple: #3c0084;

    --column-shift: 1.5vw;
}

/*--------------------------------------------------------------------------------------------------
FONTS
--------------------------------------------------------------------------------------------------*/

/*TEXT-FONT*/
@font-face {
    font-family: SharpBook19;
    src: url(../fonts/SharpGroteskBook-19.otf);
}

/*TITLE-FONT*/
@font-face {
    font-family: SharpBook08;
    src: url(../fonts/SharpGroteskBook-08.otf);
}

/*HEADLINE-FONT*/
@font-face {
    font-family: SharpMedium07;
    src: url(../fonts/SharpGroteskMedium-07.otf);
}

/*H1 FONT*/
@font-face {
    font-family: SharpMedium14;
    src: url(../fonts/SharpGroteskMedium-14.otf);
}

/*H1 ITALIC-FONT*/
@font-face {
    font-family: SharpMediumItl14;
    src: url(../fonts/SharpGroteskMediumItl-14.otf);
}


/*--------------------------------------------------------------------------------------------------
TYPO
--------------------------------------------------------------------------------------------------*/

html {
    font-family: SharpBook19, Arial, sans-serif;
    scroll-behavior: smooth;
}

h1 {
    font-family: SharpMediumItl14, Arial, sans-serif;
    font-size: 8rem;
    line-height: 3rem;
    text-indent: 2rem;
    position: fixed;
    right: 10vw;
    top: 3.5vw;
    color: var(--lime);
    mix-blend-mode: difference;
    z-index: 3;
}

h3 {
    font-family: SharpBook08, Arial, sans-serif;
    font-size: 7rem;
}

h6 {
    font-family: SharpMedium07, Arial, sans-serif;
    font-size: 5rem;
}

.altesse {
    font-family: "altesse-std-24pt", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.spacing {
    letter-spacing: .4rem;
}

.it {
    font-family: SharpMedium14; 
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/*--------------------------------------------------------------------------------------------------
NAV BAR
--------------------------------------------------------------------------------------------------*/

nav {
    display: flex;
    justify-content: center;
    /* margin-bottom: 20px;
    top: 310px; */
    /* z-index: 10; */
    
}

.nav-item {
    width: 80px;
    height: 80px;
    background-color: white;
    mix-blend-mode: difference;
    border-radius: 50%;

    position: fixed;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 1s linear;

    display: flex;
    justify-content: center;
    /* margin-left: 2vw; */
    align-items: center;
    font-family: "altesse-std-24pt", sans-serif;
    font-size: 4rem;
}

.intro{
    animation: moving 25s infinite alternate;
    left: 15%;
    animation-delay: 0.5s;
}
  
.inspo {
    animation: moving 30s infinite alternate;
    left: 35%;
}
  
.workshop {
    animation: moving 40s infinite alternate;
    left: 55%;
    animation-delay: 1s;
}
  
.deepdive {
    animation: moving 35s infinite alternate;
    left: 75%;
}

.nav-item:hover {
    animation-play-state: paused;
}
  
@keyframes moving {
    0% {top: 50%;}
    25% {top: 90%;}
    50% {top: 10%;}
    75% {top: 90%;}
    100% {top: 50%;}
}


/*--------------------------------------------------------------------------------------------------
BODY // COLUMNS
--------------------------------------------------------------------------------------------------*/

body {
    /* margin: 1.5vw; */
    overflow-x: hidden;
    background-color: black;
}

.container {
    height: 100vh;
    height: 100svh;

    overflow: hidden;
    scroll-behavior: smooth;
}


main {
    display: flex;
}

@keyframes openingAnimationLeft {
    0% {
        width: 50vw;
    }

    50% {
        width: calc(50vw - var(--column-shift));
    }

    100% {
        width: 50vw; 
    }
}

@keyframes openingAnimationRight {
    0% {
        width: 50vw;
    }

    50% {
        width: calc(50vw + var(--column-shift));
    }

    100% {
        width: 50vw;
    }
}

.left {
    width: 50vw;
    height: auto;
    color: white;
    padding: 0 1vw 0 1.2vw;

    overflow: scroll;

    scroll-behavior: smooth;
    animation-name: openingAnimationLeft;
    animation-timing-function: ease-in-out;
    animation-duration: 0.7s;
}

#deepdive {
    margin-bottom: 3vw;
}

.right {
    width: 50vw;
    height: auto;
    background-color: white;
    display: flex;
    justify-content: center;
    position: relative;

    scroll-behavior: smooth;
    overflow: scroll;

    animation-name: openingAnimationRight;
    animation-timing-function: ease-in-out;
    animation-duration: 0.7s;
}

.right-wrapper {
    position: relative;
}

.content {
    display: flex;
    justify-content: center;
}

.slider {
    width: 1vw;
    height: auto;
    background-color: var(--purple);
    cursor: col-resize;
}




/*--------------------------------------------------------------------------------------------------
BODY // RIGHT: STICKY-POSTER
--------------------------------------------------------------------------------------------------*/

.plakat-wrapper {
    display: flex;
    height: 400vh;
    height: 400svh;
    margin: 10vw 3vw 10vw 3vw;
}

.layer {
    position: sticky;
    position: -webkit-sticky;
    top: 8vw;
}

.plakat1 {
    width: 29%;
    height: auto;
}

.plakat2 {
    width: 29%;
    height: auto;
    margin-left: 5vw;
}


/*--------------------------------------------------------------------------------------------------
BODY // RIGHT: KAISER - TINNES INSPO
--------------------------------------------------------------------------------------------------*/

.kaisertinnes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, auto);
    gap: 2%;
    padding: 2%;
    width: 100%;
    height: 100vh;
    margin-bottom: 70%;
}

.kt-item {
    position: relative;
    padding-bottom: 141.42%;
    background-color: transparent;
}

.kt-content {
    position: absolute;
    width: 100%;
    height: 100%;
}

.kt-content img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.text {
    position: absolute;
    top: 10px;
    left: 10px;
    color: black;
    /* z-index: -1; */
    font-size: 1rem;
}

/*--------------------------------------------------------------------------------------------------
BODY // RIGHT: PLAYGROUND
--------------------------------------------------------------------------------------------------*/

.schiebeplakat {
    margin: 5vw 0 12vw 0;
    position: relative;
}

.howto {
    width: 37vw;
    margin: 5vw 0 5vw 2vw;
}

.howto li {
    margin-bottom: 10px;
}

.dragMe, .dragMeRight, .dragMeBottomRight {
    height: calc(56vmin * 0.707);
    cursor: move;
    position: absolute;
    z-index: 1;
    overflow: visible; /* Ensure the entire image is visible */
    user-select: none;
    display: inline-block;
}

.dragMe {
    transform: scale(0.5); /* Half size before selected */
    transform-origin: top right; /* Scale from top left corner */
}

.dragMeRight {
    transform: scale(0.5); /* Half size before selected */
    transform-origin: bottom left;
}

.dragMeBottomRight {
    transform: scale(0.5); /* Half size before selected */
    transform-origin: bottom right; /* Scale from bottom right corner */
    
}

.dragMe {
    right: 0;
    top: -50px;
}

.dragMeRight {
    left: 0;
    top: 1;
   
}

.dragMeBottomRight {
    bottom: 0;
    right: 0;
    opacity: 0.6;
    background-blend-mode:color-burn;
}

.dragMe img, .dragMeRight img, .dragMeBottomRight img {
    width: calc(56vmin * 0.707);
    height: auto;
    object-fit: contain; /* Preserve aspect ratio */
    user-select: none;
}

.selected {
    transform: scale(1); /* Full size after selected */
}



#a3Div {
    background-color: #888;
    width: 40vmin;
    height: calc(40vmin * 1.414);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Erforderlich für die Positionierung des Schattens */
    box-sizing: border-box; /* Rand wird zum Inhalt des Elements hinzugefügt */
    padding: 5px; /* Platz für den Rand */
    cursor: pointer;
}

#a3Div::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 5px solid white; /* Weißer Rand */
    z-index: 2; /* Über den Bildern */
    pointer-events: none; /* Keine Mausereignisse abfangen */
    /* box-shadow: 0 0 0 2000px rgba(255, 255, 255, 0.9); Überdeckt die Bilder */
}

/*---------------BUTTON---------------*/

#mainContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.refresh-button {
    cursor: pointer;
}

#clearButton {
    display: none;
    color: black;
    background-color: white;
    border: 2px solid black;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
    z-index: 50;
}