/* I always reset all the html elements */
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	height: 100%; /* Gives body a reference point for height */
}

/* NAVIGATION RULES --------------------  */
nav{
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 30px; /* Modern syntax replacing grid-column-gap */
	grid-template-rows: 70px;
	box-shadow: 0 5px 5px rgba(0,0,0,0.15);
	position: sticky;
	top: 0;
	background-color: white;
	padding-left: 20px;
	padding-right: 20px;
}

nav .brand{
	font-size: 28px;
	font-weight: 900;
	color: #245990;
}

nav a{
	text-decoration: none;
	display: inline-block;
	padding: 10px 35px;
	transition: background-color 0.3s, color 0.3s;
	color: #245990;
	font-size: 18px;
}

nav a:hover,
nav a.active{
	background: #4d9176;
	color: #fff;
	border-radius: 3px;
}
nav a:active{
	background-color: red;
}

/* HEADER RULES ------------------ */
header{
	padding: 40px 20px;
	background-color: #f4f4f4;
	border-bottom: thin solid #d4d4d4;
}
header h1{}
header .sub-title{
	margin-top: 20px;
	line-height: 28px;
	font-size: 20px;
}

/* MAIN SECTION ------------------ */

body{
	font-family: sans-serif;
	min-height: 100%;
	color: #555;
}

.container {
    display: flex; /* Aligns children (coin-side divs) horizontally */
    justify-content: center; /* Centers the content within the container */
    gap: 15px; /* Space between the two sides */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.coin-side {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 300px; /* Set a fixed width for uniformity */
    text-align: center; /* Center the heading and image */
}

.image-placeholder img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
}

.description {
    text-align: left; /* Align description text to the left */
}

.description ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}

.description li {
    padding: 4px 0; /* Spacing between lines */
    border-bottom: 1px solid #f0f0f0; /* Optional horizontal line separator */
}

.description li:last-child {
    border-bottom: none; /* No border on the last line */
}

/* FOOTER RULES  */
footer{
	background-color: #333;
	padding: 20px;
	width: 100%;
	color: white;
}

/* Optional: Add basic responsiveness */
@media (max-width: 650px) {
    .container {
        flex-direction: column; /* Stack vertically on small screens */
        align-items: center;
    }

