/*Body*/
body{
    width: 100%;
    margin-top: 10;
    margin-bottom: 0;
    margin-left:0;
    margin-right: 0;
    font-family: "poppins";
}

/* COLORS and FONTSIZES */
:root{
    --broedtekst: #000;
    --hover: #D31212;
    --footer: #EEEEEE;
    --button: #e31313;

    --font-regular: "poppins", sans-serif;
    --weight-regular: 400;
    --weight-semibold: 600;
    --weight-bold: 700;
    --style-normal: normal;
    
    /* Font size */
    --fs-rubrik: 28px;
    --fs-underrubrik: 24px;
    --fs-button: 20px;
    --fs-body: 16px;
}

/* HEADER*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 78px;
    background: white;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: -1;
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.1);
    mix-blend-mode: multiply;
}

.nav-logo {
    margin-left: 60px;
}

.nav-links {
    margin-left: auto;
    margin-right: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    /* Positioning */
    position: relative;
    display: grid;
    place-items: center;
    width: fit-content;
    
    /* Typography */
    font-family: var(--font-regular);
    font-size: 20px;
    font-weight: var(--weight-regular);
    text-decoration: none;
    
    /* Colors */
    color: #333;
    /* Transitions */
    transition: color 0.1s ease-out;
}

/* Create a hidden bold version that reserves space */
.nav-links a::after {
    content: attr(title);
    display: block;
    font-weight: var(--weight-bold);
    height: 0;
    overflow: hidden;
    visibility: hidden;
    grid-area: 1/1;
    width: 100%;
    text-align: center;
}

.nav-links a:hover {
    color: #D31212;
}

/* Active state */
.nav-links a.active {
    color: #333;
}

/* Cart icon styles */
.nav-links img {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
    stroke-width: 0;
    stroke: #D31212;
}

.nav-links img:hover {
    filter: invert(19%) sepia(91%) saturate(1184%) hue-rotate(354deg) brightness(85%) contrast(105%);
    transform: scale(1.05);
}

.nav-logo a {
    display: inline-block;
    text-decoration: none;
}

.nav-logo img {
    display: block; /* Removes any unwanted space below the image */
}

/*farver*/
:root{
--denrode: #D31212;
--densorte: #000;
--denhvide: #ffffff;
}

/* Fonts */
@font-face {
    font-family: "poppins";
    src: url(/fonts/Poppins/Poppins-Regular.ttf);
}

main h2{
    display: flex;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    font-family: "poppins", sans-serif ;
    font-style: normal;
}

/* MAIN */
main{
    width: 91%;
    height: 100%;
    padding-top: 78px; /* Height of fixed header */
    padding-left: 55px;
}
p{
   font-family: "poppins", sans-serif ;
    font-size: 16px;
}

/* Main Content */
main {
    padding: 100px 20px 20px;
  }
  
  .produkter-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column */
    gap: 20px;
    margin: 30px;
    width: 100%;
  }

  .product {
width: 100%;
  }

  .product img {
    width: 100%;
    gap: 10%;
  }

 .button {
    background-color: var(--button); 
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-family: "poppins", sans-serif ;
    font-style: normal;
    border-radius: 4px;
  }
  button a{
   background-color: var(--button);
   color: white;
   border: none;
   border-radius: 4px;
   text-decoration: none;
}

.button:hover{
   color:white;
   transform: scale(0.90);
   transition: ease-in 0.05s;
}

.tryghed_wrapper{
    width: 91%;
    height: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 5rem;
    justify-content: center;
}
#tryghed{
   display: flex;
   justify-content: space-evenly;
   padding-bottom: 10rem;
   text-align: center;
   font-family: "poppins", sans-serif ;
}

/* FOOTER */
footer{
    background-color: var(--footer);
    background-size: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    font-family: "poppins";
}

#top{
    width: 100%;
    display: flex;
    padding-left: 60px;

}
#bottom{
    width: 200px;
    display: flex;
    justify-content: space-between;
    padding-left: 60px;
}

