From 7806b413052995a42e39a8e04aff6c627e8ecbd1 Mon Sep 17 00:00:00 2001 From: "isidoro.nevares" Date: Sun, 15 Nov 2026 14:15:12 +0100 Subject: [PATCH] Primer commit --- css/styles.css | 145 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 css/styles.css diff --git a/css/styles.css b/css/styles.css new file mode 100644 index 0000000..0ae831c --- /dev/null +++ b/css/styles.css @@ -0,0 +1,145 @@ + +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +body { + font-family: Arial, sans-serif; + color: #263238; + background: #f5f7fa; + line-height: 1.6; +} + +.navbar { + display: flex; + justify-content: space-between; + align-items: center; + padding: 20px 8%; + background: #172b4d; +} + +.logo { + color: white; + font-size: 28px; + font-weight: bold; + text-decoration: none; +} + +.nav-links a { + color: white; + text-decoration: none; + margin-left: 25px; +} + +.hero { + text-align: center; + padding: 65px 20px; + background: #dceeff; +} + +.hero h1 { + font-size: 36px; + margin-bottom: 10px; +} + +.search-section { + max-width: 950px; + margin: 40px auto; + padding: 30px; + background: white; + border-radius: 12px; +} + +.search-section h2, +.info-section h2 { + margin-bottom: 25px; +} + +#search-form { + display: flex; + flex-wrap: wrap; + gap: 15px; + align-items: end; +} + +.form-group { + flex: 1; + min-width: 150px; +} + +label { + display: block; + margin-bottom: 5px; + font-weight: bold; +} + +input { + width: 100%; + padding: 12px; + border: 1px solid #ccd3dc; + border-radius: 6px; +} + +button { + padding: 12px 22px; + background: #087e8b; + color: white; + border: none; + border-radius: 6px; + cursor: pointer; +} + +button:hover { + background: #05636d; +} + +#results { + margin-top: 20px; +} + +.info-section { + padding: 40px 8%; + text-align: center; +} + +.info-cards { + display: flex; + flex-wrap: wrap; + gap: 20px; +} + +.info-cards article { + flex: 1; + min-width: 200px; + padding: 25px; + background: white; + border-radius: 10px; +} + +.info-cards h3 { + margin-bottom: 10px; +} + +footer { + padding: 25px; + text-align: center; + background: #172b4d; + color: white; +} + +@media (max-width: 600px) { + .navbar { + flex-direction: column; + gap: 15px; + } + + .nav-links a { + margin: 0 8px; + } + + .hero h1 { + font-size: 28px; + } +}