* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*html, body {
  height: 100%;
  font-family: sans-serif;
}*/

.contenedor {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.left {
  width: 60%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}

.image-container img {
  max-width: 90%;
  max-height: 90%;
}

.right {
  margin-left: 60%;
  width: 40%;
  overflow-y: auto;
  padding: 130px 20px 20px 20px;
  background-color: #ffffff;
  position: relative;
  z-index: 2;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.menu button {
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
}

.content {
  height: auto;
}

.color-selector {
  display: flex;
  gap: 30px;
  padding: 20px;
  justify-content: center;
  align-items: center;
}

.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.color-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border 0.3s ease, transform 0.2s ease;
}

.color-circle:hover {
  transform: scale(1.1);
  border: 3px solid #333;
}

.color-label {
  margin-top: 8px;
  font-size: 14px;
  color: #333;
  font-family: sans-serif;
}

@media (max-width: 600px) {
  .color-selector {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .contenedor {
    flex-direction: column;
  }

  .left {
    width: 100%;
    height: 30vh;
    position: fixed;
    top: 5vh;
    left: 0;
    display: flex;
    justify-content: center;   /* Centrado horizontal */
    align-items: flex-end;     /* Alineado abajo vertical */
    padding-bottom: 10px;      /* Espacio opcional con el borde inferior */
  }

  .right {
    margin-left: 0;
    margin-top: 35vh;
    width: 100%;
    height: 70vh;
    overflow-y: auto;
    padding-top: 20px;
  }
}