/* TEST */
body, h1 {
    margin: 0;
    padding: 0;
	    font-family: 'Arial', sans-serif;  /* Example font */
    color: #333;  /* Default text color */
    font-size: 16px;  /* Default text size */
}

html, body {
    height: 100%; /* Ensures the root elements take full viewport height */
    overflow: hidden; /* Prevents scrolling */
}

/* Header styling */
header {
    text-align: center;
    border-bottom: 2px solid black;
    padding: 1em 0;
}


/* Main container */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: calc(100vh - 70px); /* Adjusted for header height */
    padding: 20px;
    box-sizing: border-box; /* Includes padding in height calculation */
    overflow: auto; /* Allows scrolling within main if needed */
}

.menu-icon {
    cursor: pointer;
    height: 20px;
    width: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    position: fixed;
	top: 20px; /* Move it down */
    right: 30px; /* Move it to the left */
  
}

.menu-icon div {
    width: 100%;
    height: 3px;
    background-color: #333; /* Adjust color to match your site */
    transition: all 0.3s ease;
	    border-radius: 4px; /* Adds roundness to the lines */
}

.burger-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: auto; /* Dynamisk bredde */
    height: auto; /* Dynamisk højde */
    max-width: 100vw; /* Begræns bredde til at undgå overflow */
    max-height: 100vh; /* Begræns højde til at undgå overflow */
    background-color: #fff;
    border: 1px solid grey;
    z-index: 2000;
    border-radius: 10px;
    padding: 5px 5px;
    overflow-y: auto; /* Tillad scrolling inden i menuen, hvis det bliver nødvendigt */
}



.burger-menu, .burger-menu a {
    font-family: inherit;  /* Inherits the font family from the body */
    color: inherit;  /* Inherits the font color from the body */
    font-size: inherit;  /* Inherits the font size from the body */
}

.burger-menu ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.burger-menu ul li a {
    text-decoration: none;
    color: #333; /* Adjust link color to match your site */
    display: block;
    padding: 10px;
    transition: color 0.3s ease;
	margin-bottom: 10px; /* Add space between the menu items */
}

.burger-menu ul li a:hover {
    color: #666; /* Adjust for hover state */
}

.close-menu {
    background: none;
    border: none;
    color: #333; /* Match this color with your site's theme */
    font-size: 24px;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.infoarrow, .infoarrow2 {
    display: flex;
    align-items: center; /* Aligns items vertically in the middle */
	 position: absolute; /* Positions it relative to svg-container */
    left: 0; /* Aligns it to the far left of the svg-container */
    top: 35%; /* Centers it vertically */
    transform: translateY(-50%); /* Ensures it is centered on its own height */
    flex-shrink: 0; /* Prevents the div from shrinking */
}

.infoarrow2 {
	position: absolute;
    left: 25%;  /* Adjust left position as needed */
    top: 10%;  /* Adjust top position as needed */
    margin-right: 10px;  /* Space between infoarrow2 and the button */
	z-index:-2
}

.text {
    margin-right: 10px; /* Space between text and image */
    font-size: 16px;
    color: #333;
    margin-bottom: 65px; /* Increased bottom margin to push the text upwards */	
	 font-weight: bold; /* Makes the text bold */
}

.image {
    width: 100px; /* Adjust as needed */
    height: auto;
}

.hidden {
    display: none;  /* This class will hide the element */
}

.show {
    display: block; /* This class will make the image visible */
}

.svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Containeren fylder hele bredden af dens forældrelement */
    height: calc(90vh - 70px); /* Justér dette tal baseret på din sidehøjde og header/footer */
    overflow: hidden; /* Skjuler alt uden for containeren */
	margin-top: -5px; /* Adjust as needed to reduce space */
	position: relative; /* Needed to position children absolutely within it */
}

svg {
    max-width: 100%; /* Sørger for at SVG ikke bliver bredere end containeren */
    max-height: 100%; /* Sørger for at SVG ikke bliver højere end containeren */
    display: block; /* Fjerner eventuelle marginer fra default inline-block display */
	margin-top: -40px; /* Adjust as needed to reduce space */
}

