@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400&display=swap');
:root {
    --olive: rgb(45, 76, 81);
    --lime: rgb(90, 186, 71);
    --yellow: rgb(216, 221, 83);
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
}

body,
header,
footer,
main {
    font-family: inherit !important;
}

body,
footer,
main {
    font-size: inherit !important;
}

a:is(:hover, :focus) {
    outline: 0px;
}

a:focus-visible {
    outline: 2px solid #000;
}

header {
    position: relative;
    background: var(--olive);
    color: white;
    font-size: 14px;
}

header section {
    width: calc(1435px - 30px);
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 30px;
    margin: auto;
    padding: 1.75em 15px;
}

header .logo {
    width: 265px;
}

header nav>ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1rem 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav li {
    position: relative;
}

header .dropdown-menu {
    top: calc(100% - 5px);
    border-top: calc(5px + 1.75em) solid transparent;
    border-radius: 0;
    background: var(--olive);
    box-shadow: none;
    min-width: unset;
    left: -2ch;
}

header nav a:hover+.dropdown-menu,
header nav a:focus+.dropdown-menu,
header nav .dropdown-menu:hover {
    display: block;
}

header nav a {
    color: white;
    transition: .125s color ease-in-out;
    text-align: center;
    line-height: 1;
}

header .dropdown-menu>li>a {
    /* Overwrite BS defaults */
    color: white;
}

header nav a:hover,
header nav a:focus,
header .dropdown-menu>li>a:hover,
header .dropdown-menu>li>a:focus {
    color: var(--lime);
    text-decoration: none;
    background: var(--olive);
}

.button-link {
    color: black;
    background: white;
    border: 1px solid black;
    font-size: 17px;
    text-transform: uppercase;
    border-radius: 10px;
    padding: .3rem 4ch;
    transition: .125s background ease-in-out, .125s border ease-in-out, .125s color ease-in-out;
}

.button-link:hover,
.button-link:focus {
    color: white;
    background: var(--olive);
    border-color: white;
    text-decoration: none;
}

main {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

main .button-link {
    padding: 0.75rem 4ch;
    min-width: 200px;
    display: inline-block;
    text-align: center;
    background: var(--olive);
    color: white;
    border: 1px solid black;
}

main .button-link:hover,
main .button-link:focus {
    background: var(--yellow);
    color: var(--olive);
    border: 1px solid var(--olive);
}

footer {
    background: var(--olive);
    padding: 2rem 15px 240px;
    color: white;
    font-size: 17px;
}

footer>section {
    margin: auto;
    width: calc(966px - 30px);
    max-width: 100%;
    display: flex;
    gap: 1rem 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer>section>div {
    width: 300px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer .logo {
    height: fit-content;
    /* Stops flex from making it stretch to fill the height available */
}

@media (min-width: 1200px) {
    footer .logo {
        margin-right: 70px;
    }
}

.footer-links {
    margin-right: auto;
}

.footer-links a {
    display: block;
    width: 240px;
    max-width: 100%;
    border-radius: 0.5em;
    line-height: 1;
    padding: 5px;
}

.footer-links a:hover,
.footer-links a:focus {
    background: var(--yellow);
    color: black;
    transition: .125s color ease-in-out, .125s background ease-in-out;
}

footer .social-list {
    flex-direction: row;
    gap: 5px;
}

footer a {
    color: white;
}

footer a:hover,
footer a:focus {
    color: var(--lime);
    text-decoration: none;
}

footer ul {
    display: flex;
    flex-direction: column;
    gap: calc(1em - 10px);
    padding: 0;
    margin: 0;
    list-style: none;
}

@media (min-width: 750px) {
    footer .social-list {
        justify-content: flex-end;
    }
    footer span {
        text-align: right;
    }
}






/* rows and columns margin inside grid+ */
#gm-canvas .row, #gm-canvas .column {
    margin-top: 1em;
    margin-bottom: 1em;
}

.embed-wrapper { display: contents; }