/* reset */
html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* fonts */

@font-face {
  font-family: "Roboto-Thin";
  src: url(fonts/Roboto-Thin.ttf) format("truetype");
}

@font-face {
  font-family: "Tommy-Thin";
  src: url(fonts/Tommy-Thin.otf) format("opentype");
}

@font-face {
  font-family: "Tommy-Light";
  src: url(fonts/Tommy-Light.otf) format("opentype");
}

@font-face {
  font-family: "Tommy-Regular";
  src: url(fonts/Tommy-Regular.otf) format("opentype");
}

@font-face {
  font-family: "Tommy-Medium";
  src: url(fonts/Tommy-Medium.otf) format("opentype");
}

@font-face {
  font-family: "Tommy-Bold";
  src: url(fonts/Tommy-Bold.otf) format("opentype");
}

/* begin styles */

/* color scheme
 * white: F1EBDE
 * black: 303030
 * maroon: 52000E
 * orange: BE6C00
 * yellow: EBB81E
 */

body {
  background-color: #F1EBDE;
  color: #303030;
  font-family: Tommy-Light, sans-serif;
  font-size: 30px;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #303030;
		color: #F1EBDE;
	}
}

a {
  color: #C0C3D8;
}
a:hover {
  color: #5D6698;
}

section {
  padding: 30px;
}

section .inner {
  margin: 0 auto;
  max-width: 900px;
}

h1, h2, h3 {
  font-family: Tommy-Regular, sans-serif;
  text-transform: uppercase;
  /* font-family: Tommy-Bold, sans-serif; */
  margin-bottom: 0.2em;
}

p {
  margin-bottom: 7px;
}

hr {
  color: #F1EBDE;
  width: 80%;
}

.card {
  border-radius: 7px;
  padding: 30px 10px;
}

.info-text {
  font-size: 25px;
}

/* sections */

#top {
  padding-top: 30px;
}

#top .inner {
  max-width: 900px;
}

#top .date {
  font-family: Tommy-Thin, sans-serif;
  font-size: 65px;
  margin-top: 20px;
}

.hj {
  font-family: Tommy-Bold, sans-serif;
}

.hj-large {
  font-size: 150px;
}
.hj-small {
  font-size: 100px;
  line-height: 105px;
  display: none;
}

@media (max-width: 900px) {
  section {
    padding: 30px 20px;
  }
  #top .hj-large {
    display: none;
  }
  #top .hj-small {
    display: block;
  }
}


#location {
  padding-top: 0px;
}

#location .grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1px 1fr;
}
#location .vr {
  position: relative;
  /* padding-top: 60px; */
}
#location .vr hr {
  position: absolute;
  top: 20%;
  height: 60%;
}
#location .info-text {
  font-size: 25px;
}
@media (max-width: 900px) {
  #location .grid {
    grid-template-columns: 1fr;
  }
  .vr {
    display: none;
  }
}

#rsvp {
  padding-top: 0;
}
#rsvp a {
  text-decoration: none;
}
.rsvp-button {
  background-color: #d5a512; /* yellow */
  display: inline-block;
  min-width: 270px;
  font-size: 40px;
  color: #303030;
  text-decoration: underline;
}
.rsvp-button:hover {
  /* background-color: #EBB81E; */
  color: #33436C;
}
@media (max-width: 900px) {
  .rsvp-button {
    display: block;
  }
}

#links {
  background-color: #52000E; /* maroon */
  color: #F1EBDE; /* white */
  font-size: 25px;
}
#links a {
  display: inline-block;
  margin: 7px;
  color: #F1EBDE; /* white */
}
#links a:hover {
  color: #aebcd6;
}
#links .grid {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
}
#links .break {
  grid-column: 2;
  height: 30px;
}
#links .label {
  text-align: right;
}
#links .content {
  text-align: left;
}
@media (max-width: 900px) {
  #links .grid {
    grid-template-columns: 1fr;
  }
  #links .break {
    grid-column: 1;
    height: 30px;
  }
  #links .label {
    text-align: center;
  }
  #links .content {
    text-align: center;
  }
}

#map {
  background-color: #BE6C00; /* orange */
}
