h1 {
    font-size: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 20px, 50px;
    margin: 20px;
    font-family: "Rubik Glitch", system-ui;
    font-weight: 400;
    font-style: normal;
}

h2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 20px, 50px;
    margin: 20px;
    font-family: "Rubik Dirt", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 34px;
}

.info-card {
    max-width: 800px;
    margin: 80px auto 0 auto;
    padding: 30px 40px;
    background-color: rgba(20, 20, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    color: rgb(230, 230, 230);
}

h3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 0 10px 0;
    font-family: "Rubik Dirt", system-ui;
  font-weight: 400;
  font-style: normal;
}

h4 {
    font-size: 1.2rem;
    font-weight: normal;
    margin: 30px 0 10px 0;
    font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

p {
    font-size: 1.05rem;
    line-height: 1.8;
    letter-spacing: 0.3px;
    margin: 0;
    font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.blank_space {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: left;
    padding: 60px;
}

body {
    background-image: url('images/home_background.png');
    background-repeat: repeat-y;
    background-size: 100%;
    background-position: center;
    height: 90vh;
    color: white;
    background-color: black;
}

#Discover {
    cursor: pointer;
    background-color: rgb(51, 76, 103);
    font-size: 1.2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 20px;
    width: 100px;
    height: 20px;
    border-radius: 9999px;
    z-index: 10;
    margin: 0 auto 30px auto;
    font-family: "Rubik Dirt", system-ui;
  font-weight: 400;
  font-style: normal;
}

#Discover:hover {
    background-color: rgb(121, 142, 174);
}

.features {
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: center;
}

#planet-of-the-day, #quiz {
    position: relative;
    background-color: #111;
    border: 2px solid rgb(51, 76, 103);
    width: 300px;
    border-radius: 16px;
    padding: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
    align-content: center;
}

#planet-of-the-day:hover, #quiz:hover {
   border-color: rgb(121, 142, 174)
}

.planet-type-wrapper {
  position: absolute;
  top: 70px;
  right: 52px;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.planet-type-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

body {
  animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media screen and (max-width: 480px) {
  h1 { 
    font-size: 2.1rem;
    padding-left: auto;
    padding-right: auto;
    width: fit-content;
    margin: 20px auto;
    justify-content: center;
    justify-items: center;
  }
  h2 {font-size: 1.2rem; }
  body {overflow: hidden;}
  .blank_space {padding: 0;}
  .features {
    width: fit-content;
    flex-direction: column; 
    margin: 20px auto 0 auto;
    justify-content: center;
    justify-items: center;
  }
  #quiz {margin-top: 10px;} 
  #planet-of-the-day {margin-bottom: 0;}
  #Discover {
    font-size: 1rem;
    padding: 10px;
    margin-bottom: 20px;
  }
}