@font-face {
  font-family: 'DiatypeMonoRegular';
  src: url('fonts/RomieTrial-Regular.woff') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'DiatypeMonoRegular';
  src: url('fonts/RomieTrial-Italic.woff') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'bebek-Regular';
  src: url('fonts/bebek-Regular.woff') format('woff2');
  font-style: normal;
  font-weight: normal;
}

/*
***************
General
***************
*/
body {
  font-family: 'DiatypeMonoRegular', sans-serif;
  line-height: 10pt;
  font-weight: 100;
  color: black;
  font-size: 10pt;
  font-weight: normal;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow-x: hidden;
  cursor:  pointer;
}



p {
  color: rgb(0, 0, 0);

}



html {
  scroll-behavior: smooth;
}


/*img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--border-radius);
}*/
img {
cursor: crosshair;
}



.alysha {
  margin: 0;
  transition: opacity 0.5s ease-in-out, padding 0.5s ease-in-out;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
  transition: opacity 0.5s ease-in-out, padding 0.5s ease-in-out; 
}

li {
  display: block;
}

hr {
  background: black;
  border: 0;
  height: 2px;
  display: block;
  margin: 20px 0;
}


footer {
  transition: opacity 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.project p {
  color: black;
}

.first {
  padding-top: 0;
}

.project:hover {
  font-weight: bold;
  
}

.active .project p:hover {
  font-weight: bold;
}

.active .project p {
  font-weight: bold; /* Make the font weight heavier when active */
}



.active {
  color: #000000;

}

/*
***************
Typography
***************
*/
h1, h2, p {
  padding: 0;
  margin: 0;
}


.project-description {
  padding: 0;
  margin: 0;
  color: #000000;
}

.border-top {
  border-top: 0.1px solid black;
}

.image-hover {
  position: absolute;
  z-index: 2;
  right: 0;
  opacity: 0;
  transition: opacity 0.1s;
  width: 15%;
  pointer-events: none;
}

* {
  box-sizing: border-box;
}

#main-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 100vh;
  width: 100%;
  flex-wrap: wrap;
  overflow: hidden;
}


/* 
  font-size: 25px;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  width: 100%;
  margin: 0;
  padding: 8px 0 10px 0;
  align-items: end;
  justify-content: space-between; 
  */

#left-row {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 100vh;
  min-height: auto;
  width: 32%;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  padding: 15px; 
  text-align: left;
  flex-wrap: nowrap;
  word-wrap: break-word;
  overflow: visible;
  align-items: flex;
  box-sizing: border-box;
  z-index: 2;
  top: 30px; /* Below sticky header */
  height: calc(100vh - 0px); 
  left: 0;
  position: fixed;
  height: 100vh;
} 

#left-row a {
  display: block;
  width: 100%;
  cursor: crosshair;
}

#right-row {
  cursor: crosshair;
  width: 68%;
  margin-left: auto;
  text-align: left;
  box-sizing: border-box;
  overflow-y: auto;
  margin-top: 30px; /* Adjust for sticky header */
  height: calc(100vh - 60px); /* Fill available space below sticky header */
  background-color: white;
  bottom: 30;
}

.about-name {
  text-align: left;
  text-decoration: none;
  cursor: crosshair;
}

/* Hide the about content initially */
.hidden {
  display: none;
}

#about-content {
  margin-top: 10px;
}

#about-content a {
  color: black;
  text-decoration: none;

}

#about-content a:hover {
  font-weight: bold;
}

#about-name {
  text-align: left;
  text-decoration: none;
  position: fixed; /* Ensure proper positioning */
  margin-left: -15px; /* Adjust margin to ensure the line hits the left edge */
  margin-right: -15px; /* Extend the line to the right edge */
  box-sizing: border-box; /* Ensure padding is respected */
  z-index: 1; /* Ensure it stays on top */
  padding-top: 0px;
  margin-top: 0px;
  cursor: crosshair;
  position: sticky;
}

