/* stylesheet for wedding */ /* google fonts */ @import url('https://fonts.googleapis.com/css?family=Arapey:400,400i|Reenie+Beanie'); :root { /* custom colors */ --teal:#009999; --bg:#004380; } #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-size: 1.2em; font-weight: 700; } #topnav a:hover { box-shadow: 0 0 5px black; } html { margin: 0; padding: 0; height: 100%; } body { margin: 0; padding: 0; height: 100%; font-size: 1em; background-repeat: no-repeat; background-position: center top; background-attachment: fixed; background-size: cover; } article { margin-top: 35%; padding: 1em; background-color: white; box-shadow: 0 0 10px black; } figure { margin: 0; padding: 1em; background-color: snow; box-shadow: 0 0 5px black; } figure img { width: 100%; } figure figcaption { color: black; text-align: right; font-weight: 400; font-style: italic; font-family: 'Arapey', serif; } p { /* standalone blocks of text */ text-align: left; text-indent: 2em; font-weight: 400; font-family: 'Arapey', serif; } blockquote { text-align: center; } iframe { width: 100%; } h1 { /* decorative page title */ font-weight: 400; font-size: 5em; font-family: 'Reenie Beanie', cursive; text-align: center; color: var(--teal); } h2 { /* decorative page subtitle */ font-weight: 700; font-size: 2em; font-family: 'Arapey', serif; text-align: center; color: var(--teal); } h3 { /* section title */ font-weight: 400; font-size: 3em; font-family: 'Reenie Beanie', cursive; color: var(--teal); text-align: center; margin: 1em; }