Fill in the empty sections of this organised stylesheet. Variables: :root with –brand: #7c3aed; Components: .card with padding: 16px, border-radius: 12px and background #f5f3ff; .card-title with color: var(–brand); .card-price with font-weight: bold.
Write one button component and one modifier. .btn: display: inline-block, padding: 10px 20px, border: 2px solid #b45309, border-radius: 8px, background-color: #b45309, color: white, text-decoration: none. .btn-outline (written after .btn): background-color: transparent, color: #b45309.
Polish the Selam Tours page. The top bar is exactly 60px high. .hero: min-height: calc(100vh – 60px); so the hero fills the rest of the screen. New rule .hero h1: font-size: clamp(2rem, 7vw, 4rem); .card: padding: max(12px, 3vw);
Make Ruta’s bakery card fluid. .menu: width: min(90%, 600px); New rule .menu h1: font-size: clamp(24px, 5vw, 40px); .note: width: calc(100% – 32px);
The cards already use var(–bg) and var(–text). Add a .dark rule that sets –bg: #1f2937; and –text: #f9fafb; so the card inside .dark becomes dark. Do not change the .card rule and keep the light card white.
Use one variable for the club colour. Add a :root rule that defines –brand: #0f766e; Make the h1 colour var(–brand). Make the .btn background colour var(–brand).
Give every link in .nav a brown line that grows on hover. Add position: relative to .nav a. Write a .nav a::after rule: content: “”, position: absolute, left: 0, bottom: -4px, width: 0, height: 2px, background #b45309 and transition: width …
Turn the square into a spinning loader. Make .spinner round with border-radius: 50%. Create @keyframes spin that ends at transform: rotate(360deg). Give .spinner the animation spin, 1s, linear, infinite.
Make the café’s OPEN sign glow. Create @keyframes glow going from background-color: #fef3c7 to background-color: #f59e0b. Give .sign the animation glow with duration 2s, timing ease-in-out, a delay of 0.5s, infinite repeats and direction alternate.
Make the blue ball bounce forever. Create @keyframes bounce with three steps: 0% transform: translateY(0);, 50% transform: translateY(-60px); and 100% transform: translateY(0); Give .ball the animation bounce, duration 1s, timing function ease-in-out, repeating infinite times.