#description{
    padding-left: 10px;
    padding-right: 40px;
}

#description_textbox{
    width: clamp(600px, 100%, 400px);
}
#description h2{
    width: 400px;
}
#description_text{
    text-align:justify;
    width: clamp(400px, 70%, 400px);
}

#de3{
    display: grid;
    grid-template-columns: repeat(3, 230px);
    row-gap: 3rem;
    column-gap: 1rem;
    justify-content: center;
    overflow-x: visible;
    text-align: left;
    width: clamp(600px,100%,1200px);
}
#adresse{
    width: 100%;
    display: block;
    justify-content: flex-start;
}
#aabningstider{
    width: 100%;
    height: 100%;
    display: block;
}

#kontakt{
    width: 100%;
    display: block;
    justify-content: center;
}


/*Responsiv*/
/* Desktop - Three columns */
@media (min-width: 1024px) {
    .produkter-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .kontakt2, #app2 {
        display: none;
    }
    .footer {
        display: flex;
    gap: 10%;
    }
    

  }
  
  /* Tablet - Two columns */
  @media (min-width: 768px) and (max-width: 1023px) {
    .produkter-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    #tryghed{
        display: grid;
        grid-template-columns: repeat(3, 230px);
        row-gap: 3rem;
        column-gap: 1rem;
        justify-content: center;
        overflow-x: hidden;
        text-align: center;
    }
    /* FOOTER */
    footer{
        background-size: 100%;
        width: 100%;
        height: 100%;
        font-size: 15px;
        display: grid;
    }

    #top{
        width: 100%;
        display: flex;
        text-align: center;


    }
    #bottom{
        width: 200px;
        display: block;
        justify-content: space-between;
        padding-left: 0px;
        text-align: right;
    }

    #description{
        padding-left: 10px;
        padding-right: 40px;
        text-align: center;
        display: block;
        width: clamp(600px, 100%, 400px);
    }
    #de3{
        grid-template-columns: repeat(1, 230px);
        justify-content: center;
    }

    #description_textbox{
        text-align: center;
        padding-left: 5vw;
        padding-right: 12vw;
    }
    #description h2{
        width: 400px;
    }
    #description_text{
        text-align:justify;
        width: clamp(400px, 40vw, 400px);
    }

    #adresse{
        width: 100%;
        display: block;
        justify-content: flex-start;
    }
    #aabningstider{
        width: 100%;
        height: 100%;
        display: block;
    }
    }
  
  /* Mobile - Single column */
  @media (max-width: 760px) {
    .produkter-grid {
      grid-template-columns: 1fr;
    }
     #tryghed{
        display: grid;
        grid-template-columns: repeat(1, 230px);
        row-gap: 3rem;
        column-gap: 1rem;
        justify-content: center;
        overflow-x: hidden;
        text-align: center;
    }
  
  
  .product {
    text-align: center;
  }
  
  .product img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
}
/* FOOTER */
footer{
    background-size: 100%;
    width: 100%;
    height: 100%;
    font-size: 15px;
    display: grid;
}

#top{
    width: 100%;
    display: grid;
    text-align: center;
    padding-bottom: 12vw;



}
#bottom{
    width: 200px;
    display: block;
    justify-content: space-between;
    padding-left: 0px;
    text-align: center;
}
#bottom p{
    width: 398px;
}

#betalingsmetoder{
    justify-content: center;
    padding-left: 12vw;
    padding-right: 12vw;
}
#description{
    width: 100%;
    padding-left: 10px;
    padding-right: 40px;
    text-align: center;
    display: block;
    width: clamp(600px, 100%, 400px);
}

#description_text{
    text-align:justify;
    width: 80vw;
    justify-content: center;
    width: clamp(400px, 40vw, 400px);
}

#de3{
    grid-template-columns: repeat(1, 230px);
    justify-content: center;
}


#adresse{
    width: 100%;
    display: block;
    justify-content: flex-start;
}
#aabningstider{
    width: 100%;
    height: 100%;
    display: block;
}

}