* {
    box-sizing: border-box;
}
html {
    font-size: min(16px, 4vw);
}
html,
body {
    padding: 0;
    margin: 0;
}
body {
    background-color: #EEEAE8;
    font-family: 'Noto Serif', serif;
    overflow-x: hidden;
}
h1 {
    font-family: 'Noto Serif Display', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 16px;
    text-transform: lowercase;
    letter-spacing: 0.5rem;
}
.hero h1 {
    color: white;
    font-size: 6rem;
    font-weight: bold;
    font-style: italic;
    font-family: 'NationalForest', 'Didot', 'Palatino', serif;
    letter-spacing: 0;
}
h2 {
    font-family: 'Noto Serif Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-top: 8px;
    margin-bottom: 8px;
    text-transform: lowercase;
    letter-spacing: 0.5rem;
}
h3 {
    font-family: 'Noto Serif Display', serif;
    font-size: 1.5rem;
    font-weight: 200;
    font-style: italic;
    margin-top: 16px;
    margin-bottom: 8px;
    letter-spacing: 0.125rem;
    text-transform: lowercase;
}
h4 {
    font-family: 'Noto Serif Display', serif;
    font-size: 1.3rem;
    font-weight: 100;
    margin-top: 4px;
    margin-bottom: 4px;
    text-transform: lowercase;
}
h5 {
    font-family: 'Noto Serif Display', serif;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 4px;
    margin-bottom: 4px;
    letter-spacing: 0.5rem;
}
p {
    font-weight: 400;
    margin-top: 8px;
    margin-bottom: 8px;
}
header {
    text-align: center;
}
nav {
    width: 100%;
    background-color: #EEEAE8;
    text-align: center;
    border-bottom: 1px solid black;
    padding: 8px;
    z-index: 999;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
}
nav.sticky {
    position: sticky;
    top: 0;
}
nav.sticky-hack {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
nav.stacked {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
ul {
    text-align: start;
}
a {
    color: black;
}
h2 a {
    text-decoration-line: none;
}
nav a {
    color: #444444;
    padding: 8px 8px;
    margin: 0px 8px;
    font-weight: 400;
    font-size: 1rem;
    text-transform: lowercase;
    text-decoration-line: none;
    letter-spacing: 0.125rem;
    white-space: nowrap;
}
a:visited {
    color: #444444;
}
a:hover {
    text-decoration-line: underline;
    color: #DBA6A6;
}
section {
    padding: 32px 16px;
    width: 100%;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}
section.hero {
    padding: 0;
    justify-content: center;
    flex-grow: 1;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}
section.hero.reception {
    background-image: url("hero.jpg");
    background-position: bottom;
}
section.hero.ceremony {
    background-image: url("hero2.jpg");
    background-position: 50% 55%;
}
section.hero h1 {
    color: white;
}
section.text {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
}
.above-the-fold {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.upper-bar {
  padding-left: 16px;
  padding-right: 16px;
  text-transform: lowercase;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  column-gap: 16px;
}
.active-tab {
    font-weight: bold;
    text-decoration: underline;
}
.password-wrapper {
    background: white;
    padding: 12px;
    border-radius: 5px;
}
.password-wrapper input[type='password'] {
    border: 0;
    font-size: 1.125rem;
    outline: none;
    font-family: 'Noto Serif Display', serif;
}
.password-wrapper button {
    border: 0;
    border-radius: 5px;
    padding: 8px;
    font-family: 'Noto Serif Display', serif;
    background-color: #E7A2A2;
}
.password-wrapper button:hover {
    background-color: #E7BEB5;
    cursor: pointer;
}
p.error {
    color: red;
    font-weight: bold;
}
iframe.rsvp {
    padding: 0;
    margin: 0;
    border: 0;
    width: 100%;
    height: 2000px;
    flex-grow: 1;
}
img.icon {
    width: 64px;
    height: 64px;
}
iframe.map-embed {
    width: 100%;
    height: 480px;
    max-width: 640px;
    border: 0;
}

ul.timeline {
    list-style: none;
    width: 40%;
    position: relative;
}

ul.timeline::before {
    content: ' ';
    height: 100%;
    width: 1px;
    background-color: #D3D3D3;
    position: absolute;
    top: 0;
    left: 3em;
    z-index: -1;
}

ul.timeline div {
    display: inline-block;
    vertical-align: top;
    margin: 1em 0;
}

.timeline .bullet {
    width: 1em;
    height: 1em;
    border: 2px solid;
    background: white;
    border-radius: 50%;
    margin-right: 1em;
    margin-top: 1.25em;
}

.timeline .bullet.pink {
    border-color: #E7A2A2;
}

.timeline .bullet.grey {
    border-color: #444444;
}

.timeline .time {
    width: 30%;
}

.timeline .desc {
    width: 50%;
}
