@import "./font.css";
@import "./reset.css";

body {
  --color--text: #333;
  --color--accent: #bb9949;
  --color--bg: #f6f6f6;

  background-color: var(--color--bg);
  color: var(--color--text);
  height: 100vh;
  width: 100vw;
}

.left {
  height: 100vh;
}

.left::after {
  content: "";
  display: block;
  position: absolute;
  background: linear-gradient(transparent, #333333ee);
  bottom: 0;
  left: 0;
  right: 0;
  top: 30%;
  z-index: 1;
}

@media screen and (min-width: 1000px) {
  body {
    align-items: flex-start;
    display: flex;
  }

  .left {
    position: fixed;
    background-color: var(--color--text);
    width: 60%;
    height: 100%;
  }

  .left::after {
    top: 50%;
  }

  .right {
    margin-left: 60%;
    width: 40%;
    height: 100%;
  }
}

.bg-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.bg-image.bg-show {
  display: block;
  opacity: 1;
}

.bg-image.bg-animate-in {
  -webkit-animation: fadeIn 1s ease-out;
  -moz-animation: fadeIn 1s ease-out;
  -o-animation: fadeIn 1s ease-out;
  animation: fadeIn 1s ease-out;
  animation-fill-mode: forwards;
}

.bg-image.bg-animate-out {
  -webkit-animation: fadeOut 1s ease-out;
  -moz-animation: fadeOut 1s ease-out;
  -o-animation: fadeOut 1s ease-out;
  animation: fadeOut 1s ease-out;
  animation-fill-mode: forwards;
}

@keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    display: block;
    opacity: 1;
  }

  1% {
    display: block;
    opacity: 1;
  }

  100% {
    display: none;
    opacity: 0;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "handwriting";
  text-align: center;
}

h1 {
  font-size: 4em;
}

h2 {
  font-size: 3.5em;
}

h3 {
  font-size: 2.8em;
}

h4 {
  font-size: 2.4em;
}

section {
  min-height: calc(100vh - 6em);
  padding: 3em;
}

section p {
  font-size: 1.3em;
  line-height: 1.6;
}

section p.indent {
  text-indent: 1em;
}

section h2:first-child {
  font-size: 4em;
}

section h2:first-child::after {
  content: "";
  display: block;
  background-color: var(--color--text);
  height: 21px;
  mask-image: url("/static/img/separator.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("/static/img/separator.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  margin: 0.3em 1em;
}

.inset {
  margin: 3em 0;
  padding: 0;
}

.inset img {
  width: 100%;
  height: auto;
}

.inset .caption {
  display: block;
  padding-top: 0.5em;
}

@media screen and (min-width: 1000px) {
  .inset {
    padding: 0 3em;
  }
}


.c {
  text-align: center;
}

a {
  color: var(--color--text);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--color--accent);
  text-underline-offset: 4px;
}

a:hover {
  filter: brightness(85%);
}



#home {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#home h1 {
  margin-bottom: 1em;
}

#home h3 {
  color: var(--color--accent);
  font-family: sackers;
  text-transform: uppercase;
  font-size: 3em;
}

#home h3 span {
  font-size: 1.3em;
}


#story p {
  margin: 2em 0;
}


#location .address {
  font-size: 1.3em;
  line-height: 1.6;
  margin: 2em 0;
  text-align: center;
}

#location .address a {
  display: block;
  font-size: 1.2em;
}


#travel h3:not(:first-of-type) {
  margin-top: 1em;
}

#travel p {
  margin: 1em 0;
}

#travel .icon-wrap {
  display: flex;
  margin: 1em 0;
}

#travel .icon {
  margin: 0 auto;
  width: 3em;
  height: auto;
}

#travel .subway {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: .75em;
  font-weight: bold;
  height: 1em;
  justify-content: center;
  line-height: 1em;
  margin-left: 0.2em;
  margin-right: 0.2em;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  width: 1em;
  z-index: 5;
}

