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

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
    background-image: url('Images/back.jpg');
    background-size: cover;

}

/* 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 Section */
.hero {
    height: 200vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), center/cover no-repeat;
}

.hero-content {
    text-align: center;
    
    height: 200vh;
}

.hero-content h1 {
    font-size: 3rem;

}

.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 */
footer {
    background-color: #1e1e1e;
    padding: 1rem;
    text-align: center;
    color: #bbbbbb;
}

footer p {
    margin: 0;
}
#body{
    background-image: url(Images/back.jpg);
    background-size: cover;
}
#chart{
    width: 800px;
    height: 500px;
    margin: 20px 0;
}
#details ,#details1, #details2 {
    height: 20px;
    width: 800px;
    background-color:white;
    margin-bottom: 130px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

#h, #hi, #ch {
    height: 20px;
    width: 0%;
    background-color: darkkhaki;
    float: left;
    border-radius: 5px;
    
    transition: trnasform 1s linear;
    position: absolute;
    top: 0;
}
#h {
    width: 89.8%;
    left: -90%;
}
#hi {
    width: 10%;
    left: -10%;
}
#ch {
    width: 0.2%;
    left: 0%;
}
#details:hover #h, #details1:hover #hi, #details2:hover #ch {
   transform: translateX(100%);
    transition: transform 1s linear;
}

#cont-jupiter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}
#jupiter, #jupiter1 {
    width: 30%;
    height: 400px;
    margin-top: 15px;
    border-radius: 10px;
    margin-left: 15px;
}
#jupiter1 {
    margin-left: 15px;
    margin-right: 0px;
}
