:root {
  --neutral: rgba(56, 146, 166, 1);
  --primary: rgba(232, 232, 209, 0.9);
  --secondary: rgba(23, 182, 125, 1);
  --neutral-darker: rgba(6, 84, 115, 1);
  --black: rgba(7, 28, 26, 1);
}

.html {
  overflow: initial;
}

body {
  margin: 0 auto;
  background-color: var(--neutral);
}

.header {
  position: absolute;
  left: 50%;
  top: 1%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 80vw;
  z-index: 1;
}

.title__wrapper {
  flex: 1 1 auto;
}

.header__title {
  background-color: var(--primary);
  color: var(--black);
  font-family: "Pacifico", cursive, sans-serif;
  font-size: 1.9em;
  line-height: 1.6em;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 0.5em;
  width: 100%;
}

.header__helper {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60%;
}

.header--common {
  display: inline;
}

.header--em {
  color: var(--secondary);
  margin-left: 0.2em;
}

.header__slogan {
  background-color: var(--primary);
  border-top: 1px solid var(--black);
  font-family: "Oswald", sans-serif;
  font-variant: small-caps;
  font-weight: 600;
  padding: 0.5em 0.4em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: 100%;
}

.list__item {
  flex: 0 0 auto;
  padding-top: 0.2em;
  width: 40%;
  text-align: center;
  padding-bottom: 0.4em;
}

.list__item a:visited,
.list__item a:active {
  color: var(--neutral-darker);
  text-decoration: none;
}

.list__item a:hover {
  color: var(--neutral);
  text-decoration: underline;
  text-decoration-style: dotted;
}

.list__item:nth-of-type(1) {
  border-right: 1px solid var(--black);
}

.wrapper {
  height: 100vh;
  z-index: -1;
}

.img__wrapper {
  position: relative;
}

img {
  object-fit: cover;
  object-position: top center;
  width: 100vw;
  height: 100vh;
}

.img__caption {
  background-color: var(--neutral-darker);
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: var(--primary);
  font-family: "Oswald", sans-serif;
  font-size: 1.2em;
  font-variant: small-caps;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 0.5em;
  padding-top: 0.3em;
  padding-right: 0.3em;
  padding-bottom: 0.3em;
  position: absolute;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: right;
  top: 1%;
  right: 0.6em;
}

.nav-bar {
  border-top: 1px solid var(--black);
  display: flex;
  font-family: "Oswald", sans-serif;
  font-size: 1.4em;
  list-style: none;
  width: 100%;
}

.nav-list {
  background-color: var(--primary);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  display: flex;
  justify-content: space-evenly;
  flex: 0 0 auto;
  font-variant: small-caps;
  width: 100%;
}

.nav__wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  bottom: 3em;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 20%;
}

.nav__notify {
  background-color: var(--primary);
  border-radius: 15px;
  bottom: 4em;
  color: var(--neutral-darker);
  font-size: 0.7em;
  left: 50%;
  opacity: 1;
  padding: 0.3em;
  position: absolute;
  transform: translate(-50%);
  width: fit-content;
  animation: opacity 3sec ease-out;
}

.nav__notify:before {
  content: ".";
  position: absolute;
  left: 50%;
  top: 49%;
  margin-top: 17px;
  display: block;
  transform: translate(-50%);
  width: 0px;
  height: 0px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--primary);
}

.--hidden {
  opacity: 0;
}

.btn {
  color: var(--primary);
  cursor: pointer;
  background-color: var(--neutral-darker);
  border-radius: 5px;
  border: none;
  flex: 0 0 auto;
  font-family: "Oswald", sans-serif;
  font-size: 1.5em;
  font-variant: small-caps;
  font-weight: 600;
  height: 2em;
  text-transform: uppercase;
  width: 9em;
  z-index: 10;
}

.btn:active,
.btn:visited {
  outline: none;
}

/* random button hidden until there is many more locations */
.btn__random {
  display: none;
  bottom: 4em;
  left: 50%;
  transform: translateX(-50%);
}

