* {
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #3c0703;

  display: flex;
  flex-direction: column;
  
  justify-content: center;
  align-items: center;
}

.hero-title {
  position: relative;
  width: 100%;
  min-height: 420px;

  display: flex;
  justify-content: center;
  align-items: center;

  margin-bottom: 50px;
  overflow: visible;
}


.lace-bg {
  position: absolute;
  width: 520px;
  max-width: 150%;


  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;

  width: 80%;
  max-width: 420px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  text-align: center;
  color: #3c0703;
}


.welcome-frame {
  position: relative;
  width: 100%;
  min-height: 200px;

  display: flex;
  justify-content: center;
  align-items: center;

  margin: 20px auto 40px;
}


  /* Filter som gir png perfect farge
  
    filter: brightness(0) saturate(100%)
    invert(12%)
    sepia(45%)
    saturate(3100%)
    hue-rotate(338deg)
    brightness(78%)
    contrast(105%); */


.welcome-content {
font-family: "Pinyon Script", cursive;

  position: relative;
  z-index: 1;

  width: 70%;
  max-width: 250px;
  margin: 0 auto;

  color: #7b1425;
  font-size: 25px;
  line-height: 1.5;
  text-align: center;
  transform: translateY(-40px);
  
}

.welcome-content p {
  margin: 0;
}
.invitation {
  width: min(100% - 32px, 520px);
  min-height: 100vh;
  margin: 0 auto;

  background-color: #f7f3ea;
  background-image: url("images/floral.png");
  background-size: 520px auto;
  background-position: top center;
  background-repeat: repeat-y;

  padding: 60px 40px;
  text-align: center;
}

.section-divider {
  display: block;
  width: 350px;
  max-width: 60%;
  margin: 20px auto 30px;

  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(9%) sepia(48%) saturate(2924%) hue-rotate(342deg) brightness(84%) contrast(101%);
  margin: -80px auto -60px;

}

.section-divider-flipped {
  display: block;
  width: 350px;
  max-width: 60%;
  margin: 20px auto 30px;

  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(9%) sepia(48%) saturate(2924%) hue-rotate(342deg) brightness(84%) contrast(101%);
  margin: -100px auto -60px;

}
.couple-img {
  display: block;
  width: min(100%, 520px);
  margin: 30px auto 0;
}

.story-section {
  width: 100%;
  padding: 70px 0 40px;
  background-color: transparent;
  color: #2f211c;
  text-align: center;
}

.section-label {
  color: #7b1425;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
}

.story-section h2 {
  margin: 0 0 12px;
  color: #7b1425;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  font-family: MonteCarlo;
}

.story-section h4 {
  margin: 0 0 30px;
  font-weight: 550;

  font-size: 20px;
  line-height: 1.4;
  color: #500e19;
  font-family: MonteCarlo;

}

.comic {
  width: min(100%, 450px);
  margin: 0 auto;
  padding: 20px 0;
  background-color: transparent;
}

/* skjuler radio-knappene */.comic {
  width: min(90vw, 450px);
  margin: 0 auto;
  padding: 40px 24px;
  background-color: transparent;
}

/* skjuler radio-knappene */
.comic input {
  display: none;
}

/* bilde + bobler ligger inni denne */
.comic-image-area {
  position: relative;
  width: 100%;
}

.couple-img {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: 0 auto;
}

/* bobleområdet ligger oppå bildet */
.speech-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* alle boblene er skjult først */
.bubble {
  display: none;

  position: absolute;
  width: 230px;
  padding: 18px 22px;

  background-color: #fffaf1;
  border: 2px solid #7b1425;
  border-radius: 24px;

  color: #3c0703;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;

  box-shadow: 0 6px 0 rgba(123, 20, 37, 0.18);

  pointer-events: auto;
}
.bubble::after {
  content: "";
  position: absolute;
  bottom: -12px;

  width: 20px;
  height: 20px;

  background-color: #fffaf1;
  border-right: 2px solid #7b1425;
  border-bottom: 2px solid #7b1425;

  transform: rotate(45deg);
}

