* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #2d3e50;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.8em;
    margin: 0;
}

header p {
    font-size: 1.2em;
    margin-top: 10px;
}

.main-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.create-event-form {
    margin-bottom: 40px;
}

.create-event-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

form input, form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s;
}

form input:focus, form textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

#eventList {
    margin-top: 30px;
}

.event {
    background: #e7f3fe;
    border-left: 6px solid #2196F3;
    margin: 15px 0;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.event:hover {
    transform: scale(1.02);
}

.event h3 {
    margin-bottom: 10px;
    color: #333;
}

.event p {
    margin: 5px 0;
    color: #555;
}

.event .event-buttons {
    margin-top: 10px;
}

.event .event-buttons button {
    padding: 8px 16px;
    font-size: 0.9em;
    margin-right: 10px;
    border-radius: 4px;
}

.event .edit-btn {
    background-color: #ff9800;
    color: white;
}

.event .delete-btn {
    background-color: #f44336;
    color: white;
}

footer {
    background-color: #2d3e50;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }

    .create-event-form {
        padding: 20px;
    }

    button {
        padding: 12px;
    }
}
