/* Embed the Poppins font */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500; /* Medium weight */
    font-style: normal;
}

/* Reset and ensure body and html take up full height */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent scrollbars */
    font-family: 'Poppins', sans-serif; /* Apply the embedded Poppins font */
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover; /* Ensure the background covers both X and Y axes */
    display: flex;
    flex-direction: column;
}

/* Wrapper for content to take full height */
.wrapper {
    flex: 1; /* Take up all available height except footer */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center;     /* Center content horizontally */
}

/* Centered logo with dynamic mouse-following effect and drop shadow */
.logo img {
    width: 250px;
    transition: transform 0.1s ease-out;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.5)); /* Corrected drop-shadow for PNG transparency */
}

/* Remove hover effect on mobile */
@media (max-width: 768px) {
    /* Disable logo hover effect */
    .logo img {
        transition: none; /* Remove transitions on mobile */
        transform: none;   /* Remove any transformations on mobile */
    }

    /* Disable background hover effect */
    body, html {
        background-position: center center !important; /* Keep background centered */
        transition: none; /* Disable background movement */
    }

    /* Hide dashes on mobile */
    .dash {
        display: none;
    }
}

/* Bold headline with drop shadow */
.headline {
    margin-top: 20px;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); /* Soft shadow for text */
}

@media (max-width: 768px) {
    .dash {
        display: none; /* Hide the dashes on mobile devices */
    }
}

/* Main content section */
.main-content {
    text-align: center; /* Center text content */
    display: flex;
    flex-direction: column; /* Stack the logo, headline, and socials vertically */
    align-items: center; /* Horizontally center everything */
    justify-content: center; /* Vertically center everything */
    flex-grow: 1; /* Ensure it takes up remaining space */
}

/* Centered logo with dynamic mouse-following effect and drop shadow */
.logo {
    display: flex;
    justify-content: center; /* Ensure the image inside is centered */
    align-items: center; /* Vertically center the image */
}

/* Instagram link styling */
.socials {
    margin-top: 20px;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.instagram-link img {
    width: 24px;
    margin-right: 10px;
}

.instagram-link:hover {
    color: #e1306c;
}

/* Footer section */
.footer {
    background-color: #000;
    color: #fff;
    padding: 10px;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0; /* Stick footer at bottom */
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Space between items */
    font-size: 12px;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer-content a:hover {
    color: #e1306c;
}

/* Imprint content hidden by default with a fade effect */
.imprint-content {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 0;
    background-color: #111;
    padding: 0 20px;
    text-align: center;
    color: #fff;
    font-size: 12px;
}

.imprint-content.visible {
    opacity: 1;
    max-height: 300px; /* Adjust depending on content size */
    padding-top: 20px;
    padding-bottom: 20px;
}

    /* Cookie Banner Styling */
    .cookie-consent-banner {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 300px;
        background-color: #333;
        color: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        font-family: Arial, sans-serif;
        font-size: 14px;
    }

    .cookie-consent-banner p {
        margin: 0 0 10px;
    }

    .cookie-buttons {
        text-align: right;
    }

    .cookie-button {
        padding: 10px 15px;
        font-size: 14px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .cookie-button.accept {
        background-color: #28a745;
        color: white;
    }

    .cookie-button.accept:hover {
        background-color: #218838;
    }

    .cookie-button.settings {
        background-color: #007bff;
        color: white;
    }

    .cookie-button.settings:hover {
        background-color: #0056b3;
    }

    /* Cookie Settings Modal Styling */
    .cookie-settings-modal {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        width: 400px;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        border-radius: 10px;
    }

    .cookie-settings-content {
        text-align: left;
    }

    .cookie-settings-content h2 {
        margin-bottom: 15px;
        font-size: 18px;
        color: #333;
    }

    .cookie-settings-content label {
        display: block;
        margin-bottom: 10px;
        font-size: 14px;
        color: #555;
    }

    .cookie-button.save {
        background-color: #28a745;
        color: white;
        float: right;
    }

    .cookie-button.save:hover {
        background-color: #218838;
    }

    /* Overlay for the Modal */
    .cookie-settings-modal.active {
        display: block;
    }