


.links a {background: transparent url(grey3.png) 0 0 repeat fixed; 
overflow: hidden; }
.links a:hover {background: #468 url(grey4.png) 0 0 repeat fixed;} 
.links a {display: block; text-align: center; font: bold 1em sans-serif; padding: 5px 10px; margin: 0 0 2px; border-width: 0; text-decoration: none; color: #000;
overflow: hidden;}
.links a:hover {color: #fff;}

.nav1 {
    position: sticky; top: 0; z-index:1000; background-color: #333; background: #468 url(grey1.png)0 0 repeat fixed; border: solid Blue; 
margin: 25px;  
}


.menu {
 position: relative;

    list-style: none;
    display: flex;
    padding: 10px;
    justify-content: center;
}

.menu-item {
z-index: 2;
    position: relative;
margin: 0px 5px 0 0;
}

.menu-item a {
    display: block;
    padding: 15px 15px;
    text-decoration: none;
    color: white;
    background-color: #333;
    background: #468 url(grey3.png) 0 0 repeat fixed; 
    transition: background-color 0.3s ease;
}

.menu-item a:hover {
    background-color: #555;
color: blue;
background: #468 url(grey4.png) 0 0 repeat fixed;
}

/* Style for submenus */
.submenu {
 z-index: 2;
       display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background-color: #333;
    padding: 0;
}

.submenu li a {
    padding: 5px 5px;
    text-decoration: none;
    color: white;
    background-color: #333;
    display: block;
    width: 200px;   
    height: auto;

    transition: background-color 0.3s ease;
}

.submenu li a:hover {
    background-color: #555;
	color: blue;
background:#468 url(grey4.png) 0 0 repeat fixed;
}

/* Show submenu on hover */
.menu-item:hover .submenu {
    display: block;
}
       
        h1 {
            text-align: center;
            color: white;
        }
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
        }
        input, button {
            width: 90%;
            padding: 10px;
           margin-bottom: 15px; 
              border: 1px solid #ccc;
            border-radius: 4px;
        }
        button {
            background-color: #007BFF;
            color: white;
            font-size: 16px;
            cursor: pointer;
        }
        button:hover {
            background-color: #0056b3;
        }
        .result {
            text-align: center;
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }

