/* 全体的なフォント、色、背景設定 */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #333;
}

/* フォーム上部のヘッダー部分 */
.header {
    background-color: #007bff; /* ヘッダー部分の背景色（オレンジ色） */
    height: 50px; /* 高さ */
    border-radius: 8px 8px 0 0; /* 角丸 */
    margin-bottom: 20px; /* ヘッダーとフォーム内容の間の余白 */
    margin: 0 auto;
}

h1, h2, h3, p {
    margin: 0 0 20px;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    text-decoration: underline;
}

/* ボタンの共通スタイル */
.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border-radius: 5px;
    text-align: center;
}

.button:hover {
    background-color: #0056b3;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 24px;
}

p {
    font-size: 18px;
}
.logout-section {
    margin-top: 20px;
}

.logout-button {
    background-color: #f44336; /* 红色背景 */
    color: #fff; /* 白色文字 */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.logout-button:hover {
    background-color: #d32f2f; /* hover时的深色红 */
}

/* サイドバーのスタイル */
.sidebar {
    background-color: #f8c1a1; /* サイドバーの背景色 */
    padding: 20px; /* 内側の余白 */
}

.sidebar ul {
    list-style: none; /* リストのデフォルトスタイルを削除 */
    padding: 0; /* 内側の余白を削除 */
}

.sidebar li {
    margin-bottom: 10px; /* 各リスト項目の下の余白 */
}

.sidebar a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #ff7700;
    border-radius: 5px;
    text-align: center;
}

.sidebar p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.event-started {
  color: gray;
  text-decoration: line-through;
}
.event-soon {
  color: red;
  font-weight: bold;
}
.event-far {
  color: green;
}

.img-thumbnail {
    width: 200px;
    height: 150px;
    object-fit: cover; 
    border-radius: 5px; 
}