/* LANDING PAGE */
body {
	font-family: "Helvetica Neue", sans-serif;
	background-color: #ffffff;
	color: #333;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.coolahhbg {
	position: absolute;
	z-index: -1;
	width:100vw;
	height:100vh;

	background-color: #ffffff;
	opacity: 0.1;
	background: repeating-linear-gradient( 45deg, #0072ff, #0072ff 2px, #ffffff 2px, #ffffff 10px );
}

.message-container {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	overflow: hidden;
	position: relative;
	margin-top: 1rem;
}

.messageleft,
.messageright {
	font-size: 2rem;
	color: #555;
	font-weight: 400;
	opacity: 0;
	animation: slideIn 1s ease-out forwards;
}

.messageleft {
	transform: translateX(-100%);
	animation-delay: 0.2s;
}

.messageright {
	transform: translateX(100%);
	animation-delay: 0.4s;
}

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

/* header background image */
.headerbg {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/public/bgdark.png");
	background-size: cover;
	background-blend-mode: overlay; /* Ensures the gradient blends with the image */
}

.headerbg h1 {
	font-size: 5rem;
	margin-bottom: 0.5rem;
	color: #1a73e8;
	opacity: 0;
	animation: fadeInTitle 1s ease-out forwards;
	animation-delay: 0.1s;
	transform: translateY(-20px);
}

@keyframes fadeInTitle {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.navbar {
	background-color: #ffffff;
	border-bottom: 1px solid #e0e0e0;
	padding: 1rem 2rem;
	text-align: right;
	font-size: 1.25rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navbar a {
	text-decoration: none;
	color: #1a73e8;
	font-weight: 600;
}

header {
	text-align: center;
	padding: 3rem 1rem;
	background: #e9f0fb;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}


header h2 {
	font-size: 2rem;
	margin-top: 15px;
	color: #555;
	font-weight: 400;
}

.container {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	padding: 1.5rem;
	gap: 1rem;
}

.leftStats,
.centerInfo,
.rightStats {
	background-color: #ffffff;
	padding: 2rem;
	flex: 1 1 250px;
	border-radius: 10px;
	border: 1px solid #e0e0e0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease;
}

/* Main content should grow to fill available space */
main {
	flex: 1;
}

footer {
	text-align: center;
	padding: 1.5rem;
	background-color: #ffffff;
	border-top: 1px solid #e0e0e0;
	font-size: 0.9rem;
	color: #888;
}

/* Login Page Styles */
h1 {
	text-align: center;
	color: #1a73e8;
	margin-top: 3rem; /* Increase margin for more spacing */
	font-size: 5rem; /* Increase font size */
}

form {
	max-width: 500px; /* Increase form width */
	margin: 3rem auto; /* Increase margin for more spacing */
	padding: 3rem; /* Increase padding for a larger form */
	background-color: #ffffff;
	border-radius: 12px; /* Slightly larger border radius */
	border: 1px solid #e0e0e0;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); /* Slightly larger shadow */
	display: flex;
	flex-direction: column;
	gap: 1.5rem; /* Increase gap between form elements */
}

label {
	font-weight: 600; /* Make labels bolder */
	color: #333;
	font-size: 1.25rem; /* Increase font size */
}

input[type="text"],
input[type="password"] {
	padding: 1rem; /* Increase padding for larger input fields */
	border: 1px solid #ccc;
	border-radius: 8px; /* Slightly larger border radius */
	font-size: 1.25rem; /* Increase font size */
	width: 100%;
	box-sizing: border-box;
}

input[type="submit"] {
	padding: 1rem; /* Increase padding for a larger button */
	background-color: #1a73e8;
	color: #ffffff;
	border: none;
	border-radius: 8px; /* Slightly larger border radius */
	font-size: 1.25rem; /* Increase font size */
	font-weight: 700; /* Make the button text bolder */
	cursor: pointer;
	transition: background-color 0.2s ease;
}

input[type="submit"]:hover {
	background-color: #155ab6;
}

.centered-link {
	display: block;
	text-align: center;
	margin-top: 2rem; /* Increase margin for more spacing */
	color: #0073e6;
	text-decoration: none;
	font-weight: 600; /* Make the link text bolder */
	font-size: 1.75rem; /* Increase font size */
}

a:hover {
	text-decoration: underline;
}
.error {
	color: #d93025;
	text-align: center;
	font-weight: 500;
}

.not-found {
	text-align: center;
	color: #888;
	font-style: italic;
	margin-top: 2rem;
}

/* THIS IS FOR THE NAVBAR SO THE LOGO AND STUFF STAYS LEFT, PAGES + LOGOUT STAY RIGHT */
.nav-left {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.logo {
	height: 32px;
	width: auto;
}

.brand-text {
	font-weight: 600;
	font-size: 1.3rem;
	color: hsl(214, 82%, 51%);
	text-decoration: none;
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 1rem; /* Adjust spacing between links */
}

/* This adds a button over the logout and join/login buttons when hovered */

.logout,
.joinlogin {
	display: inline-block; /* Makes the link behave like a button */
	padding: 10px 20px; /* Adds space inside the button */
	color: black; /* Default text color */
	text-decoration: none; /* Removes underline */
	border-radius: 25px; /* Rounds the corners */
	transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.logout:hover,
.joinlogin:hover {
	background-color: #0073e6; /* Blue background on hover */
	color: white; /* White text on hover */
}
/* 


/* THE STATS */

.leftStats p {
	font-size: 1.5rem;
	margin: 0.5rem 0;
	color: #555;
}

.leftStats ul {
	list-style: none;
	padding-left: 0;
	margin-top: 1rem;
	margin-bottom: 1.2rem;
}

.leftStats li {
	background: #e9f0fc;
	margin-bottom: 0.5rem;
	padding: 0.75rem 1rem;
	margin-bottom: 5%;
	border-radius: 8px;
	font-weight: 500;
	font-size: 1.5rem;
	color: #1a73e8;
	position: relative;
}

.leftStats li::before {
	content: "📊";
	margin-right: 0.5rem;
}

.chart {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
canvas {
	max-width: 100%;
}
/* make the headerbg class the same gradient */
/* .headerbg {
	background: linear-gradient(180deg, #1A73E8, #a48ef4);
}
.headerbg h1 {
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
} */

/* .messageleft, .messageright {
	font-size: 2rem;
	color: white;
	font-weight: 400;
	opacity: 0;
	animation: slideIn 1s ease-out forwards;
} */

.centerInfo {
	background: linear-gradient(180deg, #1a73e8, #a48ef4);
	color: #fff;
	padding: 50px;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.centerInfo .headline {
	font-size: 2.75rem;
	font-weight: bold;
	margin-bottom: 20px;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.centerInfo p {
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 20px;
	color: #f1f1f1;
}

.centerInfo .cta-button {
	background-color: #4285f4;
	color: #fff;
	padding: 15px 30px;
	border-radius: 25px;
	font-size: 1.5rem;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.centerInfo .cta-button:hover {
	background-color: #0f5bdc;
	transform: scale(1.1);
}

.centerInfo .cta-button:active {
	background-color: #185abc;
}
/* FOR ANNA - STYLING FOR PROJECT and NOTIFS*/
.leftSide,
.rightSide {
	flex: 1;
	min-width: 0;
	overflow-wrap: break-word;
}
