@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sour+Gummy&display=swap');

/* Minimal CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    background-color: #f3f4f6;
}
/* Minimal CSS Reset End */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f3f4f6;
}

.container {
    width: 100%;
    max-width: 650px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0 auto;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 20px;
    width: 100%; 
    color: #105D97;
    font-family: 'Sour Gummy', cursive;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #105D97;
    font-family: 'Sour Gummy', cursive;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #105D97;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

button:hover {
    background-color: #0591AF;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#copyButton {
    margin-top: 10px;
}

p {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 17px;
}

#lookupResult a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
}

/* Header Styles */
header {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    padding: 18px;
    font-size: 2rem;
    font-weight: bold;
    background-color: #fdfdfd; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header p {
    font-family: 'Sour Gummy', cursive;
    font-size: 1.5rem; 
    margin-top: 10px;
    margin-bottom: 8px;
    color: #333; 
}

header a {
    text-decoration: none; 
    color: inherit;
}

header a:hover {
    text-decoration: none;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 10px;
    width: 100%;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
}

footer nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

footer nav ul li a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .container {
        padding: 15px; 
        margin: 14px;
        max-width: 100%; 
    }

    header {
        padding: 8px; 
        font-size: 1.5rem; 
    }

    header h1 {
        font-size: 1.8rem; 
    }

    header p {
        font-size: 1.1rem; 
    }
}

@media (max-width: 400px) {
    .container {
        padding: 10px; 
        margin: 10px;
    }
}