:root {
    --primary: #001e2b; /* Slate Blue */
    --secondary: #00684a; /* Forest Green */
    --accent: #00ed64; /* Spring Green */
}

@font-face {
    font-family: "Merriweather";
    src: url("fonts/Merriweather.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Geist";
    src: url("fonts/Geist.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    text-underline-offset: 3px;
}

main {
    gap: 50px;
}

p,
a,
h3,
button,
table {
    font-family: "Geist";
}

p,
a,
tr,
caption {
    font-size: 1.125rem;
}

header {
    top: 0;
    position: sticky;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 50px;
    background-color: white;
    border-bottom: 1px solid var(--primary);

    ul {
        display: flex;
        gap: 50px;
        list-style: none;

        a {
            color: rgba(0, 0, 0, 0.5);
        }

        .active {
            color: black;
        }
    }
}

h1,
h2 {
    font-family: "Merriweather";
}

h1 {
    font-size: 4.5rem;
    line-height: 100%;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
}

section {
    display: flex;
    gap: 25px;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;

    > p {
        text-align: center;
    }

    img {
        width: 100%;
        border-radius: 25px;
    }
}

section:last-of-type {
    margin-bottom: 0;
}

#services,
#resources {
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

iframe {
    column-span: 1;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 25px;
}

button {
    padding: 15px 30px;
    border-radius: calc(infinity * 1px);
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

#hero {
    text-align: center;
    background-color: var(--primary);
    color: white;
    height: calc(100vh - 80px);
    display: flex;
    gap: 25px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#cta {
    background-color: var(--primary);
    padding: 100px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;

    h2 {
        margin-bottom: 0px;
    }
}

table {
    border: 1px solid #ffffff50;
    border-collapse: collapse;

    td,
    th {
        border: 1px solid #ffffff50;
        padding: 10px;
    }

    a {
        color: var(--accent);
    }

    caption {
        margin-top: 25px;
    }
}

#hotlines {
    background-color: var(--primary);
    padding: 100px;
    color: white;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    gap: 25px;

    ul {
        display: flex;
        gap: 50px;
        list-style: none;

        a {
            color: black;
        }
    }
}

.subtitle {
    font-size: 1.5rem;
}

.primary-button {
    background-color: var(--accent);
    border: 1px solid var(--primary);
}

.secondary-text {
    color: var(--secondary);
}

.accent-text {
    color: var(--accent);
}

.grid-2 {
    display: grid;
    width: 100%;
    gap: 25px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    display: grid;
    width: 100%;
    gap: 25px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    padding: 25px;
    border-radius: 25px;
    border: 1px solid black;
    column-span: 1;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;

    a {
        float: right;
        color: var(--secondary);
    }
}
