/* ============================================================== 
     # Reset Browsers
=================================================================== */

@import url('https://fonts.googleapis.com/css?family=Chewy&display=swap');
@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.banner-style-two-area h2 {
    font-size: 50px;
}

.banner-style-one-area h2, .banner-style-two-area h2 {
    font-weight: 800;
    font-style: italic;
}

.default-padding {
    padding-top: 50px;
    padding-bottom: 120px;
}

.area-quote {
	position: relative;
}

.dark-gold {
	color: #895c1a;
}

.fw-700 {
	font-weight: 700;
}

.project-details p {
    margin-bottom: 25px;
    font-size: 22px;
    color: #000000;
}

.sub-title {
    color: #000000;
    -webkit-text-fill-color: unset;
}

ul.biography-table h5 {
	font-size: 22px;
	font-weight: 800;
}

.feature-list-item li {
    color: #000000;
    font-size: 20px;
}

.feature-list-item li::after {
    border: 1px solid #080808;
}

.header-caption {
	position: absolute;
    left: 28px;
    top: 42px;
    font-size: 28px;
}

.cd-headline.clip b {
	font-weight: 600;
}

.modal-content .modal-header {
	position: fixed;
    right: 40px;
    bottom: 70px;
}

/* GLITTER SPARKLE - FRONT PAGE */

.glitter-bg {
  display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.sparkle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    border-radius: 50%;
    animation: sparkle-move 10s linear infinite, sparkle-fade 2s ease-in-out infinite alternate;
}

@keyframes sparkle-move {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(100vw, 100vh, 0);
    }
}

@keyframes sparkle-fade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.banner-top {
    position: relative;
    z-index: 1;
}

/* SHINING WORD TSL EFFECT */

.shining-text {
  width: 100%;
  position: relative;
  text-align: center;
  font: 800 3.5vw 'Montserrat', sans-serif;
  font-style: italic;
  background: #895c1a;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shining-text-two {
	width: 100%;
    position: relative;
    text-align: center;
    font: 800 5vw 'Montserrat', sans-serif;
    /* font-style: italic; */
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
/*     background: linear-gradient(to right, #BF953F, #FDD835, #B38728, #FFD54F, #AA771C); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 0px 5px rgb(0 0 0 / 21%);
}

.shining-text:after {
  content: "Tan Sri Dr. Lim Wee Chai";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0) 45%, rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0) 55%,rgba(255,255,255,0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200%;
  animation: shine 4s infinite;
}

.shining-text-two:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0) 45%, rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0) 55%,rgba(255,255,255,0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200%;
  animation: shine 4s infinite;
}

@keyframes shine{
  0% {
    background-position: -100%;
  }
  100% {
    background-position: 100%;
  }
}

/* TSL MAIN PHOTO */

.banner-style-two-area .author-thumb {
    right: 0;
    top: -33px;
    width: 52%;
}

.move-in {
  animation: fadein 2s ease;
  animation-delay: 1s; /* Delay the animation by 1 second */
  transform-origin: 0% 50%;
}

.move-in:nth-child(2) {
  animation-delay: .1s;
}

@keyframes fadein {
  0% { 
    transform: skewX(15deg) translateX(300px) scaleX(1.1);
    filter: blur(1px);
    opacity: 0;
  }
  40% { filter: blur(0px); }
  50% { transform: skew(0deg) translateX(0px); }
  100%{ opacity: 1; }
}

/* BUTTON START JOURNEY */

.frame {
  /* width: 90%;
  margin: 40px auto;
  text-align: center; */
}
button {
  margin: 20px;
}
.custom-btn {
    width: 240px;
    /* height: 40px; */
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    /* font-family: 'Lato', sans-serif; */
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: fixed;
    left: 110px;
    bottom: 0;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
    z-index: 10;
}

.btn-11 {
  border: none;
  background: rgb(195,133,47);
  background: linear-gradient(90deg, rgba(195,133,47,1) 0%, rgba(253,230,126,1) 17%, rgba(193,147,60,1) 72%, rgba(139,76,10,1) 86%, rgba(170,115,7,1) 100%);
  color: #000000;
  overflow: hidden;
}
.btn-11:hover {
    text-decoration: none;
    color: #fff;
}
.btn-11:before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: shiny-btn1 3s ease-in-out infinite;
}
.btn-11:hover{
  filter: grayscale(1);
}
.btn-11:active{
  box-shadow:  4px 4px 6px 0 rgba(255,255,255,.3),
              -4px -4px 6px 0 rgba(116, 125, 136, .2), 
    inset -4px -4px 6px 0 rgba(255,255,255,.2),
    inset 4px 4px 6px 0 rgba(0, 0, 0, .2);
}


@-webkit-keyframes shiny-btn1 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

/* FOUR PANELS PAGE */

#timeline {
  display: flex;
  background-color: #031625;
  /* Removed hover effect */
}

.tl-item {
  position: relative;
  width: 25%;
  height: 100vh;
  min-height: 600px;
  color: #fff;
  overflow: hidden;
  transition: width 0.5s ease;
  
  &:before, &:after {
    transform: translate3d(0, 0, 0);
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
  }

  &:after {
    background: transparentize(#031625, 0.15);
    opacity: 1;
    transition: opacity 0.5s ease;
  }

  &:before {
    z-index: 1;
    opacity: 0;
    transform: translate3d(0, 0, 0) translateY(50%);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  /* Removed hover effect for .tl-item */
  .tl-content {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.75s ease 0.5s;
  }

  .tl-bg {
    filter: grayscale(50%);
  }
}

.tl-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255 137 0 / 35%);
  pointer-events: none;
  mix-blend-mode: color;
}

.tl-content {
  transform: translate3d(0, 0, 0) translateY(25px);
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 1.618em;
  top: 55%;
  opacity: 0;
}

.tl-year {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  text-align: center;
  width: 100%;
  padding: 25px 20px;
  background-color: #00000096;
}

.tl-year p {
  color: #fff;
  font-weight: 600;
  font-size: 22px;
  line-height: 32px;
}

.tl-bg {
  transform: translate3d(0, 0, 0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  transition: filter 0.5s ease;
}

.btn-panel {
    width: 240px;
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-60%, -50%);
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
}

/* GALLERY QUOTE */

.img-wrappernew {
/*   transform: rotate(90deg); */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 25vh;
  transform-origin: 50% 50%;
/*   transform: rotate(90deg) translateZ(.1px) scale(0.9) translateX(0px) translateY(-3vh); */
  transition: 1s;
}

