/* Reset default body margins */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif; /* Paragraph font */
    font-weight: 400;
    font-style: normal;
    background-color: #fafafa;
}

#logo {
    width: 100px;
}

.image {
    position: relative; /* Position relative for pseudo-element */
    padding-bottom: 120px;
    overflow: hidden; /* To contain pseudo-element */
}

.image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../images/head.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; /* Center the image */
    z-index: -2; /* Place it behind other content */
    display: block; /* Ensure it takes up the full space */
}

.image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent black overlay */
    z-index: -1; /* Place it behind other content, above the image */
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 1; /* Ensure nav is above the background */
}

.nav-container {
    display: flex;
    align-items: center;
}

.hamburger {
    background-color: transparent;
    color: #FFFDD0; /* Off-white color for contrast */
    font-size: 30px;
    border: none;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s ease; /* Smooth transition for scaling */
    display: block; /* Default display */
}

.hamburger:hover {
    transform: scale(1.1); /* Increase size by 10% on hover */
}

.nav-links {
    display: none; /* Hide navigation links by default */
    gap: 20px; /* Add space between links */
}

.nav-links a {
    color: #ffffff; /* Adjust link color */
    text-decoration: none;
    padding: 10px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: brown; /* Change color on hover */
}

/* Fullscreen Menu Overlay */
.menu-overlay {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: brown; /* Light cream color */
    overflow-x: hidden;
    transition: width 0.5s;
    z-index: 2;
}

.menu-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #333; /* Dark text color */
}

.menu-content a {
    display: block;
    font-size: 24px;
    margin: 20px 0;
    color: #ffffff;
    text-decoration: none;
    transition:font-size 0.3s ease ;
}

.menu-content a:hover {
    display: block;
    font-size: 30px;
    margin: 20px 0;
    color: #333;
    text-decoration: none;
}

.menu-content .order-btn {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
}

.language-options {
    margin-top: 40px;
}

.language-options a {
    color: #ffffff; /* Dark color for contrast */
    margin: 0 10px;
    text-decoration: none;
    font-size: 14px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    background-color: transparent;
    color: #333;
    border: none;
    cursor: pointer;
    outline: none;
}

.h1 {
    color: #ffffff;
    font-family: 'Playfair Display', serif; /* Header font */
    font-weight: 700;
    font-size: 60px;
    font-style: normal;
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 0px;
    z-index: 1; /* Ensure text is above the background */
}

.buttons {
    justify-content: center;
    text-align: center;
    font-size: 30px;
    z-index: 1; /* Ensure buttons are above the background */
}

.buttons a {
    text-decoration: none;
    background-color: brown;
    color: #ffffff;
    padding: 10px 20px;
    border-radius:3px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, font-size 0.3s ease; /* Smooth transition */
    font-family: 'Roboto', sans-serif; /* Button font */
}

.buttons a:hover {
    background-color: #feb254;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 31px;
}

.image2 {
    width: 430px; /* Fixed width */
    height: 430px; /* Fixed height to make it a square */
    object-fit: cover; /* Ensure the image covers the square without distortion */
    margin: 10px; /* Margin on all sides */
    border-radius: 20px;
    transition: width 0.3s ease, height 0.3s ease;
}

.image2:hover{
    width: 440px;
    height: 440px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Margin at the top of the container */
    margin-bottom: 20px;
}

.idividual {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.idividual a {
    text-decoration: none;
    position: relative; /* Position relative for the circle and text */
    display: inline-block;
}

.idividual a:hover {
    text-decoration: none;
}

.circle {
    position: absolute;
    bottom: 63px; /* Adjust to align the middle of the circle with the bottom of the image */
    left: 50%;
    transform: translateX(-50%);
    width: 17px; /* Slightly bigger circle */
    height: 17px; /* Slightly bigger circle */
    background-color: brown;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.idividual a:hover .circle {
    opacity: 1; /* Circle appears on hover */
}

.subtitle {
    color: #333;
    font-weight: 200;
    margin-top: 10px;
    font-size: 24px;
    transition: color 0.3s ease; /* Smooth color transition */
}

.idividual a:hover .subtitle {
    color: brown; /* Change color on hover */
}

#myrondelez {
    color: white;
    background-color: brown;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    margin-left: 20px; /* Space between nav links and MyRondelez */
    text-decoration: none;
    transition: background-color 0.3s ease, font-size 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
    font-family: 'Roboto', sans-serif; /* Button font */
}

#myrondelez:hover {
    background-color: #feb254;
    color: white;
    font-size: 19px; /* Slight increase in font size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow effect on hover */
}

