.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 24px;
    border: 1px solid #888;
    width: 90%; /* Responsive width */
    max-width: 450px; /* Maximum width */
    animation-name: fadeIn;
    animation-duration: 0.5s;
}

@keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@media (max-width: 640px) {
    .modal-content {
        margin: 10% auto; /* Increased margin for smaller screens */
        padding: 10px; /* Added padding for smaller screens */
    }
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa; /* Change as per your color scheme */
    color: #5a5a5a; /* Footer text color */
    text-align: center;
    padding: 10px 0;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2); /* Optional: adds a slight shadow for depth */
}

.container {
    width: 90%;
    font-size: 10pt;
    max-width: 1140px; /* Max container width */
    margin: auto;
    padding: 0 15px;
}

/* Improving the vertical centering of the input form on smaller screens */
@media (max-width: 640px) {
    .bg-gray-200 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
        padding: 20px 0; /* Add some padding to avoid touching the edges */
    }

    .max-w-md {
        width: 90%; /* Ensures the form takes full width */
        max-width: 400px; /* Keeps the max width in check */
    }
}

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

#urlDisplay {
    font-size: 20px; /* Adjust size as needed */
}