.img-wrappernew:hover {
/*   transform: rotate(90deg) translateZ(-.2px) translateX(0%) translateY(-10vh) scale(1.5); */
/*   min-height: 65vh; */
}

/* GALLERY */

::-webkit-scrollbar {
  width: 1px;
  height: 1px;
}

::-webkit-scrollbar-button {
  width: 1px;
  height: 1px;
}
.external {
  overflow: hidden;
  height: 100vh;
}

.horizontal-scroll-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vh;
  transform: rotate(-90deg) translate3d(0,-100vh,0);
  transform-origin: right top;
  overflow-y: auto;
  overflow-x: auto;
  padding: 0;
  height: 100vw;
  perspective: 1px;
  transform-style: preserve-3d;
  padding-bottom: 10rem;
  margin-top: 50px;
}
.img-wrapper {
  transform: rotate(90deg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  transform-origin: 50% 50%;
  transform: rotate(90deg) translateZ(.1px) scale(0.9) translateX(0px) translateY(-3vh);
  transition: 1s;
}

.img-wrapper:hover {
	transform: rotate(90deg) translateZ(-.2px) translateX(0%) translateY(-10vh) scale(1.5);
 	min-height: 65vh;
}

.slower {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(0%) translateY(-10vh);
}
.slower1 {
  transform: rotate(90deg) translateZ(-.25px) scale(1.05) translateX(0%) translateY(8vh);
}
.slower2 {
  transform: rotate(90deg) translateZ(-.3px) scale(1.3) translateX(0%) translateY(2vh);
}
.slower-down {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(0%) translateY(16vh) ;
}
.faster {
  transform: rotate(90deg) translateZ(.15px) scale(0.8) translateX(0%) translateY(14vh) ;
}
.faster1 {
  transform: rotate(90deg) translateZ(.05px) scale(0.8) translateX(0%) translateY(10vh) ;
}
.fastest {
  transform: rotate(90deg) translateZ(.22px) scale(0.7) translateX(-10vh) translateY(-15vh) ;
}
.vertical {
   transform: rotate(90deg) translateZ(-.15px) scale(1.15) translateX(0%) translateY(0%) ;
}
.last {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(25vh) translateY(-8vh) ;
}
.scroll-info, header {
  position: absolute;
  right: 0;
  z-index: 20;
}


.scroll-info {
  bottom: 1rem;
}

.img-wrapper a {
  overflow: hidden;
  display: block;
  padding: 1vh ;
/*   background: #efecdb; */
  box-shadow: 0 10px 50px #5f2f1182;
}

/* Styling the image with a gradient gold border */
.image-frame {
  display: inline-block; /* Wraps the image */
  padding: 5px; /* Inner spacing between image and border */
  background: linear-gradient(45deg, #FFD700, #FF8C00, #FFD700); /* Gradient border */
  border-radius: 15px; /* Rounded corners for the border */
  position: relative; /* For proper alignment */
}

/* Adding hover effect */
.image-frame:hover {
  border-color: #FF5722; /* Change frame color on hover */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* Slightly larger shadow */
}

img.photos-tsl {
  max-width: 40vh;
  max-height: 50vh;
  transition: .5s;
  vertical-align: top;
  filter: saturate(40%) sepia(30%) hue-rotate(5deg);
}

img.photos-tsl-inside {
    max-width: 45vh;
    max-height: 60vh;
    transition: .5s;
    vertical-align: top;
    filter: none;
}

img.photos-tsl-inside-h {
    max-width: 74vh;
    max-height: 70vh;
    transition: .5s;
    vertical-align: top;
    filter: none;
}

img.photos-tsl-inside-f {
    max-width: 120vh;
    max-height: 70vh;
    transition: .5s;
    vertical-align: top;
    filter: none;
}

a:hover img.photos-tsl {
  filter: none;
}
p {
	font-weight: 500;
    font-family: var(--font-default);
    font-size: 18px;
	margin: 0;
}

.modal-dialog-scrollable .modal-body {
	background-image: url('https://hdayat665.github.io/MUZIUM-UM/interactive/bg-landing-plain.jpg');
	background-size: cover;
  	background-position: center;
}

.modal-dialog-scrollable .modal-body {
    padding: 0;
}

/* Button back */

.scroll-info {
  display: flex;
  align-items: center;
  background-color: #010101;
  padding: 5px 10px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.icon svg {
    width: 50px;
    fill: currentcolor;
}

/* 5 Wells Intro */

.wrapper-wells{
  position:relative;
  height:100vh;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background-image: url('https://hdayat665.github.io/MUZIUM-UM/interactive/bg-intro-wells.jpg');
  background-size: cover;
  background-position: center;
/*   background: #ece4d1; */
}
.text{
  font-size:6em;
  color: #a6a6a6;
  opacity:0;
}

.quoteBox{
  top:50%;
  position:absolute;
  height:0%;
  width:100%;
  background: #ece4d1;
  display:flex;
  align-items:center;
  justify-content: space-around;
}

.hiddenBox{
  height:100vh;
/*   width:200px; */
  background:white;
  border-radius:10px;
  opacity:0;
}

@keyframes intro{
  0%{
    opacity:0;
  }
  100%{
    opacity:1;
  }
}

#container {
	/* Center the text in the viewport. */
	position: absolute;
	margin: auto;
	width: 100vw;
	height: 80pt;
	top: 0;
	bottom: 0;
	
	/* This filter is a lot of the magic, try commenting it out to see how the morphing works! */
	filter: url(#threshold) blur(0.6px);
}

/* Your average text styling */
#text1, #text2 {
	position: absolute;
	width: 100%;
	display: inline-block;
	font-size: 80px;
	font-weight: 700;
	text-align: center;
	user-select: none;
}

/* 5 WELLS */

/* Full height grid layout */
    .full-height-row {
      display: grid;
      grid-template-columns: 1fr 2fr 1fr;
      grid-template-rows: repeat(1, 1fr);
      height: 100vh; /* Full viewport height */
      gap: 20px; /* Space between all cards */
      padding: 10px; /* Padding around the grid */
    }

    /* Stacked columns (left and right) as inner grids */
    .left-stack, .center-card, .right-stack {
      display: grid;
      gap: 20px; /* Space between vertically stacked images */
      grid-auto-rows: 1fr; /* Equal height rows */
    }

    /* Card styling for images */
    .card {
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      height: 100%;
      border: none;
      background-color: #9E9E9E00;
      border: 10px solid white; /* White border */
	  border-radius: 8px; /* Optional rounded corners */
	  overflow: hidden; /* Ensure content doesn't spill out of rounded corners */
	  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
    }

    /* Make images fit and cover */
    .card img.bg-wells {
      position: absolute;
	  top: 50%;
	  left: 50%;
	  transform: translate(-50%, -50%); /* Center the image */
	  width: 100%; /* Ensures the image fills the card */
	  height: 100%; /* Ensures the image fills the card */
	  object-fit: cover; /* Crops the image to fit without distortion */
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .full-height-row {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, auto); /* Stack all images vertically */
        height: auto;
      }

      .card {
        height: auto;
      }
    }

    .title-container {
	    text-align: center; /* Center-align the title */
	    margin-bottom: 20px; /* Space between the title and the cards */
	  }

	  .big-title {
	    font-size: 3rem; /* Adjust font size for a big title */
	    font-weight: bold; /* Make the title bold */
	    color: #333; /* Title color */
	    text-transform: uppercase; /* Optional: Make the title uppercase */
	    letter-spacing: 2px; /* Add spacing between letters */
	  }

	  .title {
		 font-size: 46px;
		}

    .well-center {
    	margin-top: 150px;
    	height: 79%;
    }

.image-container {
  overflow: hidden;
  display: inline-block;
  cursor: pointer;
}

/* SHINE KAT GAMBAR WELLS */

.shine {
  position: absolute;
  top: 0;
  left: -150%; /* Start outside the left of the container */
  width: 150%; /* Ensure the shine spans diagonally across the image */
  height: 100%;
  background: linear-gradient(
    75deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  opacity: 0.6; /* Slight transparency for realism */
  transform: skewX(-25deg); /* Angle the shine effect */
  animation: shineEffect 2.5s infinite; /* Smooth and slower looping animation */
  pointer-events: none; /* Prevent interference with clicks */
}

@keyframes shineEffect {
  from {
    left: -150%; /* Start completely off the left side */
  }
  to {
    left: 150%; /* End completely off the right side */
  }
}

/* Additional classes for staggered animation */
.shine.delay-1 {
  animation-delay: 0s; /* Starts immediately */
}

.shine.delay-2 {
  animation-delay: 2s; /* Delays for 0.5s */
}

.shine.delay-3 {
  animation-delay: 0.5s; /* Delays for 1s */
}

.shine.delay-4 {
  animation-delay: 1.5s; /* Delays for 1.5s */
}

.shine.delay-5 {
  animation-delay: 1s; /* Delays for 1.5s */
}

/* TITLE WELLS */

.content-wells {
	display: flex;
	flex-direction: column;
	white-space: nowrap;
	flex: auto;
}

.content-wells {
	height: 100%;
	width: auto;
	font-family: "Open Sans", sans-serif;
	line-height: 0;
	color: white;
/* 	background-color: #181a1c; */
}

.text-h-center {
	text-align: center;
}

.middle {
	justify-content: center;
	align-items: center;
}

.text-bold {
	font-weight: 700;
}

.text-gold {
	color: #fac769;
}

.text-gold:hover {
	color: #af7408;
}

a,
a:hover {
	text-decoration: none;
	cursor: pointer;
	transition: 0.5s ease-in-out;
	display: inline-block;
/* 	position: relative; */
}

.text1 {
	font-size: 5rem;
	line-height: 1.3;
	color: white;
}

.text2 {
	font-size: 2rem;
	line-height: 1.3;
}

/*effect-underline*/
.effect-underline:after {
	content: "";
	position: absolute;
	left: 0;
	height: 1em;
	width: 100%;
	border-bottom: 1px solid;
	margin-top: 7px;
	opacity: 0;
	-webkit-transition: opacity 0.4s, -webkit-transform 0.4s;
	transition: opacity 0.4s, transform 0.4s;
	-webkit-transform: scale(0, 1);
	transform: scale(0, 1);
}

.effect-underline:hover:after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.effect-shine {
	-webkit-mask-image: linear-gradient(
		-75deg,
		rgba(0, 0, 0, 0.6) 30%,
		#000 10%,
		rgba(0, 0, 0, 0.6) 80%
	);
	-webkit-mask-size: 200%;
	animation: shine 2s infinite;
}

@-webkit-keyframes shine {
	from {
		-webkit-mask-position: 150%;
	}

	to {
		-webkit-mask-position: -50%;
	}
}

#title {
	cursor: default;
}

/* Footer
.footer {
	cursor: default;
	color: grey;
	position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
  text-align: center;
} */

.shadow {
	box-shadow: inset 0 0 100px #000000;
}

/* BOX and Each Title of 5 wells */

.box-text-wells {
	position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: antiquewhite;
}

.text-wells {
	font-size: 22px;
    padding: 2px 0;
    color: #000000;
    font-weight: 700;
}

/* Exercise Content */

.modal-dialog-scrollable .modal-content {
    overflow: hidden;
    border-radius: 15px;
}

.modal-content .modal-header button.btn-close::after {
    color: #ebaf0a;
}

.about-item {
  box-shadow: none;
  padding: 0;
  margin-top: 40px;
  border-radius: 0;
  background-size: unset;
  background-position: unset;
}

.about-item h3 {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
}

.about-item h3::after {
    background-size: cover;
    background-position: left;
}

.bold-text {
	font-weight: 800;
	color: #000000;
}

.curve-text h4 {
    -webkit-text-stroke: 1px #f6b809;
}

.curve-text svg text {
    fill: #febf05;
}

.about-style-one-thumb {
    position: sticky;
    top: 120px;
    border-radius: 270px;
    box-shadow: 0px 10px 51px rgba(0, 0, 0, 0.07);
    /* Gradient border setup */
    background: linear-gradient(45deg, #FFD700, #FFA500); /* Gold gradient */
    padding: 5px; /* Space for the border */
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video scales to cover the container */
    border-radius: 270px; /* Matches the border-radius of the container */
}

.about-style-one-thumb img {
    border-radius: 270px; /* Match the parent for seamless effect */
    background: white; /* Inner content background */
    display: block;
    width: 100%; /* Ensures responsive design */
    height: auto; /* Maintains aspect ratio */
}

.note-tsl {
    font-size: 18px !important;
    font-weight: 600;
    line-height: 26px;
    text-align: center;
    position: absolute;
    bottom: -100px;
    background-color: #b27a06;
    padding: 5px 10px;
    border-radius: 10px;
}

/* Philosophy */

.container-half {
    width: 65vw; /* 50% of the viewport width */
    height: 100vh; /* 100% of the viewport height */
    position: absolute; /* Positioning relative to the viewport */
    top: 0; /* Align to the top */
    right: 0; /* Align to the right */
}

.card-row {
	display: flex; /* Enables flexbox layout */
  justify-content: center; /* Centers cards horizontally */
  align-items: center; /* Centers cards vertically */
  gap: 20px; /* Optional: Adds spacing between cards */
  height: 100vh; /* Optional: Adjust the height of the row (full viewport height for demo) */
}

.service-single-thumb img {
    margin-bottom: 10px;
}

.home-blog .blog-style-one .item .thumb .inner-date {
    right: 0;
    bottom: 10px;
}

.home-blog .blog-style-one .item .thumb .inner-date strong {
	height: 42px;
    width: 42px;
    text-align: center;
    line-height: 42px;
    background: linear-gradient(45deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
}

.home-blog .blog-style-one .item {
    background: linear-gradient(45deg, #996912, #bf9756, #996912);
    border-radius: 15px;
    padding: 1vh;
}

.thumb:active  img {
	transform: scale(1.2);
}

.thumb img {
	border-radius: 15px;
	transition: all 0.35s ease-in-out;
}

.thumb .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255 137 0 / 50%); /* Yellowish tint with 50% opacity */
  pointer-events: none; /* Allows clicks to pass through to the image */
  mix-blend-mode: color; /* Optional: enhances color blending with the image */
}

.item {
	overflow: hidden;
	transition: all 200ms ease-in-out;
	opacity: 0;
	position: relative;
}

.fadein {
	animation-name: fadein;
	animation-fill-mode: forwards;
	animation-duration: 700ms;
	animation-timing-function: ease-in-out;
}

#philo1 {
	animation-delay: 300ms;
}

#philo2 {
	animation-delay: 600ms;
}

