* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
}

body,
html {
    height: 100%;
    overflow: hidden;
}

/* Styles modulares */

.hidden {
    display: none;
}

.h-100 {
    height: 100%;
}

/* ---------------- */

button.dio-button, a.dio-button {
    background-color: var(--bg-color);
    color: white;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0px 5px 0px var(--shadow-color);
    cursor: pointer;
    text-decoration: none;
}

#dialogTable {
    border-radius: 10px;
    height: 80%;
    width: 60%;
    margin: auto auto;
    padding: 10px;
}

#dialogTable::backdrop {
    background-color: rgba(0, 0, 0, 0.6);
}


#dialogTable table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#dialogTable td,
#dialogTable th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

#dialogTable button:active {
    transform: translateY(2px);
    box-shadow: none;
}

.game-screen {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.scene {
    flex-grow: 4;
    position: relative;
}
.scene .planta {
    position: absolute;
    right: -100px;
    bottom: -6px;
}

.scene .character-balloon {
    position: absolute;
    left: -400px;
    bottom: -100px;
    display: flex;
    transition: left 2s linear;
}

.scene .character-balloon .balloon > p {
    margin-bottom: 10px;
}

.scene .character-balloon .buttons {
    display: flex;
    justify-content: right;
    gap: 10px;
}

.scene .character-balloon .buttons button {
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 4px 10px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    color: white;
    font-weight: bold;
}

.scene .character-balloon .buttons button:disabled {
  display: none;
}

.scene .character-balloon .buttons button:active {
    transform: translateY(2px);
    box-shadow: none;
}

.scene .character-balloon .balloon {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.4);
    margin-right: 10px;
    height: min-content;
}

.scene .lampada {
    position: absolute;
    top: -135px;
    left: 50%;
    transform: translate(-50%);
}

.scene-background {
    background-image: url(../assets/imgs/office_background.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(10px);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -99;
}

.game-controls {
    flex-grow: 1;
    max-height: 150px;
    min-width: 100px;
}

.game-controls .table {
    background-image: url(../assets/imgs/mesa.png);
    position: relative;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 517px 1fr;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-y: -20px;
}

.game-controls .table > div {
    position: relative;
}

.game-controls .table .center {
    align-self: center;
}

.game-controls #password-input {
    position: absolute;
    bottom: calc(100% + 20px);
    font-size: 2rem;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 10px 5px rgba(0, 0, 0, 0.4);
    resize: none;
}

.game-controls .detail {
    position: absolute;
    left: 116%;
    height: 25px;
    border-right: 1px solid rgb(0, 0, 0);
}

.game-controls .table .keyboard {
    position: relative;
    width: 409px;
    height: 100px;
    margin: 0 auto;
    background-image: url(../assets/imgs/teclado.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 10px;
    box-shadow: 0px 5px 0px black;
}

.game-controls .table .mouse {
    position: absolute;
    right: -80px;
    display: block;
    width: 50px;
    height: 90px;
    background-color: rgb(58, 58, 58);
    border-radius: 40px 40px 50px 50px;
}

.game-controls .table .mouse::before {
    content: "";
    display: block;
    width: 2px;
    height: 28px;
    background-color: rgb(0, 0, 0);
    margin: 0 auto;
}

.game-controls .table ventilador-tag {
    position: absolute;
    left: 100px;
    top: -410px;
}

.pasta {
    position: absolute;
    right: 10px;
    top: -50px;
    cursor: pointer;
}