/* Placement of the info button and popup styling */
.info-button {
    padding: 10px; /* Removes padding to fit the image properly */
    border: none; /* Removes the default border */
    background: white; /* Removes the default background */
    cursor: pointer; /* Ensures the cursor changes to a pointer on hover */
    outline: none; /* Removes the focus outline */
}

.info-button img {
    width: 60px; /* Sets the width of the image */
    height: auto; /* Maintains the aspect ratio of the image */
	
}

@keyframes softBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}


#layer2, #layer6 {
    cursor: pointer;
    animation: softBlink 2s ease-in-out infinite; /* Apply the blinking animation */
}

.blink-effect {
    animation: softBlink 2s ease-in-out infinite !important;
}

.layer-no-blink {
    animation: none !important;
}


.popup {
    display: none; /* Hidden initially */
    position: absolute;
    bottom: 100%; /* Popup above the button */
    left: 0; /* Align with the left edge of the button */
    transform: translateY(-10px); /* Slight vertical offset */
    width: 500px;
    padding: 20px;
    border: 1px solid grey;
    background-color: white;
    z-index: 1000; /* Ensure it is above other content */
     border-radius: 10px; /* Rounded corners with a 10px radius */
}

.popup-content {
    text-align: left;
	 font-family: 'Arial', sans-serif; /* Sets the font to Arial */
}

  .popup-content img {
    width: auto; /* Keep image's aspect ratio */
    height: 30px; /* Set a fixed height */
    vertical-align: middle; /* Align image vertically with text */
	 vertical-align: -10px;
  }
  
  .popup a {
    color: navy; /* Set the link color to a nice blue */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make the text bold */
    transition: color 0.3s; /* Smooth transition for color change */
}

.popup a:hover, .popup a:focus {
    color: #0056b3; /* Darker blue when hovered or focused */
    text-decoration: underline; /* Add underline on hover/focus for clarity */
}

.close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
}

  .custom-icon {
 margin: 0 5px 0 5px; /* Adds 10px space on the left */
    border: 2px solid #ddd;
    border-radius: 50%; /* Makes the element circular */
    padding: 5px;
    width: 15px; /* Adjust size to match design preference */
    height: 15px; /* Same as width to maintain circle shape */
    display: inline-flex; /* Changed from flex to inline-flex for inline display */
	 vertical-align: -8px;
	 left: -10px;
    background-color: navy; /* Optional: Background color for visibility */
  }

/* Layout for color choices */
.color-choice-section {
    display: flex;
    align-items: center;
    width: 100%;
    position: absolute;
    bottom: 10px;
}

    /* Adjust color options position */
    .jacket-colors.colors, .pants-colors.colors {
        position: static; /* Remove absolute positioning */
        display: flex; /* Display as a flex container */
        flex-wrap: wrap; /* Allow wrapping of color options */
        justify-content: center; /* Center horizontally */
        margin-top: -350px; /* Add margin for spacing */
    }


.personal-jacket-pants {
    display: flex;
	height: 20px; /* Adjust based on your content needs */
    width: 20px; /* Adjust based on your content needs */
    align-items: center;
    justify-content: center;
    flex: 1; /* 1/3 of the parent width */
	 position: relative;
	 
}

/*test*/

.personaljacket, .personalpants {
   
    cursor: pointer; /* Indicates that the element is interactive */
    position: absolute;
    top: -10%;
    left: 39%;
    width: 1%; /* Ensure full coverage of the area they are supposed to occupy */
    height: 1%; /* Ensure full coverage of the area they are supposed to occupy */
    z-index: 1; /* Ensures they are below the info button */
}

#infoBtn {
    z-index: 2; /* Ensures the button is at the front, already set but ensuring clarity */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Cover the container */
    height: 100%; /* Cover the container */
    display: flex;
    align-items: center;
    justify-content: center;
}




