html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  height: 100vh;
  cursor: url(images/cursor/cursor.png) 3 3, cell;
  user-select: none;

}


.cousine-regular {
  font-family: "Cousine", monospace;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -1px;
}

.cousine-italics {
  font-family: "Cousine", monospace;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -1px;
}

.text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px clamp(16px, 4vw, 60px) 8px;
}

.heading {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "width" 100;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1;
  color: #ff7cb9;
  -webkit-text-stroke: 1.5px black;
  float: none;
  margin-top: 0;
  width: auto;
  height: auto;
  white-space: nowrap;
  min-width: 0;
  flex: 0 1 auto;

}

#name {
  margin: 0;
  line-height: 1;
}

.navigation {
  margin-top: 0;
  float: none;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(4px, 1vw, 10px);
  min-width: 0;
  flex: 1 1 auto;

}

.navigation a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

/* Change the color of zinks on hover */
.navigation a:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(166, 255, 0);
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
  cursor: url(images/cursor/cursor2.png) 3 3, cell;
}

#works,
#about,
#contact,
#home {
  font-size: clamp(16px, 1.8vw, 25px);
  border: 1px solid black;
  text-align: center;
  padding: 5px clamp(10px, 1.4vw, 20px);
  border-radius: 35px;
  background: #ff7cb9;
  margin: 2px;
  float: none;
  white-space: nowrap;

}

.button {
  margin-top: 25px;
}

.button a {
  color: black;
  text-decoration: none;

}

.button a:hover {

  color: rgb(166, 255, 0);
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
  cursor: url(images/cursor/cursor2.png) 3 3, cell;
}

hr {
  border: none;
  height: 1.5px;
  color: #000000;
  background-color: #000000;
  width: 100%;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ff7cb9;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  visibility: visible;
  opacity: 1;
  transition: visibility 0s 2s, opacity 2s ease-out;
}

.loader {
  border: 8px solid white;
  border-top: 8px solid #7cf99b;
  border-radius: 50%;
  width: 80px;
  height: 50px;
  animation: spin 2s linear infinite;

}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Main container */
.img-container {
  position: relative;
  width: 90%;
  /* Adjust to your preferred width */
  margin: 5%;
  overflow: hidden;
  /* Hide the overflow for smooth sliding */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Slider wrapper */
.img-slider {
  display: flex;
  /* Display images in a row */
  transition: transform 0.5s ease;
  /* Smooth transition between slides */

}

.firstcontainer {
  margin-bottom: -25%;
}

.firsttext {
  margin-top: 30%;
}


/* Catalogue images */
.catalogue-item {
  width: 100%;
  /* Make each image take full width of the container */
  flex-shrink: 0;
  /* Prevent shrinking when resizing */
  object-fit: contain;
  /* Contain the image within its box while maintaining aspect ratio */
  max-height: 550px;
  /* Limit the height of the image */
  margin: 0 auto;
  /* Center the images */
  transition: opacity 0.5s ease;
}

.catalogue-item-video {
  width: 64%;
  padding-left: 18%;
  padding-right: 18%;
  flex-shrink: 0;
  /* Prevent shrinking when resizing */
  object-fit: contain;
  /* Contain the image within its box while maintaining aspect ratio */
  max-height: 600px;
  /* Limit the height of the image */
  margin: 0 auto;
  /* Center the images */
  transition: opacity 0.5s ease;
}

.archive-container {
  position: relative;
  width: 90%;
  /* Adjust to your preferred width */
  margin: 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.archive-video {
  margin-top: 20px;
  width: 72%;
  height: 65vh;
  padding-left: 14%;
  padding-right: 14%;

}

.archive-video-home {
  margin-top: 10px;
  width: 90%;
  height: 50vh;
  padding-left: 5%;
  padding-right: 5%;


}



/* Arrow buttons */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 2rem;
  z-index: 1;
  border-radius: 40px;
}

.arrow.left {
  left: 0;
  /* Position left arrow */
}

.arrow.right {
  right: 0;
  /* Position right arrow */
}

/* Optional styling for hover effect on arrows */
.arrow:hover {
  background-color: #ff7cb9;
  cursor: url(images/cursor/cursor2.png) 3 3, cell;
}

.work-text {
  margin: 15%;
  margin-top: 5%;
  padding-bottom: 15%;
}

.work-headings {
  padding-bottom: 3%;
}

#work-title {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 30px;
  color: #ff7cb9;
}

#work-details {
  font-style: italic;
  font-size: 15px;
}

.work-statement {
  font-size: 18px;

}

#highlight {
  color: #ff7cb9;
}

#italics {
  font-style: italic;
}

/*.videolink {
    font-size: 18px;
    border: 1px solid black;
    text-align: center;
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 35px;
    background: #ff7cb9;
    margin: 3px;

}*/




@media only screen and (max-width: 840px) {
  .heading {
    font-size: clamp(34px, 8vw, 50px);
    width: auto;
    margin-top: 0;

  }

  .text {
    padding: 8px 20px 6px;
  }

  #works,
  #about,
  #contact,
  #home {
    font-size: 15px;
    border: 1px solid black;
    text-align: center;
    background: #ff7cb9;
    margin: 2px;
    padding: 5px 10px;
  }

  .navigation {
    margin-top: 0;
    float: none;
    width: auto;
    height: auto;
  }

  .img-container {
    width: 90%;
    margin: 5%;
    padding-top: 30px;
  }

  .firstcontainer {
    margin-bottom: -100px;
  }

  .catalogue-item {
    max-height: 300px;
    /* Adjust height for smaller screens */
  }

  .work-text {
    margin: 10%;
    margin-top: 5%;
    padding-bottom: 20%;
  }

  #work-details {
    font-size: 12px;
  }

  .work-statement {
    font-size: 15px;
  }

  .archive-video {
    margin-top: 50px;
    height: 30vh;
  }

  .archive-video-home {

    height: 20vh;
  }
}