#name-title {
  color: black;
  font-weight: normal;
  cursor:  pointer; 
  text-decoration: none;
  transition: font-weight 0.3s ease, color 0.3s ease; /* Smooth transition */
  padding-left: 15px;
}

#name-title:hover {
  font-weight: bold; /* Heavier font weight on hover */
  color: #000; /* Adjust if you want a different color */
  cursor: crosshair; 
}

#name-title.active {
  font-weight: bold; /* Keep bold when clicked */
  text-decoration: none;
  cursor: crosshair;
}

.project {
  transition: filter 1s ease-in-out, opacity 1s ease-in-out;
  padding: 0px;
  margin: 0px;
  margin-top: 0px;
  /* background-color: white; */
}

/* Apply the blur effect on click */
/* .project.blur {
  filter: blur(3px);
  transition: filter 0.5s ease-in-out; */



.no-transition {
  transition: none; /* Disable transition */
}
  /*position: relative;   
  bottom: 0;        
  left: 0;        
  width: 100%;    
  padding: 5px;    
  text-align: left; 
  background: lightgray; */
   

#right-row { 
  display: flex;
  width: 68%;
  margin-left: auto;
  margin-right: 0;
  padding: 15px;
  text-align: left;
  flex-wrap: wrap;
  /* max-height: 100vh; */
  box-sizing: border-box;
  overflow-y: auto;
  flex-direction: column;
  gap: 10px;
  height: auto;
  overflow-y: scroll;
  background-color: rgb(255, 255, 255);
  position: relative;
  flex-direction: column;
}

#right-row.content div {
  width: 100%; 
}

#right-row.full-width {
  min-width: 100vw; /* Make the right row take the full viewport width */
  overflow-y: auto; /* Ensure it remains scrollable */
  z-index: 999; /* Ensure it stays on top */
  margin-left: 0;
  padding: 0 15px;
  height: 100vh;
}

#left-row.full-width {
  display: none; /* Hide the left row when the right row is expanded */
}

.fullwidth {
  width: 100%;
  margin-bottom: 1px;
  margin-top: 0px;
  margin-right: 0px;
  margin-left: 0px;
}

.halfwidth {
  width: 50%;
  margin-left: 50%;
  margin-bottom: 1px;
  margin-top: 5px;
}
.first-picture {
  width: 100%;
  margin-bottom: 0px;
  margin-top: 5px;
  margin-right: 0px;
  margin-left: 0px;
  border: 0.1px solid #000000;
}

.scrollable-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin-top: 0px;
  margin-bottom: 10px;
  border: 0.1px solid #000000;
}

.scrollable-container img {
  width: 100%;
  max-width: 500px;
  height: auto;
  flex: 0 0 auto;
  scroll-snap-align: start;
  margin-right: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.image-row {
  display: block;
  justify-content: space-between;
  gap: 45;
  z-index: 10;
}

video {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1%;
  margin-top: 10px;
  border: 0.1px solid #000000;
}


.text-block {
  display:flow-root; 

  margin: 0;
  margin-top: 0px;
  padding-left: 0px;
  max-width: 100vw;
  max-height: 100vh;
  width: 50%;
}

.text-block p {
  margin: 0px;
}

#textInput {
  font-family: 'bebek-Regular', sans-serif;
  font-size: 100px;
  line-height: 200px;
  width: 100%;
  border: none;  /* Entfernt den Rand */
  outline: none; /* Entfernt den Fokusrahmen */
  caret-color: black; /* Farbe des Cursors */
  white-space: pre-wrap; /* Automatischer Zeilenumbruch */
  word-wrap: break-word; /* Zeilenumbruch bei langen Wörtern */
  margin-bottom: 0px;
  margin-top: 5px;
  margin-right: 0px;
  margin-left: 0px;
}


