
* {
    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 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)), url('hero-image.jpg') 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{
    height: 20px;
    width: 800px;
    background-color:white;
    margin-bottom: 130px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
#details1{
    height: 20px;
    width: 800px;
    background-color:white;
    margin-bottom: 130px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
#details2{
    height: 20px;
    width: 800px;
    background-color:white;
    margin-bottom: 130px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
#cont-mars{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#mars , #mars1{
    width: 30%;
    height: 400px;
    margin-top: 15px;
    border-radius: 10px;
    margin-left:15px ;
}
#mars1{
    margin-left: 0px;
    margin-right: 15px;
    width: 35%;
}

#cont-hero p{
    margin: 15px 50px 0px 30px;
    font-size: 20px;
    color: white;
    text-align: left;
    margin: 15px 50px 0px 30px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
#co{
    height: 20px;
    width: 95.32%;
    background-color:coral;
    float: left;
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: -95.60%;
    transition: transform 1s linear;

    
}
#n{
    height: 20px;
    width: 2.6%;
    background-color:coral;
    float: left;
    position: absolute;
    top: 0;
    left: -2.75%;
    transition: transform .5s linear;
    border-radius: 5px;
}
#ar{
    height: 20px;
    width: 1.9%;
    background-color:coral;
    position: absolute;
    top: 0;
    transition: transform .5s linear;
    float: left;
    border-radius: 5px;
    left: -2.20%;

}

#details:hover #co {
    background-color: coral;
    transform: translateX(100%);
}
#details1:hover #n {
    background-color: coral;
    transform: translateX(100%);
}
#details2:hover #ar {
    background-color: coral;
    transform: translateX(100%);
}

