/* Contents of projects.css */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1e1e1e;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

.header img {
  width: 100%;
  height: auto;
  display: block;
  /* Ensures there are no additional margins */
}


.content,
.image-container {
  width: 80%;
  text-align: justify;
  margin-bottom: 20px;
}

.content {
  font-size: 16px;
  line-height: 1.6;
  padding-top: 30px;
}

.image-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.square {
  flex: 1 1 150px;
  height: 150px;
  margin: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Smooth transition for transform and shadow */
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
  /* Initial subtle shadow for depth */
}

.square a {
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  /* Removes underline from links */
  color: inherit;
  /* Keeps the text color consistent with the body */
}

.square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.square:hover {
  transform: translateY(-5px);
  /* Moves the square up slightly */
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9);
  /* Enhances shadow to give depth */
}

.title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  color: white;
  text-align: left;
  padding: 5px 10px;
  box-sizing: border-box;
  font-size: 14px;
}



/* DICKDDJWDJWDJDWJDWJDWJWD */
/* Scrollbar sizing */
::-webkit-scrollbar {
  width: 18px;
  height: 16px;
}

/* Thumb (draggable part) */
::-webkit-scrollbar-thumb {
  background:
    url('../../scrollbar/scroll-thumb.svg') no-repeat center center / 80%,
    linear-gradient(#bcd1f8, #bcd1f8);
  border-radius: 4px;
  /* Adjust the rounded corners of the rectangle */
  border: 2px solid transparent;
  background-clip: content-box, padding-box;
  /* Move the thumb slightly to the left */
  margin-left: -2px;
}

::-webkit-scrollbar-thumb:horizontal {
  background:
    url('../../scrollbar/scroll-thumb-horizontal.svg') no-repeat center center / 80%,
    linear-gradient(#bcd1f8, #bcd1f8);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box, padding-box;
  /* Move the horizontal thumb slightly to the left if needed */
  margin-left: -2px;
}

/* Track (part the thumb slides within) */
::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
  /* Rounded corners for the track */
}

/* Up button */
::-webkit-scrollbar-button:start {
  background-image: url('../../scrollbar/scroll-arrow-up.svg');
  background-color: #d4d4d4;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 4px;
  /* Rounded corners for the button */
}

/* Down button */
::-webkit-scrollbar-button:end {
  background-image: url('../../scrollbar/scroll-arrow-down.svg');
  background-color: #d4d4d4;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 4px;
  /* Rounded corners for the button */
}

/* Hide extra up button */
::-webkit-scrollbar-button:start:decrement {
  display: none;
}

/* Hide extra down button */
::-webkit-scrollbar-button:end:increment {
  display: none;
}

/* Horizontal scrollbar buttons */

/* Hide extra left button */
::-webkit-scrollbar-button:horizontal:start:decrement {
  display: none;
}

/* Hide extra right button */
::-webkit-scrollbar-button:horizontal:end:increment {
  display: none;
}

/* Reverse button actions */
/* When clicking the up button, it should go down */
::-webkit-scrollbar-button:start:decrement {
  background-image: url('../../scrollbar/scroll-arrow-down.svg');
}

/* When clicking the down button, it should go up */
::-webkit-scrollbar-button:end:increment {
  background-image: url('../../scrollbar/scroll-arrow-up.svg');
}