diff --git a/checkup.css b/checkup.css index e79d20c6..44f514a6 100644 --- a/checkup.css +++ b/checkup.css @@ -1,10 +1,140 @@ +body { + margin: 0; + font-family: Arial, sans-serif; + } + + .nav_menu { + display: flex; + justify-content: space-between; + align-items: center; + padding: 10px; + position: relative; + } + + .nav_link { + list-style-type: none; + display: flex; + gap: 5px; + align-items: center; + } + + .nav_link li { + display: flex; + align-items: center; + } + + .nav_link a { + color: white; + text-decoration: none; + display: flex; + align-items: center; + padding: 5px 10px; + } + + .nav_link a:hover { + + border-radius: 5px; + } + + .btn1 { + background-color: #3fbcc0a6; + color: white; + border: none; + padding: 10px 15px; + border-radius: 5px; + cursor: pointer; + } + + .btn1:hover { + background-color: #4a90e2; + } + + .hamburger { + display: none; + flex-direction: column; + cursor: pointer; + } + + .hamburger .line { + width: 25px; + height: 3px; + background-color: white; + margin-right: 1000px; + } + + @media (max-width: 768px) { + .nav_link { + display: none; + flex-direction: column; + gap: 0; + position: fixed; + top: 60px; + right: 0; + background-color: #022a2d; + width: 50%; + padding: 20px; + z-index: 0; + margin-right: 230px; + } + + .nav_link.active { + display: flex; + } + + .nav_link li { + margin: 10px 0; + } + + .nav_link a { + padding: 10px; + color: #4a90e2; + } + + .hamburger { + display: flex; + } + } + + +.h1{ + font-size: 64px; +} +#expect h1{ + font-size: 40px; +} +#tips h2{ + font-size: 40px; +} #services { text-align: center; display: flex; justify-content: center; } +.service-btn { + background-color: #3fbcc0a6; + color: #fff; + border: none; + padding: 12px 20px; + border-radius: 8px; + font-size: 16px; + font-weight: bold; + cursor: pointer; + transition: background-color 0.3s ease, transform 0.2s ease; + text-align: center; + text-decoration: none; + display: inline-block; + } + .service-btn:hover { + background: linear-gradient(#4a90e2,#022a2d); + transform: scale(1.05); + } + + .service-btn:focus { + outline: none; + box-shadow: 0 0 0 2px rgba(85, 165, 234, 0.5); + } .services-grid { display: grid; grid-template-columns: repeat(2, 1fr); @@ -134,3 +264,196 @@ transform: scale(1.1); background-color: #55a5ea; } +@media (max-width: 768px) { + footer { + width: 100vw !important; + padding: 10px !important; + margin: 0px !important; + } + + .other-columns { + width: 100%; + display: flex; + flex-wrap: wrap; + justify-content: space-between; + + } + body { + margin: 0; + } + + + + + + .footer-col { + flex-basis: 100%; + padding: 10px; + margin-right: 50px; + margin-top: 20px; + max-width: 470px; + + } + .footer-col h4{ + margin-left: 10px; + margin-right: 300px; + } + .footer-col p{ + display: flex; + } + + .footer-col form button { + margin-left:0px; + display: flexbox; + text-align: center; + align-items: center; + width: 50%; + } + + + .footer-bottom-wrapper { + flex-direction: column; + align-items: center; + } + + .footer-bottom-wrapper small { + margin-bottom: 10px; + margin-right: 0px; + } + .social-links { + + gap: 10px; + margin-left: 0px; + padding: 0px; + } + + + .social-wrapper { + margin-top: 10px; + margin-right: 300px; + } + } + +@media (max-width: 768px) { + .body{ + width: 100vw !important; + } + .content h1{ + font-size: 27px; + display: block; + + + } + + .sec-img{ + + width: 200px; + height: 200px; + } + .services-grid { + grid-template-columns: 1fr; + gap: 10px; + width: 100%; + margin-right: 10px; + } + + .content { + flex-direction: column; + align-items: center; + margin-right: 50px; + } + + .content img { + margin-left: 30px; + width: 100%; + height: auto; + } + #tips h2{ + font-size:40px; + padding-left: 150px; + } + + .expect-item { + flex-direction: row; + align-items: center; + width: 70%; + margin-left: 70px; + } + + .expect-item p { + width: 100%; + height: auto; + } + + + #tips{ + width: 100%; + + } + + #tips h2 { + font-size: 1.2em; + } + + .tip-item { + width: 50%; + + } + + .tip-grid { + grid-template-columns: 1fr; + gap: 10px; + margin-left: 15px; + + } +} +@media (max-width: 1024px) { + .services-grid { + grid-template-columns: 1fr; + gap: 10px; + } + + .content { + flex-direction: column; + align-items: center; + } + + .content img { + width: 80%; + height: auto; + } + #expect h1{ + font-size:30px ; + margin-right: 30px; + } + .expect-item { + flex-direction: column; + align-items: center; + } + + .expect-item p { + width: 100%; + height: auto; + } + + .expect-item h2 { + margin-bottom: 10px; + } + + #tips h2 { + font-size: 1.5em; + margin-left: 0; + padding-top: 20px; + } + + .tip-item { + width: 100%; + margin-left: 0; + } + + .tip-grid { + grid-template-columns: 1fr; + gap: 10px; + } + +} \ No newline at end of file diff --git a/checkup.html b/checkup.html index 5aad7e8a..7834045a 100644 --- a/checkup.html +++ b/checkup.html @@ -31,7 +31,7 @@ - + @@ -99,8 +99,8 @@
-

- Welcome to RapiDoc!
Your one-stop digital
healthcare +

+ Welcome to RapiDoc! Your one-stop digital healthcare destination

@@ -152,7 +152,7 @@

Pediatric Health Checkup

-

What to Expect?

+

What to Expect?

1

@@ -192,8 +192,8 @@

5

-

- Health Tips +

+ Health Tips

@@ -329,6 +329,15 @@

RAPIDOC Newsletter


} } +
@@ -370,6 +379,7 @@

RAPIDOC Newsletter


+ diff --git a/checkup.js b/checkup.js new file mode 100644 index 00000000..4b734a09 --- /dev/null +++ b/checkup.js @@ -0,0 +1,10 @@ +document.addEventListener('DOMContentLoaded', function() { + const hamburger = document.querySelector('.hamburger'); + const navLinks = document.querySelector('.nav_link'); + + hamburger.addEventListener('click', function() { + navLinks.classList.toggle('active'); + }); + }); + + \ No newline at end of file