/* Reset default styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Set up the body with flexbox to center the content */
body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Changed to min-height to account for content overflow */
    text-rendering: optimizeLegibility;
  overflow: hidden; /* Disable scrolling */
}

/* Container for all content to apply max width and padding */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%; /* Changed to a percentage for responsive padding */
    max-width: 1200px; /* Maximum width for larger screens */
    margin: auto; /* Auto margins for centering the container */
    padding: 20px;
}

/* Main title styling with large letter spacing */
.title {
    font-size: 4em; /* Use relative size for scalability */
    letter-spacing: 0.2em;
    text-align: center;
    font-weight: bold;
    padding: 0.5em 0;
 text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Subtil skygge for dybde og elegance */
}

/* Responsive logo size and spacing */
.logo {
    display: block;
    margin: 1em auto;
    width: 50%; /* Start with a larger percentage on mobile */
    max-width: 200px; /* Set a max-width to prevent the logo from being too big on large screens */
    height: auto;
}

/* Sections positioning and responsiveness */
.sections-row {
    display: flex;
    flex-wrap: wrap; /* Wrap sections on smaller screens */
    justify-content: center;
    align-items: center;
    margin-top: 4em;
    width: 100%;
}

/* Styling for each column */
.column {
    flex: 1 1 300px; /* Adjusted flex-basis for better responsiveness */
    text-align: center;
    padding: 1em; /* Added padding for spacing on smaller screens */

    margin: 10px; /* Add margin for spacing */
}

.column:hover {
   opacity: 0.7;
   
}

.column a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Tagline styling */
.tagline {
    font-size: 20px; /* Adjust if necessary */
    letter-spacing: 10px; /* Increased letter spacing */
    text-align: center;
    font-weight: bold;
    padding: 30px 0; /* More padding around the title */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Subtil skygge for dybde og elegance */
    margin-top: -60px; /* Adjust this value as needed */
    margin-bottom: 60px; /* Adjust this value as needed */
    white-space: nowrap; /* Prevents the text from wrapping */
    overflow: hidden; /* Ensures overflow text is hidden (just in case) */
    text-overflow: ellipsis; /* Adds an ellipsis if the text overflows */
  text-transform: uppercase; /* Gør teksten mere majestætisk */
}

/* Header elements within columns */
.column h2 {
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5em;
    animation: fadeIn 1s ease-in-out;
	    margin-top: 0.3em; /* Added margin for spacing */
    margin-bottom: 0.3em; /* Added margin for spacing */
	 display: inline-block; /* Make h2 an inline-block element to handle inline pseudo-elements */
	position: relative; /* Ensure pseudo-elements are positioned relative to h2 */
   text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Subtil skygge for dybde og elegance */

}

.column h2::before, .column h2::after {

    font-size: 0.5em; /* Slightly larger than the text */
    color: #666; /* Subtle color for the dots */
    margin: 0 0.2em; /* Small space between the dots and the text */
    vertical-align: middle; /* Align dots vertically with the text */
}

/* Paragraph styling for the subtext */
.column p {
    font-size: 0.7em; /* Smaller font size than h2 */
    font-weight: bold; /* Lighter font weight */
    color: #666; /* Lighter color */
    padding: 0.5em 0; /* Optional: Adjust padding for better spacing */
	  animation: fadeIn 1s ease-in-out;
	      margin-top: 0.3em; /* Added margin for spacing */
    margin-bottom: 0.3em; /* Added margin for spacing */
  text-transform: uppercase; /* Gør teksten mere majestætisk */
}

.footer {
    width: 100%;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fff;
    display: block;
}

.footer-content {
    width: 100%; /* Ensure the footer content spans the full width */
    max-width: 1200px; /* Maximum width can be set to align with your .container */
    margin: 0 auto; /* Center the .footer-content horizontally */
    text-align: left; /* Align text to the left */
    padding-left: 10px; /* Add some padding to the left */
}

.footer-content a {
    display: inline-block; /* Display links inline */
    margin-right: 15px; /* Add some margin between the links */
  text-decoration: none;
    color: inherit;
}

/* 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: hidden;
}

/* 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 Queries for responsive adjustments */
@media screen and (min-width: 768px) {
    .title {
        font-size: 7em; /* Larger font size for larger screens */
    }

    .logo {
        width: 30%; /* Smaller percentage for larger screens */
    }

    .sections-row {
        justify-content: space-between; /* Space out sections on larger screens */
    }

    .column h2 {
        font-size: 1.25em; /* Larger font size for readability */
    }

    .footer-content a {
        font-size: 0.9em; /* Adjust font size for footer links */
    }
}

@media screen and (max-width: 768px)  {
    /* Position the title and tagline at the top */
.header-container {
        position: absolute; /* Position the whole container relative */
        top: 2vw; /* Start near the top of the viewport */
        left: 4vw; /* Padding from the left */
        width: 90vw; /* Make sure it takes up most of the screen width */
        margin: 0; /* No extra margins */
        padding: 0; /* Remove padding */
        text-align: left; /* Align content to the left */
    }

    .title {
        font-size: 20vw; /* Responsive font size for title */
        max-font-size: 48px; /* Set a maximum font size */
        margin: 0; /* Remove any margin */
        padding: 0.2em 0; /* Adjust padding */
        letter-spacing: 0.1em; /* Adjust letter spacing */
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
        white-space: normal; /* Allow text to wrap onto multiple lines */
        word-wrap: break-word; /* Ensure long words break to the next line */
        overflow-wrap: break-word; /* Same as word-wrap */
        text-align: left;
    }

    .tagline {
        font-size: 4vw; /* Smaller font size for tagline */
        letter-spacing: -0.5px; /* Adjust letter spacing */
        margin: 0; /* Remove any margin */
        margin-top: 0.5vw; /* Space between title and tagline */
        padding: 0; /* Adjust padding */
        white-space: nowrap; /* Prevent text wrapping */
        overflow: hidden; /* Hide overflow */
        text-align: left;
    }

    /* Position the sections-row at the bottom of the screen */
    .sections-row {
        position: absolute;
        bottom: 10vw; /* Stick to the bottom of the screen */
        left: 2vw; /* Align with the left edge */
        width: 100%; /* Ensure it takes the full width */
        padding: 0 5vw; /* Add padding to the sides */
        display: flex;
        flex-direction: column;
        align-items: stretch; /* Ensure sections take full width */
        margin: 0; /* Remove any margin */
    }

    .column {
        text-align: left;
        margin: 0.8em 0; /* Keep vertical margin for spacing between sections */
        padding: 0; /* Remove padding to allow content to touch edges */
        width: 100%; /* Ensure it takes the full width */
        flex: none; /* Prevent columns from stretching beyond text size */
    }

    .column p, .column h2 {
        margin-top: 0.1em; /* Reduce margin for vertical spacing */
        margin-bottom: 0.1em; /* Reduce margin for vertical spacing */
    }
}



