.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

:root {
  --font-size: 20px;
  --dark-color: rgba(0, 0, 0, 1);
  --light-color: rgba(151, 230, 243, 1);
  --white-color: rgba(255, 255, 255, 1);
}

* {
  color: var(--dark-color);
  line-height: 1.15;
  text-decoration: none;
  font-weight: normal;
  font-style: normal;
  font-family: 'Kaisei Decol', Georgia, 'Times New Roman', Times, serif;
  font-size: var(--font-size);
  font-weight: normal;
  box-sizing: border-box;
  padding: 0;
  border: none;
  margin: 0;
  outline: none;
  list-style: none;
  cursor: default;
}

*::selection {
  color: var(--light-color);
  background-color: var(--dark-color);
}

a {
  cursor: pointer;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

body,html {
  width: 100%;
  height: auto;
  overflow-x: hidden;
}

header {
  text-align: center;
  display: flex;
  width: 100%;
  height: auto;
  min-height: calc(100vh - 3rem);
  background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('../img/flower-background.png');
  background-repeat: repeat;
  background-size: 128px;
  background-attachment: fixed;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header > * {
  margin-bottom: 1.5rem;
}

header h2 {
  font-size: 2.5rem;
}

header p,header p * {
  font-size: 2rem;
}

header p {
  height: 2em;
}

#switcher {
  color: var(--light-color);
  text-shadow: 1px 1px 0 var(--dark-color);
}

#header-nav {
  width: 100%;
}

#header-nav li {
  text-align: center;
  display: block;
  width: 100%;
}

#header-nav a {
  display: inline-block;
  width: calc(100% - 2rem);
  padding: 0.5rem 1.5rem;
  background-color: rgba(151, 230, 243, 0);
  border: 2px solid var(--dark-color);
  transition: background-color 0.2s ease;
}

#header-nav li:not(:last-child) {
  margin-bottom: 1rem;
}

#header-nav a:active,#header-nav a:focus,#header-nav a:hover {
  background-color: var(--light-color);
}

#header-nav li:last-child a {
  font-size: 2rem;
  font-weight: bold;
  border: none;
  background: none;
  margin: 0 auto;
  position: absolute;
  top: auto;
  right: auto;
  bottom: 0;
  left: calc(50% - 0.5em);
  transform: rotate(270deg) rotateY(45deg);
  animation: float 2s ease-in-out infinite;
  transition: 0.2s ease all;
}

#header-nav li:last-child a:active,#header-nav li:last-child a:focus,#header-nav li:last-child a:hover {
  transform: rotate(270deg) rotateY(45deg) scale(1.15);
}

@keyframes float {
  0% {
    transform: rotate(270deg) rotateY(45deg) translateX(0%);
  }

  50% {
    transform: rotate(270deg) rotateY(45deg) translateX(50%);
  }

  100% {
    transform: rotate(270deg) rotateY(45deg) translateX(0%);
  }
}

article a,section a {
  text-decoration: underline;
}

article a:hover,article a:focus,article a:active,section a:hover,section a:focus,section a:active {
  font-weight: bold;
}

#info { padding-bottom: 3rem;  }

#info h3 {
  font-size: 2rem;
  margin: 3rem 1rem 1rem;
}

#info p {
  line-height: 1.5;
  margin: 0 1rem 1rem;
}

#mission, #location-and-time {
  background-color: var(--light-color);
}

#mission > *, #location-and-time > * {
  max-width: 78rem;
  padding-right: 1rem;
  padding-left: 1rem;
}

#mission h2, #location-and-time h2 {
  font-size: 2rem;
  margin: 3rem auto 1rem;
  padding: 3rem 1rem 1rem;
}

#mission h2 {
  margin-top: 0;
}

#location-and-time h2 {
  margin-top: 0;
  margin-bottom: 0;
}

#mission p, #location-and-time p {
  line-height: 1.5;
  margin: 0 auto 1rem;
}

#mission > *:last-child, #location-and-time > *:last-child {
  padding-bottom: 3rem;
  margin-bottom: 0;
}

#about {
  width: 100%;
  height: auto;
  background-color: var(--light-color);
  background-image: url('../img/mountain-stream-background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  padding-bottom: 0;
}

#what-should-i-bring {
  background-color: var(--white-color);
  padding: 3rem 0;
}

#what-should-i-bring * {
  line-height: 1.5;
}

#what-should-i-bring > * {
  padding: 1rem;
}

#what-should-i-bring ul,
#location-and-time ul {
  padding-left: 2.5rem;
}

#location-and-time ul {
  margin-right: auto;
  margin-left: auto;
}

#what-should-i-bring li,
#location-and-time li {
  list-style: circle;
}

#who-teaches-this-class {
  display: flex;
  flex-direction: column;
  flex-wrap: no-wrap;
  align-items: flex-start;
  padding: 3rem 1rem;
  backdrop-filter: blur(10px) brightness(120%);
}

#who-teaches-this-class * {
  order: 2;
  line-height: 1.5;
}

#who-teaches-this-class > * {
  margin-bottom: 1rem;
}

#who-teaches-this-class figure {
  order: 1;
  align-self: center;
}

#who-teaches-this-class img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
}

#social-links li {
  display: inline-block;
}

#social-links img {
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  filter: invert(0%);
}

#social-links a,#social-links a * {
  cursor: pointer;
}

#social-links a *:active,#social-links a *:active *,#social-links a *:focus,#social-links a *:focus *,#social-links a *:hover,#social-links a *:hover *,#social-links a:active *,#social-links a:focus *,#social-links a:hover * {
  filter: invert(100%);
  background-color: var(--white-color);
}

footer {
  text-align: center;
  position: relative;
  width: 100%;
  height: 0;
  overflow: visible;
}

footer p {
  display: inline-block;
  width: auto;
  max-width: 100%;
  background-color: var(--white-color);
  padding: 0.25rem 0.5rem;
  margin: 0 auto;
  position: absolute;
  top: auto;
  bottom: 0;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 500px) {
  header p {
    height: auto;
  }

  #header-nav li {
    display: inline-block;
    width: auto;
  }

  #header-nav li:nth-child(2) {
    margin-left: 1rem;
  }

  #header-nav a {
    width: auto;
  }
}

@media screen and (min-width: 800px) {
  #info {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
  }

  #info article {
    max-width: 26rem;
  }

  #about {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 15rem;
  }

  #about article {
    max-width: 39rem;
  }

  #what-should-i-bring {
    box-shadow: -30rem 0 var(--white-color);
  }
}

@media screen and (min-width: 1400px) {
  #who-teaches-this-class {
    position: relative;
  }

  #who-teaches-this-class figure {
    width: 15rem;
    position: absolute;
    top: 3rem;
    right: auto;
    bottom: auto;
    left: 1rem;
    align-self: auto;
  }

  #who-teaches-this-class > *:not(figure) {
    padding-left: 16rem;
  }
}