

/* ______________  */
/* Showcase Image  */
/* ______________  */
.image-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* Allows buttons to be positioned over the image */
}

.image-container-showcase {
  display: flex;
  justify-content: center;
  position: relative;
}

.showcase-image {
  width: 100%;
  max-width: 1200px;
  display: none; /* Hide all images by default */
}

.showcase-image:not(.hidden) {
  display: block; /* Show only the active image */
}

/* Buttons as arrows */
.button-showcase {
  top: 50%; /* Center vertically */
  background: none; /* Semi-transparent background */
  color: white;
  border: none;
  /*border-radius: 100%;*/ /* Circular button */
  cursor: pointer;
  font-size: 45px;
  line-height: 1;
}

/* Adjust for smaller screens using media query */
@media (max-width: 768px) { /* For devices with width <= 768px */
  .button-showcase {
    top: 40%; /* Adjust vertical position closer to image */
    font-size: 20px; /* Reduce size for smaller screens */
    width: 40px;
    height: 40px;
  }
  .prev-btn {
    margin-right: 50px; /* Adjust spacing for the left button */
    position: relative; /* Add positioning if necessary */
    left: -40px;
  }

  .next-btn {
    margin-left: 50px; /* Adjust spacing for the right button */
    position: relative; /* Add positioning if necessary */
    right: -28px;
  }
  .showcase-image {
    position: relative;
    height: 100%;
    width: 150%;
  }
}


/* Position buttons */
.prev-btn {
  margin-right: 10px;
}

.next-btn {
  margin-left: 10px;
}

/* Hover effect for buttons */
.button-showcase:hover {
  background: none;
  color: #E0B0FF;
  transition: color 0.5s ease;
} 
.button-show {
  width: 50px;
  height: 50px;
}

/* ______________  */
/* Div Image   */
/* ______________  */

.div-img {
  width: 800px;
  height: 800px;
  background-image: url('/images/server.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 1px solid black;
}
.div-img2 {
  width: 1000px;
  height: 800px;
  background-image: url('/images/jellyfin-dashboard.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 1px solid black;
}

.div-img-jellyseerr {
  position: relative;
  width: 1200px;  /* Desired width */
  height: 600px;  /* Maintain aspect ratio (height = width * ratio) */
  background-image: url('/images/jellyseerr.jpg');
  background-repeat: no-repeat;
  background-size: 100% 100%; /* Ensures the image fills the container */
  background-position: center; /* Centers the image */
  border: 1px solid black; /* Border around the image */
}

.div-img-navidrome-dashboard {
  position: relative;
  width: 1200px;  /* Desired width */
  height: 600px;  /* Maintain aspect ratio (height = width * ratio) */
  background-image: url('/images/navidrome-dashboard.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%; /* Ensures the image fills the container */
  background-position: center; /* Centers the image */
  border: 1px solid black; /* Border around the image */
}

.jellyseerr {
  width: 1200px;
  height: 600px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .jellyseerr {
    width: 100%; /* Make the image take up the full width of its container */
    height: auto; /* Maintain aspect ratio */
  }
}
/* ______________  */
/* Image Customization  */
/* ______________  */

/* div html required */
.center-img-div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-img {
  display: block; /* Ensures the image is treated as a block-level element */
  margin-left: auto;
  margin-right: auto;
}

.small-image {
  width: 100%;              /* Ensures the image takes full width of the container */
  height: 300px;            /* Fixed height for uniform image size */
  object-fit: cover;        /* Ensures image covers the container without stretching */
  max-width: 100%;          /* Ensures the image does not exceed the container width */
}

/* Hides Images */
.hidden {
  display: none;            /* Hides the image initially */
}

.img-border {
  border: 1px solid black;
}

.server-size {
  width: 800px;
  height: 800px;
}

/* ______________  */
/* Side by Side Image  */
/* ______________  */


.side-by-side {
  width: 50%;
  display: inline-block;
  vertical-align: top;
}


/* ______________  */
/* Image Width Customization  */
/* ______________  */

.w-100 {
  width: 100%;              /* Makes the image take full width of its container */
  max-width: 100%;          /* Ensures image does not exceed the container width */
}

.w-48 {
  width: 48%;
}

/* ______________  */
/* Image Margin Customization  */
/* ______________  */

.mb-10{
  margin-bottom: 10px;
}

/* ______________  */
/* Image and Button Container  */
/* ______________  */

#imageContainer {
  display: flex;      /* Aligns images horizontally */
  gap: 10px;          /* Space between images */
}

/* Hide #imageContainer when the .hidden class is added */
#imageContainer.hidden {
  display: none;
}

/* Container for buttons */
.button-container {
  display: flex;
  gap: 20px;                /* Space between button-image containers */
  justify-content: center;  /* Centers the button-image containers horizontally */
  flex-wrap: wrap;          /* Allows buttons to wrap on smaller screens */
  margin-top: 40px;         /* Adds space above buttons */
}

/* Each button + image container */
.button-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;      /* Center button and image horizontally */
  width: 45%;               /* Each container takes 45% of the available width */
  max-width: 800px;         /* Max width limit for each button-image pair */
  margin-bottom: 40px;      /* Spacing between stacked containers */
}

/* ______________  */
/* Button Customization  */
/* ______________  */

/* Button styling */
.button-2 {
  width: 100%;              /* Button takes up the full width of its container */
  padding: 20px;            /* Adds padding inside the button */
  font-size: 18px;          /* Increases button text size */
  text-align: center;       /* Centers the text inside the button */
  border-radius: 5px;       /* Rounds button corners */
  color: black;             /* Button text color */
  background: white;        /* Button background color */
  box-sizing: border-box;   /* Ensures padding does not affect width */
  min-width: 200px;         /* Prevents buttons from becoming too narrow */
  margin-bottom: 10px;      /* Space between button and image */
}

.button-2-hover {
  border: none; /* no border so the color fills whole button */
  transition: background-color 0.3s ease; 
  cursor: pointer;
}

.button-2-hover:hover{
  background-color: #E0B0FF;
}



/* button hover styling*/
.hover-button {
  padding: 10px 20px; /* makes button larger */
  border: none; /* no border so the color fills whole button */
  transition: background-color 0.3s ease; 
  cursor: pointer;
  font-size: 18px;
}
/* button hover styling for color*/
.hover-button:hover {
  background-color: #E0B0FF;
}
/* ______________  */
/* Flex Container  */
/* ______________  */

.flex-container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically */
  height: 100vh;           /* Full viewport height to center vertically */
  background-color: #1A1D1D;
}