* {
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Lexend Deca', sans-serif;
    background-color: #121212;
    overflow-y: scroll;
}

.home-content,.more-content,.photos-content, .contact-content {
    animation: fade 0.2s ease-in;
}
@keyframes fade {
    from {opacity: 0;}
    to {opacity: 1;}
}

.home-body{
    background-image: url(https://i.pinimg.com/1200x/6d/a6/43/6da64326bbd71d4552a2226b58259661.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    backdrop-filter: brightness(90%);
    
}
/* NAVIGATION SECTION */
.navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0);
    position: sticky;
    top:0px;
    background-color: #121212;
;
}

.logo{
    font-family: Lexend Deca;
    font-size: 40px;
    color: white;
    background-color: #121212;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 40px;
    background-color: rgb(46, 46, 46);
    padding: 15px 50px;
    margin: 5px 30px;
    border-radius: 80px;
    justify-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-family: Lexend Deca;
    font-size: 15px;
    transition: 0.3s ease-in;
    border-radius: 75px;
    padding: 5% 17%;
    transition: 0.5s ease-in-out;
}

.nav-links li a:hover {
    color: #ff9800;
    background-color: white;
    font-size: 16px;
}

/* HOME SECTION */
.home-content {
    margin: 150px 0px;
    align-content: center;
    justify-content: center;
    text-align: center;
    color: white;
    align-items: center;
}

.header {
    font-size: 60px;
    margin-bottom: 20px;
    background-image: linear-gradient(to right, rgb(43, 255, 0),rgb(255, 0, 0));
    -webkit-background-clip: text;
    color: transparent;
    stroke-width: 0.5px;
    stroke: white;
}

.content{
    font-size: 15px;
    font-weight: 500;
}

/* PLANETS SECTION */

.planets{
    display: grid;
   grid-template-columns: repeat(2, auto);
    margin: 100px;
    column-gap: 20px;
    align-items: center;
}
.planet-image {
    width: 200px;
    mix-blend-mode: screen;
}

.planet-content {
    color: white;
    font-size: 12px;
    margin-bottom: 50px;
    margin-top: 80px;
    text-align: center;
}

.planet-name{
    font-size: 30px;
    align-items: center;
    margin-bottom: 10px;
    -webkit-background-clip: text;
    color: transparent;
}

#Mercury{
    background-image: linear-gradient(to right, grey, gold);
}
#Venus{
    background-image: linear-gradient(to right, yellow, rgb(255, 0, 0));
}

#Earth{
    background-image: linear-gradient(to right, rgb(0, 140, 255), rgb(0, 255, 0));
}
#Mars{
    background-image: linear-gradient(to right, red, orange);
}
#Jupiter{
    background-image: linear-gradient(to right, rgb(186, 121, 0), yellow);
}

#Saturn{
    background-image: linear-gradient(to right, rgb(210, 180, 140), yellow);
}
#Uranus{
    background-image: linear-gradient(to right, cyan, blue);
}

#Neptune{
    background-image: linear-gradient(to right, blue, purple);
}

/* MAKING CARDS */
.cards-container{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    gap: 20px;
}

.card{
    position: relative;
    width: 500px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.5s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info{
    position: absolute;
    bottom: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    opacity: 0;
    transform: translateY(30px); 
    transition: all 0.4s ease-in-out;
}

.card:hover .info{
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.6);
}

/* MORE INFORMATION SECTION */
.more-content {
    margin-top: 0px;
    margin-bottom: 50px;
    text-align: center;
}

.more-content .planet-name {
    font-size: 40px;
    margin-bottom: 5px;
    background-image: linear-gradient(to right, rgb(255, 9, 218), rgb(0, 0, 255));
    padding: 0px;
}

/* CONTACT SECTION */
.contact-content {
    margin-top: 100px;
    text-align: center;
}

.contact-header {
    font-size: 30px;
    margin-bottom: 20px;
}

.social-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 100px;
    padding: 20px;
    margin: auto;
}

.social-links li a {
    text-decoration: none;
    color: white;
    font-family: Lexend Deca;
    font-size: 30px;
    padding: 20px;
    background-image: none;
}

.social-links li a:hover {
    color: #ff9800;
}

.contact-header{
    font-size: 25px;
    margin-bottom: 20px;
    background-image: linear-gradient(to left, yellow, green);
    -webkit-background-clip: text;
    color: transparent;
}

/* ANIMATIONS
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(100px) scale(0.6);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.planet-image, .planet-content {
  view-timeline-name: --reveal;
  view-timeline-axis: block;
  animation: reveal both;
  animation-timeline: --reveal;
  animation-range: entry 10% cover 30%;
} */