@charset "utf-8";
/* CSS Document */
/* Add your preferred styling here */
.accordion {
  max-width: 100%;
  margin: 0 auto;
}

.accordion-title {
  background-color: #430909;
  padding: 10px;
  cursor: pointer;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  text-align:left;
}

.accordion-title a {
  text-decoration: none;
  color: #FFFFFF;
  display: block;
}

.accordion-content {
  background-color:#FFFFFF;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  text-align:justify;
  color: #210404;
  padding: 0px 15px 0px 15px; 
}

.accordion-item:target .accordion-content {
  max-height: 1000px; /* Adjust to a sufficiently large value */
}
.toggle-icon::before {
  content: "\f067"; /* Plus icon */
  float: right;
}

.accordion-item:target .toggle-icon::before {
  content: "\f068"; /* Minus icon */
  float: right;
}
/* Image Gallery Manual Card Slider */
.codeeager-image-gallery {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  border:1px solid #666666;
}

.codeeager-slider {
  display: flex;
  align-items: center;
  /*overflow-x: scroll;
  scroll-snap-type: x mandatory;*/
  overflow:hidden;
  position: relative;
}

.codeeager-slides {
  display: flex;
  width:97%;
}

.codeeager-card {
  width: calc(100% / 3); /* 3-column layout */
  flex-shrink: 0;
  scroll-snap-align: start;
  position: relative;
  padding: 10px;
  background-color: #f0f0f0;
  margin-right: 10px; /* Adjust spacing between cards */
}

.codeeager-image-container {
  position: relative;
  width:100%;
}

.codeeager-image {
  width: 100%;
  display: block;
  cursor: pointer;
}

.codeeager-magnifier {
  position: absolute;
  width: 150px; /* Adjust magnifier size as needed */
  height: 150px; /* Adjust magnifier size as needed */
  background-color: rgba(0, 0, 0, 0.2);
  border: 2px solid #fff;
  cursor: none;
  display: none;
}

.codeeager-prev,
.codeeager-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1;
}

.codeeager-prev {
  left: 0;
}

.codeeager-next {
  right: 0;
}

/* The Close Button */
.codeeager-close {
  position: inherit;
  top:100px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.codeeager-close:hover,
.codeeager-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .codeeager-card {
    width: calc(100% / 2); /* 2-column layout on smaller screens */
  }
}
/* Desktop view: 3-column layout */
@media (min-width: 769px) {
  .codeeager-card {
    width: calc(100% / 3); /* 3-column layout */
  }
}

/* Mobile view: Single image slider */
/* Mobile view: Single image slider */
@media (max-width: 768px) {
  .codeeager-slider {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .codeeager-card {
    width: 100%; /* Full-width card */
    display: inline-block;
    margin-right: 0; /* No margin between cards */
  }

  .codeeager-prev,
  .codeeager-next {
    display: inline-block; /* Show navigation buttons on mobile */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
  }

  .codeeager-prev {
    left: 0;
  }

  .codeeager-next {
    right: 0;
  }
  .codeeager-close {
  top:20px;
	}
}


