/* variables */
:root {
--primary-color: orange;
--secondary-color: black;
--primary-button-color: #FFBB61;
--primary-hover-button-color: #FFD400;
--secondary-button-color: #E3F2FC;
--inactive-bitton: PeachPuff;
}

body {
    background-image: url(../assets/graphics/background-pattern.webp);
    background-position: top center;
    background-repeat: repeat;
    background-size: auto;
    margin: 0;
    padding: 0;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

/* Removes hightlight when tapping a button on touch devices */
button, a {
    -webkit-tap-highlight-color: transparent;
}

.cart-icon {
	font-size: 24px !important;
	padding-bottom: 24px !important;
    padding-left: 10px;
}

/* logo layout */

.logo a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s ease;				/* applies transition to hover state*/
	font-size: 20px;
    padding-left: 16px;
}

.logo a:hover {
	color: var(--secondary-color);
	text-decoration: none;
}

/* cart icon */
.cart-count {
    position: absolute;
    top: 30px;
    right: -3px;
    background-color: orange;
    color: white;
    border-radius: 50px;
    padding-left: 7px;
    padding-right: 7px;
    padding-bottom: 2.5px;
    padding-top: 2.5px;
    font-size: 14px;
    z-index: 1;
}


/* Navbar styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 25px;
    padding-top: 15px;
    background-color: white;
    margin-bottom: 32px;
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-top: -6px;
    margin-bottom: 6px;
    transition: transform 0.3s ease; /* Add transition for rotation */
}

.bar {
    width: 25px;
    height: 0.2em;
    background-color: var(--secondary-color);
    border-radius: 10px;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Animation bar to X */

.hamburger.active {
    transform: rotate(90deg); /* Rotate the entire icon 90 degrees */
}

/* Transform the bars into an "X" */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) scaleX(1.4); /* Rotate and scale to make it longer */
    transform-origin: 5% 50%;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0; /* Hide the middle bar */
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) scaleX(1.4); /* Rotate and scale to make it longer */
    transform-origin: 5% 50%;
}

.hamburger .bar {
    transition: all 0.3s ease;
}

/* Nav menu styles */
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin-left: -20px;
    margin: 11.3px;
}

.nav-link {
    text-decoration: none;
    font-size: 18px;
}


/* text button style menu */



.navbar-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding: 10px;
    padding-bottom: 29px;
    border: 4px solid transparent;
    transition: color 0.3s ease;
}

.dropdown-content a {
    padding: 7px;
}

.navbar-item a::after {
    content: '';
    position: absolute;
    bottom: 0; /* Stays at the bottom to create an underline */
    left: 50%; /* Start from the middle */
    width: 0%; /* Initially no width */
    height: 3px; /* Adjust the height of the underline */
    background-color: var(--primary-color);
    transition: width 0.3s ease, opacity 0.3s ease, left 0.3s ease; /* Animates both width and opacity */
    opacity: 0; /* Initially hidden */
    pointer-events: none; /* Ignore clicks */
    border-radius: 50px;
}

.navbar-item a:hover,
.navbar-item a.active {
    color: var(--primary-color);
}

.navbar-item a:hover::after,
.navbar-item a.active::after {
    opacity: 1; /* Fades in */
    width: 100%; /* Grows horizontally */
    left: 0%; /* Adjust position so it starts from the left */
}

/* Dropdown style */

.dropdown-content {
	display: none;
	position: absolute !important;	/* dit is overruled door de content border in standard-elements */
	margin-top: 29px !important; 	/* dit is overruled door de content border in standard-elements */
    margin-left: -50px !important;
    box-sizing: border-box;
    z-index: 2;
	padding: 5px !important;		/* dit is overruled door de content border in standard-elements */
	border-radius: 7px;
	background: white;
}

.dropdown-content a {
	display: flex;
	text-align: left;
}

.dropdown:hover .dropdown-content {
	display: block;
    width: 10em;
}



/* Cookie style */
/* Add this inside a <style> tag in the <head> of your HTML or in your external CSS file */
.cookie-banner, .cookie-customize {
    position: fixed;
    bottom: 20px;
    left: 50% !important;
    transform: translate(-50%, 0px);
    color: black;
    z-index: 1000;
    width: 75%;
}

.cookie-banner p {
    padding-bottom: 20px;
}

.cookie-content{
    width: 100%;
}

.cookie-buttons {
    margin-top: 10px;
    display: flex;
    width: 100%;
}

.cookie-buttons button {
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    width: 100%;
}

.cookie-customize input {
    margin-top: 0px !important;
    margin-righ: 0px !important;
    margin-bottom: 0px !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    margin: 16 !important;
    height: 16px;
    width: 16px;
    box-sizing: border-box;

}

.cookie-customize input[type="checkbox"] {
    height: 16px;
    width: 16px;
    float: left;
    margin-right: 10px;
    margin-bottom: 25px;
    box-shadow: none;
}

.cookie-customize label {
    display: flex;
    margin-top: 10px;
    margin-bottom: -12px;
    padding: 0;
}

@media screen and (max-width: 992px) {

.cookie-banner, .cookie-customize {
    width: 100%;
}

}

/* Responsive styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .logo {
        align-self: flex-start;
        margin-bottom: -30px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-right: 60px;
    }

    .nav-menu.active {
        display: flex;
        text-align: center;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 16px;
        padding-top: 29px;

    }
    .hamburger {
        align-self: flex-end;
    }

    .cart-icon {
    padding-bottom: 8px !important;
    }

    nav li {
        margin: 12px;
    }

    .navbar-item a {                        /* Sets the border when not hovering */
    padding-bottom: 10px;
}

.dropdown-content {
    margin-top: 10px !important;    /* dit is overruled door de content border in standard-elements */
}

}