body {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}
.container {
    width: 80%;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
    font-size: 30px;
    margin-bottom: 20px;
}
.message-input {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: center; /* Optional: to center-align the button below the textarea */
}

input[type="text"],
textarea {
    width: 70%;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
}


button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #007BFF;
    color: #fff;
    border-radius: 4px;
}
.bulletin-board {
    border: 2px solid #333;
    font-size: 24px;
    width: 100%;
    height: 100%;  /* Adjusted height */
    margin-bottom: 20px;
    border-radius: 4px;
}
/* Add styles for the message elements */
.message {
    white-space: nowrap;
    position: absolute;
    right: 100%;
    /* animation: moveLeft 25s linear forwards;*/
}
@keyframes moveLeft {
    from {
        left: 100%; /* Start from the right edge of the bulletin */
    }
    to {
        left: -100%; /* Move to the left edge of the bulletin */
    }
}
.message:nth-child(odd) {
    padding-top: 10px;
}
.message:nth-child(even) {
    padding-top: 10px;
}
.moderation-area {
    width: 100%;
    padding: 10px;
    border: 2px solid #333;
    border-radius: 4px;
    margin-top: 20px;
}
.moderation-area ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.moderation-area li {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-container {
    display: flex;
    align-items: center; /* Vertically center-aligns the items */
    margin-top: 20px; /* Adds space between the bulletin board and the flex container */
}

.message-side {
    text-align: left;
    font-size: 24px;
    /* Any other styling you want for the message */
}

.buttons-div {
    display: flex;
    justify-content: flex-end;  /* Aligns the buttons to the right */
    gap: 10px;  /* Provides spacing between the buttons */
}

.grid-container {
    display: flex;
    flex-direction: column;
    height: 95vh;
}

.row-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 70vh
}

.row-2 {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* aligns children to the left */
    flex-direction: row; /* positions children side by side */
    padding: 0 20px; /* optional: adds some padding */
}


.message-side {
    flex-grow: 1; /* allows message-side to take up remaining horizontal space */
}
