/* Body Style */ 
body {
    background-color: #f5eddd;
    color: #000;
}

body.confetti {
    position: relative;
    background-color: #FAF4E7;
    color: #000;
}

body.confetti::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/confetti.png');
    background-repeat: repeat;
    background-size: 400px auto;
    opacity: 0.2; /* Adjust this value (0.1 - 1.0) */
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #000;
}

/* NavBar Style */
.navbar-custom {
    background-color: #F9C800; /* Yellow from the confetti */
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link,
.navbar-custom .navbar-toggler-icon {
    color: #000; /* Black text for good contrast */
}

.navbar-custom .nav-link:hover {
    color: #E64A19; /* Red on hover */
}

/* Title styling */
.festa-title {
    color: #E64A19; /* festive red */
    text-shadow: 2px 2px 0 #F9C800;
}

/* Subtle hover animation */
.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: scale(1.10);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.2);
}

/* Custom buttons */
.btn-yellow {
    background-color: #F9C800 !important;
    color: #000 !important;
	border: 1px solid #d4aa00;
    background-clip: padding-box;
}

.btn-red {
    background-color: #E64A19 !important;
    color: #fff !important;
	border: 1px solid #c03814;
    background-clip: padding-box;
}

.btn-green {
    background-color: #388E3C !important;
    color: #fff !important;
	border: 1px solid #2e7030;
    background-clip: padding-box;
}

/* Leaderboard */
.table-yellow th {
    background-color: #F9C800 !important;
    color: #000 !important;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    border-bottom: 2px solid #333;
}

.leaderboard {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.table th, .table td {
    vertical-align: middle;
}

.badge.bg-success {
    background-color: #388E3C !important;
    padding: 0.5em 0.75em;
    font-weight: bold;
    border-radius: 0.75rem;
}

/* Activities */
.card {
    border: none !important;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #e9d481, #e7940f);
}

.card-title {
    color: #141313 !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1) !important;
}

.card-text {
    color: #333;
    font-size: 0.95rem;
}

/* Winner styling */
.card ul {
    padding-left: 1.2rem;
}

.card li {
    margin-bottom: 0.4rem;
}

.card li strong {
    color: #2e7d32;
}

em {
    color: #666;
}

/* Animate on scroll */
.activity-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.activity-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Rulings Styling */
.info-card {
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 1rem;
	padding: 2rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	max-width: 900px;
	margin: 0 auto;
  }
  
  .info-card h2 {
	color: #DAA520;
	font-weight: 700;
	margin-top: 2rem;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
  }
  
  .info-card p,
  .info-card li {
	font-size: 1rem;
	color: #333;
	line-height: 1.6;
  }
  
  .info-card ul {
	padding-left: 1.2rem;
  }
  
  .info-card a {
	color: #007bff;
	font-weight: bold;
  }
  
  .info-card a:hover {
	text-decoration: underline;
  }