.btn__add {
  position: relative;
}

.btn__goto {
}

.btn__nav {
  bottom: 4em;
  width: 3em;
}

.nav__arrow {
  background-color: var(--neutral-darker);
  cursor: pointer;
  padding: 0.3em;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  fill: var(--primary);
  width: 3.5em;
  height: 3.5em;
}

.--left {
  left: 1.8em;
}

.--right {
  right: 1.8em;
}

.media-object {
  position: relative;
  height: max-content;
  display: flex;
  align-items: center;
}

.media__container {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  background-color: rgba(232, 232, 209, 0.7);
  width: 100%;
  padding: 1em 0;
}

.media__description {
  flex: 1 1 auto;
  margin: 0.5em;
  padding: 1em;
  font-family: "Oswald", sans-serif;
  line-height: 1.4em;
}

.media__google-icon {
  vertical-align: top;
  display: inline-block;
  width: 20px;
  margin-left: 0.5em;
  height: auto;
}

.media__editable {
  flex: 1 1 auto;
  padding: 1em;
  margin-right: 5em;
  margin-left: 15em;
}

main.media-about-us {
  display: flex;
  justify-content: center;
}

.media-personal-img {
  width: 11em;
  height: 11em;
  border-radius: 50%;
}

.media-personal-object {
  flex: 1;
  flex-direction: column;
  font-family: "Oswald", sans-serif;
  background-color: var(--primary);
  border-radius: 5px;
  height: initial;
  margin: 1.5em;
  padding: 1em;
}

p.media-text {
  font-weight: bold;
  padding: 1em;
}

.media-about-list {
  line-height: 1.5em;
  width: 90%;
}

.header__notes {
  top: auto;
  left: auto;
  position: initial;
  width: 100%;
  transform: initial;
}

.header__title--wide {
  padding: 0;
  line-height: 1.9em;
  text-align: center;
  width: 100%;
}

.main {
  height: fit-content;
}

#no-notes {
  font-family: "Oswald", sans-serif;
  font-variant: small-caps;
  font-size: 1.5em;
  background-color: var(--primary);
  color: var(--black);
  width: max-content;
  padding: 1em;
  margin: 2em auto;
  border-radius: 5px;
}

.media__title {
  font-size: 2em;
  margin-bottom: 0.5em;
  line-height: 1em;
}

.media__link {
  display: block;
  margin-bottom: 0.3em;
}

@media screen and (min-width: 35em) {
  .html {
    overflow: hidden;
  }
  .header {
    position: absolute;
    transform: initial;
    width: fit-content;
    top: 1.8em;
    left: 1.8em;
  }
  .nav__wrapper {
    flex-direction: row;
    width: 30%;
  }

  .nav__notify {
    bottom: 5em;
  }

  .btn {
    height: 3em;
    width: 10em;
  }

  .header__title {
    font-size: 3.3em;
    line-height: 1.3em;
  }
  .header__notes {
    top: auto;
    left: auto;
    position: initial;
    width: 100%;
  }
  .header__title--wide {
    line-height: 1.8em;
  }
  .header--common {
    display: block;
  }
  .img__caption {
    /* bottom: 1em; */
    top: 1.8em;
    /* width: 20%; */
    /* transform: initial; */
  }
  .nav-bar {
    font-size: 1.5em;
  }

  .media__container {
    display: flex;
    flex-direction: row;
  }
  .media__description {
    width: 35%;
  }
  .media__editable {
    margin-top: 3em;
    width: 55%;
  }
}

.btn--save {
  position: absolute;
  bottom: 0.7em;
  right: 27em;
  border: 1px solid var(--black);
  color: var(--black);
}

.btn--delete {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  width: 2em;
  font-family: monospace;
  line-height: 0.8em;
  font-size: 1.3em;
  border: 1px solid var(--black);
  color: var(--black);
  background-color: var(--primary);
}

.question {
  font-weight: bold;
}

html {
  box-sizing: border-box;
  height: 100%;
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}