#textInput::placeholder {
  font-family: 'bebek-Regular'; /* Schriftart des Platzhalters */
  color: black; /* Hier kannst du die gewünschte Farbe einstellen */
  font-size: 100px; /* Gleiche Schriftgröße wie der normale Text */
}


.hidden {
  display: none;
}

.visable {
display: block;
}

/* Blur everything except the modal when it's open */
body.modal-open #main-container {
  filter: blur(10px); /* Blurs the main content */
  transition: filter 0.3s ease-in-out; /* Smooth transition */
}

/* The Modal (background and structure) */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  backdrop-filter: blur(10px);
  justify-content: center;
}

/* Modal content (image stays sharp) */
.modal-content {
  margin: auto;
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 10000; /* Ensure image stays sharp and above the blur */
}




@media screen and (min-width: 701px) {
  #right-row {
    padding: 15px !important;
  }

  #about-mobile {
    display: none !important;
    text-decoration: none; 
  }

  .about-desktop {
    display: initial !important;
  }

  #mobile-back-button{
    display: none !important;
  }
}



/* Hide image on smaller screens */
@media screen and (max-width: 700px) {
  #about-name {
    display: none; /* Hides the name on mobile */
  }
  #main-container {
    flex-direction: column;
  }

  
  #about-mobile {
   display: block !important;  
  }

  #about-name {
    display: none; /* This will hide the name on mobile */
  }

  .about-desktop {
    display: none !important;
  }

  #mobile-back-button{
    width: 15px;
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: -1;
    display: none;

  }
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

  #main-container {
    display: flex;
    justify-content: space-between;
    min-height: 100vh;
    width: 100vw;
    flex-wrap: wrap;
    flex-direction: column;
  }
  #left-row {
    position: fixed;
    flex-direction: column;
    display: flex;
    z-index: 2;
    width: 100vw; /* Force exactly viewport width */
    max-width: 100vw; /* Prevent overflow */
    padding-top: 30px;
    padding-bottom: 4ch;
    background-color: white;
    top: 10px;
    left: 0; /* Ensure it sticks to the left */
    box-sizing: border-box;
    height: auto;
    overflow-x: hidden; /* Extra protection */
}
 
body.project-opened #left-row {
  display: none !important;
}

  
  #right-row {
    width: 100vw;
    padding-top:0px;
    z-index: 1;
    margin-top: 40px;
    
  }

  #projects > a {
    display: block;

  }

  .project-opened #projects > a,
  .project-opened #about-name,
  .project-opened #about-content {
    opacity: 0;
    height: 0;
    pointer-events: none;
    width: 100vw;
  }
  .project-opened #projects > a.active {
    opacity: 1;
    height: auto;
    pointer-events: all;
  }

  .collapsed a.active > div > div:not(:first-child) {
    height: 0;
    opacity: 0;
    margin-top: -100%;
  }

}


nav.sticky-header {
  width: 100vw;
  position: fixed; /* This makes it stick at the top */
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  background: var(--tertiary-color); /* Keep the same background color as before */
  padding: 10px 20px;
  z-index: 1000; /* Ensure it stays above the content */
  background-color: white;
  cursor: pointer;
  border: 0.1px solid #000000;
}

nav.sticky-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.sticky-header ul li {
  display: inline;
}

nav.sticky-header a {
  text-decoration: none;
  color: inherit;
  font-weight: normal;
}

main {
  padding-top: 100px; /* Adjust this value to match the height of the sticky header */
}
.music-player {
  width: 300px;
  background: white;
  padding: 0px;
  border-radius: 0px;
  margin: 0px;
}

/* Hide audio controls */
audio {
  display: none;
}

/* Hide song list */
#playlist {
  display: none;
}

.controls {
  margin-top: 10px;
}

button {
  background: #ffffff;
  color: rgb(0, 0, 0);
  border: 0.1px solid rgb(0, 0, 0);
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background: #d5d5d5;
}