body{
background-color: #49037c;
font-family: Arial,sans-serif;
text-align: center;
color: white;
padding:20px;
}

h1{
color: cyan;}

p{
	font-size:18px;
color:white;}

.button-container{
	margin:20px;  
}

button{
	background-color:#761efa;
	color:white;
	padding: 10px 15px;
	border: none;
	cursor: pointer;
	margin: 5px;
	font-size:16px;
	transition:0.3s;
}

button:hover{
	background-color:#aa00b8;
}

/*Animations*/
.fadeIn{
	opacity:0;
	transform:translateY(-20px);
	animation:fadeIn 1s forwards;
}
@keyframes fadeIn{
	to{
		opacity: 1;
		transform: translateY(0);
	}
}
.slideIn{
	opacity: 0;
	transform: translateX(-50px);
	animation: slideIn 1s forwards;
}

@keyframes slideIn{
	to{
		opacity: 1;
		transform: translateX(0);
	}
}

/*Mini-game*/
#game {
  margin-top: 20px;
}

.hidden{
	display: none;
}

#box {
  width: 50px;
  height: 50px;
  background-color: red;
  margin: auto;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}


@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes rotate {
    from { transform: rotate(-180deg); opacity: 0; }
    to { transform: rotate(0deg); opacity: 1; }
}

#clock {
  font-size: 2rem;
  color: white;
  background-color: #333;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
  display: inline-block;
}

@keyframes flip {
    from { transform: rotateY(90deg); opacity: 0; }
    to { transform: rotateY(0); opacity: 1; }
}
#clock {
  font-size: 2rem;
  color: white;
  background-color: #333;
  padding: 10px;
  border-radius: 10px;
  position: fixed; /* Fixes the clock in the top-right corner */
  top: 20px; /* Adjust distance from the top */
  right: 20px; /* Adjust distance from the right */
  z-index: 1000; /* Ensure it stays above other content */
}

#newSection {
  padding: 40px;
  background-color: #f4f4f4;
  text-align: center;
}

.content-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.section-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.description h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.description p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}
#score {
  font-size: 24px;
  color: white;
  margin-top: 20px;
  font-family: Arial, sans-serif;
  display: inline-block;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  border-radius: 5px;
}
