body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'CoFo Sans', sans-serif;
    background-color: #FFF;
}


body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px 1rem 30px;
    background-color: black;
    color: #fff;
    top: 0;
    width: 100%;
    z-index: 15;
}


.nav-links {
    display: none;
}

.nav-links ul {
    display: flex;
    list-style-type: none;
    gap: 1vw;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: #fff;
    font-family: Ubuntu;
    font-style: bold;
    text-decoration: none;
    font-size: 1.15rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
}




body {
    margin-top: 6.5rem;
}

/* Stijl voor de link rondom het logo */
.logo1 a {
    margin-left: 2.25rem;
    display: block;
    width: 120px;
    height: auto;
}
  
.logo1 a img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo2 a {
    display: block;
    height: 57.41px;
    width: auto;
}

.logo2 a img {
    max-height: 100%;
    width: auto;
    display: block;
}


  
.algemeneVoorwaarden a{
    font-style: italic;
}

.containerProducten {
    max-width: 80vw;
    margin: 2rem auto;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}


.containerProducten h2 {
    color: #333;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    padding-top: 1.25rem;
    font-family: Ubuntu;
}

.containerProducten h2:last-of-type {
    font-size: 2em;
    font-weight: 700;
    padding-top: 0;
    padding-bottom: 1rem;
}

.product {
    display: flex;
    gap: 2rem;
    padding: 40px 20px;
    border-bottom: 1px solid #ddd;
    margin: 1rem ;
}

.product:last-of-type {
    border-bottom: none;
}

.product-info .prijs {
    margin: .8rem 0 0 0;
    font-weight: bold;
    font-size: 18px;
}

.specificaties {
    margin: 4rem 0 0 0;
    font-weight: bold;
}

.product-info {
    flex-grow: 1;
    font-family: sans-serif;
}

.product-info a {
    text-decoration: none;       /* Verwijdert standaard onderstreping */
    color: #444;
    font-size: 1.4em;
    margin: 0 0 30px;
    font-weight: 600;
}


.product-info a:hover {
    text-decoration: underline;  /* Onderstreping bij hover */
}






.product-info a.hoverLinkFabrikant {
    position: relative;
    cursor: pointer;
  }

  /* Verborgen hoverLinkFabrikant-stijlen */
.product-info a.hoverLinkFabrikant .hoverLinkFabrikant-text {
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    z-index: 50;
    top: 125%;
    left: 70%;
    transform: translateX(-70%);
    white-space: nowrap;
    opacity: 0.5;
    transition: opacity 0.3s;
    font-size: 15px;
}

  /* Pijltje onder de hoverLinkFabrikant */
