.contentA .card-body{
  background-color: #0B1D35;
  color: white;
}


.table{
  font-family: sans-serif;
  border-collapse: collapse;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    z-index: 1000; /* ensure it's on top of everything */
}

.progress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001; /* ensure it's on top of overlay */
}





.card.open,
.card.match {
    background-color: #fff;
}

#restart-button {
    display: block;
    margin-top: 20px;
    cursor: pointer;
}







#puzzle {
    width: 600px; /* Adjust as needed */
    height: 600px; /* Adjust as needed */
    margin: 0 auto;
    border: 2px solid #000;
    position: relative;
}

.puzzle-piece {
    border: 1px solid #000;
    background-color: #fff;
    position: absolute;
    cursor: pointer;
}







/* CSS for overlay message */
#overlay-message {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    z-index: 1001; /* Ensure message is on top of overlay */
}

/* Styling for Color Guessing Puzzle */
.puzzle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.central-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.options-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.color-option {
    width: 50px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.image-gallery {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    scroll-snap-type: x mandatory; /* Enable snap scrolling */
}

.image-gallery img {
    flex: 0 0 auto;
    width: 100%; /* Ensure images fill the container */
    scroll-snap-align: start; /* Snap to the start of each image */
    cursor: pointer; /* Show cursor as pointer when hovering over images */
}


  .row {
    display: flex;
    flex-wrap: wrap;
}

.item {
    flex: 1 1 50%; /* Adjusts the width to 50% of the container */
    box-sizing: border-box; /* Ensures padding and borders are included in the width */
    padding: 10px; /* Adds padding for spacing */
}

/* Optional: Styling to ensure items look good together */
.item ul {
    list-style-type: none;
    padding: 0;
}

.item p {
    margin: 0;
}
