@font-face {
  font-family: baloo-2;
  src: url(../fonts/baloo-2.ttf);
}


body {
  font-family: 'baloo-2', cursive;
    background-color: white;
    color: black;
    overflow-x: hidden;
    background: linear-gradient(135deg,#FFE2B6,#FFE2B6, #FB809B );
    overflow: hidden;
}
nav {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  nav button {
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    color: #2e2e2e;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
  }

  .button-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: black;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease;
    z-index: 1000;
  }
  
  .button-link:hover {
    background-color: #ffffff;
  }

  .billede-wrapper {
    position: relative;
    width: 140rem; /* fast bredde, så billederne har samme ramme */
    height: auto;
    overflow: visible; /* så mask’en ikke klipper animationen */
  }
  
  .bloat, .bloat1 {
    position: absolute;
    top: -69rem;
    left: -45rem;
    width: 100%;   /* fylder hele wrapperen */
    height: auto;
  }
  
  .bloat {
    z-index: 1;
  }
  
  .bloat1 {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 2;
     /* Mask så kun venstre del af billedet vises klart */
  -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
  mask-image: linear-gradient(to right, black 60%, transparent 100%);
  }

  .vertical-scroll {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scroll-padding-top: 1rem;
    padding: 1rem;
    width: 42rem;
    height: 25rem;
    border-radius: 10px;
    position: absolute;
    top: 10rem;
    right: 5rem;
    z-index: 10;
  }
  
  .vertical-scroll > article {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 100%;
    height: 25rem; /* samme højde som containeren */
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
  }
  

  .tarm {
    width: 38rem;
    height: auto;
  }

  h3 {
    font-size: 100px;
    color: #FF7A7A;
    font-weight: bold;
    line-height: 1; /* Reducer linjeafstanden generelt */
    text-shadow:
    -3px -3px 0 #ffffff,
    3px -3px 0 #ffffff,
   -3px  3px 0 #ffffff,
    3px  3px 0 #ffffff;
    margin-bottom: 0.2rem; /* Mindre afstand under h4 */
    margin-top: 0.2rem; /* Mindre afstand under h4 */
  }

  p{
    color: #4D1717;
    font-size: 2em;
    line-height: 1;
    margin: 1em 0;
  }

  h4 {
    font-size: 100px;
    color: #9BD1EA;
    font-weight: bold;
    line-height: 1; /* Reducer linjeafstanden generelt */
    text-shadow:
    -3px -3px 0 #ffffff,
    3px -3px 0 #ffffff,
   -3px  3px 0 #ffffff,
    3px  3px 0 #ffffff;
    margin-bottom: 3rem; /* Mindre afstand under h4 */
    margin-top: 2.5rem; /* Mindre afstand under h4 */
  }
  
  .container {
    position: relative;
    height: 300px;
    z-index: 1000;
    top: -300px;
    left: 70px;
  }
 
  .questionmark {
    transform: rotate(15deg); /* Tilføjet rotation */
    position: absolute;
    top: 35px;
    right: 180px;
    font-size: 200px;
    color: #9BD1EA;
    font-weight: bold;
    text-shadow:
    -3px -3px 0 #ffffff,
    3px -3px 0 #ffffff,
   -3px  3px 0 #ffffff,
    3px  3px 0 #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    z-index: 1000;

  }
 
#next {
    position: absolute;
    bottom: 180px;
    left: 52%;
    background-color: #c5eafb;
    border-radius: 8px;
    font-family: 'baloo-2', cursive;
    text-decoration: none;
    color: black;
    box-shadow: 0 2px 4px rgba(29, 46, 60, 0.2);
    font-size: 2rem;
    font-weight: 600;
    padding: 1rem 2rem;
}

.scroll-down-article {
  display: flex;
  width: 80%;
  height: 80vh;
  align-items: flex-end;
  justify-content: flex-end;
}