/* General Styles */
body {
    background-color: #0E3A52;
    color: #FFFFFF;
    font-family: 'Arial', sans-serif;
    margin: 20;
    padding: 20;
}

a {
    text-decoration: none;
    color: #FFFFFF;
}

ul {
  padding: 1%;
    list-style-type: none;
    padding: 0;
    margin: 20;
}

.container {
    padding: 30px;
    background-color: #FFFFFF;
    color: #0E3A52;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin: 20px auto;
    max-width: 800px;
}

/* Navigation Bar */
nav {
    background-color: #007ACC;
    overflow: hidden;
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center;
    padding: 10px;
}

nav ul li {
    margin: 0 15px;
    position: relative; /* Ensure dropdowns are positioned relative to their parent */
}

nav ul li a {
    color: #FFFFFF;
    font-weight: bold;
    padding: 10px;
    display: block;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
    vertical-align: top; /* Ensure dropdown aligns correctly */
}

.dropdown-content {
    display: none;
    background-color: #0056b3;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #FFFFFF;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #000dff;
}

.dropdown:hover .dropdown-content {
    display: block;
    
}

/* Header */
header {
    background: #007ACC;
    color: #FFFFFF;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
}

/* Forms */
form {
    max-width: 600px;
    margin: 20px auto;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Results */
.result {
    color: #007bff;
    opacity: 65%;
    padding: 2%;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}

.error {
    color: red;
}

.about {
    font-family: 'Arial', sans-serif;
    text-align: center;
    font-weight: normal;
}

.butt {
    padding: 2%;
    text-align: center;
}

iframe {
    display: block;
    width: 100%;
    height: 400px;
    margin: 10px;
    border: none;
    margin-left: 0px;
    margin-right: 0px;
    
}

/* Responsive Design */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }

    .container {
        padding: 10px;
    }

    form {
        width: 100%;
    }

    header {
        font-size: 1.2em;
    }

    .input-group input,
    .input-group textarea {
        font-size: 14px;
    }

    button {
        font-size: 14px;
    }
}
