* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
    --dark-bg: #161819; 
    --dark-primary: #e0e0e0; 
    --dark-secondary: #b0b0b0; 
    --dark-borders: #8c8273; 
    --dark-accent: #888888; 
}
div {
	padding: 0;
	margin: 0;
}
.swipe-underline {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
}
.swipe-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;              /* adjust distance from text */
  height: 2px;               /* underline thickness */
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(.2,.9,.3,1);
  will-change: transform;
}
.swipe-underline:hover::after,
.swipe-underline:focus::after {
  transform: scaleX(1);
}
/* add a transition when the hidden menu opens and closes */
#menu {
	transition: all 0.5s ease;
	z-index: 100;
}
/* Hero Section and Navbar */
.icon {
	height: 30px;
	width: 30px;
	margin-right: 1rem;
}
.hero-wrapper {
	height: 100vh; /* Full viewport height */
	display: flex;
	flex-direction: column;
}
.navbar {
	flex-shrink: 0;/* Navbar won't shrink */
}
.hero {
	flex-grow: 1; /* Hero takes the remaining height */
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)),
		url("https://via.placeholder.com/1920x800") no-repeat center center;
	background-size: cover;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.hero h1 {
	font-size: 4rem;
	font-weight: bold;
}
.hero p {
	font-size: 1.5rem;
}
a {
	text-decoration: none;
	color: inherit;
}
.puzzle-btn {
	text-decoration: none;
	width: max-content;
	padding: 2rem;
	margin: 0 auto;
}

/* Our Events Section */
.events-title {
	display: flex;
	justify-content: center; 
}
.card {
	display: flex;
	flex-direction: row;
	height: 100%;
}
.card-body {
	flex: 0 0 40%; /* Text area takes 40% of the width */
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	padding: 2rem 2rem 2rem 10%;
}
.card-text {
	font-size: 1.25rem;
}
.card-img-end {
	flex: 0 0 60%; /* Image takes 60% of the width */
	height: 100%;
	object-fit: cover;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
	background-color: var(--dark-secondary); /* Dark color for arrows */
	z-index: 10;
}
.carousel-item.active {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 24rem;
}

.navbar {
    border-color: var(--dark-borders) !important;
} 
.input-text { 
    /* background-color: #2f3335; */
    /* color: var(--dark-primary); */
    border: 1px solid var(--dark-borders);
}
.leaderboard-table {
    tbody tr { 
        background-color: #f0f0f0;
    } 
}
.g_id_signin { 
    background-color: var(--dark-secondary);
    color: var(--dark-primary);
    border: 1px solid var(--dark-borders);
}
.modal { 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    transition: 0.3s all ease-in-out;  
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: -1;
} 
.modal.open { 
    display: flex !important; 
    z-index: 999; 
}

.leaderboard-table tbody tr:nth-child(1) {
	background-color: #e7dd97;
	color: #1a1a1a;
}
.leaderboard-table tbody tr:nth-child(2) {
	background-color: #b1b5b9; 
	color: #1a1a1a;
}
.leaderboard-table tbody tr:nth-child(3) {
	background-color: #c29f76; 
	color: #1a1a1a;
}