/* https://www.joshwcomeau.com/css/custom-css-reset/ */
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

/*
  Actual styles
*/
body {
  font-family: "Funnel Sans", Helvetica, Arial, sans-serif;
  font-weight: 300;
}

canvas,
.ui,
.menu-icon {
  position: absolute;
}

#gl-canvas {
  width: 100%;
  height: 100%;
}

.menu-icon {
  left: 10px;
  top: 15px;
  width: fit-content;
  height: fit-content;
  padding: 6px 8px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
}

.menu-icon:hover {
  background-color: rgba(87, 87, 87, 0.5);
}

.menu-icon div {
  width: 35px;
  height: 5px;
  background-color: rgba(255, 255, 255, 1.0);
  border-radius: 4px;
  margin: 6px 0;
}

.ui {
  left: 75px;
  top: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 5px 15px;
  color: white;
}

.ui-toggle {
  display: none;
}

.settings {
  margin-top: 10px;
  margin-bottom: 10px;
}

.website-settings {
  margin-top: 15px;
  margin-bottom: 10px;
}

.website-settings button {
  background-color: rgba(0, 0, 0, 0.3);
  border: 2px solid rgb(191, 191, 191);
  color: white;
  width: 50%;
}

.website-settings button:hover {
  background-color: rgba(161, 161, 161, 0.4);
}
