:root {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color-scheme: light dark;
  color: #ffffffde;
  background-color: #242424;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}
html,
body,
#app {
  position: relative;
  margin: 0;
  overflow: hidden;
  display: flex;
}
body,
html,
iframe,
#app {
  height: 100%;
  width: 100%;
  border: 0;
  position: relative;
}
.hidden {
  display: none;
  visibility: hidden;
}
h1 {
  font-size: 3.2em;
  line-height: 1.1;
}
#texture-buttons {
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
button {
  width: 50px;
  height: 50px;
  background-color: #fff;
  margin: 0 auto;
  border-radius: 25px;
  border: 1px solid transparent;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #fff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}
.button.active {
  outline: 4px auto -webkit-focus-ring-color;
}
#button-container {
  position: absolute;
  right: 15px;
  top: 0;
  z-index: 100;
}

/* Logo Styling */
#logo-container {
  position: absolute;
  top: 120px;
  right: 15px;
  z-index: 100;
}

#logo {
  width: 200px;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

#logo:hover {
  opacity: 1;
}

#button1 {
  background-image: url(assets/bianco.jpg);
}
#button2 {
  background-image: url(assets/grigio-maratea.jpg);
}
#button3 {
  background-image: url(assets/nero-ribelle.jpg);
}
#button4 {
  background-color: #f5b725;
}
@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #fff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}
