Untitled
unknown
plain_text
6 days ago
2.6 kB
2
Indexable
Never
/* Variables */ :root { --primary-color: #4CAF50; --secondary-color: #fff; --font-family: 'Arial', sans-serif; } /* Global Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-family); background-color: #f4f4f4; color: #333; line-height: 1.6; } /* Header */ header { background-color: var(--primary-color); padding: 1rem; position: sticky; top: 0; z-index: 10; } nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; } .logo { font-size: 1.5rem; color: var(--secondary-color); } nav ul { list-style: none; display: flex; } nav ul li { margin-left: 20px; } nav ul li a { color: var(--secondary-color); text-decoration: none; font-weight: bold; transition: color 0.3s; } nav ul li a:hover { color: #ddd; } /* Carousel */ .carousel { position: relative; max-width: 100%; overflow: hidden; height: 400px; display: flex; justify-content: center; align-items: center; background-color: #333; } .carousel-container { display: flex; width: 100%; } .slide { min-width: 100%; height: 100%; } .slide img { width: 100%; height: 100%; object-fit: cover; } /* Carousel buttons */ .prev, .next { position: absolute; top: 50%; background-color: rgba(0, 0, 0, 0.5); color: white; font-size: 2rem; padding: 10px; cursor: pointer; border: none; } .prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); } .prev { left: 10px; } .next { right: 10px; } /* Registration form styling */ .registration { padding: 3rem 1rem; background-color: #fff; } .registration h2 { text-align: center; margin-bottom: 2rem; } form { max-width: 400px; margin: 0 auto; display: grid; gap: 1.5rem; } .input-container { display: flex; flex-direction: column; } label { font-weight: bold; margin-bottom: 0.5rem; } input, textarea { padding: 10px; border: 1px solid #ccc; border-radius: 5px; } button { padding: 10px 20px; background-color: var(--primary-color); color: var(--secondary-color); border: none; cursor: pointer; border-radius: 5px; transition: background-color 0.3s; } button:hover { background-color: #45a049; } /* Footer */ footer { background-color: var(--primary-color); color: var(--secondary-color); text-align: center; padding: 1rem 0; } /* Media Queries */ @media (max-width: 768px) { nav ul {
Leave a Comment