@font-face {
  font-family: "CustomFont";
  src: url("../public/fonts/SuisseIntlMono-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@media (min-width: 768px) {

  #header{
    position: relative;
    top: 0;
    left: 0;
  }

html,
body {
  overscroll-behavior: none;
  scrollbar-width: none;
  font-family: "CustomFont", Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  font-size: 16px;
  line-height: 18px;
  font-weight: 400;
  font-style: normal;
}
#project {
  width: 98vw;
  display: flex;
  flex-direction: row;
  height: 100%;
  overflow: hidden;
  top: 100px;
}

#blank-space {
  height: 10vh;
  border-bottom: 1px solid black;
}

#exit_button {
  color: black;
}

#exit_button:hover {
  color: rgb(82, 82, 82);
  cursor: pointer;
}

#project-text {
  border-right: 1px solid black;
  padding: 1vw;
  width: calc((100vw / 8) * 2 - 2vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scroll-snap-type: y mandatory; /* Added */
}

#project-text h1 {
  padding-top: 1vh;
  padding-bottom: 1vh;
  border-bottom: 1px solid black;
}

#project-description {
  padding: 0.2vw;
  padding-top: 2vw;
  width: 98%;
  white-space: pre-line;
  overflow: scroll;
  scrollbar-width: none;
  overscroll-behavior: none;
  
}


#project-col1 {
  position: fixed;
  top: 0;
  right: 0;
  width: 75vw;
  height: 90%;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-type: y mandatory;
  gap: 10vw;
}

#project-col1::-webkit-scrollbar {
  display: none;
}

.project-image {
  width: 90%;
  padding: 1%;
  padding-top: 10%;
  max-height: 80%;
  height: auto;
  object-fit: contain;
  scroll-snap-align: center;
}

#header {
  background-color: rgba(255, 255, 255, 0);
}
}


@media (max-width: 768px) { /* Adjust the breakpoint as needed */

  html,
  body {
    overscroll-behavior: none;
    scrollbar-width: none;
    font-family: "CustomFont", Arial, Helvetica, sans-serif;
    height: fit-content;
    font-size : 13px;
    line-height: 13px;
    font-weight: 400;
    font-style: normal;
  }


  #project {
    top: 10vh;
    position: absolute;
    width: 98vw;
    padding-left: 1vw;
    display: flex;
    flex-direction: column;
    height: fit-content; /* Adjust height to fit content */
  }

  #blank-space {
    height: 5vh;
    border-bottom: 1px solid black;
  }

  #exit_button {
    color: black;

  }

  #exit_button:hover {
    color: rgb(82, 82, 82);
    cursor: pointer;
  }

  #project-text {
    width: 95%;
    height: fit-content;
    border-bottom: 1px solid black;
    padding: 2.5%;
  }

  #project-text h1 {
    padding-top: 1vh;
    padding-bottom: 1vh;
    border-bottom: 1px solid black;
  }

  #project-description {
    padding: 1%;
    padding-top: 2vw;
    width: 95%;
    white-space: pre-line;
    height: fit-content;
    scrollbar-width: none;
    overflow: visible; /* Ensure content is not cut off */
  }

  #project-col1 {
    width: 98vw;
    height: fit-content; /* Adjust height to fit all images */
    gap: 5vw; /* Adjust gap for smaller screens */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align images */
    justify-content: center;
    padding-bottom: 5%;
    padding-top: 5%;
  }

  .project-image {
    width: 95%; /* Make images take full width */
    padding-left: 2.5%;
    padding-right: 2.5%;
    max-height: 100%; /* Ensure images are not cut off */
    object-fit: contain;
  }
}
