@charset "utf-8"; html, body { height: 100%; margin: 0; padding: 0; } body { display: flex; flex-direction: column; min-height: 100vh; } .page-wrapper { flex: 1; display: flex; flex-direction: column; } body { margin: 0; background-color: #dfe1dc; } /* /////////////////////// NAVIGATION ////////////////////// */ nav { background-color: #1a1a1a; border-bottom: 1px solid #0b7c61; text-align: center; padding: 6px 0; font-family: "Urbanist", sans-serif; } nav a { color: #dfe1dc; text-decoration: none; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; font-weight: 600; display: inline-block; padding: 10px 20px; transition: background-color 0.3s ease, color 0.3s ease; } nav a:hover { background-color: #EAAF0F; color: #000000; } .topcontent { background-color: #0B7C61; /* Green */ padding: 0px 20px 0px 20px; text-align: center; } .content-inner { max-width: 800px; margin: 0 auto; padding: 40px 20px; background: linear-gradient(to bottom, #DFE1DC 0%, #E5E5E0 100%); border-radius: 0; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); box-sizing: border-box; } /* /////////////////////// ALL CONTENT /////////////////////// */ .content-inner { max-width: 800px; margin: 0 auto; padding: 40px 20px; background-color: #DFE1DC; border-radius: 0; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); box-sizing: border-box; } /* /////////////////////// TOP CONTENT ////////////////////// */ .topcontent .savethedate { font-family: "Andada Pro", serif; font-size: 1.5rem; color: #0B7C61; margin-top: 10px; margin-bottom: 40px; font-weight: 600; text-transform: uppercase; opacity: 0; } .topcontent .savethedate.animated { animation: fadeInZoom 0.8s ease-out 1 forwards; animation-delay: 1.5s; } @keyframes fadeInZoom { 0% { opacity: 0; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1); } } /* //////////////////////// LOGO ////////////////////////////////// */ .logo { margin: 20px auto; text-align: center; } .logo img { width: 120px; height: auto; fill: #0B7C61; } /* /////////////////////// EVENT TITLE //////////////////////// */ .event-title { font-family: 'proxima-nova', Arial, Arial, Helvetica, sans-serif; color: #0B7C61; margin-bottom: 20px; } .event-line-top { font-size: 4rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; } .event-line-middle { font-size: 2.4rem; font-style: italic; font-weight: 400; margin-bottom: 5px; } .event-line-bottom { font-size: 4rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 20px; } .subheading { font-family: "Andada Pro", serif; font-size: 1.2rem; font-weight: 400; color: #0B7C61; text-transform: uppercase; line-height: 1.4; letter-spacing: 0.5px; max-width: 600px; margin: 0 auto 15px auto; } .date { font-family: "Andada Pro", serif; font-size: 1.9rem; color: #0B7C61; letter-spacing: 1px; margin-top: 25px; margin-bottom: 25px; } .hr { width: 60px; height: 2px; background-color: #0B7C61; margin: 50px auto 40px auto; border: none; } @keyframes fadeInUp { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } } .invitation-text { font-family: "Urbanist", sans-serif; font-size: 1.5rem; line-height: 1.5; color: #000; max-width: 700px; margin: 0 auto; text-align: center; opacity: 0; animation: fadeInUp 1s ease-out 1 forwards; animation-delay: 2.5s; } /* /////////////////////// HERO ////////////////////// */ .hero { background-color: #0B7C61; text-align: center; margin: 0; line-height: 0; } .hero img { width: 90%; max-width: 800px; height: auto; border-radius: 0; display: block; margin: 0 auto; vertical-align: bottom; } /* /////////////////////// BOTTOM CONTENT ////////////////////// */ .bottomcontent { background-color: #0B7C61; color: #000000; text-align: center; } .eventheading { font-family: "Andada Pro", serif; font-size: 1.9rem; font-weight: 600; text-transform: uppercase; color: #0B7C61; margin: 40px 0 30px 0; } .eventdate { font-family: "Andada Pro", serif; font-size: 1.5rem; color: #000000; margin: 40px 0 30px 0; font-weight: 700; } .eventtitle { font-family: 'proxima-nova', Arial, Arial, Helvetica, sans-serif; font-size: 1.3rem; font-weight: 600; color: #0B7C61; margin: 20px 0 20px; text-transform: uppercase; } .eventinfo { font-family: 'proxima-nova', Arial, Arial, Helvetica, sans-serif; font-size: 1.1rem; font-weight: 400; color: #0B7C61; margin-bottom: 30px; } .quote-block { max-width: 700px; margin: 70px 0 0 10px; text-align: center; } .quote-block hr { width: 75%; height: 2px; background-color: #0B7C61; border: none; margin: 20px auto; } .quote-block p { font-family: "Andada Pro", serif; font-size: 1.3rem; font-style: italic; color: #000000; line-height: 1.6; margin: 20px auto; padding: 0 15px; } .text { font-family: "Urbanist", sans-serif; font-size: 1.5rem; line-height: 1.5; color: #000; max-width: 700px; margin: 0 auto; text-align: center; } /* /////////////////////// FOOTER CONTENT ////////////////////// */ .site-footer { background: #1a1a1a; color: #dfe1dc; padding: 20px 10px; text-align: center; border-top: 1px solid #0b7c61; font-family: Urbanist, sans-serif; font-size: 0.85rem; letter-spacing: 0.5px; } .footer-inner { max-width: 900px; margin: 0 auto; } /* //////////////////// RESPONSIVE VIEW //////////////////////// */ /* ---- 320 ------ */ @media (max-width: 320px) { .content-inner { padding: 0 5px; } .event-line-top, .event-line-bottom { font-size: 2.9rem; } .event-line-middle { font-size: 2rem; } .subheading { font-size: 1rem; } .invitation-text { font-size: 1.2rem; } .hero img { width: 99%; } } /* ---- 479 ------ */ @media (max-width: 479px) { .hero img { width: 99%; } } /* ---- 480 ------ */ @media (min-width: 321px) and (max-width: 480px) { .hero img { width: 100%; max-width: 100%; } } /* ---- 600 ------ */ @media (max-width: 600px) { .topcontent, .bottomcontent { padding: 30px 16px; } .topcontent .savethedate { font-size: 1.2rem; } nav a { display: block; margin: 5px 0; padding: 10px 0; } }