::selection {
    background-color: black;
    color: white; 
        }

  body {
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; 
    transition: background-color 0.3s ease;
  }

  h1 {
      font-size: xx-large;
      position: fixed;
      top: 10px;
      left: 10px;
      z-index: 1000;
  }

  h2 {
    font-size: x-large;
    position: relative;
    z-index: 1000;
}

  .button-container {
      display: flex; 
      position: fixed;
      top: 8vh; 
      right: 2vw; 
      gap: 20px; 
      z-index: 1000;
  }

  .buttons {
      font-family: Arial, Helvetica, sans-serif;
      font-weight: lighter;
      font-size: medium;
      color: rgb(0, 0, 0);
      text-decoration: none; 
      padding: 5px 10px; 
      transition: background-color 0.3s, color 0.3s;            
  }

  .buttons:hover {
      background-color: rgb(0, 0, 0); 
      color: white; 
  }

  .buttons2-container {
      display: flex; 
      position: fixed;
      bottom: 20px; 
      left: 20px; 
      gap: 20px; 
  }

  .buttons2 {
      font-family: Arial, Helvetica, sans-serif;
      font-weight: lighter;
      font-size: medium;
      color: rgb(0, 0, 0);
      text-decoration: none; 
      padding: 5px 10px; 
      transition: background-color 0.3s, color 0.3s;            
  }

  .buttons2.active {
      background-color: rgb(0, 0, 0); 
      color: white;
  }

  .buttons2:hover {
      background-color: rgb(0, 0, 0); 
      color: white; 
  }

.page-header {
    width: 200px; 
    height: 100px;
    left: 5vw;
    background-image: url('../../Housestyle/Logo_ontwerpstudioKIES.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px; 
    border: none;
    background-color: transparent;
    transition: background-image 0.2s ease-in-out; 
}

.page-header:hover {
    background-image: url('../../Housestyle/Logo_ontwerpstudioKIES_inverted.png'); 
    background-color: transparent; 
}

  .header-title {
      font-family: Arial, Helvetica, sans-serif;
      font-style: normal;
      font-size: x-large;
      font-weight: 400;
      color: black;
      margin-left: 50px;
      margin-top: 20px;
  }

  .main-text {
      font-family: Arial, Helvetica, sans-serif;
      font-size: small;
      margin-bottom: 20px;
      margin-top: 0;
      color: black;
      margin-left: 0px;
      max-width: 30vw;
      text-align: justify;
      bottom: 200px;
      position: relative;
      background-color: white;
      padding: 20px;
  }

  .image-row {
      display: flex;
      flex-direction: column; 
      align-items: center; 
      gap: 100px; 
      padding-top: 200px; 
  }

  .image-container-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vh; 
      margin-bottom: 30px;
  }

  .image-container-wrapper .main-text {
      margin-top: 20px; 
  }

  .image-container {
      width: 40vw; 
      height: auto;
      display: flex;
    flex-direction: column;  
    align-items: center;     
    text-align: center;
  }

  .image-container img {
      width: 100%; 
      height: auto;
      cursor: pointer; 
  }

  .arrow-button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px; 
      font-weight: light;
      background-color: transparent;
      color: black;
      border: none;
      cursor: pointer;
      z-index: 1;
      font-weight: bold;
      padding: 15px;          
  }

  .left-button {
      left: -100px; 
  }

  .right-button {
      right: -100px; 
  }

  .arrow-button:hover {
    background-color: rgb(0, 0, 0); 
    background-size: contain;
    color: white; 
    transition: background-color 0.3s, color 0.3s; 
  }

  #image-container, #about-content {
      transition: opacity 0.5s ease, transform 0.5s ease;
  }

  #image-container {
      transform: translateY(0);
  }

  #about-content {
    position: relative;
    margin: 200px auto 100px;  
    width: 60vw;
    max-width: 700px;
    padding: 0 30px 40px 30px;
    background: white;
    display: none; 
}

  #about-content.show {
      opacity: 1;
      transform: translateY(0);
      visibility: visible; 
  }

  #about-content li {
  list-style-type: none;     
  margin: 5px 0;             
  font-size: small;;
  color: #000000;               
  font-weight: 300;
}

.image-description {
    margin-top: 10px;
    font-size: 14px;
    color: #ffffff;
    max-width: 90%;
}

  .zoomed-image-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, 1);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      flex-direction: column;
      cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text x="6" y="24" font-size="32" fill="black">✕</text></svg>') 16 16, auto;
  }

  .zoomed-image-container.show {
      visibility: visible;
      opacity: 1;
  }

  .zoomed-image-container img {
      max-width: 90%;
      max-height: 90%;
  }

  body::-webkit-scrollbar {
    width: 8px; 
}