.generate-button-section, .currency-wrapper {
    flex: 1; /* 1/3 of the parent width */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
	
}

/* Button styling */
.colorChoice {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    margin: 5px;
	
}

/* Color styles for buttons */
.colorChoice.navy { background-color: navy; }
.colorChoice.charcoal { background-color: #36454f; }
.colorChoice.lightgrey { background-color: lightgrey; }
.colorChoice.black { background-color: black; }
.colorChoice.saddlebrown { background-color: saddlebrown; }
.colorChoice.tan { background-color: tan; }
.colorChoice.burgundy { background-color: #800020; }
.colorChoice.darkolive { background-color: #556B2F; }

.generate {
 visibility: hidden; /* Initially hide the generate button but keep its space in the layout */
    border: none;
    background: transparent;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
	cursor: pointer; /* If they are clickable */
    transition: transform 0.3s ease; /* Optional: adds a smooth transform effect */
	margin-top: -20px;
}

.generate img {
	
    vertical-align: middle;
    width: 13vmin; /* Responsive based on the viewport's smaller dimension */
    height: auto;
    max-width: 100%;

}


.currency-wrapper {
    position: relative;
 display: flex;
    justify-content: flex-end; /* Aligns the button to the right */

}

.currency {
    border: none;         /* Removes the default border */
    background: none;     /* Removes the default background */
    padding: 0;           /* Removes padding to fit the image properly */
    display: flex;        /* Enables flexbox for centering */
    align-items: right;  /* Centers the image vertically */
    justify-content: right; /* Centers the image horizontally */
    cursor: pointer;      /* Ensures the cursor changes to a pointer on hover */
    outline: none;        /* Removes the focus outline */
		 z-index: 101;  /* Higher z-index to keep the button above the menu */
	
}

.currency img {
    width: 3.5vw; /* Adjust percentage based on design requirements */
    height: auto; /* Adjust to maintain aspect ratio */
}


#currencyMenu {
    position: fixed;
    bottom: 0;
    right: 0;
    border: none;
    z-index: 100;
    display: flex;
    flex-direction: column-reverse; /* Aligns elements starting from the bottom */
    align-items: flex-end; /* Aligns all content to the right */
    justify-content: flex-start; /* Starts content packing from the bottom */
    padding: 10px;
    width: auto;
    height: 100vh;
    overflow: auto;
	Background: white;
}

.currency-option {
    display: block;
    margin: 10px; /* Standard space around each image */
    align-self: flex-end; /* Align each image to the right */
	 z-index: 101;  /* Higher z-index to keep the button above the menu */
}

/* Responsive styles for each currency option */
#link-jacket img {
    width: 8vw; /* Responsive width */
    height: auto; /* Maintain aspect ratio */
}

#link-pants img {
    width: 8vw; /* Responsive width */
    height: auto; /* Maintain aspect ratio */
}

#link-tie img {
    width: 7vw; /* Smaller item, smaller viewport percentage */
    height: auto; /* Maintain aspect ratio */
	margin-left: 1vw;
}

#link-pocketsquare img {
    width: 4vw; /* Smaller item, smaller viewport percentage */
    height: auto; /* Maintain aspect ratio */
		margin-left: 2vw;
}

#link-shoes img {
    width: 6vw; /* Intermediate size */
    height: auto; /* Maintain aspect ratio */
    margin-top: 2vh; /* Responsive margin using viewport height */
}


/* Set the button background to black and text to white */
.iubenda-tp-btn.iubenda-cs-preferences-link {
    background-color: black !important; /* Set background color to black */
    color: white !important; /* Set text color to white */
    border: none !important; /* Remove any border */
}
/* Ensure the Iubenda consent banner is positioned at the bottom left */
#iubenda-cs-banner, 
#iubenda-cs-banner .iubenda-cs-container {
    bottom: 0 !important; 
    left: 0 !important; 
    right: auto !important; 
    margin: 0 !important; 
    text-align: left !important;
}

