﻿/* define variables */
:root {
    --green: #015a58;
    --lime: #66c3a0;
    --seafoam: #b5dec8;
    --dark-green: #013433;
    --purple: #431c75;
    --lightest-gray: #f3f3f3;
    --light-gray: #d3d3d3;
    --med-gray: #777;

    --main-font: 'Work Sans', sans-serif;
}

/* set site basics */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
    color: #333;
}

.sc {
    font-variant: small-caps;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--green);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.1rem;
}

img {
    max-width: 100%;
}

a:not(.btn) {
    color: var(--green);
    font-weight: 700;
    transition: .3s;
    text-decoration: none;
}
a:not(.btn):hover {
    filter: brightness(1.5);
}


nav ul {
    list-style: none;
    padding-left: 0;
}
nav > ul > li > a:not(.btn) {
    font-size: 15px;
    color: #777;
}
nav > ul > li > .sub-menu {
    display: none;
    position: absolute;
    flex-direction: column;
    background: white;
    padding: 8px;
    border-radius: 4px;
}
nav > ul > li:hover > .sub-menu {
    display: flex;
}
nav > ul > li > .sub-menu > li {
    margin-bottom: 8px;
}
nav > ul > li > .sub-menu > li > a:not(.btn) {
    font-size: 15px;
}
nav ul li.separator {
    border-top: 1px solid var(--light-gray);
}

.btn {
    font-weight: bold;
    font-size: 18px;
    background: var(--lightest-gray);
    transition: .3s;
    padding: 0.5rem 2rem;
    border: 2px solid var(--light-gray);
    border-radius: 32px;
    line-height: 1.5;
    cursor: pointer;
}
.btn-primary, .btn-green {
    background: var(--green);
    border-color: transparent;
    color: white;
}
.btn:hover {
    background: var(--light-gray);
    border-color: #000404;
}
.btn-primary:hover, .btn-green:hover {
    background: var(--dark-green);
}
.btn:disabled {
    background: var(--seafoam);
    cursor: not-allowed;
}

.container {
    max-width: 1170px;
    margin: auto;
    padding: 0 15px;
}



#content {
    min-height: calc(100vh - 60px);
    padding-bottom: 4rem;
}

footer {
    background: var(--green);
    color: white;
    padding: 20px 0;
}

.footer-content {
    text-align: center;
    font-size: .9rem;
}

#page-top {
    padding-top: 30px;
    text-align: center;
    margin: auto;
    max-width: 565px;
}

    #page-top h1 {
        margin-top: 0;
        display: inline-block;
        margin: 0 auto 2rem;
        max-width: 550px;
    }

.notes {
    background: var(--lightest-gray);
    padding: 18px 32px;
    box-shadow: 2px 2px 10px rgb(0 0 0 / 25%);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 1rem;
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        display: block;
    }
}


.flex-col {
    display: flex;
    flex-direction: column;
}

.just-text, .just-text:hover {
    color: inherit;
}

a.danger {
    font-weight: 700;
    color: red;
}

