/* stylesheet for wedding */ /* google fonts */ @import url('https://fonts.googleapis.com/css?family=Arapey|Reenie+Beanie'); :root { /* custom colors */ --teal:#4eb4b4; } #topnav { margin: 0; padding: 0; width: 100%; top: 0; overflow: hidden; text-align: center; position: fixed; background-color: white; box-shadow: 0 0 10px black; } #topnav a { display: inline-block; text-align: center; padding: 1em 1em; text-decoration: none; color: var(--teal); transition: 0.5s; font-family: 'Arapey', serif; font-weight: 700; font-size: 1.5em; } #topnav a:hover { box-shadow: 0 0 5px black; } html { margin: 0; padding: 0; height: 100%; } body { margin: 0; padding: 0; height: 100%; background-repeat: no-repeat; background-position: center top; background-attachment: fixed; background-size: cover; background-color: var(--teal); } article { margin-top: 7em; margin-left: 10%; padding: 0; height: 100%; width: 80%; } figure { width: 100%; margin: 0; padding: 1em; background-color: white; box-shadow: 0 0 5px black; } figure img { width: 100%; } figure figcaption { color: black; text-align: right; font-weight: 400; font-size: 1em; font-style: italic; font-family: 'Arapey', serif; } p { margin: 1em; padding: 1em; text-align: justify; text-indent: 2em; font-weight: 400; font-size: 1em; font-family: 'Arapey', serif; background-color: white; box-shadow: 0 0 5px black; } blockquote { text-align: center; } iframe { width: 100%; } h1 { /* decorative page title */ margin: 0; font-weight: 400; font-size: 7em; font-family: 'Reenie Beanie', cursive; text-align: center; color: white; text-shadow: 3px 3px 3px black; } h2 { /* decorative page subtitle */ font-weight: 400; font-size: 4em; font-family: 'Reenie Beanie', cursive; text-align: center; text-shadow: 3px 3px 3px black; color: white; } h3 { /* section title */ font-weight: 400; font-size: 3em; font-family: 'Reenie Beanie', cursive; color: white; text-shadow: 3px 3px 3px black; text-align: left; margin: 1em; }