#philo3 {
	animation-delay: 900ms;
}

#philo4 {
	animation-delay: 1200ms;
}

#philo5 {
	animation-delay: 1500ms;
}

#philo6 {
	animation-delay: 1800ms;
}

@keyframes fadein {
	0% {
		opacity: 0;
		transform: translateY(500px) perspective(400px) translateZ(-500px);
	}
	40% {
		transform: perspective(400px) translateZ(-250px);
	}
	
	100% {
		opacity: 1;
		transform: translateY(0) perspective(400px) translateZ(0);

	}
}

/* Venn */

.venn-container {
      position: relative;
      width: 100%; /* Makes the container scale with screen size */
      max-width: 550px;
      aspect-ratio: 1 / 1; /* Ensures the container is a square */
    }

    .circle {
      position: absolute;
      width: 50%; /* Width relative to the container */
      height: 50%; /* Height relative to the container */
      border-radius: 50%;
      opacity: 0.7;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      font-weight: bold;
      color: white;
      font-size: 1.2vw; /* Scales with the viewport */
    }

    .circle1 {
      background-color: #ff9999;
      color: #000000;
      top: 0;
      left: 35%; /* Centered horizontally */
    }

    .circle2 {
      background-color: #99ccff;
      color: #000000;
      top: 25%;
      left: 15%; /* Positioned to overlap */
    }

    .circle3 {
      background-color: #99ff99;
      color: #000000;
      top: 25%;
      left: 55%; /* Positioned to overlap */
    }

    .middle {
      position: absolute;
      width: 20%; /* Scales with the container */
      height: 20%; /* Scales with the container */
      top: 40%; /* Adjust position for the overlapping center */
      left: 50%; /* Centered within the container */
      background-color: rgba(255, 255, 0, 0.8);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      font-size: 1.2vw; /* Scales with the viewport */
      text-align: center;
    }

    .middle:hover {
      background-color: rgba(255, 255, 0, 1);
    }

    #popup {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      width: 100%;
      transform: translate(-50%, -50%);
      background-color: white;
      border: 2px solid #ccc;
      border-radius: 8px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
      padding: 20px;
      z-index: 1000;
    }

    #popup img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
    }

    #popup .close-btn {
      display: block;
      margin-top: 10px;
      padding: 5px 10px;
      background-color: #d6a916;
      color: white;
      text-align: center;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    #popup .close-btn:hover {
      background-color: #d32f2f;
    }

    /* Overlay */
    #overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 999;
    }

    .image-row {
	    display: flex; /* Use flexbox for layout */
	    gap: 15px; /* Space between images */
	    justify-content: center; /* Center images horizontally */
	    flex-wrap: nowrap; /* Allow wrapping on smaller screens */
	    padding: 10px; /* Add padding around the row */
	}

	.venn-img-container {
/* 	    flex: 1 1 calc(33.333% - 30px); /* Each image takes 1/3 of the row, minus gap */
/* 	    max-width: calc(33.333% - 30px); Ensure max width is 1/3 of the row, minus gap */
	    box-sizing: border-box; /* Include padding and border in width */
	}

	.venn-img-container img {
	    width: 100%; /* Make the image fill its container */
	    height: auto; /* Maintain aspect ratio */
	    border-radius: 10px; /* Optional: Add rounded corners */
	}

