* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  transition: all 500ms ease;
}

h1,
h2,
h4 {
  margin: 0;
  transition: all 300ms ease;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: unset;
  transition: all 200ms ease;
}

a:visited {
  color: unset;
}

a {
  z-index: 1000;
}

ol li {
  width: 80% !important;
}

.slide {
  height: 100vh;
  z-index: 10;
}

@keyframes fadeIn {
  to {
    transform: translateY(0%);
    opacity: 100%;
  }
}

.one {
  background-image: url("./images/bg.jpg");
  background-color: rgba(0, 0, 0, 0.35);
  color: #efefef !important;
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
  background-blend-mode: darken;
  position: relative;
  background-attachment: scroll;
  z-index: 12;
}

.one > section {
  position: absolute;
  left: 10%;
  top: 50%;
  width: 600px;
  transform: translateY(-50%);
  max-width: 100%;
}

.one > section > h1 {
  display: flex;
  flex-direction: column;
  justify-content: center;

  font-weight: 700;
  font-size: 5em;

  margin-bottom: 0.5em;
}

.one > section > p {
  font-size: 1.1em;
  line-height: 1.6em;
  width: 70%;
  margin-bottom: 3em;
}

.register-btn {
  text-decoration: none;
  padding: 0.7em 1.8em;
  font-size: 1.1em;

  border: 1px solid #b7b7b7;
  border-radius: 30px;
  font-weight: 400;
  transition: 0.3s ease-in-out all;

  z-index: 100 !important;
}

.register-btn:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* .register-btn:hover {
  color: #f2c076;
  border-color: #f2c076;
} */

.other {
  position: relative;
}

.other h1 {
  color: rgb(245, 244, 244);
  font-size: 6em;
  position: absolute;
  text-transform: uppercase;
  left: 0;
  top: 0;
}

.other h2 {
  position: absolute;
  text-transform: lowercase;
  font-weight: bold;
  font-size: 3em;
  left: 0;
  top: 35px;
}

.other > .container {
  padding-top: 150px;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80%;
  height: 90%;
  transform: translateX(-50%) translateY(-50%);
}

.two > .container > .info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 150px;
}

.two > .container > .info > section {
  flex: 1;
}

.two > .container > .info > section > p {
  /* background-color: red; */
  margin-bottom: 50px;
}

.two > .container > .info > .data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.two > .container > .info > .data > p {
  font-size: 1.4em;
  font-weight: bold;
}

.three {
  height: 70vh;
}

.program img {
  width: 500px;
  max-width: 100%;
  border-radius: 30px;
}

.three > .container > .tracks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 150px;

  transition: color 50ms, opacity 800ms, transform 800ms ease;
}

.three > .container > .tracks > section {
  flex: 1;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;

  border-radius: 30px;
}

.three > .container > .tracks > section > h3 {
  font-size: 1.7em;
}

.three > .container > .tracks > section > img {
  width: 550px;
  max-width: 100%;
  border-radius: 30px;
}

.four {
  z-index: 100;
  min-height: fit-content;
  height: 130vh;
}

.four > .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  min-height: fit-content;
}

.four > .container > section {
  width: 500px;
}

.four > .container > section > p {
  margin-bottom: 50px;
}

.four > .container > .register {
  display: flex;
  justify-content: center;
}

.four > .container > section > h3 {
  font-size: 1.6em;
}