.product-info a.hoverLinkFabrikant .hoverLinkFabrikant-text::after {
    content: "";
    position: absolute;
    bottom: 100%; /* Plaatsing boven de tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
  }

  /* hoverLinkFabrikant zichtbaar maken bij hover */
 .product-info a.hoverLinkFabrikant:hover .hoverLinkFabrikant-text {
    visibility: visible;
    opacity: 1;
  }

  


.product-info p {
    line-height: 1.6;
    margin: 10px 0 0 0;
}

.product:hover {
    background-color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.inbegrepen, .aantalBeschikbaar span {
    font-weight: 600;
    margin-top: 5rem;
}

.prijs, .binnekortBeschikbaar, .specificaties, .inbegrepen, .aantalBeschikbaar span {
    font-family: Ubuntu;
}

.binnekortBeschikbaar {
    font-style: italic;
    margin: .8rem 0 0 0;
    font-weight: bold;
    font-size: 18px;
    color: #666;
}



/* Container van de galerij */
.gallery {
    position: relative;
    width: 100%;
    margin: 0 3rem;
    max-width: 480px;
    height: calc(480px * 0.75); /* Verhouding van 4:3 */
    overflow: hidden; 
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Stijl voor de galerijafbeeldingen */
.gallery-image {
    position: absolute; /* Zorg ervoor dat alle afbeeldingen op elkaar worden gestapeld */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Zorg voor een vloeiende overgang */
}

/* Toon de actieve afbeelding */
.gallery-image.active {
    opacity: 1;
    position: relative; /* Hierdoor verschijnt de actieve afbeelding bovenop */
}

/* Navigatieknoppen */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    border-radius: 3px;
    z-index: 10; /* Zodat knoppen boven afbeeldingen blijven */
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


.containerProducten li {
    list-style-type:disc;
    margin-left: 1rem;
    margin-top: .5rem;
    font-family: ubuntu;
}

.voorwaardenTekst {
    text-align: center;
    padding: 1rem 0 1.5rem 0;
}

.voorwaardenTekst a {
    font-style: italic;
    color: black;
    text-decoration: none;
    color: black;
    font-weight: 500;
}

.voorwaardenTekst a:hover {
    text-decoration: underline;  /* Onderstreping bij hover */
}


/* Stijling voor de "Naar boven" knop */
.to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;  /* Start als verborgen */
    font-size: 14px;
    z-index: 1000;  /* Zodat het boven de andere elementen verschijnt */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

/* Maak de knop zichtbaar wanneer de gebruiker heeft gescrolld */
.to-top.visible {
    display: block;
}

/* Verander de kleur bij hover */
.to-top:hover {
    background-color: #555;
}








@media (max-width: 1300px) {

    header h1 {
        font-size: 2.5rem;
    }

    .gallery {
        max-width: 35%;
        margin: 0 3rem;
    }
}


@media (max-width: 985px) {
    header h1 {
        font-size: 2rem;
    }
    .containerProducten {
        max-width: 80%;
        padding: 5%;
    }
    .product {
        flex-direction: column;
        align-items: center;
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }
    .gallery {
        max-width: 70%;
        margin: 0 1rem;
        max-width: 480px;
        height: calc(480px * 0.75);
    }
    .logo1 img {
        height: 40px;
    }
}


@media (max-width: 450px) {
    header h1 {
        font-size: 2rem;
    }
    .containerProducten {
        max-width: 100%;
        padding: 5%;
        padding-top: 0;
    }
    .gallery {
        max-width: 100%;
    }
}






@media (min-width: 1100px) {
    .nav-links {
        display: flex;
        justify-content: flex-end;
        flex-grow: 1;
    }
    .hamburger {
        display: none;
    }
    header {
        justify-content: center;
    }
}

/* Media query voor kleinere schermen */
@media (max-width: 1099px) {
    /* Logo centreren */
    .logo1, .logo2 {
        margin: 0 auto;
    }

    .logo1 a {
        width: 65px;
    }
    
    .logo2 a {
        height: 25px;
    }

    .logo1 a, .logo1 a img, .logo2 a, .logo2 a img {
        padding: 0;
        margin: 0;
    }
}





@media (max-width: 1099px) {
    .logo1, .logo2 {
        margin: 0 auto;
    }
    .logo1 a {
        width: 10.4vw;
    }
    .logo2 a {
        height: 5vw;
    }
    .logo1 a, .logo1 a img, .logo2 a, .logo2 a img {
        padding: 0;
        margin: 0;
    }

    .hamburger {
        position: absolute;
        right: 2vw;
    }

    .nav-links.active {
        display: block;
        position: fixed;
        top: 70px;
        right: 0;
        width: 300px;
        background-color: #333;
        padding: 0 0;
        text-align: right;
        border-radius: 4px 0 0 6px;
        box-shadow: -4px 0 8px rgba(1, 0, 0, 0.2);
    }
    .nav-links li {
        z-index: 50;
        padding: 10px 20px;
        border-bottom: 1px solid #444;
    }
    .nav-links li:last-of-type {
        border-bottom: none;
    }
    .nav-links ul {
        flex-direction: column;
        gap: 1px;
    }
}
    
    
@media only screen and (max-width: 450px) {
    .logo2, .logo1 {
        display: flex;
    }
    .logo2 a {
        height: 31px;
    }

    .logo1 a {
        width: 76px;
        height: auto;
    }
}