@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@600&display=swap');
body {
    font-family: 'Nunito Sans', Arial;
    margin: 0;
    padding: 0;
    color: #fff;
    background: url('https://www.wsupercars.com/wallpapers-regular/Genesis/2024-Genesis-GMR-001-Hypercar-Concept-004-2160.jpg') no-repeat center center fixed;
    background-size: cover;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 25px;
    position: relative;
}

.logo h1 {
    margin: 0;
    font-size: 28px;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    position: relative;
}

.nav-links a {
    color: var(--header-text-color);
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    color: #e7e7e7;
    transition: background-color 0.3s ease;
}

.nav-links li {
    position: relative;
}

.nav-links li:hover .dropdown-menu {
    display: block;
}
    
.dropdown-trigger {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    list-style: none;
    padding: 10px 0;
    border-radius: 10px;
    width: 200px;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu li a {
    color: white;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-links li:hover .dropdown-menu {
    display: block;
}

header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

main {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 10px;
    margin: 20px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
}

header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

main {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 10px;
    margin: 20px;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

section h2 {
    margin-top: 0;
    font-size: 2rem;
}

form {
    display: flex;
    flex-direction: column;
}

form input, form textarea, form button {
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

form button {
    background-color: #004e92;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }
}

.h {
    color: red;
}

.logo h1{
    margin: 0;
    font-size: 28px;
}

.logo {
    display: flex;
    align-items: center;
}
.logo i{
    transition: transform 0.3s ease;
}

.logo i:hover{
    transform:scale(1.2)
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 25px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: var(--header-text-color);
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    color: #e7e7e7;
    transition: background-color 0.3s ease;
}

.logo i{
    color: #fff;
}


.nav{
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
    align-items: center;
}

#planets .btn{
    background-color: #0000005b;
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 7px;
}

#planets .btn:hover {
    background-color: #00000081;
    transition: background-color 0.3s ease;
}

.planets-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.planets-content p {
    flex: 1;
    margin: 0;
}

.planets-content button {
    padding: 0.5rem 1rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.planets-content button:hover {
    background-color: #0056b3;
}

#stars .btn{
    background-color: #0000005b;
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 7px;
}

#stars .btn:hover {
    background-color: #00000081;
    transition: background-color 0.3s ease;
}

.stars-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.stars-content p {
    flex: 1;
    margin: 0;
}

.stars-content button {
    padding: 0.5rem 1rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.stars-content button:hover {
    background-color: #0056b3;
}

.planet-details{
    background-color: #00000057;
}

.notification {
    display: none;
    padding: 10px;
    background-color: #004e92;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.notification.show {
    display: block;
}

#hero-head {
    position: relative;
}
#hero-head::after{
    content:'';
    width: 0;
    height: 3px;
    background: #ffffff;
    position: absolute;
    left: 0px;
    bottom: -6px;
    transition: 0.5s;
}

#hero-head:hover::after{
    width: 100%;
}

