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

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
    height: fit-content;
}
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;
}


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

header .logo a:hover {
    color: #ff4081;
}


.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: 150vh;
    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;
    max-width: 1100px;
    height: 150vh;
}

.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;
    height: fit-content;
}

footer p {
    margin: 0;
}

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

/* Slideshow Container */
.slideshow-container {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* Full-size slides */
.mySlides {
    display: none;
    position: relative;
}

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

/* Number and caption */
.number, .text {
    color: #f2f2f2;
    font-size: 1.2rem;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    text-align: center;
}

.number {
    top: 10px;
    left: 0;
    padding: 8px 12px;
    font-size: 1.5rem;
}

.text {
    bottom: 8px;
    padding: 8px 12px;
}

/* Navigation buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    transform: translateY(10px);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 3px 0 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    transform: translateY(10px);
}

/* Thumbnails */
.thumbnail-row {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.thumbnail {
    margin: 0 5px;
}

.thumbnail img {
    width: 80px;
    cursor: pointer;
    opacity: 0.6;
    margin-top: 550px;
}

.thumbnail img:hover {
    opacity: 1;
}

.active-thumb {
    opacity: 1 !important;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

#main {
    width: 1000px;
    height: 450px;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#left, #center, #right {
    width: 30%;
    height: 430px;
    background-color: white;
    margin: 15px;
    border: rgb(255, 89, 0) solid 3px;
    border-radius: 10px;
}


#left img, #center img, #right img {
    width: 200px;
    height: 200px;
    border: #ff4081 solid 1px;
    border-radius: 10px;
}

#left p, #center p, #right p {
    font-size: 15px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: black;
    text-align: left;
    margin: 8px;
    font-style: italic;

}