/* PHILO QUOTE GALLERY */

img.quote-inside {
    max-width: 100vh;
    /* max-height: 60vh; */
    transition: .5s;
    vertical-align: text-top;
    filter: none;
}

/* Quote */

.blog-area blockquote {
    background: #e7ac0b;
    border-radius: 15px;
    padding: 30px 50px;
    margin-top: 0;
    margin-bottom: 0;
}

/* Table */

/* Style the table container for responsiveness */
.table-container {
  width: 100%;
  overflow-x: auto; /* Enable horizontal scrolling if needed */
}

/* Base table styles */
.responsive-table {
  width: 100%;
  border-collapse: collapse; /* Remove gaps between table cells */
  margin: 10px 0;
  font-size: 16px;
  text-align: left;
  border: 1px solid #ddd;
}

/* Table header styles */
.responsive-table thead th {
  background-color: #8c7c53; /* Light gray header background */
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding: 10px;
  border: 1px solid #ddd;
}

/* Table body row styles */
.responsive-table tbody tr {
  border: 1px solid #ddd;
}

/* Striped row effect */
.responsive-table tbody tr:nth-child(odd) {
  background-color: #f4ebd3; /* Light gray for odd rows */
}

.responsive-table tbody tr:nth-child(even) {
  background-color: #fff5d8; /* White for even rows */
}

