body.layout-matrix #discussion-screen,
body.layout-matrix #tela-inicial,
body.layout-matrix #aprendizado-screen,
body.layout-matrix #jogar-screen,
body.layout-matrix #fim-screen{
    display: none;
}
body.layout-matrix #matrix-screen {
  display: flex;
  flex-direction: row; 
  align-items: flex-start; 
  margin: 20px;
}

body.layout-matrix{
  margin: 0;
  padding: 0;
  height: 100vh;
  background-image: linear-gradient(
      rgba(4, 151, 187, 0.6), /* parte de cima */
      rgba(6, 3, 97, 0.6)  /* parte de baixo */
    ),
    url('images/unsplash.jpg');
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
  background-attachment: fixed;

}
body.layout-matrix #inputs-container{
  display: grid;
  grid-template-columns: 40px repeat(8, 4vw); /* coluna extra para labels */
  grid-template-rows: 40px repeat(8, 4vw);   /* linha extra para labels */
  gap: 5px;
  margin: 20px;
  margin-left: auto;
  position: relative;
}
body.layout-matrix #inputs-container input {
  padding-left: 1vw;
  text-align: center;
  font-weight: bold;
  font-size: clamp(14px, 2vw, 28px);
  
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  opacity: 0.8;
}

/* estilo para labels */
.labelcolumn{
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  padding-right: 0px;
  font-size: clamp(8px,1.2vw,28px); 
}
.labelrow{
   display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  padding-right: 30px;
  font-size: clamp(8px,1.2vw,28px); 
}

#side-panel {
 display: flex;
  flex-direction: column; /* matriz, p e botão empilhados verticalmente */
  align-items: center;  /* alinha todos à direita */
  gap: 10px; /* espaço entre matriz, p e botão */
}
#displayrock {
    padding: 10px;
    margin-left: 30px;
    margin-top: -20px;
    align-self: center;
    font-size: 2.4vw;
    font-weight: bolder;
    color: black;
    position: relative;
    background: linear-gradient(
        120deg,
        black 0%,
        rgb(52, 25, 25) 50%,
        black 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: light-ray 15s linear infinite;
    border: 1px solid white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

@keyframes light-ray {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
#verifybutton{
    align-self: center;
    margin-left: 30px;
    margin-top: -30px;
    height: 5vh;
    width: 8vw;
    font-size: 1vw;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(135deg, #9c3bf6, #070038);
    color: white;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
#verifybutton:hover {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}
.input-error {
  background-color: #ff4d4d; /* vermelho */
}

.input-correct {
  background-color: #4dff4d; /* verde */
}
body.layout-matrix #left-text{
    position: relative;
    margin-right: 8%;
    text-align: center;
}
h1{
    font-family: "Orbitron", sans-serif;
}
.textpclass{
    font-family: "Orbitron", sans-serif;
    font-size: 2.5vh;
}
ul{
    font-family: "Orbitron", sans-serif;
    font-size: 2.5vh;
    color: #00ff7f;
    
}