.step1::after,
.step3::after,
.step5::after,
.step7::after,
.step9::after {
  left: 45px;
}

.step2::after,
.step4::after,
.step6::after,
.step8::after {
  right: 45px;
}

.bubble p {
  margin: 0 0 12px;
}

.bubble label {
  color: #7b1425;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}

/* bobler på venstre side */
.step1,
.step3,
.step5,
.step7,
.step9,
.step10 {
  top: 120px;
  left: 20px;
}

/* bobler på høyre side */
.step2,
.step4,
.step6,
.step8 {
  top: 100px;
  right: 80px;
}

/* viser riktig boble */
#step1:checked ~ .comic-image-area .step1,
#step2:checked ~ .comic-image-area .step2,
#step3:checked ~ .comic-image-area .step3,
#step4:checked ~ .comic-image-area .step4,
#step5:checked ~ .comic-image-area .step5,
#step6:checked ~ .comic-image-area .step6,
#step7:checked ~ .comic-image-area .step7,
#step8:checked ~ .comic-image-area .step8,
#step9:checked ~ .comic-image-area .step9,
#step9:checked ~ .comic-image-area .step10
{
  display: block;
}

.names {
  padding: 0;
  margin: 0;

  background-color: transparent;
  border: none;

  color: #3c0703;
  text-align: center;
  font-family: "Pinyon Script", cursive;
  margin: 90px auto 3px;

}

.dato{
  margin: 12px 0;
  font-size: 15px;
  line-height: 1;
  color: #3c0703;
  font-family: "Pinyon Script", cursive;
  margin: 60px auto 30px;


}
.names-divider {
  display: block;
  width: 120px;
  max-width: 50%;
  transform: rotate(90deg);
  margin: 20px auto 30px;

  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(9%) sepia(48%) saturate(2924%) hue-rotate(342deg) brightness(84%) contrast(101%);
  margin: -60px auto -50px;

}
.names p {
  margin: 12px 0;
  font-size: 48px;
  line-height: 1;
    font-family: "Pinyon Script", cursive;
  font-size: 64px;
}

.names span {
  display: block;
  margin: 12px 0;
  font-size: 32px;
}

.small-title{
  margin: 12px 0;
  font-family: "Pinyon Script", cursive;
  font-size: 20px;
  line-height: 1;
  color: #3c0703;
  

}



.info-frame {
  position: relative;
  width: 100%;
  min-height: 520px;

  display: flex;
  justify-content: center;
  align-items: center;

  margin: 30px auto 60px;

}


/* All informasjonen */
.info-content {
  position: relative;
  z-index: 1;

  width: 72%;
  max-width: 360px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 22px;

  color: #7b1425;
  text-align: center;
}

/* Hver informasjonsdel */
.info-item {
  padding: 4px;
}

.info-item h3 {
  margin: 0 0 8px;

  font-family: "MonteCarlo";
  font-size: 35px;
  font-weight: 500;
  letter-spacing: 1px;
  
}

.info-item p {
  margin: 3px 0;

  font-family: "MonteCarlo";
  font-size: 27px;
  line-height: 1.5;
}

.small-title2{
  margin: 12px 0;
  font-size: 40px;
  line-height: 1;
  color: #7b1425;
  font-family: "MonteCarlo";

}

.kart {
  width: 100%;
  margin: 60px auto 0;
  padding: 20px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 18px;

  background-color: #ffffff00;
  border-radius: 30px;

  color: #3c0703;
  overflow: hidden;
}

.kart iframe {
  width: 100%;
  height: 220px;
  border-radius: 20px;
}

/* høyre side: boble + figur */
.map-note {
  position: relative;
  min-height: 220px;

  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* tekstboblen */
.map-bubble {
  position: absolute;
  top: 35px;
  left: 0;

  width: 180px;
  padding: 14px 16px;

  background-color: #fffaf1;
  border: 2px solid #7b1425;
  border-radius: 24px;

  color: #3c0703;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;

  box-shadow: 0 6px 0 rgba(123, 20, 37, 0.18);
}

.map-bubble p {
  margin: 0;
}

/* liten hale på boblen */
.map-bubble::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 45px;

  width: 20px;
  height: 20px;

  background-color: #fffaf1;
  border-right: 2px solid #7b1425;
  border-bottom: 2px solid #7b1425;

  transform: rotate(45deg);
}

/* figuren */
.map-character {
  position: absolute;
  width: 85px;
  filter: brightness(0) saturate(100%) invert(9%) sepia(48%) saturate(2924%) hue-rotate(342deg) brightness(84%) contrast(101%);

  top: 120px;
  right: 100px;
}

.box {
  width: 50%;
  max-width: 220px;
}

.location {
  font-size: 36px;
  margin: 0 0 12px;
  color: #3c0703;
}

.location-info {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: #3c0703;
}
.small-title3{
    margin: 12px 0;
  font-size: 30px;
  line-height: 1;
  color: #7b1425;
}

.small-title4 {
  display: inline-block;
  margin: 12px 0 20px;
  font-size: 15px;
  line-height: 1;
  color: #7b1425;
  text-decoration: none;
}
.small-title4:hover {
  text-decoration: underline;
}


.rsvp-section {
  width: min(100%, 460px);
  margin: 70px auto;
  padding: 42px 30px;

  display: flex;
  flex-direction: column;

  background-color: rgba(255, 250, 241, 0.681);
  
  border: 1px solid rgba(123, 20, 37, 0.45);
  border-radius: 22px;

  color: #541015;
  text-align: left;

  box-shadow: 0 14px 40px rgba(60, 7, 3, 0.12);
}

.rsvp-label {
  margin: 0 0 12px;

  font-family: "Roboto Slab", serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-align: center;
  text-transform: uppercase;
}

.rsvp-section h2 {
  max-width: 320px;
  margin: 0 0 36px;

  font-family: "Pinyon Script", cursive;
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  color: #7b1425;
  text-align: center;

}

.rsvp-form {
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
}

.form-group > label,
.form-group legend {
  display: block;
  margin-bottom: 10px;

  font-family: "Roboto Slab", serif;
  font-size: 13px;
  color: #541015;
}

.rsvp-form input[type="text"],
.rsvp-form textarea {
  display: block;
  width: 100%;
  padding: 15px 16px;

  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(123, 20, 37, 0.45);
  border-radius: 8px;

  color: #3c0703;
  font-family: "Roboto Slab", serif;
  font-size: 14px;
}

.rsvp-form textarea {
  min-height: 100px;
  line-height: 1.5;
  resize: vertical;
}

.rsvp-form input[type="text"]:focus,
.rsvp-form textarea:focus {
  outline: 2px solid rgba(123, 20, 37, 0.18);
  outline-offset: 3px;
}

.attendance-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice-card {
  position: relative;

  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;

  background-color: rgba(123, 20, 37, 0.08);
  border: 1px solid transparent;
  border-radius: 8px;

  cursor: pointer;
}

.choice-card input {
  margin: 0 12px 0 0;
  accent-color: #7b1425;
}

.choice-card span {
  font-family: "Roboto Slab", serif;
  font-size: 13px;
  line-height: 1.4;
}

.choice-card:has(input:checked) {
  background-color: rgba(123, 20, 37, 0.16);
  border-color: #7b1425;
}

.rsvp-form button {
  width: 100%;
  padding: 15px 20px;

  background-color: #7b1425;
  border: none;
  border-radius: 999px;

  color: #fffaf1;
  font-family: "Roboto Slab", serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;

  cursor: pointer;
}

.rsvp-form button:hover {
  background-color: #3c0703;
}

/* Mobil */@media (max-width: 600px) {

  body {
    display: block;
    width: 100%;
    overflow-x: hidden;
  }

  .invitation {
    width: calc(100% - 24px);
    max-width: none;
    min-height: 100vh;

    margin: 0 auto;
    padding: 30px 16px;

    background-size: 100% auto;
    background-position: top center;
    background-repeat: repeat-y;
  }

  /* Øverste del */

  .hero-title {
    width: 100%;
    min-height: 390px;
    margin: 0 0 20px;
    overflow: hidden;
  }

  .lace-bg {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hero-content {
    width: 85%;
    max-width: 340px;
  }

  .names {
    margin: 45px auto 0;
  }

  .names p {
    margin: 5px 0;
    font-size: clamp(48px, 16vw, 64px);
  }

  .names span {
    margin: 4px 0;
    font-size: 26px;
  }

  .dato {
    margin: 30px auto 0;
    font-size: 14px;
    line-height: 1.3;
  }

  .welcome-content {
    width: 90%;
    max-width: 320px;
    margin: 25px auto;
    font-size: 24px;
    line-height: 1.35;
    transform: none;
  }

  /* Dekorative skillelinjer */

  .section-divider,
  .section-divider-flipped {
    width: 180px;
    max-width: 55%;
    height: auto;
    margin: -30px auto;
  }

  .names-divider {
    width: 100px;
    max-width: 35%;
    height: auto;
    margin: -55px auto -45px;
  }

  .small-title2 {
    margin: 40px 0 10px;
    font-size: 26px;
  }

  /* Informasjonsramme */

  .info-frame {
    width: 100%;
    min-height: 560px;
    margin: 10px auto 50px;
  }

  .info-border {
    width: 108%;
    max-width: none;
    height: 100%;
    object-fit: fill;
  }

  .info-content {
    width: 78%;
    max-width: 340px;

    grid-template-columns: 1fr 1fr;
    gap: 26px 12px;
  }

  .info-item {
    min-width: 0;
    padding: 2px;
  }

  .info-item h3 {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 0.7px;
  }

  .info-item p {
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  /* Historiedel */

  .story-section {
    width: 100%;
    padding: 45px 0 30px;
  }

  .story-section h2 {
    margin: 0 auto 12px;
    max-width: 330px;

    font-size: clamp(42px, 13vw, 58px);
    line-height: 1.05;
  }

  .story-section h4 {
    max-width: 300px;
    margin: 0 auto 35px;

    font-size: 15px;
    line-height: 1.4;
  }

  .comic {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .comic-image-area {
    width: 100%;
  }

  .couple-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .bubble {
    width: calc(100% - 30px);
    max-width: 330px;
    padding: 15px 18px;

    font-size: 15px;
    line-height: 1.4;
  }

  .step1,
  .step3,
  .step5,
  .step7,
  .step9,
  .step10 {
    top: 20px;
    left: 15px;
    right: auto;
  }

  .step2,
  .step4,
  .step6,
  .step8 {
    top: 20px;
    left: auto;
    right: 15px;
  }

  /* Kart */

  .small-title3 {
    margin: 45px 0 20px;
    font-size: 32px;
  }

  .kart {
    width: 100%;
    margin: 0 auto;
    padding: 0;

    grid-template-columns: 1fr;
    gap: 20px;

    overflow: visible;
  }

  .kart iframe {
    display: block;
    width: 100%;
    height: 260px;
    border-radius: 16px;
  }

  .map-note {
    width: 100%;
    min-height: 210px;
  }

  .map-bubble {
    top: 10px;
    left: 50%;

    width: min(210px, 80%);
    transform: translateX(-50%);
  }

  .map-character {
    top: 115px;
    right: 50%;

    width: 80px;
    transform: translateX(50%);
  }

  /* RSVP */

  .rsvp-section {
    width: 100%;
    margin: 60px auto 20px;
    padding: 34px 20px;
    border-radius: 22px;
  }

  .rsvp-label {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .rsvp-section h2 {
    width: 100%;
    max-width: none;
    margin: 0 0 32px;

    font-size: clamp(48px, 15vw, 62px);
    line-height: 1;
    text-align: center;
  }

  .rsvp-form {
    gap: 25px;
  }

  .form-group > label,
  .form-group legend {
    font-size: 15px;
  }

  .rsvp-form input[type="text"],
  .rsvp-form textarea {
    font-size: 16px;
  }

  .choice-card {
    min-height: 60px;
    padding: 15px;
  }

  .choice-card span {
    font-size: 15px;
  }
}

@media (max-width: 600px) {

  /* Gjør toppdelen mindre høy */
  .hero-title {
    min-height: 330px;
    margin-bottom: 0;
  }

  /* Flytt datoen litt nærmere rammen */
  .dato {
    margin: 15px auto 0;
  }

  /* Skillelinjene skal ikke lage store tomrom */
  .section-divider,
  .section-divider-flipped {
    width: 180px;
    max-width: 60%;
    margin: 10px auto;
    transform: none;
  }

  /* Velkomstteksten */
  .welcome-content {
    margin: 20px auto;
    transform: none;
  }

  /* Overskriften over info-delen */
  .small-title2 {
    margin: 35px 0 15px;
  }

  /* Informasjonsrammen */
  .info-frame {
    min-height: 520px;
    margin: 0 auto 40px;
  }
}

@media (max-width: 600px) {

  /* Hele toppområdet må ha nok plass til rammen */
  .hero-title {
    position: relative;
    width: 100%;
    min-height: 620px;
    margin: 0 auto 20px;
    overflow: visible;
  }

  /* Gjør rammen større */
  .lace-bg {
    position: absolute;

    width: 135%;
    max-width: none;
    height: auto;

    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    object-fit: contain;
    z-index: 0;
  }

  /* Innholdet inni rammen */
  .hero-content {
    position: relative;
    z-index: 1;

    width: 82%;
    max-width: 340px;
    min-height: 520px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin: 0 auto;
    padding-top: 30px;
  }

  .names {
    margin: 0 auto;
  }

  .names p {
    margin: 8px 0;
    font-size: clamp(56px, 17vw, 72px);
    line-height: 0.95;
  }

  .names span {
    margin: 8px 0;
    font-size: 28px;
  }

  .names-divider {
    width: 115px;
    max-width: none;

    margin: -45px auto -55px;

    transform: rotate(90deg);
  }

  .dato {
    margin: 35px auto 0;
    font-size: 16px;
    line-height: 1.25;
  }

  /* Første divider */
  .section-divider {
    display: block;

    width: 250px;
    max-width: none;
    height: auto;

    margin: -60px auto 20px;

    transform-origin: center;
  }

  /* Andre divider */
  .section-divider-flipped {
    display: block;

    width: 250px;
    max-width: none;
    height: auto;

    margin: 20px auto -20px;

    transform: rotate(-90deg);
    transform-origin: center;
  }

  .welcome-content {
    width: 90%;
    max-width: 350px;

    margin: 15px auto;
    transform: none;

    font-size: 25px;
    line-height: 1.35;
  }
}

@media (max-width: 600px) {

  .hero-content {
    padding-top: 85px;
    justify-content: flex-start;
  }

  .names {
    margin-top: 55px;
  }

.dato {
  margin-top: -25px;
}
}
@media (max-width: 600px) {
  .section-divider,
  .section-divider-flipped {
    display: block;

    width: 100%;
    max-width: 360px;
    height: 65px;

    margin: 18px auto;

    object-fit: cover;
    object-position: center;

    transform: none;
  }

  .section-divider-flipped {
    transform: rotate(180deg);
  }
}



@media (max-width: 600px) {
  .info-frame {
    min-height: 0;
    height: auto;
    margin: 25px auto 55px;
  }

  .info-content {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;

    grid-template-columns: 1fr 1fr;
    gap: 34px 18px;
  }

  .info-item {
    padding: 0;
  }

  .info-item h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.2;
  }

  .info-item p {
    margin: 4px 0;
    font-size: 15px;
    line-height: 1.45;
  }

  .story-section {
    padding-top: 45px;
  }
}

.music-toggle {
  position: fixed;
  right: 22px;
  top: 22px;
  z-index: 9999;

  width: 52px;
  height: 52px;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0;

  background-color: rgba(255, 250, 241, 0.92);
  border: 1px solid rgba(123, 20, 37, 0.55);
  border-radius: 50%;

  color: #7b1425;
  font-family: serif;
  font-size: 26px;

  box-shadow: 0 6px 18px rgba(60, 7, 3, 0.2);
  cursor: pointer;
}

.music-toggle:hover {
  background-color: #fffaf1;
}

.music-toggle:focus-visible {
  outline: 3px solid rgba(123, 20, 37, 0.3);
  outline-offset: 3px;
}

.music-toggle.is-playing .music-icon {
  animation: music-pulse 1.5s ease-in-out infinite;
}

@keyframes music-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

@media (max-width: 600px) {
  .music-toggle {
    right: 18px;
    bottom: 90px;

    width: 48px;
    height: 48px;

    font-size: 23px;
  }
}
.music-icon {
  position: relative;
  display: inline-block;
  font-size: 28px;
  line-height: 1;
}

.music-toggle:not(.is-playing) .music-icon::after {
  content: "";
  position: absolute;

  width: 30px;
  height: 2px;

  top: 50%;
  left: 50%;

  background-color: currentColor;
  transform: translate(-50%, -50%) rotate(-45deg);
  border-radius: 999px;
}


/* Kun PC/laptop */
@media (min-width: 601px) {

  /* Hele nettsidekortet */
  .invitation {
    width: 520px;
    padding: 60px 40px;
  }

  /* Første del med navn og ramme */
  .hero-title {
    min-height: 610px;
    margin-bottom: 40px;
  }

  .lace-bg {
    width: 520px;
    max-width: none;
    top: 0;
  }

  .hero-content {
    width: 80%;
    min-height: 560px;
    justify-content: flex-start;
    padding-top: 100px;
  }

  /* Flytt navnene litt ned i rammen */
  .names {
    margin: 25px auto 0;
  }

  .names p {
    margin: 8px 0;
    font-size: 64px;
    line-height: 0.95;
  }

  .names span {
    margin: 8px 0;
  }

  /* Dekoren inne i navnerammen */
  .names-divider {
    width: 120px;
    margin: -45px auto -45px;
  }

  /* Flytt datoen opp og inn i rammen */
  .dato {
    margin: 15px auto 0;
    font-size: 15px;
    line-height: 1.2;
  }

  .dato p {
    margin: 4px 0;
  }

  /* Divider før velkomstteksten */
  .section-divider {
    width: 350px;
    max-width: 80%;
    height: 70px;
    margin: 10px auto 30px;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  /* Velkomstteksten */
  .welcome-content {
    width: 80%;
    max-width: 380px;
    margin: 20px auto 35px;
    transform: none;

    font-size: 28px;
    line-height: 1.45;
  }

  /* Divider etter velkomstteksten */
  .section-divider-flipped {
    width: 350px;
    max-width: 80%;
    height: 70px;
    margin: 25px auto 35px;
    object-fit: cover;
    object-position: center;
    transform: rotate(180deg);
  }

  /* Viktig informasjon */
  .small-title2 {
    margin: 25px 0 40px;
    font-size: 34px;
  }

  .info-frame {
    min-height: 0;
    height: auto;
    margin: 0 auto 100px;
  }

  .info-content {
    width: 100%;
    max-width: 430px;
    gap: 45px 32px;
  }

  /* Historiedelen */
  .story-section {
    padding: 70px 0 50px;
  }

  .story-section h2 {
    margin: 0 auto 10px;
    font-size: 54px;
    line-height: 1.1;
  }

  .story-section h4 {
    margin: 0 auto 60px;
  }

  .comic {
    width: 450px;
    max-width: 100%;
    padding: 0;
  }

  .comic-image-area {
    margin-top: 0;
  }

  .bubble {
    top: 30px;
  }

  .step1,
  .step3,
  .step5,
  .step7,
  .step9,
  .step10 {
    top: 30px;
    left: 25px;
  }

  .step2,
  .step4,
  .step6,
  .step8 {
    top: 30px;
    right: 25px;
  }

  .couple-img {
    margin-top: 100px;
  }
}
@media (min-width: 601px) {

  .hero-content {
    padding-top: 125px;
  }

  .names {
    margin-top: 35px;
  }

  .dato {
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.25;
  }

  .dato p {
    margin: 3px 0;
  }
}