/* Global Styles */
body {
    font-family: Arial, sans-serif;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.contents {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
  box-sizing: border-box; /* Ensure padding doesn't add extra width */
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;

font-weight: bold;
  letter-spacing: 0.1em;
}

h2 {
    font-size: 1.2rem;
    margin-bottom: 10px; /* Reduce space between h2 and links */
    text-align: center;
   font-weight: bold; 
}

a {
    display: block; /* Ensure each link is on its own line */
    text-align: center; /* Center align the links */
    margin-bottom: 15px; /* Space between each link */
    font-size: 0.9rem;
    text-decoration: none;
    color: black;
  text-transform: uppercase;
}

a:hover {
	opacity: 0.7;
    }

section {
    margin-bottom: 80px; /* Add space between sections */
   box-sizing: border-box;
}

/* Style the footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
  height: 30px; /* Set a specific height for the footer */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white; /* Or your preferred footer background color */
    padding: 1vh 0; /* Use viewport-relative units for responsive padding */
    z-index: 1000;
      flex-wrap: wrap;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center; /* Aligns the content vertically */
    width: 100%;
    padding-bottom: 40px; /* Move content up within the footer */
   gap: 20px;
}

/* Style for the anchor and image */
.second-image img {
    width: 5vw; /* Use viewport-relative units to adjust size based on screen width */
    max-width: 25px; /* Maximum size limit to prevent it from getting too large */
    height: auto;
    transform: rotate(90deg); /* Rotate image 45 degrees */
    transition: transform 0.3s ease;
   margin-bottom: 0; /* Ensure no extra margin at the bottom */ 	
}

/* 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 */
}