.order-btn1 {
    background-color:brown;
    color: #ffffff;
    padding: 10px 20px;
    border: 1px solid #ffffff;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    font-family: 'Roboto', sans-serif; /* Button font */
    transition: font-size 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.order-btn1:hover {
    background-color: #ffffff;
    color: brown;
    font-size:19px ;
}

footer {
    background-color: #FFFFFF;
    justify-content: left;
    display: flex;
    padding: 30px;
    color: #2e2e2e;
    flex-direction: column;
}

.footlink {
    text-decoration: none;
    color: #333;
    font-family: 'Roboto', sans-serif; /* Footer font */
    transition: color 0.3s ease;
}

.footlink:hover {
    text-decoration: none;
    color: #feb254;
    font-family: 'Roboto', sans-serif; /* Footer font */
}


.footlinks {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    justify-content: space-around;
}

.menu {
    font-weight: 600;
    font-family: 'Playfair Display', serif; /* Footer menu headings */
}

.hidden {
    display: none;
}

.collection {
    display: flex;
    flex-direction: column;
    
    margin: 0px 20px 0px 20px;
    padding: 20px 20px 0px 20px;
}

.onsass {
    margin-top: 30px;
    color: rgb(51, 51, 51);
    display: flex;
justify-content: center;
font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 37px;
    text-transform: uppercase;
}

.aanbod{
    margin-top: 0px;
    color: brown;
    display: flex;
justify-content: center;
font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 47px;
    text-transform: uppercase;
}

.all {
    background-color: rgba(219, 219, 219, 0.699);
}

.groep {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center elements on small screens */
    margin-bottom: 40px; /* Add some spacing between sections */
}

.groep p {
    color: #2e2e2e;
    font-family: "aktiv-grotesk", sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 28px;
    margin: 20px 0; /* Add some spacing around the text */
}

.groepimage {
    width: 100%; /* Ensure image takes full width initially */
    max-width: 600px; /* Set a maximum width for the image */
    margin-bottom: 0px;
    margin-top: 20px; /* Add spacing between text and image */
}

@media (min-width: 768px) {



    .hamburger {
        display: none; /* Hide hamburger menu on tablets and larger screens */
    }

    .groep {
        flex-direction: row; /* Switch to row layout for larger screens */
        justify-content: space-between;
        align-items: center; /* Ensure items are vertically centered */
    }

    .groep p {
        width: 50%; /* Take up half the space for text */
        margin-right: 20px; /* Add spacing between text and image */
    }

    .groepimage {
        width: 50%; /* Take up half the space for the image */
        height: 100%;
        margin-top: 0; /* Remove top margin when in row layout */
        margin-right: 80px;
    }
    .nav-links {
        display: flex; /* Show nav links on tablets and larger screens */
        align-items: center;
        gap: 20px; /* Add space between links */
    }

    .nav-container {
        display: flex;
        align-items: center;
    }

    footer {
        flex-direction: row;
        justify-content: space-around;
    }

    .h1 {
        margin-bottom: 0px;
        font-family: 'Playfair Display', serif;
        font-weight: 700;
    }

    .hidden {
        display: flex;
    }
    

    .buttons p {
        color: #ffffff;
        margin-left: 100px;
        margin-right: 100px;
        font-family: 'Roboto', sans-serif;
        margin-bottom: 60px;
    }

    .buttons a {
        font-size: 30px;
        padding: 10px 20px 10px 20px;
    }

}

@media (min-width: 1024px){
   .h1 {
    margin-top: 40px;
    font-size: 80px;
    margin-left: 130px ;
    margin-right: 130px ;
   }

   .aanbod {
    margin: 100px 0px 60px 0px;
   }

   .onsass {
        font-size: 50px;
        margin-top: 70px;
   }

   .groep p {
    margin: 0px 140px;
   }

   .container {
    margin-top: 80px; /* Margin at the top of the container */
    margin-bottom: 120px;
   }
   

   .image2 {
    width: 260px;
    width: 260px;
    opacity:90%;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    
   }

   .image2:hover {
    width: 270px;
    width: 270px;
    opacity: 100%;
   }

.image {
    padding-bottom: 240px;
}

   .buttons p{
    margin-left: 300px;
        margin-right: 300px;
   }
}
