/* From Mailchimp embed code */
#mc_embed_signup {
    clear: left;
    font: 14px Helvetica, Arial, sans-serif;
    width: 600px;
    margin: 0 auto;
}

:root {
    --dayNightTransitionTime: 1.5s;

    --dayBackgroundColor: white;
    --dayForegroundColor: black;

    --nightBackgroundColor: #333;
    --nightForegroundColor: #EEE;
}

body, header {
    transition:
        background var(--dayNightTransitionTime),
        color var(--dayNightTransitionTime);
}

.day body, .day header   {
    background: var(--dayBackgroundColor);
    color: var(--dayForegroundColor);
}

.night body, .night header {
    background: var(--nightBackgroundColor);
    color: var(--nightForegroundColor);
}

#dayNightSwitcher {
    position: fixed;
    bottom: 1em;
    right: 1em;
}

html {
    font-family: Verdana, Arial, sans-serif;
    font-size: x-large;
}

header {
    position: fixed;
    width: 97%;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

#logo {
    width: 300px;
    height: 175px;
    background: no-repeat center/150% url(The-Pyscannatrist-Final.png);
    margin-left: 1em;
}

main {
    padding-top: 125px;
}

main, footer {
    width: 800px;
    margin: 2em auto;
}

nav {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: end;
    row-gap: 1em;
}

nav ul {
    display: flex;
    justify-content: end;
    list-style-type: none;
    padding-left: 0;
    margin: 0.5em 0;
    flex-wrap: wrap;
    row-gap: 2em;
}

nav li a {
    font-weight: bold;
    color: #569156;
    padding: 0.5em;
    margin: 0.25em;
    border: 2px solid silver;
    border-radius: 5px;
    text-decoration: none;
}

nav li.selected a {
    color: black;
    background: silver;
}

nav li:not(.selected) a:hover {
    background: #EEE;
}

nav #phoneNumber {
    margin: 0 0.5em;
}

nav #requestAppointment {
    text-align: right;
}

footer form {
    z-index: -10;
}

footer section {
    text-align: center;
}

footer section a {
    margin: 0 auto;
}
