#3dhop {
    font-family: poppins;
}

.tdh_interfacedx {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    z-index: 10;
    gap: 0.5rem;
    flex-wrap: wrap;
    height: 95%;
    overflow: hidden;
 }
 @media only screen and (max-width: 600px) {
    .tdh_interfacedx {
        display: none;
    }
}
 .tdh_panel_wrapper{
    display:flex;
    flex-direction: column;
    gap:0.5rem;
 }
.tdh_panel {
  display: flex;
  border-radius: 0.5rem;
  padding: 0.3rem 0.2rem;
  background-color: #423e3e;
  opacity: 0.9;
  z-index: 20;
  gap: 0.5rem;  
}
.tdh_row {
    display: flex;    
    flex-direction: row;
    justify-content: space-around;
    gap: 0.2rem;
}
.tdh_col {
    display: flex;
    flex-direction: column;
    justify-content: space-around;    
    gap: 0.2rem;
}
.tdh_panel > div  {
  flex: 1;
  padding: 0.1rem;
  text-align: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
}

#panel_toggle {
    position: absolute; 
    left: 1rem; 
    top: 1rem;
    width: 60px;
        opacity: 0.9;
}
#panel_toggle button {
    font-size: 0.8rem;
    background-color: #423e3e;
    color: white;
    opacity: 0.9;
}

.tdh_interfacetools {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    z-index: 10;
}

.sectioning {
    display: none;
    flex-direction: row;
}

.sectioning  button{
    font-family: poppins;
    font-weight: bolder;
    font-size: 1rem;
}

button {
    background-color: #b7c9e2;
    border: none;
    color: #333;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.8rem;
    font-family: poppins;
    cursor: pointer;
    border-radius: 0.2rem;
    display: flex;
}
button:hover {
    background-color: #9daee2;
}

button .material-symbols-outlined {
    font-size: 1.3rem;
    font-weight: normal;
}

.highlighted {
    background-color: rgba(173, 107, 140, 0.5);
}
.highlighted:hover {
    background-color: rgba(175, 85, 130, 0.7);
}

#span_message {
    font-size: 1rem;
    font-weight: normal;
}

/* 3DCUBE */
.cubeScene {
    --cube-size: min(16vw, 80px);
    --cube-halfsize: calc(var(--cube-size) / 2);
    height: calc( var(--cube-size)+ 1vw);
    margin: 1vw;
    perspective: 24vw;
    font-family: poppins;
}
  
.cube {
    width: var(--cube-size);
    height: var(--cube-size);  
    position: relative;
    transform-style: preserve-3d;
    margin: auto;
}
  
.cube__face {
    position: absolute;
    width: var(--cube-size);
    height: var(--cube-size);
    border: 2px solid black;
    line-height: var(--cube-size);
    font-size: min(2vw, 20px);
    font-weight: bold;
    color: white;
    text-align: center;
    user-select: none;
    background: #423e3e;    
}
  
.cube__face--front  { 
      transform: rotateY(  0deg) translateZ(var(--cube-halfsize));	
}
.cube__face--right  { 
      transform: rotateY( 90deg) translateZ(var(--cube-halfsize));
}
.cube__face--back   { 
      transform: rotateY(180deg) translateZ(var(--cube-halfsize));
}
.cube__face--left   { 
      transform: rotateY(-90deg) translateZ(var(--cube-halfsize));
}
.cube__face--top    { 
      transform: rotateX( 90deg) translateZ(var(--cube-halfsize));
}
.cube__face--bottom { 
      transform: rotateX(-90deg) translateZ(var(--cube-halfsize));
}
@font-face {
    font-family: poppins;
    font-style: normal;
    font-weight: 500;
    src: local(""), url(/archives/collections/theme/public/fonts/poppins/poppins-500.woff2) format("woff2"), url(/archives/collections/theme/public/fonts/poppins/poppins-500.woff) format("woff")
}
.loading_error {
    display: none;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
}
.loading_error img {
    width: 40px;
}
.loading_error h3 {
    font-family: poppins;
    font-weight: bolder;
    font-size: 1rem;
}
.icon-hide {
    display: none;
}