/* Table cell padding */
.responsive-table td {
  padding: 10px;
  color: #000;
  font-size: 14px;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 600px) {
  .responsive-table td,
  .responsive-table th {
    padding: 8px;
    font-size: 14px;
  }
}

/* Content Philosophy */

.container-philo {
	position: relative;
    height: 150px;
}

.content-philo {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.home-blog .blog-style-one .item .thumb .inner-date {
  font-size: 13px;
}

/* Content Philosophy - Animation 120 Years */

/* .highlight {
  position: relative;
  display: inline-block;
  color: #333;
  z-index: 1;
}

.highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 100%;
  background: #efa329;
  z-index: -1;
  transition: width 0.5s ease-in-out;
}

.highlight:hover::before {
  width: 100%;
}

@keyframes highlight {
  0%, 100% {
    width: 0;
  }
  50% {
    width: 100%;
  }
}

.highlight::before {
  animation: highlight 2s infinite ease-in-out;
} */

/* philosophy - sticker Text Animation */

.sentence {
      color: #FF9800;
    font-size: 28px;
    font-weight: 700;
    position: relative;
    }


.sentence::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: 6px;
    width: 14px;
    height: 2px;
  background-color: #DAFDBA;
  animation: blink 0.5s linear infinite;
}

    @keyframes blink {
      0% {
        opacity: 1;
      }
      100% {
        opacity: 0;
      }
    }

    .sticker-item {
    box-shadow: none;
    padding: 0;
    margin-top: 40px;
    border-radius: 0;
    background-size: cover;
    background-position: center;
}

/* Journey STEP */

.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.timeline-steps .timeline-step {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 1rem
}

@media (min-width:768px) {
    .timeline-steps .timeline-step:not(:last-child):after {
        content: "";
        display: block;
        border-top: .25rem dotted #f7d29b;
        width: 3.46rem;
        position: absolute;
        left: 7.5rem;
        top: .3125rem
    }
    .timeline-steps .timeline-step:not(:first-child):before {
        content: "";
        display: block;
        border-top: .25rem dotted #f7d29b;
        width: 3.8125rem;
        position: absolute;
        right: 7.5rem;
        top: .3125rem
    }
}

.timeline-steps .timeline-content {
    width: 7rem;
    text-align: center
}

.timeline-steps .timeline-content .inner-circle {
    border-radius: 1.5rem;
    height: 1rem;
    width: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #3b82f6
}

.timeline-steps .timeline-content .inner-circle:before {
    content: "";
    background-color: #efa329;
    display: inline-block;
    height: 3rem;
    width: 3rem;
    min-width: 3rem;
    border-radius: 6.25rem;
    opacity: .5
}

/* GAMES PAGE */