/* Ensure the floating preferences button is positioned at the bottom left */
#iubenda-cs-floating-button {
    bottom: 10px !important; 
    left: 10px !important; 
    right: auto !important;
}

/* Customize button styles */
.iubenda-cs-customize-button, 
.iubenda-cs-reject-button,
.iubenda-cs-close-link {
    bottom: 1px !important;
    left: 1px !important;
    right: auto !important;
}

/* Override any inline styles set by Iubenda */
.iubenda-banner-content {
    text-align: left !important;
}

.iubenda-banner .iubenda-cs-btn-primary,
.iubenda-banner .iubenda-cs-btn-secondary {
    margin-left: 1px !important;
}

/* Ensure all Iubenda elements are styled properly */
.iubenda-cs-preferences-link, 
.iubenda-cs-accept-btn, 
.iubenda-cs-reject-btn { 
    float: left !important;
    margin-left: 10px !important;
}

/* Targeting dynamically generated Iubenda elements */
.iub__us-widget {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: auto;
}

.iub__us-widget__wrapper {
    display: flex;
    flex-direction: column; /* Stack the buttons vertically */
    align-items: flex-start; /* Align the buttons to the left */
  border: none !important; /* Remove any borders */
  display: none;
}

.iub__us-widget__link {
    margin-bottom: 1px; /* Add some space between the buttons */
    background: white !important; /* Set background to black */
    color: black !important; /* Set text color to white */
    border: none !important; /* Remove any borders */
    padding: 5px 10px !important; /* Add some padding */
    text-decoration: none !important; /* Remove underline */
    display: inline-block; /* Ensure links are inline-block */
  font-size: 0.4em; /* Smaller font size than h2 */
    font-weight: bold; /* Lighter font weight */
  display: none;
}

/* Remove hover effects */
.iub__us-widget__link:hover {
    background: white !important;
    color: white !important;
}

/* Hide the specific Iubenda element */
.iub__us-widget__link--privacy-choices {
    display: none !important;
}

.iub__us-widget {
    display: none !important;
}


/* Ensure the button background is black, text color is white, and remove border */
.iubenda-tp-btn.iubenda-cs-preferences-link {
    background-color: black !important; /* Set background color to black */
    color: white !important; /* Set text color to white */
    border: none !important; /* Remove any border */
    padding: 10px 20px; /* Add padding for better appearance */
    border-radius: 5px; /* Optional: Add border-radius for rounded corners */
    cursor: pointer; /* Change cursor to pointer */
    display: flex; /* Use flex to properly align any content inside the button */
    align-items: center; /* Center align items vertically */
    justify-content: center; /* Center align items horizontally */
}

/* Ensure any image inside the button is styled correctly */
.iubenda-tp-btn.iubenda-cs-preferences-link img {
    filter: invert(1); /* Invert colors to make a white image appear black */
    width: 10px; /* Adjust width as necessary */
    height: 10px; /* Adjust height as necessary */
    margin-right: 10px; /* Add space between image and text */
  background-color: black !important; /* Slightly lighter black for hover effect */
}

/* Additional customization for hover effect */
.iubenda-tp-btn.iubenda-cs-preferences-link:hover {
    background-color: #333 !important; /* Slightly lighter black for hover effect */
    color: #fff !important; /* Ensure text color remains white */
}