.four > .container > section > .price {
  font-size: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.five > .container > .storno {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 80px;
  column-gap: 0px;
  padding: 40px 0;
}

.five > .container > .storno > p {
  margin-top: 30px;
  width: 630px;
}

.five > .container > .storno > section {
  width: 40%;
}

.five > .container > .storno > section > h4 {
  margin: 20px 0px;
  font-size: 2em;
  font-weight: bold;
}

.last {
  height: 400px;
}

.last p {
  margin: 0;
  margin-bottom: 15px;
}

.last h4 {
  margin-bottom: 15px;
}

.last > .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.last > .container > .contact,
.links {
  color: #ccc;
  /* color: #171717; */
}

.last > .container > .icons i {
  font-size: 2em;
  margin: 0 5px;
}

/* global styles */

.empty-style {
  background: #e9e9e9;
  color: black;
}

.empty-style h1 {
  color: #dadada;
}

.empty-style .emphasis:hover {
  color: rgb(255, 136, 0);
}

.three-style {
  background: #73e6c7;
  color: #0a4132;
  /* background: #175b33; */
  /* color: #dff8e9; */
}

.three-style h1 {
  color: #7aeecf;
  /* color: #236a40; */
}

.four-style {
  background: #171717;
  color: #eeeeee;
  /* color: #171717;
  background: #eeeeee; */
}

.four-style h1 {
  color: #242424;
  /* color: #e3e3e3; */
}

.four-style .emphasis {
  color: #73e6c7;
  /* color: #175b33; */
}

.four-style .links a:hover {
  color: #73e6c7;
  /* color: #175b33; */
}

.bonus-style-1 {
  background: #f1d953;
  color: #393828;
  /* background: #f8b229; */
  /* color: #382705; */
}

.bonus-style-1 h1 {
  color: #ffe657;
  /* color: #fbc14c; */
}

.bonus-style-2 {
  background: #d97d7d; /* c64f97 */
  color: white;
  /* background: #bb2528; c64f97 */
  /* color: #fae8e8; */
}

.bonus-style-2 h1 {
  color: #d89393;
  /* color: #bd3b3d; */
}

.bonus-style-3 {
  background: rgb(123, 97, 196); /* c64f97 */
  color: white;

  /* background: #175b33; */
  /* color: #dff8e9; */
}

.bonus-style-3 h1 {
  color: rgb(142, 118, 208);

  /* color: #236a40; */
}

.bonus-style-3 .emphasis {
  color: #fde12d;

  /* color: #6ec894; */
}

.register-btn {
  color: white !important;
}

.bonus-style-3 .register-btn {
  /* background: #6ec894; */
  color: #072b16;
}

.bonus-style-3 .register-btn:hover {
  background-color: #fde12d;
  color: rgb(71, 49, 134) !important;
  border-color: #fde12d;

  /* border-color: #6ec894;
  background-color: #6ec894;
  color: #11291b; */
}

.hide {
  opacity: 0;
  transform: translateY(40px);
}

.show {
  opacity: 1;
}

/* special */

.jv:hover {
  color: rgb(255, 136, 0) !important;
}

#storno {
  cursor: pointer;
}

#flow {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

.logo-bg {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: white;
  z-index: 15;
  animation: moveLeft 1.3s ease forwards 3.8s, hide 0.1s forwards 5.6s;
  /* animation: moveLeft 0.1s ease forwards; */
}

.logo {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 20;
}

.za {
  stroke-dasharray: 477px;
  stroke-dashoffset: 477px;
  animation: line-animation 1.2s forwards, moveLeft 1.6s ease forwards 4s,
    hide 0.1s forwards 5.6s;
}

.circle {
  stroke-dasharray: 927px;
  stroke-dashoffset: 927px;
  transform: translateX(calc(-50% - 2px)) translateY(calc(-50% + 18px));
  animation: line-animation 1.2s forwards 1.7s, moveLeft 1.6s ease forwards 4s,
    hide 0.1s forwards 5.6s;
}

.pal {
  stroke-dasharray: 34px;
  stroke-dashoffset: 34px;
  transform: translateX(12px) translateY(-50%);
  animation: line-animation 0.5s forwards 0.7s, moveLeft 1.6s ease forwards 4s,
    hide 0.1s forwards 5.6s;
}

.text {
  stroke-dasharray: 927px;
  transform: translateX(-50%) translateY(40px);
  opacity: 0;
  animation: show 0.7s forwards 1.1s, moveLeft 1.6s ease forwards 4s,
    hide 0.1s forwards 5.6s;
}

@keyframes line-animation {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes show {
  to {
    opacity: 1;
    transform: translateX(-49.5%) translateY(67px);
  }
}

@keyframes moveLeft {
  to {
    left: -130%;
    right: 100%;
  }
}

@keyframes hide {
  to {
    display: none;
  }
}

.logo-small {
  cursor: pointer;
  position: fixed;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 11;
}

@keyframes moveRight {
  to {
    left: 75%;
  }
}

#intro-santa {
  position: absolute;
  left: -20%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 500px;
  height: 500px;
  animation: moveRight 5.5s ease-out forwards 0.2s;
}

@keyframes loadDetail {
  to {
    width: 100%;
  }
}

#heading-detail {
  width: 0%;
  overflow: hidden;
  white-space: nowrap;
  animation: loadDetail 2.5s ease-out forwards 1s;
  font-weight: 300;
}

.desc-intro {
  transform: translateY(50%);
  opacity: 0%;
  animation: fadeIn 1s ease-out forwards 4s;
}

.wider {
  background-color: rgb(133, 195, 170) !important;
}

.wider > section {
  width: 800px;
}

.wider > section > p {
  font-size: 1.1em;
  line-height: 1.6em;
  width: 70%;
  margin-bottom: 1em;
}

.wider ol {
  font-size: 1.1em;
  line-height: 1.6em;
  /* background: red; */
}

#special-link {
  text-decoration: underline;
  transition: 0.3s ease all;
  /* border-radius: 10px; */
  /* background: linear-gradient(270deg, #f3b2b3, #f36365); */
}

#special-link:hover {
  text-decoration-color: rgb(43, 138, 100);
  text-decoration-thickness: 3px;
}

