body {
    margin: 0;
    min-height: 100vh;
    background-color: black;
    color: lightgray;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: sans-serif;
    overflow-x: hidden;
}

.grid {
    margin-top: 30px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: 16px;
}

.grid a {
    width: 90px;
    height: 90px;
    background-color: gray;
    border: 3px solid lightgray;
    border-radius: 18px;
    box-shadow: 0 6px 0 red;
    text-decoration: none;
    display: block;
    transition: transform 0.1s, box-shadow 0.1s;
}

.grid a:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 lightgray;
}

/**************************************************************************/

.adv-container {
  padding-left: 25%;
  padding-right: 25%;
  text-align: justify;
}

.adv-container .ita {
  font-style: italic;
}

.adv-container .red {
  color: red;
}

.blue {
    max-width: 70%;
    padding: 12px 16px;
    margin: 8px 0;
    background: linear-gradient(180deg, #3a8dff, #1f6fe5);
    color: white;
    border-radius: 18px 18px 4px 18px;
    font-size: 15px;
    line-height: 1.4;
    align-self: flex-end;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    word-wrap: break-word;
}

.gray {
    max-width: 70%;
    padding: 12px 16px;
    margin: 8px 0;
    background: linear-gradient(180deg, #e5e5ea, #d1d1d6);
    color: #000;
    border-radius: 18px 18px 18px 4px;
    font-size: 15px;
    line-height: 1.4;
    align-self: flex-start;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
}

.chat {
    display: flex;
    flex-direction: column;
}