/** Normalize and globals */
* {
  box-sizing: border-box;
  list-style: none;
}

:root {
  --link-color: #0077ff;
  --transition: all 0.4s ease-in-out;
  --image-width: 70rem;

  margin: 0;
  font-size: 62.5%;
  overflow: hidden;
}

/** Themes setup */
.theme_dark {
  --background-default: #232946;
  --background-accent: #eebbc3;
  --border-color: #ffffff;
  --text-default: #b8c1ec;
  --text-secondary: #232946;
  --text-heading: #fffffe;
  --text-ghost: #ffffff4d;
  --border-color: #abd1c6;
  --background-danger: #b011e0;
  --background-success: #3886ec;
}

.theme {
  --background-danger: #bb0e0e;
  --background-success: #04ac20;
  --background-accent: #004643;

  background-color: var(--background-default, #abd1c6);
  border-color: var(--border-color, #0f3433);
  color: var(--text-default, #0f3433);
  transition: var(--transition);
}

.heading {
  text-align: center;
  color: var(--text-heading, #001e1d);
  text-transform: capitalize;
  font-family: 'Permanent Marker', cursive;
}

h1 {
  font-size: 10rem;
  margin: 0;
}

.button {
  width: 25rem;
  height: 5rem;
  border: none;
  border-radius: 2rem;
  color: #ffffff;
  font-family: 'Permanent Marker', cursive;
  font-size: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.button:hover {
  filter: saturate(4);
  transition: var(--transition);
}

.button_red {
  background-color: var(--background-danger);
}

.button_green {
  background-color: var(--background-success);
}

.toggler {
  position: absolute;
  top: 0;
  right: 7rem;
  width: 8rem;
  height: 8rem;
  background-color: transparent;
  border: none;
  font-size: 5rem;
  outline: none;
}

.toggler__wrapper {
  width: 22rem;
  position: absolute;
  top: 3rem;
  right: 6rem;
  background-color: rgba(245, 222, 179, 0.2);
  border-radius: 2rem;
  text-align: center;
  padding: 7rem 0 0.5rem;
}

.toggler__hint {
  font-family: 'Permanent Marker', cursive;
  margin: 0;
  font-size: 2rem;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 100vw;
  padding: 0;
  margin: 0 auto;
  font-size: 2rem;
}

.output {
  position: absolute;
  top: 12rem;
  color: var(--background-danger);
  font-style: italic;
}

.photo {
  position: fixed;
  bottom: 0;
  left: calc(50% - var(--image-width) / 2);
}

.list,
.list__item {
  padding: 0;
  margin: 0;
}

.list,
.paragraph {
  width: 50%;
}

.paragraph {
  text-align: start;
  font-family: 'Homemade Apple', cursive;
}

.list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  height: 15rem;
  padding-top: 2rem;
  padding-left: 15rem;
}

.section {
  width: 80vw;
}

.wrapper {
  display: flex;
  justify-content: space-evenly;
  min-height: 40rem;
}
