@font-face {
  font-family: "wedding";
  src: url("./font/alex.ttf");
}

@font-face {
  font-family: "caviar";
  src: url("./font/caviar/CaviarDreams.woff2");
  font-style: normal;
}

@font-face {
  font-family: "caviar";
  src: url("./font/caviar/CaviarDreams-Bold.woff2");
  font-weight: 700;
}

@font-face {
  font-family: "caviar";
  src: url("./font/caviar/CaviarDreams-Italic.woff2");
  font-style: italic;
}

@font-face {
  font-family: "caviar";
  src: url("./font/caviar/CaviarDreams-BoldItalic.woff2");
  font-weight: 700;
  font-style: italic;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overscroll-behavior-y: none;
  font-family: caviar;
}

h2 {
  margin-top: 0;
}

.photo {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation-timing-function: linear;
}

.photo-back {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  background-color: white;
}

.photo-front {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-color: white;
  opacity: 0;
}


.photo {
  animation: fader 220s infinite;
}

@keyframes fader {
  0% { opacity: 0; }
  0.909% { opacity: 1; }
  5.454% { opacity: 1; }
  6.363% { opacity: 0; }
  100% { opacity: 0; }
}
.photo#img01 {
  background-image: url('./img/01.jpg');
}
.photo#img02 {
  background-image: url('./img/02.jpg');
  animation-delay: 10s;
  opacity: 0;
}
.photo#img03 {
  background-image: url('./img/03.jpg');
  animation-delay: 20s;
  opacity: 0;
}
.photo#img04 {
  background-image: url('./img/04.jpg');
  animation-delay: 30s;
  opacity: 0;
}
.photo#img05 {
  background-image: url('./img/05.jpg');
  animation-delay: 40s;
  opacity: 0;
}
.photo#img06 {
  background-image: url('./img/06.jpg');
  animation-delay: 50s;
  opacity: 0;
}
.photo#img07 {
  background-image: url('./img/07.jpg');
  animation-delay: 60s;
  opacity: 0;
}
.photo#img08 {
  background-image: url('./img/08.jpg');
  animation-delay: 70s;
  opacity: 0;
}
.photo#img09 {
  background-image: url('./img/09.jpg');
  animation-delay: 80s;
  opacity: 0;
}
.photo#img10 {
  background-image: url('./img/10.jpg');
  animation-delay: 90s;
  opacity: 0;
}
.photo#img11 {
  background-image: url('./img/11.jpg');
  animation-delay: 100s;
  opacity: 0;
}
.photo#img12 {
  background-image: url('./img/12.jpg');
  animation-delay: 110s;
  opacity: 0;
}
.photo#img13 {
  background-image: url('./img/13.jpg');
  animation-delay: 120s;
  opacity: 0;
}
.photo#img14 {
  background-image: url('./img/14.jpg');
  animation-delay: 130s;
  opacity: 0;
}
.photo#img15 {
  background-image: url('./img/15.jpg');
  animation-delay: 140s;
  opacity: 0;
}
.photo#img16 {
  background-image: url('./img/16.jpg');
  animation-delay: 150s;
  opacity: 0;
}
.photo#img17 {
  background-image: url('./img/17.jpg');
  animation-delay: 160s;
  opacity: 0;
}
.photo#img18 {
  background-image: url('./img/18.jpg');
  animation-delay: 170s;
  opacity: 0;
}
.photo#img19 {
  background-image: url('./img/19.jpg');
  animation-delay: 180s;
  opacity: 0;
}
.photo#img20 {
  background-image: url('./img/20.jpg');
  animation-delay: 190s;
  opacity: 0;
}
.photo#img21 {
  background-image: url('./img/21.jpg');
  animation-delay: 200s;
  opacity: 0;
}
.photo#img22 {
  background-image: url('./img/22.jpg');
  animation-delay: 210s;
  opacity: 0;
}

img.svg {
  filter: brightness(35%) invert(100%);
}

.container {
  display: flex;
  flex-direction: column;
  gap: 80vh;
}

.section {
  width: 100%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  padding: 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section#green {
  color: white;
  background-color: #6e806e;
}

.section#white {
  color: #6e806e;
  background-color: white;
}

.section#green a {
  color: white;
}

.section#white a {
  color: #6e806e;
}

.section > * {
  width: 75vw;
  max-width: 800px;
}

.section .div {
  display: grid;
  place-items: center;
  padding-block: 2em;
}

.section .div > .blank {
  grid-area: 1 / 1;
  height: 1em;
  width: 3em;
  border-radius: 50%;
}

.section#white .div > .blank {
  background-color: white;
}

.section#green .div > .blank {
  background-color: #6e806e;
}

.section .div > .line {
  grid-area: 1 / 1;
  height: 0.1em;
  width: 100%;
  max-width: 800px;
  border-radius: 50%;
}

.section#white .div > .line {
  background-color: #6e806e;
}

.section#green .div > .line {
  background-color: white;
}

.section .div > .svg {
  grid-area: 1 / 1;
  height: 1em;
}

.section#white .div > .svg {
  filter: invert(47%) sepia(33%) saturate(163%) hue-rotate(71deg)
    brightness(94%) contrast(91%);
}

.section.first {
  font-family: "wedding";
  font-size: clamp(4em, 8vw, 6em);
  min-height: 100vh;
}

.section.first .selo {
  max-height: 60vh;
}

.section.first .center {
  padding-top: 1em;
  display: flex;
  flex-direction: row;
  gap: 0.2em;
}

@media (max-width: 850px) {
  .section.first .center {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.section.first .center > span {
  flex: 1;
}

.section.first .center > .left {
  text-align: right;
}

.section.first .center > .right {
  text-align: left;
}

.section.first .center > img {
  width: 1em;
  flex-shrink: 0;
}

.map {
  width: 100%;
  max-width: 800px;
  height: 400px;

  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.map.standalone {
  margin: calc(-80vh + 64px) auto 64px auto;
}

.map > iframe {
  width: 100%;
  height: 100%;
  border: none;
}
