diff --git a/css/global.css b/css/global.css index 988beee850d7923417b8963391a534f8ffa250bb..0f851eaf9ddc69d419151d90fcd04cf3bc1b58bd 100644 --- a/css/global.css +++ b/css/global.css @@ -1,3 +1,4 @@ +@charset "UTF-8"; html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, @@ -577,6 +578,21 @@ a { font-weight: 700; font-size: 0.875em; } +.button { + display: inline-block; + text-transform: uppercase; + padding: 13px 20px 10px; + text-decoration: none; + cursor: pointer; + border-radius: 5px; + font-weight: 700; + font-size: 0.875em; + letter-spacing: 0.05em; } + .button svg { + vertical-align: middle; + margin-top: -3px; + margin-left: 10px; } + header { background: url(../img/header.png) no-repeat center 0; background-size: cover; @@ -684,20 +700,6 @@ section.paths { padding-left: 20px; padding-right: 20px; padding-bottom: 30px; } - section.paths .path .button { - display: inline-block; - text-transform: uppercase; - padding: 13px 20px 10px; - text-decoration: none; - cursor: pointer; - border-radius: 5px; - font-weight: 700; - font-size: 0.875em; - letter-spacing: 0.05em; } - section.paths .path .button svg { - vertical-align: middle; - margin-top: -3px; - margin-left: 10px; } section.paths .path:after { content: " "; width: 110%; @@ -815,9 +817,62 @@ section.answers { @media (max-width: 37.5em) { section.answers p { border: none; } } +section.newsletter { + max-width: 600px; } + section.newsletter #mc_embed_signup { + padding: 40px; + border-radius: 5px; + box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); + margin: 0 auto; + background: transparent; + background: linear-gradient(179deg, transparent 0%, rgba(149, 234, 255, 0.4) 100%); } + section.newsletter #mc_embed_signup h6 { + text-align: center; } + section.newsletter #mc_embed_signup p { + text-align: center; + padding: 20px 0; + opacity: 0.7; } + section.newsletter #mc_embed_signup .mc-field-group { + display: flex; + flex-direction: row; } + section.newsletter #mc_embed_signup input { + padding: 15px; + font-size: 1em; + flex: 1; + outline: none; + margin: 5px; + border: 1px solid #D8D8D8; + color: #3F3F3F; } + section.newsletter #mc_embed_signup input#mce-FNAME, section.newsletter #mc_embed_signup input#mce-LNAME { + flex: 0.5; + min-width: 0; } + section.newsletter #mc_embed_signup input:focus { + border-color: #0ECAEA; + box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); } + section.newsletter #mc_embed_signup input.button { + border: none; + color: #3F3F3F; + background: #FBD13A; + font-size: 0.875em; + flex: 0; + margin-top: 10px; + background: #FEEB6C; + background: linear-gradient(170deg, #FEEB6C 0%, #FBD13A 100%); } + section.newsletter #mc_embed_signup #mce-responses .response { + display: block; + color: white; + padding: 10px; } + section.newsletter #mc_embed_signup #mce-responses #mce-error-response { + background: #FF4906; } + section.newsletter #mc_embed_signup #mce-responses #mce-success-response { + background: #20D3A3; } footer { text-align: center; padding: 60px 0; display: block; color: rgba(63, 63, 63, 0.5); } + @media (max-width: 37.5em) { + footer.container { + padding-left: 20px; + padding-right: 20px; } } diff --git a/index.html b/index.html index 20666b4adc510fb29b819d9ae0ce3e74b1628cf1..96e3fb08274ca7ac29908165db241a8b8921ea3c 100644 --- a/index.html +++ b/index.html @@ -166,7 +166,37 @@ -