/* This makes the margins not have whitespace in the browser */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* full viewport */
}

main {
    flex: 1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #71797E;
    color: #ffffff;
    padding: 1rem 0;
}

header h1 {
    font-size: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

nav a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

nav a:hover {
    color: #000000;
}

/* sections stuff */
.section {
    padding: 1rem 0;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #343a40;
}

/* Grid thingy */
.grid {
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    flex-wrap: wrap;
}

.card {
    background-color: #ffffff;
    border: 1px solid #000000;
    padding: 1.5rem;
    border-radius: 8px;
    flex: 1 1 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px #71797E;
}

/* Footer */
footer {
    background-color: #71797E;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

a {
    color: #0000EE;
}


/* Contact grid thing */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-card {
    background-color: #ffffff;
    border: 1px solid #000000;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px #71797E;
}

.contact-card a {
    color: #0000EE;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}
