body, html {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Prevent scrolling */
}

/* Full-page blur overlay */
.blurry-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    filter: blur(8px);
    z-index: 1; /* Behind clear content and ad-block container */
}

/* Adjustments for clear content */
.clear-content, .ad-block-container {
    position: relative;
    z-index: 2; /* Above the blur overlay */
}


.container {
    text-align: center;
    padding: 0 20px; /* Padding on smaller screens */
    height: 100vh;
}

.ad {
    background-color: #ddd; /* Placeholder color, replace with actual ad background */
    text-align: center;
    padding: 10px;
    margin: 10px 0;
}

.logo {
    display: block; /* Display the logo as a block */
    max-width: 200px; /* Adjust the size of the logo */
    margin: auto; /* Center the logo and add some margin */
    /* Additional styling if needed */
}

#generatedURL {
    /* Existing styles */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#generatedURL.show {
    opacity: 1;
}

input[type="text"], button {
    margin: 10px 0;
    padding: 10px;
    width: calc(100% - 20px); /* Adjust width accounting for padding */
    box-sizing: border-box; /* Include padding in width calculation */
}

button {
    cursor: pointer;
}

#generatedURL {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ddd;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    #topBannerAd, #sidebarAd {
        display: none; /* Hide ads on smaller screens */
    }
    
    /* Adjust form container to be full width on smaller screens */
    .container {
        width: 100%;
        padding: 0 10px;
    }

    input[type="text"], button {
        width: 100%; /* Full width on smaller screens */
    }
}

@media only screen and (min-width: 769px) {
    /* Desktop and larger tablets */
    .container {
        max-width: 600px; /* Maximum width of the container on larger screens */
        margin-left: auto;
        margin-right: auto;
    }

    input[type="text"], button {
        width: calc(100% - 20px); /* Adjust width accounting for padding */
    }
}

@media only screen and (max-width: 768px) {
    .logo {
        max-width: 200px; /* Smaller logo on mobile */
    }
    .slogan {
        font-size: 1em;
    }
}
