@font-face {
    font-family: 'Nicomadonia-Regular';
    src: url('Nicomadonia-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nicomadonia-Bold';
    src: url('Nicomadonia-Bold.ttf') format('truetype');
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Nicomadonia-Regular', Arial, sans-serif;
    min-height: 100vh; /* Ensure body takes up at least the full viewport height */
    display: flex; /* Convert body to flex container */
    flex-direction: column; /* Stack children vertically */
    background-color: #fdfffd;
}


h1 {
    font-family: 'Nicomadonia-Bold', Arial, sans-serif;
    font-size: 1.5em;
}

.content {
    text-align: center;
    flex: 1; /* Allow content to grow and take up available space */
    display: flex; /* Use flex for centering its children */
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center children vertically */
    align-items: center; /* Center children horizontally */
}

.centered-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Existing styles for the email input */
.email-input {
    width: 80%; 
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Adjustments for larger screens */
@media (min-width: 769px) { 
    .email-input {
        width: 26.67%;
    }
}


#emailWarning {
    display: none;
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

.submit-btn {
    display: block;
    width: 250px;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 20px;
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 5px 12px rgba(0,0,0,0.15);
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
}

.submit-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

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


.gdpr-compliance {
    margin: 15px 0;
    font-size: 0.8em;
}

.gdpr-compliance label {
    font-family: 'Nicomadonia-Regular', Arial, sans-serif !important;
}

/*Footer Styles */
footer {
    padding: 20px;
    background-color: #f5f5f5;
    font-family: 'Nicomadonia-Regular', sans-serif;
    border-top: 1px solid #e0e0e0;
    max-width: 100%;
    overflow: auto;
    text-align: center;
}

footer div {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjusted the minmax for better responsiveness */
    gap: 0 20px;
    justify-items: center; /* Centers the content within the grid cells */
}

footer h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

footer p, footer a {
    font-size: 1em;
    margin-bottom: 5px;
}

footer a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

footer a:hover {
    color: #555;
}

footer div div {
    display: flex;
    flex-direction: column;
    align-items: center; /* Aligns content to the center for better appearance */
}

.instagram-icon {
    height: 24px; /* Adjust as needed */
    width: auto;
    margin-left: 10px;  /* Adds a little space between the company name and the icon */
}

.content video {
    width: 50%;
    height: auto;
    z-index: 1000; /* Ensures the menu is above other elements, including the video */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    footer div {
        grid-template-columns: 1fr; /* On smaller screens, each section takes full width */
    }

        .content video {
        width: 100%;
        margin-top: 20px;
    }
}

#cookieConsentBanner {
    background-color: #f5f5f5; /* Light grey background */
    color: #333; /* Dark text color */
    padding: 10px 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Ensure it's on top */
    display: none;
    justify-content: space-between;
    align-items: center;
    font-family: 'Cabin', sans-serif; /* Set font to Cabin */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    font-size: 11px;
}

#cookieConsentBanner button {
    color: #fff; /* White text color */
    border: none;
    padding: 10px 20px;
    border-radius: 25px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 5px;
    background-color: #4CAF50;
}

#cookieConsentBanner button:hover {
    background-color: #555; /* Slightly lighter color on hover */
}

#cookieConsentBanner .exit-modal-close-btn {
    position: absolute;
    top: -3px;
    right: 373px;
    width: 20px; /* Adjust based on your preference */
    height: 20px;
    cursor: pointer;
}

#cookieConsentBanner span {
    margin: 0 5px; /* Added some margin to space out the text and button */
}

/* Existing styles */
.exit-modal {
    display: none;
}

.exit-modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
}

.exit-modal-content {
    width: 300px;
    margin: 15% auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    position: relative;
}

.exit-modal-image {
    width: 80%; /* Adjust as needed */
    display: block;
    margin: 0 auto; /* Center the image */
    border-radius: 10px; /* Optional: Round the corners */
    margin-bottom: 10px; /* Space between image and text */
}

.exit-modal-text {
    text-align: center;
    margin-bottom: 20px; /* Space between text and email input */
    font-size: 20px; /* Adjust as needed */
}

/* New or modified styles */
.exit-modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px; /* adjust as per your preference */
    height: 20px; /* adjust as per your preference */
    cursor: pointer;
}

header {
    width: 100%;
    background-color: #fefffd;
    padding: 10px 0;
    position: relative; /* This allows us to position child elements relative to the header */
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

#hamburgerMenu {
    position: absolute;
    right: 20px;
    top: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 30px;
}

#menuOptions {
    position: absolute;
    right: 20px;
    top: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001; /* Ensures the menu is above other elements, including the video */
}

#menuOptions a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: black;
}

#menuOptions a:hover {
    background-color: #fefffd;
}

.hidden {
    display: none;
}

#logoContainer {
    position: absolute;
    left: 20px;
    top: 20px;
    transform: translateY(-50%);
}

#logo {
    max-height: 50px; /* Adjust as needed */
    width: auto;
}

.grid-container {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
    max-width: 1200px;
    flex-wrap: nowrap; /* Ensures items stay on the same line */
}

.grid-item.option {
    width: calc(50% - 22px); /* Subtracting 2px for the border and 20px for the margin */
    height: calc(50% - 22px); /* Making it square */
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
    border: 2px solid rgba(0,0,0,0.1);
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none; /* Remove underline from the link */
    color: inherit; /* Inherit text color */
    flex-direction: column; /* Stack children vertically */
    justify-content: start; /* Start the content at the top */
    align-items: center; /* Center the content horizontally */

}

.grid-item.option:hover {
    transform: translateY(-2px);
    box-shadow: 0px 5px 12px rgba(0,0,0,0.15);
}

.grid-image {
    max-width: 100%; /* Ensures the image doesn't overflow the box */
    max-height: 100%; /* Ensures the image doesn't overflow vertically */
    display: block; /* Removes any default margins or paddings */
    margin: auto; /* Centers the image within the box */
}

.text-above-image {
    display: block; /* Make the text occupy its own line */
    margin-bottom: 10px; /* Space between the text and the image */
    text-align: center; /* Center the text horizontally */
    font-size: 16px; /* Adjust as necessary */
    color: #333; /* Adjust as necessary */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .grid-container {
        flex-wrap: wrap; /* Allow items to wrap onto multiple lines */
    }

    .grid-item.option {
        width: calc(33.33% - 22px); /* Adjust width for 3 items in a row, accounting for margin and border */
        margin: 10px; /* Adjust margin as needed */
    }
    
    footer div {
        grid-template-columns: 1fr; /* On smaller screens, each section takes full width */
    }

    .content video {
        width: 100%;
        margin-top: 20px;
    }
}

