/* Reset */
.grid-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "navbar main"
        "navbar main"
        "navbar footer";
    min-height: 100vh;
}

/* Navbar */
.navbar {
    grid-area: navbar;
    background-color: #333;
    color: white;
    padding: 20px;
}

/* Main content */
main.content {
    grid-area: main;
    flex-direction: column;
    margin: auto;
}

/* Box pro přidání nového update */
.add-update {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-left: 19%;
    max-width: 800px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
}

.add-update form {
    display: flex;
    flex-direction: column;
}

.add-update label {
    font-size: 16px;
    margin-bottom: 8px;
    color: white;
}

.add-update input, .add-update textarea {
    font-size: 16px;
    background-color: transparent;
    color: white;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.add-update textarea {
    height: 100px;
    resize: vertical;
}

.add-update input:focus, .add-update textarea:focus {
    border-color: #3498db;
    outline: none;
}

.add-update button {
    background-color: #3498db;
    color: white;
    font-size: 16px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-update button:hover {
    background-color: #2980b9;
}

/* Styl pro sekci s update */
.updates {
    margin-left: 16%;
    max-width: 900px;
    padding: 0 20px;
}

.update {
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
}

.update h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.update p {
    font-size: 16px;
    line-height: 1.6;
}

.update small {
    display: block;
    margin-top: 10px;
    font-size: 14px;
}