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

nav #phoneNumber {
  margin: 0 0.5em;
}

nav #requestAppointment {
  text-align: right;
}

body, header {
  transition: background 1.5s, color 1.5s;
}

nav li a {
  transition: background 1.5s, color 1.5s, border-color 1.5s;
}

body, header, .night body, .night header {
  background: #333;
  color: #EEE;
}

nav li a, .night nav li a {
  color: #569156;
}

.day body, .day header {
  background: #DDD;
  color: #222;
}

.day nav li a {
  color: #274922;
}

@media (prefers-color-scheme: light) {
  body, header {
    background: #DDD;
    color: #222;
  }
  nav li a {
    color: #274922;
  }
}
#dayNightSwitcher {
  display: none;
  position: fixed;
  bottom: 1em;
  right: 1em;
}

.jsEnabled #dayNightSwitcher {
  display: revert;
}

body {
  font-size: x-large;
  font-family: Verdana, Arial;
  margin: 0;
}

figure {
  margin: 0;
  text-align: center;
}

figure img {
  width: 60%;
}

figcaption {
  font-style: italic;
  margin: 0.5em 1em 1em;
}

figure img {
  transition: width 0.5s;
}

blockquote {
  font-size: xx-large;
  font-weight: bold;
}

@media (min-width: 801px) {
  main, footer {
    width: 800px;
    margin: 1em auto;
  }
  figure.shape-landscape img {
    width: 800px;
  }
}
@media (min-width: 601px) {
  figure img {
    display: block;
    margin: 0 auto;
  }
  figure.shape-square img {
    width: 500px;
  }
}
header {
  position: fixed;
  width: 97%;
  top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

main {
  padding-top: 125px;
}

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;
  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;
}

footer form {
  z-index: -10;
}

footer section {
  text-align: center;
}

footer section a {
  margin: 0 auto;
}

.randomizer figure {
  display: none;
}

.jsDisabled .randomizer figure:first-child {
  display: revert;
}

.tabs {
  text-align: center;
}

table {
  border-collapse: collapse;
}

table caption {
  font-weight: bolder;
}

table td {
  border: 1px solid black;
  padding: 0.5em;
}
