| 1 |
.calendar-container { |
| 2 |
padding: 80px 24px; |
| 3 |
margin: 0 auto; |
| 4 |
max-width: 1200px; |
| 5 |
} |
| 6 |
|
| 7 |
.calendar-title { |
| 8 |
font-size: 2.5rem; |
| 9 |
font-weight: 700; |
| 10 |
color: #1a1a1a; |
| 11 |
margin-bottom: 1rem; |
| 12 |
} |
| 13 |
|
| 14 |
.calendar-description { |
| 15 |
font-size: 1.2rem; |
| 16 |
color: #666; |
| 17 |
margin-bottom: 3rem; |
| 18 |
} |
| 19 |
|
| 20 |
.calendar-content { |
| 21 |
position: relative; |
| 22 |
} |
| 23 |
|
| 24 |
.calendar-grid { |
| 25 |
display: grid; |
| 26 |
grid-template-columns: repeat(3, 1fr); |
| 27 |
gap: 2rem; |
| 28 |
margin: 0; |
| 29 |
} |
| 30 |
|
| 31 |
.calendar-event { |
| 32 |
background: #ffffff; |
| 33 |
border-radius: 12px; |
| 34 |
padding: 2rem; |
| 35 |
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); |
| 36 |
transition: transform 0.3s ease, box-shadow 0.3s ease; |
| 37 |
position: relative; |
| 38 |
overflow: hidden; |
| 39 |
} |
| 40 |
|
| 41 |
.calendar-event::before { |
| 42 |
content: ""; |
| 43 |
position: absolute; |
| 44 |
top: 0; |
| 45 |
left: 0; |
| 46 |
width: 4px; |
| 47 |
height: 100%; |
| 48 |
background: #2563eb; |
| 49 |
opacity: 0; |
| 50 |
transition: opacity 0.3s ease; |
| 51 |
} |
| 52 |
|
| 53 |
.calendar-event:hover { |
| 54 |
transform: translateY(-5px); |
| 55 |
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); |
| 56 |
} |
| 57 |
|
| 58 |
.calendar-event:hover::before { |
| 59 |
opacity: 1; |
| 60 |
} |
| 61 |
|
| 62 |
.event-date { |
| 63 |
display: flex; |
| 64 |
flex-direction: column; |
| 65 |
align-items: center; |
| 66 |
margin-bottom: 1.5rem; |
| 67 |
background: #f8f9fa; |
| 68 |
padding: 1rem; |
| 69 |
border-radius: 8px; |
| 70 |
width: fit-content; |
| 71 |
} |
| 72 |
|
| 73 |
.event-day { |
| 74 |
font-size: 2rem; |
| 75 |
font-weight: 700; |
| 76 |
color: #2563eb; |
| 77 |
margin: 0; |
| 78 |
line-height: 1; |
| 79 |
} |
| 80 |
|
| 81 |
.event-month { |
| 82 |
font-size: 1rem; |
| 83 |
font-weight: 600; |
| 84 |
color: #666; |
| 85 |
margin: 0; |
| 86 |
text-transform: uppercase; |
| 87 |
letter-spacing: 1px; |
| 88 |
} |
| 89 |
|
| 90 |
.event-title { |
| 91 |
font-size: 1.5rem; |
| 92 |
font-weight: 600; |
| 93 |
color: #1a1a1a; |
| 94 |
margin-bottom: 1rem; |
| 95 |
} |
| 96 |
|
| 97 |
.event-description { |
| 98 |
font-size: 1rem; |
| 99 |
line-height: 1.6; |
| 100 |
color: #666; |
| 101 |
margin-bottom: 1.5rem; |
| 102 |
} |
| 103 |
|
| 104 |
.event-time { |
| 105 |
font-size: 0.9rem; |
| 106 |
color: #2563eb; |
| 107 |
font-weight: 500; |
| 108 |
margin: 0; |
| 109 |
display: flex; |
| 110 |
align-items: center; |
| 111 |
} |
| 112 |
|
| 113 |
.event-time::before { |
| 114 |
content: "🕒"; |
| 115 |
margin-right: 0.5rem; |
| 116 |
} |
| 117 |
|
| 118 |
/* Responsive Styles */ |
| 119 |
@media (max-width: 1024px) { |
| 120 |
.calendar-grid { |
| 121 |
grid-template-columns: repeat(2, 1fr); |
| 122 |
} |
| 123 |
} |
| 124 |
|
| 125 |
@media (max-width: 768px) { |
| 126 |
.calendar-container { |
| 127 |
padding: 60px 16px; |
| 128 |
} |
| 129 |
|
| 130 |
.calendar-title { |
| 131 |
font-size: 2rem; |
| 132 |
} |
| 133 |
|
| 134 |
.calendar-description { |
| 135 |
font-size: 1.1rem; |
| 136 |
margin-bottom: 2rem; |
| 137 |
} |
| 138 |
|
| 139 |
.calendar-grid { |
| 140 |
grid-template-columns: 1fr; |
| 141 |
gap: 1.5rem; |
| 142 |
} |
| 143 |
|
| 144 |
.calendar-event { |
| 145 |
padding: 1.5rem; |
| 146 |
} |
| 147 |
|
| 148 |
.event-title { |
| 149 |
font-size: 1.3rem; |
| 150 |
} |
| 151 |
} |
| 152 |
|
| 153 |
/* Animation */ |
| 154 |
@keyframes fadeInUp { |
| 155 |
from { |
| 156 |
opacity: 0; |
| 157 |
transform: translateY(20px); |
| 158 |
} |
| 159 |
to { |
| 160 |
opacity: 1; |
| 161 |
transform: translateY(0); |
| 162 |
} |
| 163 |
} |
| 164 |
|
| 165 |
.calendar-event { |
| 166 |
animation: fadeInUp 0.6s ease-out; |
| 167 |
animation-fill-mode: both; |
| 168 |
} |
| 169 |
|
| 170 |
.calendar-event:nth-child(2) { |
| 171 |
animation-delay: 0.2s; |
| 172 |
} |
| 173 |
|
| 174 |
.calendar-event:nth-child(3) { |
| 175 |
animation-delay: 0.4s; |
| 176 |
} |