/*******************Base*****************************/
/* This isn't getting inherited properly. Declaring it inline for now */
/* nav #mySidebar{
  z-index:3;
  width:300px;
  font-weight:bold;
  border-style:solid;
  border-width: 0px 5px 0px 0px;
} */

/*******************Gallery page*********************/
.gallery{
  width:100%;
  max-width:380px;
  border-style:inset;
  border-width:5px;
  border-color:#2a5c9a;
  margin: 12px 12px 12px 12px;
}

.pagination{
  text-align: center;
}

/*******************Project portfolio page*********************/
.mySlides {
  display: none;
}

/* Slideshow container */
.slideshow-container {
}
.slideshow-container img{
  vertical-align: middle;
  border-radius: 3%;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  top: 50%;
  width: auto;
  padding: 16px;
  color: #f6f9fd;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(61,114,0201,0.7);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(61,114,201,1);
}

/* Caption text */
.slideshow-text {
  font-size: 15px;
  padding: 8px 16px;
  background: rgb(0, 0, 0); /* Fallback color */
  background: rgba(0, 0, 0, 0.7); /* Black background with 0.5 opacity */
  color: #D1E8E2; /* Light blue text */
}

/* Number text (1/3 etc) */
.numbertext {
  color: #e2ecf7;
  font-size: 12px;
  padding: 10px 10px;
  border-radius:50%;
  background: rgba(0, 0, 0, 0.6); /* Black background with 0.5 opacity */
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #8cb1df;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #2a5c9a;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
  .short-description{

  }
  .detail-area{

  }

.description-of-slide{
  text-align: center;
  margin-left: 4px;
}
.description-of-slide ul{
  list-style-type: none;
  display:inline;
}
.description-of-slide h5{
  text-align: center;
  letter-spacing: 6px;
}
.description-of-slide h6{
  text-align: center;
  font-weight: 200;
}
.detail-row {
  display: flex;
  flex-wrap: nowrap;
  padding: 3px;
}
/* Clear floats after the columns */
.detail-row:after {
  content: "";
  display: table;
  clear: both;
}
.detail-column {
  flex: 70%;
  max-width: 70%;
  position: relative;
  display: block;
}
.artifacts {
  padding: 6px;
}
.description-of-slide h4{
  font-size: 28px;
  font-family: "Segoe UI",Arial,Verdana;
  font-weight: 500;
  letter-spacing: 10px;
  font-style: italic;
  font-variant: small-caps;
  text-decoration: dotted;
}
.expanded{
  float:left;
}


.artifact-button {
  border-radius: 4px;
  background-color: #2C3531;
  border: none;
  color: #D1E8E2;
  text-align: center;
  font-size: 18px;
  padding: 14px;
  width: 230px;
  transition: all 0.3s;
  cursor: pointer;
  margin: 3px;
}

.artifact-button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.artifact-button span:before {
  content: '\00ab';
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.artifact-button:hover span {
  padding-left: 25px;
}

.artifact-button:hover span:before {
  opacity: 1;
  left: 0;
}
.artifact-button:active {
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

/***************Contact Page********************/
.alert {
  position: relative;
  left: 0px;
  top: 0px;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translateX(0px);
  transition: visibility 0s, opacity 1000ms, transform 1000ms;
}
.alert.hide {
  position: relative;
  opacity: 0;
  visibility: hidden;
  display: none;
  transform: translateX(-10px);
  transition: visibility 0s 1000ms, opacity 1000ms, transform 1000ms;
}

/***************How to Page********************/
.menu-item{
  margin-bottom: 30px;
  position: relative;
  border-bottom: none;
  padding:8px 16px;
}

.tool-menu{
  list-style-type: none; 
  border-left: 1.5px solid #B2B2B2;
  text-align: left;
  padding-left: 12px;
}


nav ul li a{
  text-decoration: none;
}

/**************License Plate Game****************/
.state {
  fill: #D3D3D3; /* default color */
  cursor: pointer;
  transition: fill 0.3s;
}

/*************Road Bingo********************/
#bingo-board {
  display: grid;
  grid-template-columns: repeat(5, 100px);
  grid-template-rows: repeat(5, 100px);
  gap: 5px;
  margin: 20px;
}

.square {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  border: 2px solid #333;
  border-radius: 8px;
  cursor: pointer;
  padding: 5px;
  text-align: center;
  overflow: hidden;
  background-color: #fff;
  transition: background-color 0.2s;
}

/* Styling for the checkmark overlay */
.checkmark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6em;
  color: green;
  background-color: rgba(0, 255, 0, 0.5); /* Semi-transparent background */
  border-radius: 8px;
  opacity: 0;
  pointer-events: none; /* Prevent overlay from blocking clicks */
  transition: opacity 0.2s;
}

/* Show the checkmark overlay when the square is selected */
.square.selected .checkmark-overlay {
  opacity: 1;
}

.content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bingo-image {
  width: 70px;
  height: 70px;
}

.bingo-text {
  margin-top: 5px;
  text-align: center;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  #bingo-board {
    grid-template-columns: repeat(5, 72px);
    grid-template-rows: auto;
    gap: 4px;
  }

  .square {
    width: 70px;
    height: 70px;
  }

  .bingo-image {
    width: 40px;
    height: 40px;
  }

  .checkmark-overlay {
    font-size: 4em;
  }

  .bingo-text {
    margin-top: 2px;
    text-align: center;
    font-size: .6em;
  }
}

@media (max-width: 480px) {
  #bingo-board {
    grid-template-columns: repeat(5, 60px);
  }

  .square {
    width: 60px;
    height: 60px;
  }

  .bingo-image {
    width: 30px;
    height: 30px;
  }

  .checkmark-overlay {
    font-size: 3em;
  }

  .bingo-text {
    margin-top: 1px;
    text-align: center;
    font-size: .5em;
  }
}