@charset "utf-8";

/* =========================
   VARIABLES
========================= */
:root {

    --primary-color: #c9dce5;
    --secondary-color: #113845;
    --secondary-dark: #0b2833;

    --accent-color: #1d5d74;

    --text-color: #111;
    --heading-color: #113845;

    --hover-bg: #fff6a8;

    --card-bg: #eef5f8;

    --border-color: #c7d6de;

    --shadow:
        0 4px 10px rgba(0,0,0,0.08);
}

/* =========================
   BASE
========================= */
* {
    box-sizing: border-box;
}

body {
    font: 0.95em 'Roboto', sans-serif;
    color: var(--text-color);
    background: linear-gradient(
        180deg,
        #bfd6e0,
        #eaf4f8
    );

    margin: 0;
    padding: 0;
}

/* =========================
   WRAPPER
========================= */
#wrapper {

    width: 100%;
    max-width: 1450px;

    margin: 18px auto;

    background: rgba(255,255,255,0.35);

    padding: 16px;

    border: 2px solid var(--secondary-color);

    border-radius: 10px;

    box-shadow: var(--shadow);
}

/* =========================
   HEADINGS
========================= */
h1 {

    text-transform: uppercase;

    margin: 0 0 10px 0;

    color: var(--heading-color);

    font-size: 2rem;

    letter-spacing: 1px;

    text-align: center;
}

h2,
h3 {

    margin: 0;
    padding: 0.5em 0;

    color: var(--heading-color);
}

p {
    line-height: 1.5;
}

/* =========================
   HEADER
========================= */
.site-header {

    text-align: center;

    margin-bottom: 15px;
}

/* =========================
   HEADER LOGOS
========================= */
.header-logos {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    margin: 15px 0;
}

.header-logos a {

    background: white;

    padding: 8px;

    border-radius: 10px;

    box-shadow: var(--shadow);

    transition: transform 0.2s ease;
}

.header-logos a:hover {
    transform: translateY(-2px);
}

.header-logos img {

    display: block;

    max-width: 120px;

    max-height: 100px;

    width: auto;

    height: auto;
}

/* =========================
   FACEBOOK
========================= */
.facebook-link {

    margin-top: 10px;
}

.facebook-link img {

    max-width: 220px;

    width: 100%;

    height: auto;
}

/* =========================
   NAVIGATION
========================= */
#nav {

    list-style: none;

    margin: 15px 0 20px;

    padding: 0;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    background: var(--secondary-color);

    border-radius: 8px;

    overflow: hidden;
}

#nav li {
    flex: 1;
    min-width: 120px;
}

#nav li a {

    display: block;

    text-align: center;

    padding: 12px 10px;

    color: white;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

#nav li a:hover {

    background: var(--accent-color);
}

/* =========================
   TABLE WRAPPER
========================= */
.table-wrapper {

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

    margin-bottom: 18px;
}

/* =========================
   TABLES
========================= */
table {

    border-collapse: collapse;

    width: 100%;

    min-width: 900px;

    background: white;

    border-radius: 10px;

    overflow: hidden;

    box-shadow: var(--shadow);
}

/* =========================
   TABLE CELLS
========================= */
table td,
table th {

    padding: 10px;

    border: 1px solid var(--border-color);
}

/* =========================
   TABLE HEADERS
========================= */
thead th {

    background: var(--secondary-color);

    color: white;

    font-weight: 600;
}

/* =========================
   TABLE BODY
========================= */
tbody td {

    background: rgba(255,255,255,0.92);
}

tbody tr:nth-child(even) td {

    background: #edf4f7;
}

tbody tr:hover td {

    background: var(--hover-bg);
}

/* =========================
   LINKS
========================= */
a {

    color: var(--secondary-color);
}

table td a {

    font-weight: 600;

    text-decoration: none;
}

table td a:hover {

    text-decoration: underline;
}

/* =========================
   FOOTER
========================= */
#foot {

    margin-top: 30px;

    padding: 20px;

    background: rgba(255,255,255,0.55);

    border-radius: 10px;

    text-align: center;

    border-top: 2px solid var(--secondary-color);
}

/* footer card */
.footer-card {

    margin-bottom: 15px;
}

.footer-card img {

    max-width: 280px;

    width: 100%;

    height: auto;

    margin-top: 10px;
}

/* contact */
.footer-contact {

    font-size: 0.95em;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

    body {
        font-size: 1em;
    }

    #wrapper {

        margin: 0;

        padding: 8px;

        border: none;

        border-radius: 0;
    }

    /* header */
    h1 {

        font-size: 1.5rem;
    }

    .header-logos {

        gap: 10px;
    }

    .header-logos img {

        max-width: 90px;

        max-height: 75px;
    }

    /* nav */
    #nav {

        flex-direction: column;
    }

    #nav li {

        width: 100%;
    }

    #nav li a {

        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    /* tables */
    .table-wrapper {

        overflow-x: auto;
    }

    table {

        min-width: 750px;
    }

    /* footer */
    .footer-card img {

        max-width: 220px;
    }
}