/* Media query for smaller screens */
@media (max-width: 600px) {
	
    .burger-menu {
        width: auto; /* Ensure it fits the text */
        height: auto; /* Adjust height as necessary */
    }
	
	.personaljacket, .personalpants {
    margin: 0px;
    border: 2px solid #ddd;
    border-radius: 50%; /* Makes the element circular */
    padding: 5px;
    width: 15px; /* Adjust size to match design preference */
    height: 15px; /* Same as width to maintain circle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; /* If they are clickable */
    transition: transform 0.3s ease; /* Optional: adds a smooth transform effect */

}



    .jacket-colors.colors, .pants-colors.colors {
        position: static; /* Remove absolute positioning */
        display: flex; /* Display as a flex container */
        flex-wrap: wrap; /* Allow wrapping of color options */
        justify-content: center; /* Center horizontally */
        margin-top: -500px; /* Add margin for spacing */
    }

/* Button styling */
.colorChoice {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    margin: 8px;
	
}
    .generate img {
        width: 25vmin; /* Slightly larger on smaller screens */
		height: auto; /* Adjust to maintain aspect ratio */
		margin-top: 20px;
    }

.currency img {
    width: 15vw; /* Adjust percentage based on design requirements */
    height: auto; /* Adjust to maintain aspect ratio */
}
	
/* Responsive styles for each currency option */
#link-jacket img {
    width: 15vw; /* Responsive width */
    height: auto; /* Maintain aspect ratio */
	margin-top: 20vh; /* Responsive margin using viewport height */
}

#link-pants img {
    width: 15vw; /* Responsive width */
    height: auto; /* Maintain aspect ratio */
}

#link-tie img {
    width: 12vw; /* Smaller item, smaller viewport percentage */
    height: auto; /* Maintain aspect ratio */
	margin-left: 5vw;
}

#link-pocketsquare img {
    width: 11vw; /* Smaller item, smaller viewport percentage */
    height: auto; /* Maintain aspect ratio */
		margin-left: 5vw;
}

#link-shoes img {
    width: 12.5vw; /* Intermediate size */
    height: auto; /* Maintain aspect ratio */
    margin-top: 4vh; /* Responsive margin using viewport height */
		margin-left: 5vw;
}

.title {
    font-size: 0.5em; /* Use relative size for scalability */
    letter-spacing: 0.2em;
    text-align: center;
    font-weight: bold;
    padding: 1em 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  text-decoration: none; /* Removes underline from the h1 text if inherited from <a> */
}
.svg-container {
    display: flex;
    justify-content: center; /* Centers the SVG horizontally in the container */
    align-items: center; /* Centers the SVG vertically in the container */
    width: 100%;
    height: calc(85vh - 70px); /* Adjust height as necessary */
    overflow: hidden;
	margin-top: -20px; /* Adjust as needed to reduce space */
	position: relative;
}

svg {
    max-width: 100%; /* Sørger for at SVG ikke bliver bredere end containeren */
    max-height: 100%; /* Sørger for at SVG ikke bliver højere end containeren */
    display: block; /* Fjerner eventuelle marginer fra default inline-block display */
	margin-top: -40px; /* Adjust as needed to reduce space */	
}
  
   #infoBtn {
        font-size: 14px;
        padding: 8px 9px;
    }

    .personaljacket, .personalpants {
        margin-left: 1px; /* Reduce margin on smaller screens */
        margin-bottom: 5px;
    }

    .popup {
        width: 275%; /* Adjusts width to take up more of the screen */
        left: 150%; /* Center horizontally */
        transform: translate(-50%, -60px); /* Keep it centered and slightly above the bottom */
        padding: 10px; /* Optionally adjust padding for smaller screens */
    }
	
    .infoarrow {
        flex-direction: column;
        align-items: center;
        position: absolute; /* Adjust to absolute for finer control */
        left: -20px; /* Move more to the left, adjust value as needed */
        top: 42%; /* Keep it vertically centered */
        transform: translateY(-50%); /* Center alignment adjustment */
        margin-right: 0; /* Adjust or remove margin as it's now positioned absolutely */
    }
	
	.infoarrow2 {
        flex-direction: column;
        align-items: center;
        position: absolute; /* Adjust to absolute for finer control */
        left: 65px; /* Move more to the left, adjust value as needed */
        top: 25%; /* Keep it vertically centered */
        transform: translateY(-50%); /* Center alignment adjustment */
        margin-right: 0; /* Adjust or remove margin as it's now positioned absolutely */
	}
	
    .text {
        font-size: 14px;
        margin-bottom: 5px; /* Space between text and image */
		display: none;
    }

    .image {
        width: 100px;
        height: auto;
    }
  
}
