body {
  height: 100%;
  width: 100%;
margin: 0;
font-family: Arial;
background: #f5f5f5;
}

.container {
display: flex;
}

/* CONTENEDOR IMAGEN */
.room {
position: relative;
width: 80%;
}

.base {
width: 100%;
display: block;
}

/* CAPA CON MÁSCARA */
.mask {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
mask-composite: add;
-webkit-mask-composite: source-over;
/*filter: contrast(1.05) brightness(0.98);*/
background-size: 300px;
background-repeat: repeat;

/* Mascara */
mask-size: cover;
mask-repeat: no-repeat;
-webkit-mask-size: cover;
-webkit-mask-repeat: no-repeat;
}

/* ESPECÍFICO PARA PARED FRONTAL */
.pared-frontal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;

  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

/* Especifico para pared lateral */
.pared-lateral {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;

  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

/* Especifico para suelo */
.suelo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;

  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}
/* Especifico para dar un poco de perpestiva al suelo y mejorar lo visual */
.texturaSuelo{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  left: -10%;

  background-size: 120px;
  background-repeat: repeat;

  transform: skewX(-15deg) scaleY(0.5) scaleX(1.5);
  transform-origin: bottom left;
}

/* Especifico para dar un poco de perpestiva a la pared lateral */
.texturaLateral {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-size: 400px;
  background-repeat: repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/*ESQUINAS*/
.esquina {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* PANEL LATERAL */
.panel {
width: 20%;
padding: 20px;
background: white;
box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.panel img {
width: 100px;
margin: 10px;
cursor: pointer;
border: 2px solid transparent;
}

.panel img:hover {
border: 2px solid #333;
}

/* CSS para el boton con todos los materiales */
.lista-materiales {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
}

.lista-materiales img:hover {
  transform: scale(1.1);
  border: 2px solid black;
}
/* CSS para el popup */
/* POPUP FONDO */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.5);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 999;
}

/* CUADRO */
.popup-content {
  background: white;
  padding: 20px;
  border-radius: 10px;

  width: 30%;
  max-height: 30%;
  overflow-y: auto;

  display: flex;
  flex-wrap: wrap;
}

/* OCULTO */
.hidden {
  display: none;
}

/*CSS del infoDiv*/
.info-material {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.info-material img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.info-material p {
    font-size:18px;
    margin: 0;
    margin-top: 10px;
}
/*CSS para el volver*/
.volver{
  display: flex;
  justify-content: flex-start;
  align-items: start;
  vertical-align: top;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.volver img{
  width: 20px;
  height: 20px;
  object-fit: cover;
}
.volver :hover{
  color: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 4px 16px rgba(49, 138, 172, 1);
  transition: all 0.2s ease;
}