/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    max-width: 100vw;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header Styling */
header {
    background-color: #343a40;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    font-size: 24px;
    font-weight: bold;
}

#menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#menu li {
    display: inline;
    margin-right: 20px;
}

#menu li a {
    font-size: 18px;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

#menu li a:hover {
    background-color: #495057;
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

/* Footer Styling */
footer {
    background-color: #343a40;
    color: white;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #495057;
}

footer a {
    color: #007bff;
    font-weight: bold;
}

footer a:hover {
    color: #0056b3;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

button.get-text {
    background-color: #4CAF50;
    /* Green background */
    color: white;
    /* White text */
    padding: 12px 24px;
    /* Padding for a larger button */
    font-size: 16px;
    /* Text size */
    font-weight: bold;
    /* Bold text */
    border: none;
    /* Remove default border */
    border-radius: 5px;
    /* Rounded corners */
    cursor: pointer;
    /* Pointer cursor on hover */
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* Smooth transition */
}

button.get-text:hover {
    background-color: #45a049;
    /* Darker green on hover */
    transform: scale(1.05);
    /* Slight scale up on hover */
}

button.get-text:active {
    background-color: #3e8e41;
    /* Even darker green on click */
    transform: scale(1);
    /* Scale back to normal when clicked */
}

button.get-text:focus {
    outline: none;
    /* Remove default focus outline */
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    /* Add a glowing effect */
}

/* Global Styles for Input Fields */
input[type="text"] {
    background-color: #ffffff;
    /* White background */
    color: #333333;
    /* Dark text color */
    padding: 10px 15px;
    /* Padding for comfortable text entry */
    font-size: 16px;
    /* Text size */
    border: 1px solid #ccc;
    /* Light gray border */
    border-radius: 5px;
    /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    width: calc(100% - 30px);
    /* Full-width input minus padding */
    margin-bottom: 10px;
    /* Space between inputs */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition for border and shadow */
}

input[type="text"]:focus {
    border-color: #4CAF50;
    /* Green border on focus */
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
    /* Green shadow on focus */
    outline: none;
    /* Remove default focus outline */
}

input[type="text"]::placeholder {
    color: #999;
    /* Light gray placeholder text */
    opacity: 1;
    /* Ensure placeholder text is fully opaque */
}

/* Responsive Media Query */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    #menu ul {
        margin-top: 10px;
    }

    #menu li {
        display: block;
        margin-bottom: 10px;
    }
}