@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Lexend", sans-serif;
  font-weight: 300;
  list-style: none;
}

:root {
  --col-hypnos-blue: #182b3d;
  --col-hypnos-dark-blue: #19212c;
  --col-hypnos-darker-blue: #11171f;
  --col-hypnos-darkest-blue: #030507;
  --col-soft-white: #eaeaea;
  --col-trans-white: #ffffffa3;
  --fs-title: 2rem;
  --fs-reg: 0.8rem;
  --fs-small: 0.75rem;
  --fs-smallest: 0.6rem;
  --fw-thin: 300;
  --fw-reg: 400;
  --fw-bold: 500;
}

a {
  text-decoration: none;
  color: var(--hypnos-darker-blue);
}

.form_error {
  color: tomato;
  font-size: var(--fs-small);
  text-align: center;
}

.errors {
  text-align: center;
  margin-top: 1rem;
}

input {
  padding: 0.1rem 0.3rem;
}

h3 {
  color: var(--col-soft-white);
  font-weight: 200;
}

body {
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--col-hypnos-blue);
  position: relative;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
  margin-bottom: 3rem;
}

.nav-container {
  min-width: 100%;
  background-color: var(--col-hypnos-darker-blue);
  z-index: 2;
}

.nav-container nav {
  width: 90%;
  height: 3.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: auto;
  padding: 0.5rem;
  color: white;
  z-index: 3;
  font-size: var(--fs-reg);
}

.nav-container nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}

.nav-container nav i {
  color: #ffffffa3;
  background-color: transparent;
  font-size: 1rem;
}

.nav-container nav i:hover {
  color: white;
  cursor: pointer;
}

.nav-links {
  background-color: var(--col-hypnos-darkest-blue);
  width: min(90%, 15rem);
  height: calc(100vh - 3.5rem);
  position: absolute;
  right: 0;
  top: 3.5rem;
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-transition: -webkit-transform 0.7s ease;
  transition: -webkit-transform 0.7s ease;
  transition: transform 0.7s ease;
  transition: transform 0.7s ease, -webkit-transform 0.7s ease;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background-color: rgba(9, 13, 21, 0.75);
}

.nav-links .menu-item {
  color: var(--col-soft-white);
  font-size: var(--fs-reg);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 1px solid var(--col-hypnos-blue);
}

.nav-links .menu-item a, .nav-links .menu-item button, .nav-links .menu-item p {
  width: 100%;
  height: 100%;
  padding: 0.3rem;
}

.nav-links .menu-item i {
  margin-right: 0.5rem;
  width: 1rem;
}

.nav-links .menu-item button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: left;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: inherit;
  color: inherit;
}

.nav-links .menu-item:hover {
  background-color: var(--col-hypnos-dark-blue);
  cursor: pointer;
}

#menu[hide="true"] {
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
}

section {
  width: 90%;
  max-width: 35ch;
  margin: auto;
  margin-top: 2rem;
}

form .frm-grp {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: transparent;
}

input, .input {
  border: 1px solid rgba(245, 245, 245, 0.511);
  background-color: #ffffffa3;
  padding: 0.25rem;
  font-size: var(--fs-reg);
}

section form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1rem;
}

label {
  color: white;
  font-size: var(--fs-small);
  font-weight: 400;
}

.group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.5rem;
  border: 1px solid #ffffffa3;
  padding: 0.5rem;
}

.clone {
  margin-bottom: 0.5rem;
}

h3 {
  text-align: center;
}

.invisible {
  display: none;
}

#logo {
  display: block;
  height: 2.5rem;
}

.flex-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

#map {
  position: relative;
  /* Prevents weird layout shifts */
  height: 500px;
  /* or whatever height you want */
  width: 90%;
  margin: auto;
  z-index: 5;
  border-radius: 0.4rem;
}

button {
  display: -ms-grid;
  display: grid;
  place-content: center;
  font-size: var(--fs-reg);
  border: none;
}

button:hover {
  cursor: pointer;
}

textarea {
  resize: none;
}

#download-btn {
  position: fixed;
  bottom: 2rem;
  left: 5%;
  display: -ms-grid;
  display: grid;
  place-content: center;
  background-color: transparent;
}

.link-text {
  font-size: var(--fs-smallest);
  font-weight: 300;
  color: #ffffffa3;
}

.btn {
  padding: 0.3rem;
  margin-top: 0.25rem;
}

#add-mattress-btn {
  border: 1px solid white;
  background-color: #ffffffa3;
  color: #444444;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#add-mattress-btn:hover {
  background-color: white;
}

#sub {
  background-color: #1a79e6;
  border: 1px solid #1a79e6;
  color: white;
  -webkit-transition: border 0.3s ease;
  transition: border 0.3s ease;
}

#sub:hover {
  border: 1px solid white;
}

th, td {
  padding: 5px;
  text-align: center;
}

.orange {
  color: orange;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.small-text {
  font-size: var(--fs-small);
  color: #ffffffa3;
  font-weight: 200;
  text-align: center;
}

#darkmode-toggle[darkmode="true"] {
  color: #ffffff6b;
}

body[darkmode="true"] {
  background-color: var(--col-hypnos-blue);
}

body[darkmode="false"] {
  background-color: var(--col-soft-white);
  color: var(--col-hypnos-darker-blue);
}

body[darkmode="false"] #darkmode-toggle {
  color: white;
}

body[darkmode="false"] .group {
  border: 1px solid var(--col-hypnos-darker-blue);
  background-color: white;
}

body[darkmode="false"] h3, body[darkmode="false"] p {
  color: var(--col-hypnos-darker-blue);
}

body[darkmode="false"] input, body[darkmode="false"] .input, body[darkmode="false"] label {
  color: var(--col-hypnos-darker-blue);
}

body[darkmode="false"] input {
  border-bottom: 1px solid var(--col-hypnos-blue);
}

.table-container {
  max-width: 120ch;
  margin: auto;
  margin-top: 1.8rem;
  border-radius: 0.25rem;
  overflow: hidden;
}

.table-container table {
  border-collapse: collapse;
  width: 100%;
}

.table-container table th {
  background-color: var(--col-hypnos-darker-blue);
  color: white;
}

.table-container table tr {
  background-color: white;
  font-size: var(--fs-small);
}

.table-container table tr:nth-child(odd) {
  background-color: var(--col-soft-white);
}
/*# sourceMappingURL=styles.css.map */