#travel .subway::before {
  background-color: #008700;
  border-radius: 50%;
  content: "";
  height: calc(100% + 0.4em);
  left: -0.2em;
  position: absolute;
  top: -0.2em;
  width: calc(100% + 0.4em);
  z-index: -1;
}


#registry .address {
  font-size: 1.3em;
  line-height: 1.6;
  margin: 2em 0;
  text-align: center;
}

#registry .address a {
  display: block;
  font-size: 1.2em;
}


#schedule p {
  margin: 1em 0 1.5em;
}

#schedule .time {
  color: var(--color--text);
  font-family: sackers;
  font-size: 1.7em;
}


.menu {
  background-color: var(--color--bg);
  border-radius: 1em;
  border: 1px solid var(--color--accent);
  left: 1em;
  position: fixed;
  top: 1em;
  z-index: 10;
}

.menu input#menu {
  display: none;
}

.menu .menu-button {
  cursor: pointer;
  display: inline-block;
  padding: 1em 1em;
}

.menu-button span {
  display: block;
  width: 33px;
  height: 4px;
  position: relative;
  background: var(--color--accent);
  border-radius: 3px;
  pointer-events: none;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.55s ease;
}

.menu-button span:first-of-type {
  transform-origin: 0% 0%;
  margin-bottom: 5px;
}

.menu-button span:nth-of-type(2) {
  margin-bottom: 5px;
}

.menu-button span:nth-of-type(3) {
  transform-origin: 0% 100%;
}

.menu input:checked~label .menu-button span {
  opacity: 1;
  transform: rotate(45deg) translate(2px, -5px);
}

.menu input:checked~label .menu-button span:nth-of-type(2) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.menu input:checked~label .menu-button span:nth-of-type(3) {
  transform: rotate(-45deg) translate(2px, 5px);
}

.menu .menu-content {
  font-size: 1.5em;
  max-width: 0;
  max-height: 0;
  overflow: hidden;
}

.menu .menu-content ul {
  margin: 1em 0 0;
}

.menu .menu-content li {
  margin: 0 1em 1em;
}

.menu input:checked~.menu-content {
  max-height: 100%;
  max-width: 100%;
  padding: 0 1em 1em;
}


.logo-outer {
  align-items: center;
  border-radius: 50%;
  border: 0.4em double currentcolor;
  bottom: 2em;
  color: #fff;
  display: flex;
  height: 240px;
  justify-content: center;
  left: 2em;
  position: absolute;
  width: 240px;
  z-index: 2;
  transform: rotate(-5deg);
}

.logo-inner {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 0.2em;
}

.logo-inner .em,
.logo-inner .and,
.logo-inner .m {
  font-family: "sackers";
  font-size: 1.95em;
  text-transform: uppercase;
}

.logo-inner .em {
  margin-top: 1em;
  text-align: center;
  width: 100%;
}

@media not all and (min-resolution:.001dpcm) {
  @supports (-webkit-appearance:none) and (stroke-color:transparent) {

    .logo-inner .em,
    .logo-inner .and,
    .logo-inner .m {
      font-size: 1.8em;
      font-weight: bold;
      letter-spacing: -0.05em;
    }

    .logo-inner .em {
      margin-top: 1.3em;
    }
  }
}

.logo-inner .sep {
  margin: 0.15em auto 0.45em;
  width: 220px;
}

.logo-inner .sep svg {
  height: auto;
  fill: currentcolor;
  width: 100%;
}

.logo-inner .loc,
.logo-inner .date {
  font-family: "mrseaves";
  line-height: 0.8em;
}

.logo-inner .loc {
  font-size: 2em;
}

.logo-inner .date {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 1.7em;
  line-height: 0.9em;
}

@media screen and (min-width: 1000px) {
  .logo-outer {
    bottom: 4em;
    left: 4em;
    position: fixed;
  }

  .logo-inner .em,
  .logo-inner .and,
  .logo-inner .m {
    font-size: 1.95em;
    font-weight: normal;
    letter-spacing: normal;
  }

  .logo-inner .em {
    margin-top: 1em;
  }
}