ol {
  list-style-type: none;
}

#unset-color {
  color: unset !important;
}

.register-btn.intro {
  opacity: 0;
  transform: translateY(50%);
  color: #1e1616;

  border: 1px solid rgb(239, 185, 186);
  background-color: #f19c9d;
  transition: 0.3s ease-in-out all;
  animation: fadeIn 1s ease-out forwards 4.5s;
}

.register-btn.intro:hover {
  background-color: #ec7577;
}

#tree {
  position: absolute;
  left: 75%;
  top: 50%;
  width: 400px;
  transform: translateX(-50%) translateY(-50%);
}

@media screen and (max-width: 1280px) {
  .wider section {
    width: 550px;
  }

  ol {
    padding-left: 10px;
  }
  #tree {
    width: 300px;
    left: 80%;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    max-width: 95%;
  }

  .logo-small {
    display: none;
  }

  .one {
    background: rgba(0, 0, 0, 0.35) url("./images/bg.jpg");
    /* background-color: #f3b2b3; */
    background-position: right;
    background-size: cover;
    background-blend-mode: darken;
  }

  .one > section > h1 {
    font-size: 2em;
  }

  .one > section > p {
    font-size: 1em;
    line-height: 1.6em;
    width: 300px;
  }

  .other {
    position: relative;
    height: 800px;
    display: block;
  }

  .other > .container {
    height: unset;
  }

  .two {
    margin-top: 0px;
    padding-top: 0px;
    /* margin-bottom: 50px; */
  }

  .two > .container > .info {
    display: block;
  }

  .two > .container > .info > section > p {
    margin-top: 0px;
  }

  .two > .container > .info > section > iframe {
    width: 100%;
  }

  .two > .container > .info > .data {
    display: block;
    margin-top: 45px;
  }

  .two > .container > .info > .data > p {
    font-size: 1.4em;
    font-weight: normal;
    margin: 15px 0;
  }

  .three > .container > .tracks {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .change-order {
    flex-direction: column-reverse !important;
    align-items: center;
    gap: 0;
  }

  .three > .container > .tracks > section {
    flex: 1;
    /* height: 300px; */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;

    border-radius: 30px;
  }

  .program > .container > .info > section {
    margin-bottom: 45px;
  }

  .program {
    margin-bottom: 0;
    margin-top: 100px;
    height: 800px;
  }

  img {
    width: 100% !important;
    border-radius: 15px;
  }

  .four {
    margin-bottom: 250px;
    margin-top: 130px;
  }

  .last {
    display: block;
    padding-bottom: 900px;
  }

  .last .links {
    margin-top: 20px;
  }

  .last > .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }

  .other h1 {
    font-size: 3em;
    width: 100%;
    position: static;
  }

  .other h2 {
    transform: translateY(-45px);
    position: static;
  }

  html,
  body {
    overflow-x: hidden;
  }

  body {
    overflow-y: hidden;
  }

  .storno-big {
    height: 1000px;
  }

  .countdown,
  .reg-start {
    font-size: 3em !important;
  }

  .timer {
    margin-bottom: 25px !important;
  }

  #intro-santa {
    left: -30%;
    width: 300px !important;
    animation: moveRight 5.5s ease-out forwards 0.7s;
  }

  @keyframes moveRight {
    to {
      left: 140%;
    }
  }

  .wider > section {
    width: 300px;
  }

  .wider p {
    margin: 25px 0;
  }

  ol {
    padding-left: 10px;
  }

  #tree {
    display: none;
  }

  #heading-detail {
    animation: loadDetail 3.5s ease-out forwards 1.5s;
  }

  /* #intro-santa {
    position: absolute;
    left: -20%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 500px;
    height: 500px;
    animation: moveRight 5.5s ease-out forwards 0.2s;
  } */
}

.no-wrap {
  white-space: nowrap;
}

