:root {
  --primary: #022936;
  --secondary: #e5c3bd;
  --tertiary: #bababa;
  --neutral: #ffffff;
  --require: #dba159;
  --warn: #a63446;
  --lightgray: #ddd;
  --text-regular: #444;
  --logged-in: #2ecc71;
  --font-family: Helvetica, Arial, sans-serif;
  --titleFontSize: 30px;
  --mediumFontSize: 15px;
  --smallFontSize: 10px;
  --body-font-weight: 400;
}
@media (min-width: 600px) {
  :root {
    --titleFontSize: 40px;
    --mediumFontSize: 20px;
    --smallFontSize: 14px;
  }
}
@media (min-width: 1000px) {
  :root {
    --titleFontSize: 45px;
    --mediumFontSize: 25px;
    --smallFontSize: 18px;
  }
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--neutral);
  color: var(--text-regular);
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  scrollbar-color: var(--primary) var(--secondary);
}
body {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: center;
}
li {
  font-size: 16px;
  line-height: 190%;
}

.buttonLink {
  border: 1px solid var(--primary);
  color: var(--neutral);
  background-color: var(--primary);
  padding: 5px 0;
  text-align: center;
  font-family: var(--font-family);
  font-size: 20px;
  width: 240px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.buttonLink:hover {
  background-color: var(--neutral);
  color: var(--primary);
}
.buttonLink:focus {
  background-color: var(--secondary);
  color: var(--neutral);
}
.secondaryButton {
  border-color: var(--secondary);
  background-color: var(--secondary);
}
.secondaryButton:hover {
  background-color: var(--neutral);
  color: var(--secondary);
}
.topContainer > div h2 {
  font-size: 36px;
  font-family: var(--font-family);
  font-weight: 400;
  font-style: normal;
  display: block;
  text-align: center;
  width: 100%;
  margin: 0 0 50px 0;
}
.desktopVersion {
  display: none;
}
.textList > li {
  margin: 10px 0;
}
h4 {
  font-size: 16px;
  color: var(--secondary);
  margin: 0;
  align-self: flex-start;
}
@media screen and (min-width: 800px) {
  li {
    font-size: 20px;
  }
  .desktopVersion {
    display: unset;
  }
  .mobileVersion {
    display: none;
  }
  h4 {
    font-size: 20px;
  }
}
main {
  padding: 0px;
  padding-top: 55px;
  overflow-x: hidden;
  width: 100%;
  max-width: 1200px;
}
main > section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 300;
  font-family: var(--font-family);
  overflow-x: hidden;
}
@media screen and (min-width: 800px) {
  main > section {
    font-size: 20px;
  }
}
.topContainer {
  height: calc(100vh - 350px);
  background-color: var(--neutral);
  color: var(--text-regular);
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}
.topContainer > div:first-child {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

@media screen and (min-width: 800px) {
  .topContainer {
    height: 400px;
  }
}
.textContainer {
  padding: 25px 15px;
  font-family: var(--font-family);
  color: var(--neutral);
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
.subTitleContainer {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
  box-sizing: border-box;
}
.subTitleContainer > h3 {
  font-size: 32px;
  margin: 0;
  font-weight: normal;
  display: block;
  width: fit-content;
}
.titleLine {
  position: absolute;
  right: 0;
  top: 20px;
  padding: 1px;
  width: 150px;
  max-width: 50%;
  background-color: var(--primary);
}
.textContainer > p {
  margin: 0 auto;
  text-align: justify;
  font-size: 16px;
  line-height: 190%;
  margin: 0;
  font-weight: 400;
  width: 100%;
}
.textContainer > img {
  width: 90%;
  object-fit: contain;
}
#snackbar {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background-color: var(--text-regular);
  color: var(--neutral);
  padding: 12px;
  border-radius: 5px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  max-width: 96%;
  width: max-content;
  word-wrap: break-word;
  line-height: 20px;
  font-size: 1rem;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
}

#snackbar.show {
  display: flex;
  animation: fadein 0.5s, fadeout 0.5s 4.7s;
}
#snackbar.error {
  background-color: var(--warn);
}
@media screen and (max-width: 355px) {
  #snackbar {
    font-size: 0.9rem;
  }
}
@media screen and (min-width: 800px) {
  .textContainer {
    padding: 65px;
    font-size: 20px;
  }
  .subTitleContainer > h3 {
    font-size: 40px;
  }
  .titleLine {
    width: 80%;
    max-width: 1200px;
  }
  .textContainer > p {
    max-width: 1200px;
    font-size: 20px;
  }
  .textContainer > img {
    max-width: 500px;
  }
}
.backButton {
  position: absolute;
  top: 20px;
  left: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.backButton > .material-symbols-outlined {
  font-size: 32px;
  color: var(--tertiary);
  transition: color 0.3s ease;
}
.backButton:hover > .material-symbols-outlined {
  color: var(--secondary);
}
.backButton:focus > .material-symbols-outlined {
  color: var(--tertiary);
}
.disabledLink {
  pointer-events: none;
  background-color: var(--text-regular);
}
.removeItem {
  position: absolute;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--lightgray);
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}
.removeItem:hover {
  color: var(--secondary);
}
.removeItem:focus {
  color: var(--tertiary);
}
