*{
	padding: 0;
	margin: 0;
	font-family: calibri;
}
/* Image container animation: cycles through three images */
.image-container {
	width: 300px;
	height: 200px;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.18);
	background-size: cover;
	background-position: center;
	animation: imageFade 25s infinite;
		margin-bottom: 1rem;
}

@keyframes imageFade {
	0%   { background-image: url('logo1.png'); }
	25%  { background-image: url('pic1.jpg'); }
	50% { background-image: url('pic2.jpg'); }
	75% { background-image: url('pic3.jpg'); }
	100% { background-image: url('pic4.jpg'); }
}
html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}
body{
		min-height: 100vh;
		display: flex;
		flex-direction: column;
		background: gray;
		position: relative;
		z-index: 1;
}


h3{
	font-size: 35px;
	color: black;
	margin-left: 30px;
}
.header{
	background: rgb(255, 193, 7);
}
.links{
	float: right;
	transform: translate(-40px,-35px);
	font-size: 25px;
	margin-right: 30px;
	background: gray;
	border-radius: 5px;
}
.link{
	text-decoration: none;
	color: white;
}

.card-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
	margin: 2rem 0;
}
.card {
	background: rgba(255,255,255,0.45);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.18);
	border: 1.5px solid #e0e0e0;
	padding: 2rem 2rem 1.5rem 2rem;
	width: 370px;
	max-width: 95vw;
	margin-bottom: 2rem;
	overflow-x: auto;
	color: #222;
	font-size: 1.15rem;
	line-height: 1.7;
	letter-spacing: 0.01em;
}
.card h2 {
	font-size: 1.5rem;
	margin-bottom: 1.2rem;
	color: #2d0066;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.card p {
	margin-bottom: 0.8rem;
	color: #222;
	font-size: 1.08rem;
}
.card pre {
	background: #23272e;
	color: #fff;
	padding: 1.1rem;
	border-radius: 7px;
	font-size: 1rem;
	overflow-x: auto;
}
.card code {
	font-family: 'Fira Mono', 'Consolas', monospace;
	white-space: pre-wrap;
}

.site-footer {
	width: 100%;
	background:lightskyblue;
	color: black;
	text-align: center;
	padding: 1.1rem 0 1.1rem 0;
	font-size: 1.08rem;
	letter-spacing: 0.01em;
	margin-top: auto;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
	position: relative;
	z-index: 2;
}

@media (max-width: 900px) {
	.card-container {
		gap: 1.2rem;
	}
	.card {
		width: 90vw;
		padding: 1.2rem 1rem 1rem 1rem;
		font-size: 1rem;
	}
	h3 {
		font-size: 28px;
		margin-left: 15px;
	}
	.links {
		font-size: 20px;
		margin-right: 10px;
		transform: translate(-10px,-25px);
	}
}

@media (max-width: 600px) {
	.card-container {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
		margin: 1rem 0;
	}
	.card {
		width: 98vw;
		max-width: 100vw;
		padding: 1rem 0.5rem 0.8rem 0.5rem;
		font-size: 0.98rem;
	}
	h3 {
		font-size: 20px;
		margin-left: 5px;
		text-align: center;
	}
	.header {
		padding: 0.5rem 0.2rem;
	}
	.links {
		float: none;
		display: flex;
		justify-content: center;
		font-size: 16px;
		margin: 0;
		background: gray;
		border-radius: 5px;
		transform: none;
	}
	.link {
		margin: 0 0.3rem;
	}
	.site-footer {
		font-size: 0.98rem;
		padding: 0.7rem 0;
		border-radius: 0;
	}
}