.countdown {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(30, 30, 30);
  color: rgb(212, 212, 212);
  font-size: 6em;
  z-index: 13;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.timer {
  margin-bottom: 65px;
  text-align: center;
}

.loading {
  width: 70%;
  height: 35px;
  border-radius: 20px;
  background-color: rgb(26, 26, 26);
  position: relative;
  overflow: hidden;
}

.loading-inside {
  position: absolute;

  background: -moz-linear-gradient(
    45deg,
    rgb(241, 25, 104),
    rgb(57, 24, 204),
    rgb(21, 210, 253),
    rgb(14, 233, 192)
  ); /* FF 3.6+ */
  background: -ms-linear-gradient(
    45deg,
    rgb(241, 25, 104),
    rgb(57, 24, 204),
    rgb(21, 210, 253),
    rgb(14, 233, 192)
  ); /* IE10 */
  background: -webkit-linear-gradient(
    45deg,
    rgb(241, 25, 104),
    rgb(57, 24, 204),
    rgb(21, 210, 253),
    rgb(14, 233, 192)
  ); /* Safari 5.1+, Chrome 10+ */
  background: -o-linear-gradient(
    45deg,
    rgb(241, 25, 104),
    rgb(57, 24, 204),
    rgb(21, 210, 253),
    rgb(14, 233, 192)
  ); /* Opera 11.10 */

  background: linear-gradient(
    45deg,
    rgb(241, 25, 104),
    rgb(57, 24, 204),
    rgb(21, 210, 253),
    rgb(14, 233, 192)
  );

  z-index: 1;

  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.hidden {
  height: 0px !important;
}

.fade-out {
  animation: fade-out 3s forwards;
}

.limit-width {
  max-width: 80vw;
}

.reg-start {
  z-index: 50;
  position: fixed;
  /* background-color: rgb(30, 30, 30); */
  color: rgb(212, 212, 212);

  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 5em;
  gap: 30px;
  font-weight: bold;
}

.reg-start > * {
  opacity: 0;
}

.strong {
  font-weight: bold;
}

/* prom */

.prom-main {
  background-color: #211e52;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: fixed;
}

#prom-header {
  position: fixed;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#prom-lights-1 {
  position: fixed;
  width: 80%;
  /* top: 50%; */
  transform: translateX(-40%) translateY(50);
}

/* envelope */

.wrapper {
  height: 400px;
  width: 600px;
  background-color: #3a2e6b;
  position: fixed;
  display: flex;
  justify-content: center;
  z-index: 100;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  cursor: pointer;
  box-shadow: rgba(242, 219, 176, 0.3) 0px 0px 100px 30px;
  animation: flick 2.5s linear infinite forwards;
}

.lid {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  border-right: 300px solid transparent;
  border-bottom: 200px solid transparent;
  border-left: 300px solid transparent;
  transform-origin: top;
  transition: transform 0.25s linear;
}

/* Lid when closed */
.lid.one {
  border-top: 200px solid #3a2e6b;
  transform: rotateX(0deg);
  z-index: 3;
  transition-delay: 0.75s;
}

/* Lid when opened */
.lid.two {
  border-top: 200px solid #3a2e6b;
  transform: rotateX(90deg);
  z-index: 1;
  transition-delay: 0.5s;
}

.envelope {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  border-top: 200px solid transparent;
  border-right: 300px solid #5b4e8c;
  border-bottom: 200px solid #5b4e8c;
  border-left: 300px solid #493d7a;
  z-index: 3;
}

.letter {
  position: absolute;
  top: 0;
  width: 80%;
  height: 80%;
  background-color: #211e52;
  border-radius: 15px;
  z-index: 2;
  transition: 0.5s;
}

.wrapper:hover .lid.one {
  transform: rotateX(90deg);
  transition-delay: 0s;
}

.wrapper:hover .lid.two {
  transform: rotateX(180deg);
  transition-delay: 0.25s;
}

.wrapper:hover .letter {
  transform: translateY(-50px);
  transition-delay: 0.5s;
}

#invite {
  width: 100%;
  border-radius: 15px;
}

.bg-with-flicker {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.85);
}

#skip-prom {
  color: white;
  position: fixed;
  top: 80%;
  left: 50%;
  z-index: 151;
  transform: translateX(-50%);
  text-align: center;
  cursor: pointer;
}

#stars {
  width: 100%;
  height: 100%;
  animation: starling 4s linear infinite forwards;
  object-fit: cover;
  transition: transform 0.15s cubic-bezier(0.52, 1.12, 0.67, 0.93);
}

@keyframes flick {
  0% {
    box-shadow: rgba(242, 219, 176, 0.15) 0px 0px 100px 50px;
  }
  50% {
    box-shadow: rgba(242, 219, 176, 0.4) 0px 0px 100px 50px;
  }
  100% {
    box-shadow: rgba(242, 219, 176, 0.15) 0px 0px 100px 50px;
  }
}

@keyframes starling {
  0% {
    opacity: 75%;
  }
  50% {
    opacity: 45%;
  }
  100% {
    opacity: 75%;
  }
}

@media screen and (max-width: 767px) {
  .wrapper {
    height: 200px;
    width: 300px;
  }

  .lid {
    border-right: 150px solid transparent;
    border-bottom: 100px solid transparent;
    border-left: 150px solid transparent;
  }

  .lid.one {
    border-top: 100px solid #3a2e6b;
  }

  .lid.two {
    border-top: 100px solid #3a2e6b;
  }

  .envelope {
    border-top: 100px solid transparent;
    border-right: 150px solid #5b4e8c;
    border-bottom: 100px solid #5b4e8c;
    border-left: 150px solid #493d7a;
  }
}

#tree {
  z-index: 50;
}
