body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    color: black;
    min-height: 100vh;
    background-image: url('/resources/8/img/sunset.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

canvas#glCanvas {
    display: block;
    margin: 20px auto;
    background: black;
}

body:has(.container) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    margin-top: 10px;
    border-radius: 15px;
    display: grid;
    justify-items: center;
}

section {
    background-color: #f1e7e7aa;
    box-shadow: 0px -1px 4px 5px #f1e7e7aa;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
}

body:has(.wall) {
    position: relative;
    padding-bottom: 100px;
}

h1 {
    background-image: url('/resources/8/img/cloud.png');
    background-size: cover;
    padding: 70px;
    background-size: 400px;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 60px 90px;
    background-size: 440px;
}

.wall {
    background-image: url('/resources/8/img/bricks.png');
    background-size: 40px;
    position: absolute;
    bottom: 0;
    color: white;
    align-content: end;
}

.messages {
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.messages .message {
    background: linear-gradient(135deg, #f1d328, #eb6c6c);
    padding: 10px 12px;
    border-radius: 8px;
    position: relative;
    max-width: 100%;
}

.message-body {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.timestamp {
    display: block;
    font-size: 12px;
    color: #555;
    margin-top: 4px;
    text-align: right;
}