body::-webkit-scrollbar-track {
    background: #ffffff; 
}

body::-webkit-scrollbar-thumb {
    background-color: #000000; 
    border-radius: 0; 
    border: none;
}

body::-webkit-scrollbar-button {
    display: none; 
}

body::-webkit-scrollbar-horizontal {
    height: 8px;
}

.image-text {
    position: absolute;
    top: 100%; 
    left: 50%; 
    transform: translate(-50%, 50px); 
    opacity: 0; 
    text-align: center; 
    font-size: 14px;
    font-weight: bold;
    color: black;
    width: auto;
    line-height: 1.4em;
    transition: opacity 0.3s ease, transform 0.3s ease; 
}

.about-textbox {
    display: none;
    background-color: none;
    text-align: justify;
    font-size: 15px;
    line-height: 1.6;
}

.project:hover .image-text {
    opacity: 1; 
    transform: translate(-50%, 0); 
}

.zoomed-image-container.show {
    display: flex;
}

.zoom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(0, 0, 0);
    background: none;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    user-select: none;
    z-index: 1100;
}

.zoom-arrow.left { left: 40px; }
.zoom-arrow.right { right: 40px; }

.zoom-arrow:hover {
    background:rgb(0, 0, 0);
    color: rgb(255, 255, 255)}

#zoomed-image {
    pointer-events: none;
}

.text-column {
    flex: 2; 
    min-width: 250px;
}

.about-wrapper h2 {
    margin-top: 0;
}

#about-content li {
    font-family: Arial, Helvetica, sans-serif;
    list-style: none !important;
    margin: 5px 0 !important;
    font-size: 14px !important;
    color: black !important;
    font-weight: 300 !important;
}

#current-image {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cline x1='15' y1='5' x2='15' y2='25' stroke='%23000' stroke-width='2'/%3E%3Cline x1='5' y1='15' x2='25' y2='15' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") 15 15, auto;
}


.mobile-menu-open #image-container,
.mobile-menu-open .image-container-wrapper {
    opacity: 0.5;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
    }

    .text-column, .details-column {
        flex: 1 1 100%;
        min-width: auto;
    }
 
    #about-content {
    width: calc(100vw - 200px);
    max-width: none; 
    margin: 200px auto 100px;   
}

    .main-text {
        max-width: 100%; 
        position: static; 
        bottom: auto;
        padding: 20px;
        background-color: white;
    }

    #image-container {
    width: 70vw;
    }

        .button-container {
        position: fixed;
        top: 480px;                        
        right: 65px;                      
        transform: translateY(-50%) rotate(90deg);
        transform-origin: right center;  
        display: none;   
        flex-direction: row; 
        gap: 20px;
        padding: 10px;
        background-color: white;
        z-index: 2000;
    }

    .buttons2-container {
        flex-direction: row;    
        justify-content: flex-start;
        align-items: center;
        position: fixed;
        left: 20px;           
        bottom: 20px;
        gap: 20px;         
        background-color: white;
        display: none;          
        padding: 10px;
        z-index: 1000;
    }

    .buttons2 {
        margin-bottom: 0;    
    }

    .buttons {
        white-space: nowrap;
        padding: 5px 10px;
        text-align: center;
        margin: 0;
    }

    .button-container,
    .buttons2-container {
    display: none;
    padding: 10px;
    background-color: white;
    z-index: 1000;
    }

.button-toggle {
    width: 50px;
    height: 50px;
    position: fixed;
    top: 50px;
    right: 40px;
    cursor: pointer;
    z-index: 1000;

    background-image: url('../Housestyle/KIESMENU.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent; /* remove black square */
    border: none;
}

    .left-button {
    margin-left: 50px; 
    }

    .right-button {
    margin-right: 50px; 
    }

    .image-container {
    width: 70vw;
    }

    .image-description {
    font-size: 12px;
    }

    .mobile-menu-open .button-container {
        position: fixed;
        top: 480px;
        right: 65px;
        transform: translateY(-50%) rotate(90deg);
        transform-origin: right center;
        display: flex !important;
        flex-direction: row !important;  
        gap: 20px;                          
        background: white;
        z-index: 2000;
    }

   
    .mobile-menu-open .button-container .buttons {
        margin: 0;
        padding: 5px 10px;
        white-space: nowrap;  
    }

    }

    .page-header {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-header.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}


    @media screen and (max-width: 500px) {
    #about-content {
    width: 90vw;
    }
    }