.landing {
  background-image: url('https://hdayat665.github.io/MUZIUM-UM/interactive/bg-home-game-plain.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

.big-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: rgb(61, 61, 61);
}

/* TEXT ANIM */

.intro-game {
  background-image: url('https://hdayat665.github.io/MUZIUM-UM/interactive/bg-intro-game-plain.jpg');
  background-size: cover;
  background-position: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-text-game {
  position: absolute;
  top: 20%;
}

.hide-game {
  overflow: hidden;
}

.hide-game-small {
  overflow: hidden;
}

.intro-text-game .hide-game {
	font-family: 'Chewy', cursive;
	font-weight: 700;
/*     font-family: var(--font-default); */
    font-size: 86px;
    color: #eaa12a;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.intro-text-game .hide-game-small {
	top: -50px;
    position: relative;
	font-family: 'Chewy', cursive;
	font-weight: 400;
/*     font-family: var(--font-default); */
    font-size: 54px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hide-game span {
  transform: translateY(100%);
  display: inline-block;
}

.hide-game-small span {
  transform: translateY(100%);
  display: inline-block;
}

.glitter-game {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #FFD700, #ffb861, #FFD700, #ea8b68, #FFD700);
  background-size: 300% 300%;
  animation: glitterAnimation 3s infinite ease-in-out;
  opacity: 0.5;
}

/* Glitter Effect */
@keyframes glitterAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* HOME PAGE */

/* Container to hold the cards */
.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  gap: 20px;
  padding: 20px 80px;
  width: 100%;
  position: absolute;
  bottom: 10%;
}

/* Individual card styling */
.card-game {
  position: relative;
  background-color: #f4f4f4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-height: 300px;
  background: linear-gradient(45deg, #996912, #bf9756, #996912);
  border-radius: 15px;
  padding: 1vh;
  min-width: 520px;
  height: 370px;
}

.card-game img {
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
}

.card-game  .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255 137 0 / 50%); /* Yellowish tint with 50% opacity */
  pointer-events: none; /* Allows clicks to pass through to the image */
  mix-blend-mode: color; /* Optional: enhances color blending with the image */
}

.card-content {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  color: white;
  text-align: center;
  padding: 10px;
  background: #402400;
}

.card-title {
  font-family: 'Chewy', cursive;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  padding: 0;
  margin: 0;
}

/* Make the layout responsive */
@media screen and (max-width: 1024px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media screen and (max-width: 768px) {
  .card-container {
    grid-template-columns: 1fr; /* 1 column on mobile devices */
  }
}

/* HOME PAGE NEW FOR 2 CARD GAME */

.card-game-container {
  position: absolute;
  bottom: -15%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  gap: 100px;
}

.card-game-for-2 {
  background-color: #4b3305;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.card-game-for-2 img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-game-for-2:hover {
  transform: translateY(-5px);
}

.card-game-for-2-title {
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
}

/* GAME 1 */

.preloader {
  z-index: 998;
  background-image: url('https://hdayat665.github.io/MUZIUM-UM/interactive/bg-home-game-plain.jpg');
  background-size: cover;
  background-position: center;
  -webkit-transform-origin: top;
  transform-origin: top;
  text-align: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0; /* Initially visible */
  transition: opacity 0.5s ease-out; /* Add smooth fade-out transition */
}
.preloader.visible {
  opacity: 1; /* Make it visible */
  pointer-events: auto; /* Enable interaction */
}
.preloader-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.preloader-logo {
  font-family: 'chewy', cursive;
  font-weight: 400;
  font-size: 30px;
  color: #484848;
  letter-spacing: .25em;
}
.preloader-logo .preloader-logo__letter {
  display: inline-block;
  animation-name: logoAnim;
  animation-duration: .5s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  opacity: 0;
  transform: translate3d(0, 10px ,0);
  color: #ffffff;
}
.preloader-logo .preloader-logo__letter.red {
  color: #f77777;
}
.preloader-logo .preloader-logo__letter:first-child {
  animation-delay: 1s
}
.preloader-logo .preloader-logo__letter:nth-child(2) {
  animation-delay: 1.1s
}
.preloader-logo .preloader-logo__letter:nth-child(3) {
  animation-delay: 1.2s
}
.preloader-logo .preloader-logo__letter:nth-child(4) {
  animation-delay: 1.3s
}
.preloader-logo .preloader-logo__letter:nth-child(5) {
  animation-delay: 1.4s
}
.preloader-logo .preloader-logo__letter:nth-child(6) {
  animation-delay: 1.5s
}
.preloader-logo .preloader-logo__letter:nth-child(7) {
  animation-delay: 1.6s
}
.preloader-logo .preloader-logo__letter:nth-child(8) {
  animation-delay: 1.7s
}
.preloader-logo .preloader-logo__letter:nth-child(9) {
  animation-delay: 1.8s
}
.preloader-logo .preloader-logo__letter:nth-child(10) {
  animation-delay: 1.9s
}
.preloader-logo .preloader-logo__letter:nth-child(11) {
  animation-delay: 2s
}
.preloader-logo .preloader-logo__letter:nth-child(12) {
  animation-delay: 2.1s
}
.preloader-logo .preloader-logo__letter:nth-child(13) {
  animation-delay: 2.2s
}
.preloader-logo .preloader-logo__letter:nth-child(14) {
  animation-delay: 2.3s
}
.preloader-logo .preloader-logo__letter:nth-child(15) {
  animation-delay: 2.4s
}
.preloader-logo .preloader-logo__letter:nth-child(16) {
  animation-delay: 2.5s
}
.preloader-logo .preloader-logo__letter:nth-child(17) {
  animation-delay: 2.6s
}
.preloader-logo .preloader-logo__letter:nth-child(18) {
  animation-delay: 2.7s
}

@keyframes logoAnim {
  80% {
    opacity: .8;
    transform: translate3d(0, 2px, 0)
  }
  to {
    opacity: 1;
    transform: translateZ(0)
  }
}
@media screen and (min-width: 720px) {
  .preloader-logo {
   font-size: 44px;
  }
}

.preloader {
  transition: opacity 0.5s ease-out;
}

/* Preloader hidden state */
.preloader.hidden {
  opacity: 0;
  visibility: hidden; /* Ensures the preloader is not interactable when hidden */
}

/* WELCOME GAME MSG */

.welcome-game {
    position: absolute;
    top: -20%;
    width: 100%;
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #e09828;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 10px;
}

/* START GAME 1 QUESTION */

button, button:hover, button:active, button:focus, button:visited, .btn, .btn:hover, .btn:active, .btn:focus, .btn:visited {
  text-decoration: none !important;
  outline: none !important;
}
.btn.disabled, .btn[disabled] {
  cursor: default;
  opacity: 1;
}
button.btn {
    background: #FFC107;
    font-family: 'Chewy', cursive;
    font-size: 22px;
}
#quiz {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;  /* Ensure it takes up full height of the viewport */
  text-align: center;
}

.banner-style-quiz {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-top-quiz {
  width: 100%;
  min-width: 1000px;
  background-color: #f0f0f029;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 5px #e8a521;
    border-radius: 15px;
    margin-top: 130px;
}

/* .row {
  display: flex;
  justify-content: center;
} */
#quiz .container-fluid {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
#quiz-stats {
  padding: 16px 0 12px 0;
  margin: 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
}
#quiz-stats .fa-bar-chart {
  font-size: 56px;
  color: rgba(0, 0, 0, 0.8);
}
#quiz-stats>div>p {
  padding: 0;
  margin: 0;
  color: #fff;
  font-family: 'Chewy', cursive;
  font-size: 22px;
}
#quiz-stats>div>span {
  font-size: 24px;
  color: #fff;
  font-family: 'Chewy', cursive;
}
#quiz-stats>div>span.fadeIn {
  animation-duration: 0.375s;
}
#quiz-stats>div>span.fadeOut {
  animation-duration: 0.375s;
}
#quiz-question {
  font-size: 30px;
    font-weight: 600;
    margin: 32px 0 26px 0;
    color: #fff;
    font-family: 'Chewy', cursive;
}
#quiz-options {
  margin: 26px 0;
}
.quiz-ans-btn {
	font-size: 20px;
  color: #fff;
/*   display: block;   */
  width: 45%;
  min-height: 75px;
  padding: 5px;
  background-color: #669999;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 50px;
  outline: none;
  letter-spacing: .05em;
  transition: all 0.5s;
  margin: 8px;
/*   margin:auto; */
  box-shadow: 0px 1px 4px rgba(0,0,0, 0.10); 
  white-space: normal; 
}
.quiz-ans-btn:hover { color: #fff; background-color: #476b6b; }
.btn.quiz-ans-btn:active, .btn.quiz-ans-btn:focus { color: #fff; background-color: #334d4d; }
.quiz-ans-btn.correct {
  background-color: #11afaf;
}
.quiz-ans-btn.incorrect {
  background-color: #e60000;
}
#quiz-play-again {
  overflow-y: hidden;
  display: none;
}
#quiz-play-again-btn {  
  display: block;
  font-size: 32px;
  color: #fff;
  background-color: #669999;
	border: 8px double #fff; 
	border-radius: 14px;
	padding: 5px 10px;  
  width: 20%;
  min-height: 50px;
  outline: none;
  letter-spacing: .05em;
  transition: all 0.5s;
  margin: 0px auto;
  white-space: normal;   
}
#quiz-play-again-btn:hover { color: #fff; background-color: #476b6b; }
#quiz-play-again-btn:active, #quiz-play-again-btn:focus { color: #fff; background-color: #334d4d; }
#quiz-play-again-btn.pulse { 
  animation-duration: 2s;
}

@media (max-width: 768px) {
  #quiz-stats { padding: 12px 0 8px 0; font-size: 10px; }   
  #quiz-stats>div>span { font-size: 18px; }
  #quiz-stats>div>p>span { display: none; }
  #quiz-stats .fa-bar-chart { font-size: 54px; }  
  #quiz-question { font-size: 16px; margin: 20px 0 14px 0; }  
  #quiz-options { margin: 14px 0 20px 0; } 
  .quiz-ans-btn { font-size: 16px; min-height: 65px; }  
  #quiz-play-again-btn {  font-size: 28px; width: 66%; }
}

