@import url("https://fonts.googleapis.com/css2?family=Catamaran:wght@300;400;600;900&display=swap");
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block; }

body {
  line-height: 1; }

ol,
ul {
  list-style: none; }

blockquote,
q {
  quotes: none; }

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

@font-face {
  font-family: 'Fidra';
  src: url("/assets/fonts/Fidra.woff") format("woff"), url("/assets/fonts/Fidra.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap; }

body {
  font-family: 'Catamaran', sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.15ch;
  text-align: center;
  color: rgba(0, 0, 0, 0.8);
  text-transform: uppercase; }

.oaxaca {
  font-family: 'Fidra', sans-serif;
  letter-spacing: 0; }

a {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: underline; }
  a:hover {
    color: black; }

:root {
  --tangerine: #ffa230;
  --ruby: #fe8978;
  --magenta: #e13648; }

html,
body {
  height: 100%;
  background: var(--ruby);
  -webkit-overflow-scroll: touch; }

nav {
  background: var(--tangerine);
  width: 100%;
  position: fixed;
  z-index: 2;
  top: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 1; }
  nav .nav-container {
    width: 100%;
    max-width: 1000px;
    padding: 19px 30px 16px;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; }
  nav .main-link,
  nav ul {
    display: flex;
    gap: 20px;
    align-items: center; }
    nav .main-link a[aria-selected='true'],
    nav ul a[aria-selected='true'] {
      text-decoration: underline; }
  nav .main-link {
    gap: 10px; }
    nav .main-link img {
      margin-top: -1px; }
  nav .main-link-text {
    display: none; }
    @media only screen and (min-width: 444px) {
      nav .main-link-text {
        display: inline; } }
  nav a {
    text-decoration: none; }
    nav a:hover {
      text-decoration: underline; }

main {
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100%;
  box-sizing: border-box; }
  main a {
    text-decoration: underline; }
    main a:hover {
      color: black; }

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 60px; }

.section-logo {
  margin-top: 60px; }
  .section-logo .logo {
    width: 160px; }
    @media only screen and (min-width: 768px) {
      .section-logo .logo {
        width: 200px; } }

.names {
  display: flex;
  flex-direction: column; }
  .names .name {
    font-size: 52px;
    line-height: 1;
    font-weight: 900; }
  .names .plus {
    font-size: 50px;
    line-height: 1;
    font-weight: 600;
    margin-bottom: 10px; }
  @media only screen and (min-width: 768px) {
    .names {
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 0; }
      .names .name {
        width: 46%;
        font-size: 6vw; }
        .names .name:first-of-type {
          text-align: right;
          margin-top: 0;
          margin-right: 40px;
          order: -1; }
        .names .name:last-of-type {
          text-align: left;
          margin-left: 40px; }
      .names .plus {
        font-size: 6vw;
        line-height: 0.8ch; } }
  @media only screen and (min-width: 1300px) {
    .names .name,
    .names .plus {
      font-size: 80px; } }

.tiles {
  display: grid;
  gap: 60px;
  padding: 0 0 60px;
  box-sizing: border-box;
  justify-items: center; }
  .tiles .tile:nth-child(1) {
    width: 300px; }
  .tiles .svg {
    margin: 16px 0;
    height: 118px; }
    .tiles .svg.rsvp {
      height: 160px; }
  @media only screen and (min-width: 768px) {
    .tiles {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(2, 1fr);
      align-items: center;
      padding: 0 60px 60px; }
      .tiles .tile:nth-child(1) {
        grid-column: 1/3; } }
  @media only screen and (min-width: 1300px) {
    .tiles {
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: 1fr;
      max-width: 1300px;
      margin: 0 auto; }
      .tiles .tile {
        grid-row: 1; }
      .tiles .tile:nth-child(1) {
        grid-column: 2/3; }
      .tiles .tile:nth-child(2) {
        grid-column: 3/4; }
      .tiles .tile:nth-child(3) {
        grid-column: 1/2; } }

.day-date {
  font-weight: 900;
  font-size: 44px;
  line-height: 1.2; }

.year-container {
  width: 300px;
  font-size: 30px;
  letter-spacing: 4px;
  margin-top: -100px; }

.logo {
  opacity: 0.8; }

.top {
  background: #ffb766;
  flex-grow: 1;
  width: 100%; }

.bottom {
  background: var(--magenta);
  flex-grow: 1;
  width: 100%; }

footer {
  background: var(--magenta);
  position: fixed;
  z-index: 2;
  bottom: 0;
  width: 100%;
  font-weight: 400;
  font-size: 16px;
  line-height: 1; }
  footer .footer-container {
    width: 100%;
    max-width: 1000px;
    padding: 22px 30px;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; }

.info-page {
  text-transform: none;
  text-align: left; }
  .info-page .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    padding: 60px 30px; }
  .info-page h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1ch; }
    @media only screen and (min-width: 768px) {
      .info-page h2 {
        font-size: 32px; } }
  .info-page p {
    font-size: 16px; }
    @media only screen and (min-width: 768px) {
      .info-page p {
        font-size: 20px; } }

.rsvp-page .container {
  width: 100%;
  max-width: 1000px;
  padding: 0; }
