.projects-title {
    margin-top: 6.5rem;
    margin-bottom: 3.5rem;
  }


/* Reset */
body {
    margin: 0;
  }

  main{
    margin-top: 10rem;
  }
  
  /* Galleri layout */
  .gallery section {
    height: 85vh; /* fuld skærmhøjde */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .gallery img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .jour_pic{
    margin-bottom: 2rem;
  }
  
  /* Side-nav styling */
  .side-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
  }
  
  .side-nav img {
    width: 60px;
    height: auto;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: opacity 0.3s, border-color 0.3s;
  }
  
  .side-nav img:hover {
    opacity: 0.9;
  }
  
  .side-nav img.active {
    opacity: 1;
    border-color: white;
  }

  .back_knap{
    position: fixed;
    font-size: 1.2rem;
    margin-left: 1.8rem;
    margin-top: -4rem;
    text-decoration: underline;
    color: black;
  }

  .back_knap:hover{
    opacity: 0.3;
  }



  /* desktop */
  @media screen and (min-width: 1089px){
    .jour_pic_left{
      margin-left: -30rem;
    }
    .jour_pic_right{
      margin-right: -30rem;
    }
    .jour_pic{
      margin-bottom: -3rem;
    }
    .jour_pic_last{
      margin-bottom: 7rem;
    }
  }
  
  