
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #1e1e1e;
}

header a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f8f8f8;
    text-decoration: none;
    transition: color 0.3s ease;
}

header a:hover {
    color: #ff4081;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #f8f8f8;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff4081;
}

/* Dropdown list hidden initially */
.dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-list li {
    padding: 10px;
    background-color: #f9f9f9;
    color: #333;
}

.dropdown-list li a {
    color: #333;
    text-decoration: none;
    display: block;
}

.dropdown-list li:hover {
    background-color: #eeeeee;
}

/* Show dropdown when hovering over "Planets" */
.dropdown:hover .dropdown-list {
    display: block;
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('hero-image.jpg') center/cover no-repeat;
}

.hero-content {
    text-align: center;
    max-width: 1100px;
    height: 100vh;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #bbbbbb;
}

.cta-button {
    padding: 0.75rem 2rem;
    background-color: #ff4081;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ff79b0;
}

footer {
    background-color: #1e1e1e;
    padding: 1rem;
    text-align: center;
    color: #bbbbbb;
}



#body {
    background-image: url('Images/back.jpg');
    background-size: cover;
}

/* Image styles */
img {
    vertical-align: middle;
    width: 100%;
}




.container {
    margin-top: 50px;
}

.buttons {
    margin: 20px;
}

button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid #333;
    background-color: #fff;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #ddd;
}


 #table{
    width: 300px;
    height: 70px;
    text-align: center;
    margin: 15px 0px 0px 0px;
    color: white;

 }
#log{
    width: 350px ;
    height: 550px;
    background-color:blueviolet;
    margin: 70px 0px 0px 15px;
    border: blueviolet 1px solid;
    border-radius: 10px;
}

input[type=text], input[type=password], input[type=number], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid black;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: blue;
    color: white;
    padding: 14px 20px;
    margin: 8px 25px 0px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 300px;
    transition: transform 0.6s ease;
    
}
    button:hover {
        transform :scale(1.1);
        background-color:#ff4081;
    }
    #message1 {
        text-align: center;
        margin: 20px auto;
        padding: 10px;
        position: absolute;
        border-radius: 5px;
        width: 300px;
        margin-top:1px;
        color:greenyellow;
        height: 50px;
       
        font-size: 15px;
    }
#message2 {
            text-align: center;
        margin: 20px auto;
        padding: 10px;
        position: absolute;
        border-radius: 5px;
        width: 300px;
        margin-top:1px;
        color:red;
        height: 50px;
       
        font-size: 15px;
}

#img-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    width: 300px;
    margin: 15px auto;
    overflow: hidden;
}

#img {
    object-fit: cover;
    object-position: center 30%;
    height: 100%;
    width: 100%;
    border: 1px solid blueviolet;
    border-radius: 150px;
}