/* General Reset */
body, h1, h2, p, ul, ol, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Font Styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #333;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5rem;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

.center {
    text-align: center;
}

/* Main Content */
.content-section {
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 1rem;
    color: #444;
} 

h3 {
    margin-bottom: 0;
    color: #444;
}

/* Rules Section */
ol {
    margin-left: 1.5rem;
    list-style-position: inside;
    margin-bottom: 1rem;
}

ol li {
    margin-bottom: 0.5rem;
}

/* Rules Section */
ul {
    margin-left: 1.5rem;
    list-style-position: inside;
    margin-bottom: 1rem;
}

ul li {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-cards {
    text-align: center;
}

.contact-card {
    display: inline-block;
    width: 160px;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1%;
    background: #f9f9fc;
    border: 1px solid #ddd;
    border-radius: 6px;
    gap: 1rem;
}

.contact-card img {    
    max-width: 40%;
    border-radius: 5%;
    object-fit: cover;
    border: 2px solid #ddd;
    filter: contrast(1.25);
}

.top-card-images img {
    max-width: 40%;
    min-width: 20%;
    border-radius: 2%;
    max-height: 40%;
    filter: contrast(1.25);
}

.contact-card h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    white-space: nowrap;
}

.contact-card a {
    color: #0066cc;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: #fff;
    margin-top: 2rem;
}
