/* Styles */
/* width */
::-webkit-scrollbar {
  width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #1C0F33;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #7A7EA4;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #eee;
}


@keyframes pulse {
  0% {
    transform: scale(1); /* Original size */
  }
  50% {
    transform: scale(1.1); /* Slightly larger */
  }
  100% {
    transform: scale(1); /* Returns to original size */
  }
}

.elementor-button ,
#restart-btn,
button,
button:hover,
button:focus {
	  font-weight: 500;
	font-family: "Concert One", Sans-serif;
	    font-size: 18px;
	background-color:transparent;
	background-image:url(/wp-content/themes/oasis-game/img/btn.png);
 background-size: 100% auto;
	border:0;
	color:#fff;
}

#toggle-music {
	
    padding: 15px 20px;
}
.map-container {
	 width: 70%;
    height: 600px; 
    min-height: 400px;
	position: relative;
}
#game-map {
    width: 100%;
    height: 600px;
    min-height: 400px;
}
#game-status p {
	color: #fff;
	font-size: 40px;
	    font-family: "Rubik Wet Paint", Sans-serif;
    font-weight: 400;
}
#game-elements {
	display:flex;
	position:relative;
}
#game-ui{
	width: 30%;
	padding: 30px;
	background:#3D007A;
	color: #ff7644;
	height:600px;
}
#event-image,
#loc-image {
	filter: hue-rotate(45deg) brightness(0.75) saturate(5) contrast(1.5);
	border-radius: 10px;

}
#loc-image {
	max-height: 250px;
	object-fit: cover;
	object-position: center;
}


#event-panel .scroll-container {
	    min-height: 560px;
		max-height: 560px;
    overflow: scroll;
	padding-right: 10px;
}

#event-name {
	font-size: 30px;
	    font-family: "Rubik Wet Paint", Sans-serif;
    font-weight: 400;
}

#travel-info {
	font-size: 10px;
}
.scene-description {
	font-size: 13px;
	font-weight: 400;
	color: #fff;
	line-height: 24px;
}

#travel-penalty {
	font-size: 13px;
	font-weight: 400;
}
#event-points {
    font-size: 18px;
    font-weight: 800;
    padding: 10px;
	padding-top: 7px;
    background-color: #2e0952;
    border-radius: 15px;
    border: 2px dashed;
    margin-top: 10px;
    display: inline-block;
	  animation: pulse 2s infinite;
	  margin-left: 10px;
}
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
	background-image: url(/wp-content/uploads/2025/11/6939042.jpg);
	background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.overlay-content {
    text-align: center;
    color: white;
    max-width: 70%;
}

#game-container .overlay-content h2, 
#game-ui .overlay-content #overlay-title {
    font-size: 4rem;
    margin-bottom: 10px;
		    font-family: "Rubik Wet Paint", Sans-serif;
}

#game-container .overlay-content h3 {
	font-size:16px;
}
.overlay-image {
    max-width: 200px;
    margin-bottom: 10px;
	max-height: 220px;
}
#restart-btn {
padding: 13px 20px;
    font-weight: 500;
	font-family: "Concert One", Sans-serif;
	    font-size: 18px;
}


#fight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(70, 39, 104,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

button.fight-btn {
    padding: 20px 12px;
    width: 160px;
}
