/* qt fonts */
.rubik-puddles-regular {
  font-family: "Rubik Puddles", system-ui;
  font-weight: 400;
  font-style: normal;
}

.freckle-face-regular {
  font-family: "Freckle Face", system-ui;
  font-weight: 400;
  font-style: normal;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
}

img:not(.logo):not(.teaser) {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  justify-content: center;
  object-fit: cover;
}

#all {
  height: 600px;
}

/* header baby */
header {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #275adb;
  background: linear-gradient(0deg, rgba(39, 90, 219, 1) 0%, rgba(253, 187, 45, 0) 100%);

  h1 {
    font-family: "Freckle Face", system-ui;

    font-size: 60px;
    color: #35fc00;
    -webkit-text-stroke: 0.1px black;
    margin-top: 0.5%;
    animation: heartbeat 3s infinite;
  }

  h3 {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
  }

  img {
    position: relative;
    width: 15%;
  }
}

.sticky-header {
  position: sticky;
  top: 0;
  background-color: transparent;
  z-index: 1000;
  padding: 10px;
}

.sticky-header img {
  width: 15%;
  display: block;
  margin: 0 auto;
}

.sticky-header h1,
.sticky-header h3 {
  text-align: center;
  margin: 5px 0;
}

/* crucial content */
main {
  display: flex;
  width: 100%;
  height: 69vh;
  background: #275adb;
  color: white;
  border-top: solid;
  font-family: 'Courier New', Courier, monospace;

  .left {
    width: 45%;
    padding: 1%;
    background: #275adb;
    overflow-y: scroll;
  }

  .left::-webkit-scrollbar {
    width: 10px;
    background: #275adb;
  }

  .left::-webkit-scrollbar-thumb {
    background: black;
  }

  h1:first-child {
    margin-top: 0;
  }

  .right {
    border: none;
  }
}

#default {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.tab {
  display: flex;

  p {
    margin: 0;
    line-height: 2;
  }
}

.tab-button {
  padding: 5px;
  border: 1px solid #35fc00;
  color: #35fc00;
  background-color: transparent;
  cursor: pointer;
  border-radius: 5px;
  margin-right: 1%;
  font-weight: bold;
}

.tab-button:hover {
  color: black;
  background-color: #35fc00;
  border: solid black;
}

.tab-button.active {
  background-color: #35fc00;
  font-weight: bold;
  color: black;
  border: solid black;
}

.right {
  width: 55%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.tab-content {
  overflow: scroll;
  height: 100%;
}

.content-wrapper {
  display: flex;
  height: 100%;

  .content {
    width: 50%;
    height: auto;
    margin: 0.3%;
    padding: 5px;
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid;
    text-align: left;

    h1,
    h3 {
      margin: 0.5% 0;
      text-align: center;
    }

    p {
      width: 100%;
      margin: 0;
      padding: 0;
      word-wrap: break-word;
      white-space: normal;
      text-align: justify;
    }

    ul {
      width: 100%;
    }

    a:not(.rsvp-btn a) {
      color: #35fc00;
    }
  }

  .content::-webkit-scrollbar {
    width: 10px;
    background: #275adb;
  }

  .content::-webkit-scrollbar-thumb {
    background: black;
  }
}

.content h3:last-child {
  margin-bottom: 20px !important;
}

.rsvp-btn {
  width: 100%;
  background-color: #35fc00;
  text-align: center;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rsvp-btn:hover {
  font-weight: 900;
  border: solid 2px !important;
}


/* fun footer */
footer {
  position: relative;
  bottom: 0;
  width: 100%;
  color: blue;
  padding: 3% 0 1% 0;
  overflow: hidden;
  background: #275adb;
  background: linear-gradient(0deg, rgba(39, 90, 219, 0) 0%, rgba(39, 90, 219, 1) 100%);
}

.marquee {
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
}

/* animations */
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}