/* Global Styles */ html { font-size: 62.5%; /* sets 1rem to 10px */ } body { margin: 0; font-family: 'Open Sans', sans-serif; font-size: 1.6rem; line-height: 1.6; color: #222; } .container { max-width: 120rem; margin: 0 auto; padding: 0 2rem; } /* Header Styles */ .header { display: flex; justify-content: space-between; align-items: center; padding: 2rem 0; padding: 0% 1% 0% 1%; } .title { font-size: 3.2rem; font-weight: 700; text-align: left; display: flex; justify-content: flex-start; } .mainLogo { width:50px; height:50px; display: flex; padding: 0% 0% 0% 3%; } /* .navbar { display: flex; justify-content: center; align-items: center; } */ .navbar { display: flex; justify-content: space-between; align-items: center; background-color: #fff; padding: 0rem 0; position: fixed; top: 0; left: 0; right: 0; z-index: 999; } .nav-links li { display: inline-block; margin-left: auto; margin: 0 1.5rem; font-size: 1.6rem; } .nav-links a { text-decoration: none; color: #333; transition: color 0.3s ease-in-out; } .nav-links a:hover { color: #777; } /* Hero Styles */ .hero { display: flex; justify-content: center; align-items: center; height: 80vh; background-color: #f2f2f2; text-align: center; padding: 0% 5% 0% 5% } .hero-title { font-size: 5.6rem; font-weight: 700; margin-bottom: 2rem; } .hero-subtitle { font-size: 2rem; margin-bottom: 4rem; } .hero-btn { display: inline-block; padding: 1.5rem 3.5rem; background-color: #333; color: #fff; font-size: 2rem; font-weight: 700; text-align: center; text-decoration: none; border-radius: 3rem; transition: background-color 0.3s ease-in-out; } .hero-btn:hover { background-color: #777; } /* About Styles */ .about { padding: 10rem 0; text-align: center; } .about h2 { font-size: 4.8rem; font-weight: 700; margin-bottom: 4rem; } .about p { font-size: 2rem; margin-bottom: 4rem; } .about ul { display: flex; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; } .about li { font-size: 2rem; margin: 0 2rem; } /* Events Styles */ .events { padding: 10rem 0; text-align: center; } .events h2 { font-size: 4.8rem; font-weight: 700; margin-bottom: 4rem; } .events p { font-size: 2rem; margin-bottom: 4rem; } .events ul { display: flex; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; } .events li { font-size: 2rem; margin: 0 2rem; } /* Blog Styles */ .blog { padding: 10rem 0; text-align: center; } .blog h2 { font-size: 4.8rem; font-weight: 700; margin-bottom: 4rem; } .blog p { font-size: 2rem; margin-bottom: 4rem; } .blog-article { display: flex; justify-content: center; align-items: center; margin-bottom: 8rem; } .blog-article-img { width: 50rem; height: 35rem; margin-right: 5rem; object-fit: cover; } .blog-article-title { font-size: 3.2rem; font-weight: 700; margin-bottom: 2rem; } .blog-article-text { font-size: 2rem; line-height: 1.6; margin-bottom: 2rem; } .blog-article-btn { display: inline-block; padding: 1.5rem 3.5rem; background-color: #333; color: #fff; font-size: 2rem; font-weight: 700; text-align: center; text-decoration: none; border-radius: 3rem; transition: background-color 0.3s ease-in-out; } .blog-article-btn:hover { background-color: #777; } /* Footer Styles */ .footer { background-color: #333; color: #fff; padding: 4rem 0; text-align: center; } .footer p { font-size: 1.6rem; margin-bottom: 2rem; } .footer-social li { display: inline-block; margin: 0 1.5rem; } .footer-social a { text-decoration: none; color: #fff; font-size: 3.2rem; transition: color 0.3s ease-in-out; } .footer-social a:hover { color: #777; } @media only screen and (max-width: 768px) { /* Navbar Styles */ .navbar { display: none; } .nav-btn { display: block; margin: 2rem 0; font-size: 3.2rem; } /* Hero Styles */ .hero-title { font-size: 4.8rem; margin-bottom: 1rem; } .hero-subtitle { font-size: 1.8rem; margin-bottom: 2rem; } /* About Styles */ .about ul { flex-direction: column; } /* Events Styles */ .events ul { flex-direction: column; } /* Blog Styles */ .blog-article { flex-direction: column; margin-bottom: 4rem; } .blog-article-img { width: 100%; height: 25rem; margin-bottom: 2rem; } .blog-article-title { font-size: 2.8rem; margin-bottom: 1rem; } .blog-article-text { font-size: 1.6rem; margin-bottom: 2rem; } .blog-article-btn { font-size: 1.6rem; padding: 1.2rem 2.5rem; border-radius: 2rem; } }