.direct{
  background-color: #d5c7c241;
}
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: white;
    border-radius: 10rem;
    color: var(--black);
    font-weight: bold;
    font-size: x-large;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: center;
    border: none;
    outline: none;
    transition: 0.4s;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
 .accordion:active, .accordion:hover {
    background-color: #d5c7c241;
    color: var(--red);
  }
  
  /* Style the accordion panel. Note: hidden by default */
  .panel {
    color: var(--black);
    border-radius: 2rem;
    padding: 2px 18px;
    background-color: white;
    display: none;
    overflow: hidden;
  }
  
  
  /* The flip box container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-box {
  background-color: transparent;
  width: 300px;
  height: 20rem;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side */
.flip-box-front {
  background-image: url(../images/1111.jpg);
  background-size:cover;
  background-position:center;
  color: white;
}

/* Style the back side */
.flip-box-back {
  background-color: white;
  color: black;
  overflow-y:scroll;
  transform: rotateY(180deg);
}
.flip-box-back::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

.flip-box-back::-webkit-scrollbar-track {
    background: #f1f1f1; /* Background of the track */
}

.flip-box-back::-webkit-scrollbar-thumb {
    background-color: #88888859; /* Scrollbar color */
    border-radius: 10px; /* Rounded corners */
    border: 2px solid #ccc; /* Border around scrollbar */
}

.flip-box-back::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Color when hovered */
}




.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
