html, body { margin: 0; padding: 0; box-sizing: border-box; font-family: arial, sans-serif; background-color: #2c5f2b; } @media only screen and (max-device-width: 480px) { .desktop-only { display: none; } } @media only screen and (min-device-width: 481px) { .mobile-only { display: none; } } /* MENU */ menu { color: #7bdb49; padding: 0; margin: 0; height: 90px; } menu ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; margin: 0 auto; text-align: center; max-width: min(calc(100% - 500px), 800px); } menu ul li { text-transform: uppercase; font-family: arial, sans-serif; font-weight: 600; font-size: 18; display: inline-block; text-align: center; vertical-align: middle; font-family: "Open Sans", sans-serif; font-weight: 300; font-size: 22px; text-align: center; color: #beef31; line-height: 85px; } menu ul li a, menu ul li a:visited { color: #7bdb49; text-decoration: none; transition: color 0.2s ease-in; } menu ul li a:hover { color: #ffffff; } menu .logo { position: absolute; height: 75px; margin: 7px 20px; } menu label { position: absolute; text-transform: uppercase; line-height: 85px; right: 20px; } menu input[type="checkbox"] { display: none; } menu input[type="checkbox"] ~ ul { display: none; } menu input[type="checkbox"]:checked ~ ul { display: block; } menu .mobile-only ul { background-color: #2c5f2b; top: 90px; right: 0px; padding: 20px; width: 200px; position: absolute; z-index: 100; max-width: none; justify-content: center; } menu .mobile-only ul li { margin: 0 60px; } @media only screen and (max-device-width: 480px) { menu { z-index: 100; position: relative; background-color: #2c5f2b; } } /* BUTTONS */ .button { transition: all 0.2s ease-in; min-width: 200px; line-height: 80px; border: 1px solid #ffffff; border-radius: 8px; color: #ffffff; display: inline-block; font-size: 24px; text-align: center; padding: 0 20px; text-decoration: none; } .button:hover { border-color: #7bdb49; color: #7bdb49; } .button:visited { color: #ffffff; } /* HOME PAGE */ .home { background: url(/assets/home_background.png) 0% 50% / cover no-repeat; min-height: 925px; } .home svg { position: absolute; left: 26px; top: 150px; width: 620px; height: 663px; } .home .describer { position: absolute; right: 20px; top: 500px; width: 526px; color: #ffffff; } .home .describer h2 { margin: 0 0 26px 0px; font-size: 48px; } .home .describer p { font-size: 24px; } @media only screen and (max-device-width: 480px) { .home { background: url(/assets/home_background.png) 50% 0% / cover no-repeat; min-height: 800px; } .home svg { display: none; } .home .describer { position: absolute; left: 20px; top: 500px; width: calc(100% - 40px); color: #ffffff; } .home .describer h2 { margin: 0 0 26px 0px; font-size: 36px; } .home .describer p { font-size: 18px; } } /* ABOUT PAGE */ .about { background: url(/assets/miss-maggy.jpg) 0% 50% / cover no-repeat; min-height: 925px; } .about .describer { position: absolute; right: 20px; top: 200px; width: 526px; color: #ffffff; } .about .describer h2 { margin: 0 0 26px 0px; font-size: 48px; } .about .describer p { font-size: 24px; } .about .mask { background: linear-gradient( 90deg, rgba(44, 95, 43, 0) 29.69%, #00000088 100% ); min-height: 925px; min-width: 100%; position: absolute; top: 90px; left: 0; } @media only screen and (max-device-width: 480px) { .about { background: url(/assets/miss-maggy.jpg) 25% -125px / cover no-repeat; min-height: 900px; } .about .mask { background: linear-gradient( 180deg, rgba(44, 95, 43, 0) 29.69%, #2c5f2b 100% ); min-height: 900px; min-width: 100%; position: absolute; top: -35px; left: 0; z-index: 1; } .about .describer { position: absolute; right: 20px; top: 400px; padding: 20px; width: auto; color: #ffffff; z-index: 10; } .about .describer h2 { font-size: 36px; } .about .describer p { font-size: 18px; } } /* ADOPTION PROCESS */ .adoption-process .background { background: url(/assets/nick.jpeg) 50% 40% / cover no-repeat; min-height: 925px; min-width: 100%; } .adoption-process .mask { background: linear-gradient(180deg, rgba(44, 95, 43, 0) 29.69%, #2c5f2b 100%); min-height: 925px; min-width: 100%; position: absolute; top: 90px; left: 0; z-index: 1; } .adoption-process .content { position: relative; max-width: 600px; margin: 0 auto; text-align: center; color: #ffffff; z-index: 10; margin-top: -400px; padding-bottom: 80px; } .adoption-process .content h1 { font-size: 48px; } .adoption-process .content p { font-size: 24px; } .adoption-process .content a { color: #ffffff; text-decoration: underline; transition: color 0.2s ease-in; } .adoption-process .content a:hover { color: #7bdb49; } .adoption-process .content a:visited { color: #ffffff; } .adoption-process .content ol { width: 260px; margin: 0 auto 40px; } .adoption-process .content li { font-size: 24px; text-align: left; } .adoption-process .content .disclaimer { font-size: 12px; text-align: center; margin-top: 80px; } /* DONATE */ .donate { display: flex; } .donate .sidebar { background: url(/assets/bagel.png) 50% 0% / cover no-repeat; min-height: 925px; min-width: 50%; } .donate .sidebar-mask { background: linear-gradient(90deg, rgba(44, 95, 43, 0) 29.69%, #2c5f2b 100%); min-height: 925px; min-width: 50%; position: absolute; top: 90px; left: 0; } .donate .content { text-align: center; width: 100%; color: #ffffff; } .donate .content > * { max-width: 600px; margin: 0 auto; display: block; } .donate .content h1 { font-size: 48px; margin-top: 200px; } .donate .content p { font-size: 24px; margin-top: 40px; } .donate .content .button { margin-top: 40px; max-width: 200px; } @media only screen and (max-device-width: 480px) { .donate { min-height: 900px; display: block; } .donate .sidebar { min-height: 900px; top: 0px; position: absolute; left: 0; width: 100%; } .donate .sidebar-mask { background: linear-gradient( 180deg, rgba(44, 95, 43, 0) 29.69%, #2c5f2b 100% ); min-height: 900px; min-width: 100%; position: absolute; top: 0; left: 0; z-index: 1; } .donate .content { position: absolute; right: 20px; top: 400px; padding: 20px; width: auto; color: #ffffff; z-index: 10; } .donate .content h2 { font-size: 36px; } .donate .content p { font-size: 18px; } } /* FOSTER */ .foster { display: flex; } .foster .sidebar { background: url(/assets/casey-face.png) 50% 0% / cover no-repeat; min-height: 925px; min-width: 50%; } .foster .sidebar-mask { background: linear-gradient(90deg, rgba(44, 95, 43, 0) 29.69%, #2c5f2b 100%); min-height: 925px; min-width: 50%; position: absolute; top: 90px; left: 0; } .foster .content { text-align: center; width: 100%; color: #ffffff; } .foster .content > * { max-width: 600px; margin: 0 auto; display: block; } .foster .content h1 { font-size: 48px; margin-top: 200px; } .foster .content p { font-size: 24px; margin-top: 40px; } .foster .content .button { margin-top: 40px; max-width: 200px; } @media only screen and (max-device-width: 480px) { .foster { min-height: 900px; display: block; } .foster .sidebar { min-height: 500px; top: 90px; position: absolute; left: 0; width: 100%; } .foster .sidebar-mask { background: linear-gradient( 180deg, rgba(44, 95, 43, 0) 29.69%, #2c5f2b 100% ); min-height: 500px; min-width: 100%; position: absolute; top: 90px; left: 0; z-index: 1; } .foster .content { position: absolute; right: 20px; top: 325px; padding: 20px; width: auto; color: #ffffff; z-index: 10; } .foster .content h2 { font-size: 36px; } .foster .content p { font-size: 18px; } } /* SOCIAL */ .contact .background { background: url(/assets/teddy-contact.png) 0% 0% / cover no-repeat; min-height: 925px; min-width: 100%; } .contact .mask { background: rgba(0, 0, 0, 0.21); min-height: 925px; min-width: 100%; position: absolute; top: 90px; left: 0; } .contact .content { text-align: center; color: #ffffff; position: absolute; top: 300px; display: block; width: 100%; margin: 0 auto; } .contact .content div { width: 450px; margin: 0 auto; } .contact .content h1 { font-size: 48px; } .contact .content p { font-size: 24px; } .contact .content ul { list-style-type: none; padding: 0; margin: 0 auto; width: 600px; display: flex; justify-content: space-between; } .contact .content ul li { display: inline-block; } .contact .content ul li.witter { margin: 0 -12px; } .contact .content a { color: #ffffff; text-decoration: underline; transition: color 0.2s ease-in; } .contact .content a:hover { color: #7bdb49; } .contact .content a:visited { color: #ffffff; } @media only screen and (max-device-width: 480px) { .contact .background { min-height: 650px; } .contact .mask { background: linear-gradient( 180deg, rgba(44, 95, 43, 0) 29.69%, #2c5f2b 100% ); min-height: 650px; min-width: 100%; position: absolute; top: 90px; left: 0; z-index: 1; } .contact .content { z-index: 10; } .contact .content div { width: calc(100% - 40px); margin: 20px; } .contact .content ul { width: calc(100% - 40px); margin: 20px; flex-wrap: wrap; } .contact .content ul li { margin: 20px; } } /* FAQ */ .faq { color: #ffffff; font-size: 18px; max-width: 800px; margin: 0 auto; } .faq h1 { text-align: center; } .faq label { cursor: pointer; display: block; font-weight: 600; margin-top: 20px; } .faq label:first-child { margin-top: 0; } .faq input[type="checkbox"] { display: none; } .faq input[type="checkbox"] ~ label::before { content: "+ "; display: inline-block; width: 20px; } .faq input[type="checkbox"]:checked ~ label::before { content: "- "; display: inline-block; width: 20px; } .faq input[type="checkbox"] ~ p { display: none; } .faq input[type="checkbox"]:checked ~ p { display: block; }