/*--------------*/

#quiz-question {
      font-size: 24px;
      margin-bottom: 20px;
    }

    .quiz-ans-btn {
      background-color: #4CAF50;
      color: white;
      border: none;
      padding: 10px 20px;
      margin: 10px;
      cursor: pointer;
      border-radius: 5px;
      font-size: 18px;
      transition: background-color 0.3s;
    }

    .quiz-ans-btn:disabled {
      background-color: #ccc;
      cursor: not-allowed;
    }

    /* Correct Answer */
    .correct {
      background-color: green !important;
      animation: pulse 1s ease-out;
    }

    /* Incorrect Answer */
    .incorrect {
      background-color: red !important;
      animation: shake 0.5s ease-in-out;
    }

    /* Shake animation for incorrect answers */
    @keyframes shake {
      0% { transform: translateX(0); }
      25% { transform: translateX(-5px); }
      50% { transform: translateX(5px); }
      75% { transform: translateX(-5px); }
      100% { transform: translateX(0); }
    }

    /* Pulse animation for correct answers */
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }

    #quiz-stats {
      margin-top: 20px;
    }

    #quiz-play-again {
      display: none;
      margin-bottom: 30px;
    }

    #quiz-play-again-btn {
      padding: 0;
      font-size: 18px;
      background-color: #f39c12;
      color: white;
      border: none;
      cursor: pointer;
      border-radius: 5px;
    }

/* START GAME 2 */

.matchgame h2 {
	color: #fff;
	font-family: 'chewy', cursive;
	padding-left: 10px;
}

.matchgame .instruction {
	color: #fff;
	font-family: 'chewy', cursive;
	padding-left: 10px;
	font-size: 22px;
}

#game_container {
	width: 100%;
    /* margin: 0; */
    /* padding: 0; */
    margin: 0 auto;
    /* padding-top: 40px; */
}

#game_container #draggable_container, #game_container #droppable_container, #game_container #score_container {
	    /* border: 1px solid #999; */
    width: 1000px;
    margin-bottom: 20px;
}

#game_container #draggable_container {
/* 	min-height: 125px; */
    position: relative;
}

#game_container #droppable_container {
/* 	height: 242px; */
}

#game_container #score_container {
/*	height: 80px;*/
}

#game_container .dragthis, #game_container .dropped, #game_container .correct, #game_container .incorrect {
	text-align: center;
    cursor: move;
    background: linear-gradient(90deg, rgba(195, 133, 47, 1) 0%, rgba(253, 230, 126, 1) 17%, rgba(193, 147, 60, 1) 72%, rgba(139, 76, 10, 1) 86%, rgba(170, 115, 7, 1) 100%);
    width: 190px;
    border: 3px solid #e8a620;
    padding: 5px;
    float: left;
    margin: 5px 0 0 5px;
    color: #000000;
    font-size: 20px;
    font-family: 'chewy', cursive;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

#game_container .dropped, #game_container .correct, #game_container .incorrect {
	width: 188px;
    margin: 5px 0 5px 0;
    font-weight: 700;
    text-align: center;
    float: right;
}

#game_container #draggable_container div.ui-sortable-helper {
	-webkit-box-shadow: 3px 3px 5px 0px #333; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
	box-shadow: 3px 3px 5px 0px #333; /* Opera 10.5, IE9+, Firefox 4+, Chrome 6+, iOS 5 */
	-moz-box-shadow:    3px 3px 5px 0px #333;
}

#game_container #droppable_container div.subcontainer {
	display: flex;
    align-items: center;
    justify-content: space-between;
	text-align: left;
    width: 100%;
    /* height: 220px; */
    border: 1px solid #990;
    font-size: 24px;
    font-family: 'Chewy', cursive;
    color: #333;
    background-color: #FFC;
    padding: 0 20px;
    margin: 5px 0 0 5px;
    float: left;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.answer-container {
  display: flex; /* Optional: keeps buttons aligned if there are multiple */
  align-items: center; /* Ensures the button is vertically aligned */
}

#game_container #button_container {
	display: flex;
    width: 1000px;
    justify-content: flex-end;
    padding-top: 20px;
}

#button_container input {
	margin: 0 10px;
    padding: 0 10px;
}

#game_container .correct {
	border: 1px solid #393;
	background: linear-gradient(90deg, #8BC34A 0%, #4CAF50 17%, #388E3C 72%, #2E7D32 86%, #7CB342 100%);
    color: #fff;
}

#game_container .incorrect {
	border: 1px solid #933;
	background: linear-gradient(90deg, #F44336 0%, #D32F2F 17%, #E91E63 72%, #AD1457 86%, #F06292 100%);
    color: #fff;
}

#game_container #score_container, #game_container #message {
	background: #ffffff;
    text-align: center;
    color: #e8a620;	
	text-align: center;
	color: #666;
	font-size: 24px;
	font-family: 'chewy', cursive;
	line-height: 1em;
}

#game_container #score_container #score_text {
	padding: 20px;
}

#game_container #message {
	display: flex;
	position: absolute;
	border: 1px solid #333;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 3px 3px 5px 0px #333; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
	box-shadow: 3px 3px 5px 0px #333; /* Opera 10.5, IE9+, Firefox 4+, Chrome 6+, iOS 5 */
	-moz-box-shadow: 3px 3px 5px 0px #333;
}

#game_container #message #text {
	padding-bottom: 10px;
}

#game_container #score_container .score {
	font-weight: bold;
}

/* START GAME 4 - TRUE OR FALSE */

#opening {
/*     width: 500px; */
    height: 300px;
    background-color: #ed9d262e;
    box-shadow: 0px 4px rgb(239 160 42 / 45%);
    margin: auto;
    /* margin-top: 100px; */
    position: relative;
    border-radius: 10px;
}

