@font-face {
  font-family: baloo-2;
  src: url(../fonts/baloo-2.ttf);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'baloo-2', cursive;
    background: #F9BB94;
    background: linear-gradient(0deg, rgba(249, 187, 148, 1) 0%, rgba(235, 131, 101, 1) 50%, rgba(237, 100, 100, 1) 100%);
    overflow-x: hidden;
    overflow-y: auto;
    
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.tekst {
  width: 40%;
}

#krop-video {
  height: 700vh;
  transition: transform 0.5s ease-in-out;
  display: block;
  object-fit: cover;
  width: 100vh;
}


.video {
  height: 160%;
  position: absolute;
  top: -60vh;
  right: -40%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  width: 100%;
  left: 0;
}

.heart-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
  }
  
  .circle-button {
    background: radial-gradient(circle at center, #e63946, #d62828);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .circle-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  .horizontal-scroll {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20rem;
    padding: 1rem;
    width: 40%;
    position: absolute;
    right: 90px;
    height: 100vh;
  }

  .horizontal-scroll > article {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
  }

  .fed {
    font-weight: 800;
}

.info-tekst {
    font-size: 1.5rem;
    margin-top: 30px;
    transform: rotate(-10deg);
    font-weight: 300;
  }

  #brain {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    z-index: 1000;
    position: relative;
    overflow: hidden;
  }

  #brain .tekst {
    width: 45%;
  }

  #brain img {
    width: 260px;
    position: absolute;
    top: 405px;
    left: 190px;
    z-index: 1;
  }

   #brain svg {
    width: 490px;
    position: absolute;
    top: 130px;
    left: 120px;
    transition: transform 0.2s ease;
  }

  #brain-svg {
    transition: transform 0.2s ease;
    z-index: 1000;
  }

  #heart {
    height: 100vh;
    z-index: 1000;
    position: relative;
  }

  #stomach {
    height: 100vh;
    z-index: 1000;
    position: relative;
  }

  #uterus {
    height: 100vh;
    z-index: 1000;
    position: relative;
  }

  #uterusdiv {
    height: 100vh;
    z-index: 1000;
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .tryk {
    font-size: 40px;
    width: 80%;
    padding-top: 620px;
    margin-left: -80px;
  }

  #red-bubble {
    width: 600px;
    height: 600px;
    border-radius: 1000px;
    background: #d62828;
    filter: blur(100px);
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 2s ease-in-out;
  }

  #orange-bubble {
    width: 600px;
    height: 600px;
    border-radius: 1000px;
    background: #FFAF65;
    filter: blur(100px);
    position: absolute;
    top: 0;
    right: 0;
    transition: transform 2s ease-in-out;
  }

.snappy {
    scroll-snap-type: y mandatory; /* vertical scroll snapping */
    overflow-y: scroll;            /* vertical scroll */
    height: 100vh;
  }

.snapping {
    scroll-snap-align: start;  /* snap to the top of the section */
    height: 100vh;
  }

  #fixedNavButton {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 48000;
    padding: 10px 15px;
    font-size: 24px;
    border-radius: 10px;
    font-weight: 500;
    background-color: rgba(237, 100, 100, 1);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
  }
  
  #fixedNavButton:hover {
    background-color: rgba(249, 187, 148, 1);
  }

  .stomach .horizontal-scroll .info {
    text-align: left;
    gap: 0;
  }

  .livmoder {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .livmoder .uterus-img img {
    position: relative;
    width: 80%;
  }
  
  .uterus-article {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
    width: 50%;
    align-items: center;
  }

  .uterus-img {
    width: 50%;
    display: flex;
    justify-content: center;
    position: relative;
    top: 90px;
    left: -320px;
  }

  .uterus-tab {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20rem;
    height: 100vh;
  }

  .uterus-tab .livmoder {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
  }

  #uterustwo .uterus-img {
    left: 0px;
    transition: 1s ease;
  }

  #uterustwo .uterus-article {
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    align-items: center;
    gap: 10px;
    left: -300px;
    top: -31px;
  }

  #uterustwo .uterus-article h1, #uterustwo .uterus-article h2 {
    position: relative;
  }

  #uterustwo .uterus-article #pil {
    top: -67%;
    left: 8%;
  }

  #uterusthird h1 {
    text-align: center;
  }

  .scroll-side {
    position: relative;
    bottom: 0px;
    left: 20px;
    width: 90px;
    height: auto;
    animation: moveBackAndForth 1s infinite alternate ease-in-out;
  }
  
  @keyframes moveBackAndForth {
    from {
      left: 50px;
    }
    to {
      left: 100px;
    }
  }

  .scroll-down {
    width: 100px;
    height: auto;
    animation: floatUpDown 1s infinite alternate ease-in-out;
  }
  
  @keyframes floatUpDown {
    from {
      top: 0;
    }
    to {
      top: 50px;
    }
  }

  .scroll-down-article {
    display: flex;
    width: 60%;
    height: 90vh;
    position: absolute;
    align-items: flex-end;
    justify-content: center;
    z-index: 20000;
    pointer-events: none;
  }

  .linje {
    height: 40vh;
    width: 5px;
    background: #fa8787;
    position: absolute;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 40px;
    top: 30vh;
    justify-content: space-between;
  }

  .circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  #circle-one {
    background: white;
  }

#circle-two, #circle-three, #circle-four {
    background: #fa8787;
  }
  

  .page-section {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }