@charset "utf-8";
/* CSS Document */

#QuizWordsBoxList ul li a{
	color:black;
}

#QuizWordsBoxList ul li a:active {
	color:red;
}

div#imageQuizContainingBox {
    margin-top: 0px;
    margin-bottom: 0px;
	padding-top: 0px;
	width: 100%;
}
html { 
width: 100%;

}
body {
	width: 100%;

}

#navigation_css ul li {
	display: none;
	padding-right: 10px;
	margin-right: 20px;
	margin-bottom: 8px;
}

@media (max-width: 599px), (max-height: 400px) {
 
	#body { padding-left:         0%;
        padding-right:        0%;
		background-color:#FFF;
		-webkit-text-size-adjust: 100%;
}



#imageQuizContainingBox {
    background-color: #ffc440;
    border: 2px solid #666;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin-top: 0px;
    margin-bottom: 30px;
    margin-left: 0%;     
	margin-right: 0%; 
	padding-bottom: 10px;
    width: 99%;



}

div#imageQuizContainingBox {
    margin-top: 0px;
    margin-bottom: 40px;
    padding-top: 0px;
    width: 99%;
}

div#imageQuizBox img { 

	object-fit:contain;
	
}

#navigation_css {
	padding-top: ;
	margin-top: ;
	margin-bottom: ;
		}

/* added css */
#navigation_css ul {
	list-style:   none;	
	display: none;
}

/* added css */
#navigation_css ul li {
	display: none;
	padding-right: 10px;
	margin-right: 20px;
	margin-bottom: 8px;
	display: none;
} 


.slicknav_menu {
    display: block;
    position: fixed;
    z-index: 100;
	font-size: 16px;
}
}
/* Container must be relative if wrapping image and overlay */
.image-container {
  position: relative;
  display: inline-block;
}

/* Centered Overlay Symbol */
.media-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  pointer-events: none; /* Allows clicks to pass through to the image */
  opacity: 0;
  z-index: 20;
}

/* Fade animation over 2 seconds */
.media-overlay.animate-fade {
  animation: fadeSymbol 1s ease-out forwards;
}


@keyframes fadeSymbol {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  70% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

#nameAtEndImage {
  width: 90%;
  max-width: 50%;
  min-height: 60px;
  height: auto;
  font-weight: bold;
  position: absolute;
  
  /* Scales font smoothly from 1.25rem (20px) to 3.125rem (50px) */
  font-size: clamp(1.25rem, 4vw, 3.125rem);
  
  bottom: 5%; /* Anchors relative to bottom of container instead of fixed top % */
  left: 50%;
  transform: translateX(-50%);
  
  padding: 0.5rem 1rem;
  text-align: center;
  color: #006;
  background-color: #ffffff;
  border-radius: 5px;
  border: 2px solid #000000;
  display: none;
  
  /* Flex alignment keeps text vertically centered if it wraps to two lines */
  display: none; 
  align-items: center;
  justify-content: center;
}

#nameAtEndPhrase {
  width: 90%;
  max-width: 70%;
   min-height: 3rem;
  height: auto;
  font-weight: bold;
  position: absolute;
  
  /* Scales font smoothly from 1.25rem (20px) to 3.125rem (50px) */
  font-size: clamp(1.25rem, 4.5vw, 3.125rem);
  
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  
  padding: 0.5rem 0;
  text-align: center;
  color: #006;
  display: none;
  
  align-items: center;
  justify-content: center;
}

/* Media Queries for Mobile Screens */
@media (max-width: 599px) {
  #nameAtEndImage {
    max-width: 85%; /* Expand width on mobile so text doesn't clip */
    bottom: 0%;
    border-width: 1px;
	font-size: 1.8em;
    min-height: 50px;
	  }

  #nameAtEndPhrase {
    max-width: 90%;
    bottom: 4%;
  }
}