36727-vm/static/css/custom.css
2025-12-07 07:41:16 +00:00

120 lines
2.4 KiB
CSS

/* General Body Styles */
body {
background-color: #F8F9FA;
color: #212529;
font-family: 'Lato', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Poppins', sans-serif;
font-weight: 700;
}
/* Reusable Button Styles */
.btn-primary {
background-color: #1ABC9C;
border-color: #1ABC9C;
font-family: 'Poppins', sans-serif;
font-weight: 600;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.btn-primary:hover {
background-color: #16a085;
border-color: #16a085;
}
/* Hero Section */
.hero {
background: linear-gradient(45deg, #1ABC9C, #16a085);
color: white;
padding: 6rem 1rem;
text-align: center;
border-bottom-left-radius: 2rem;
border-bottom-right-radius: 2rem;
margin-bottom: 3rem;
}
.hero h1 {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.25rem;
max-width: 600px;
margin: 0 auto 2rem;
}
/* Event Grid */
.event-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 2rem;
padding: 0 2rem;
max-width: 1200px;
margin: 0 auto;
}
/* Event Card */
.event-card {
background-color: #FFFFFF;
border-radius: 1rem;
box-shadow: 0 8px 24px rgba(0,0,0,0.05);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: column;
}
.event-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.event-card-image {
height: 200px;
background-color: #F39C12; /* Placeholder color */
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.5rem;
font-family: 'Poppins', sans-serif;
}
.event-card-content {
padding: 1.5rem;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.event-card-title {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: #212529;
}
.event-card-date, .event-card-location {
color: #6c757d;
margin-bottom: 1rem;
font-size: 0.9rem;
}
.event-card-description {
font-size: 1rem;
line-height: 1.6;
flex-grow: 1;
margin-bottom: 1.5rem;
}
.event-card-footer {
margin-top: auto;
}