/* ===== GLOBAL RESET ===== */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #1f2933;
    line-height: 1.65;
    cursor: url("../img/otter.png"), auto;
}

a,
button,
input,
textarea,
select {
    cursor: url("../img/otter.png"), pointer;
}

/* ===== CONTAINER SYSTEM ===== */
header,
nav,
main,
#content,
footer {
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===== HEADER ===== */
header {
    padding-top: 30px;
    padding-bottom: 6px;
}

h1 {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.5px;
}

/* ===== NAVIGATION ===== */
nav {
    padding-top: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

nav a {
    text-decoration: none;
    color: #1f2933;
    margin-right: 30px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.active {
    font-weight: 600;
}

/* ===== TYPOGRAPHY ===== */
h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

p {
    margin-bottom: 18px;
}

/* ===== TABLE BASE ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    margin-bottom: 60px;
}

td {
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

#table-header td {
    font-weight: 600;
}

/* ===== LIST BASE ===== */
ul {
    padding-left: 18px;
}

.hobby {
    font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
    padding-top: 60px;
    padding-bottom: 60px;
    font-size: 0.75rem;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
}

footer img {
    width: 110px;
    margin-bottom: 15px;
}

/* ========================= */
/* ===== RESPONSIVE ===== */
/* ========================= */

/* Tablets */
@media (max-width: 900px) {

    header,
    nav,
    main,
    #content,
    footer {
        padding-left: 25px;
        padding-right: 25px;
    }

    h1 {
        font-size: 2.1rem;
    }

    nav a {
        margin-right: 20px;
        font-size: 0.9rem;
    }
}

/* Phones */
@media (max-width: 600px) {

    header,
    nav,
    main,
    #content,
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    nav {
        padding-top: 10px;
        padding-bottom: 15px;
    }

    nav a {
        display: inline-block;
        margin-right: 15px;
        font-size: 0.85rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    footer {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}