#startgame {
    width: 350px;
    height: 70px;
    background-color: rgb(239 166 39);
    box-shadow: 0px 4px rgb(255 206 99);
    color: #fff;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 10px;
    text-align: center;
    line-height: 70px;
    /* font-family: 'Sniglet', cursive; */
    font-size: 1.5em;
    cursor: pointer;
    transition: all cubic-bezier(0.6, -0.28, 0.735, 0.045);
    z-index: 1;
}
#inst{
    font-family: 'Chewy', cursive; 
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
    color: rgb(48, 17, 107);
    position:relative;
    top: 100px;
}
#inst2,#inst3{
    font-family: 'Chewy', cursive; 
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
    color: rgb(0, 0, 0);
    position:relative;
    top: 200px;
}
.rules {
	position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.rules h3 {
    display: inline-block;
    font-size: 20px;
    padding: 20px 30px;
    border-radius: 30px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    color: var(--dark);
    padding-right: 30px;
}
.rules h3::after {
    background-size: cover;
    background-position: left;
}
.rules h3::after {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    height: 100%;
    width: 100%;
    background: url('https://hdayat665.github.io/MUZIUM-UM/shape/3.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
#startgame:hover {
    background-color: rgb(252, 150, 66);
    box-shadow: 0px 4px rgb(139, 70, 14);
}

#startgame:active {
/*     top: 159.5px; */
    box-shadow: 0px 0px rgb(139, 70, 14);
}

#startquiz {
    display: none;
    /*     width: 500px; */
    height: 300px;
    background-color: #ed9d262e;
    box-shadow: 0px 4px rgb(239 160 42 / 45%);
    margin: auto;
    /* margin-top: 100px; */
    position: relative;
    border-radius: 10px;
}

.quiz-box {
	position: relative;
	top: 10%;
    left: 5%;
/*     bottom: 0; */
/*     transform: translateX(0%) translateY(-50%); */
}

#score {
/*     width: 100px; */
    height: 30px;
    color: #fff;
    font-size: 30px;
/*     background-color: #2eda76; */
/*     box-shadow: 0px 4px rgb(25, 138, 40); */
    position: absolute;
/*     left: 200px; */
    top: 20px;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
    font-family: 'Chewy', cursive;

}
#correct {
    width: 150px;
    height: 50px;
    background-color: #2eda76;
    color: #fff;
    position: absolute;
    left: 370px;
    top: 0;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;
    font-size: 30px;
    line-height: 50px;
    font-family: 'chewy', cursive;
	display: none;
}
#wrong {
	width: 150px;
    height: 50px;
    background-color: #e63e3e;
    color: #fff;
    position: absolute;
    left: 370px;
    top: 0;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;
    font-size: 30px;
    line-height: 50px;
    font-family: 'chewy', cursive;
    display: none;
   
}

#questions {
/*     width: 350px; */
    height: 70px;
    color: #fff;
/*     background-color: rgb(110, 235, 197); */
/*     box-shadow: 0px 4px rgb(15, 100, 75); */
    position: absolute;
/*     left: 75px; */
    top: 70px;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;
    line-height: 70px;
    font-family: 'Chewy', cursive;
    font-size: 30px;
}

#options {
/*     width: 100%; */
    height: 180px;
/*     background-color: rgb(230, 201, 38); */
/*     box-shadow: 0px 4px rgb(134, 119, 31); */
    position: absolute;
/*     left: 75px; */
    top: 100px;
    border-radius: 10px;

}

.choice {

    width: 90px;
    height: 60px;
    font-size: 30px;
    background-color: rgb(211, 208, 208);
    box-shadow: 0px 4px rgb(109, 109, 109);
    border-radius: 10px;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    line-height: 60px;
    font-family: 'Chewy', cursive;
    cursor: pointer;
    transition: all cubic-bezier(0.6, -0.28, 0.735, 0.045);

}

#choice1 {
/*     left: 30px; */
    top: 55px;
}

#choice2 {
    left: 100px;
    top: 55px;
}


/* browsers don't support the hover css , turn this on if u want to try it on pc
/*#choice1:hover {

    background-color: rgb(233, 151, 229);
    box-shadow: 0px 4px rgb(158, 70, 154);
}

#choice2:hover {

    background-color: rgb(233, 151, 229);
    box-shadow: 0px 4px rgb(158, 70, 154);
}

#choice3:hover {

    background-color: rgb(233, 151, 229);
    box-shadow: 0px 4px rgb(158, 70, 154);
}

#choice4:hover {

    background-color: rgb(233, 151, 229);
    box-shadow: 0px 4px rgb(158, 70, 154);
}

/*#choice1:active {
    top: 14px;
    background-color: rgb(233, 151, 229);
    box-shadow: 0px 0px rgb(158, 70, 154);
}

#choice2:active {
    top: 14px;
    background-color: rgb(233, 151, 229);
    box-shadow: 0px 0px rgb(158, 70, 154);
}

#choice3:active {
    top: 114px;
    background-color: rgb(233, 151, 229);
    box-shadow: 0px 0px rgb(158, 70, 154);
}

#choice4:active {
    top: 114px;
    background-color: rgb(233, 151, 229);
    box-shadow: 0px 0px rgb(158, 70, 154);
}*/




#start {
    width: 120px;
    height: 40px;
    background-color: rgb(231, 105, 105);
    box-shadow: 0px 4px rgb(177, 31, 31);
    color: #fff;
    border-radius: 10px;
    position: absolute;
    right: 80px;
    top: 0;
    text-align: center;
    vertical-align: middle;
    line-height: 40px;
    font-family: 'Chewy', cursive;
    cursor: pointer;

}

#start:hover {

    background-color: rgb(223, 61, 61);
    box-shadow: 0px 4px rgb(100, 16, 16);
    color: white;
}

#start:active {
/*     top: 354px; */
    box-shadow: 0px 0px rgb(177, 31, 31);
}

#timeremaining {
    width: 100px;
    height: 40px;
    background-color: rgb(255 255 255);
    box-shadow: 0px 2px rgb(226 152 33);
    color: #000;
    border-radius: 15px;
    position: absolute;
    right: 220px;
    top: 0;
    text-align: center;
    vertical-align: middle;
    line-height: 40px;
    font-family: 'Chewy', cursive;

}

#endgame{
    width: 350px;
    height: 260px;
    background-color: #32291c;
    border: 5px solid #f1a22f;
    position: absolute;
    left: 250px;
    top: 0;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;
    line-height: 100px;
    font-family: 'Chewy', cursive;
    font-size: 1.5em;
    display: none;
}

#endgame p {
	font-weight: 900;
    font-family: 'chewy', cursive;
    font-size: 30px;
    color: #fff;
    margin: 0;
}

#congratulations{
    width: 350px;
    height: 260px;
    background-color: #32291c;
    border: 5px solid #f1a22f;
    position: absolute;
    left: 250px;
    top: 0;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;
    line-height: 100px;
    font-family: 'Chewy', cursive;
    font-size: 1.5em;
    display: none;
}

#congratulations p {
	font-weight: 900;
    font-family: 'chewy', cursive;
    font-size: 30px;
    color: #fff;
    margin: 0;
}
