@import url("https://fonts.googleapis.com/css2?family=Antonio:wght@500;700&family=Spartan:wght@400;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url("../assets/background-stars.svg"), #070724;
}

nav .main-content {
  border-bottom: solid 1px rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
nav .main-content .logo {
  color: white;
  font-family: "Antonio", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 28px;
  line-height: 36.23px;
  letter-spacing: -1.05px;
}
nav .main-content .hamburger {
  opacity: 1;
  transition: all ease-in-out 300ms;
}
nav .main-content .hamburger.dim {
  opacity: 24.87%;
}
nav .planet-links {
  background: #070724;
  padding: 24px 24px;
  overflow-y: scroll;
  display: none;
  height: calc(100vh - 69px);
}
nav .planet-links.show-content {
  display: block;
}
nav .planet-links .planet-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: solid 1px rgba(255, 255, 255, 0.2);
}
nav .planet-links .planet-link .name {
  display: flex;
  align-items: center;
  justify-content: center;
}
nav .planet-links .planet-link .name p {
  color: white;
  font-family: "Spartan", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 15px;
  letter-spacing: 1.36px;
  text-transform: uppercase;
}
nav .planet-links .planet-link .name .planet-icon {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin-right: 24px;
}
nav .planet-links .planet-link .name .planet-icon.mercury {
  background: #def4fc;
}
nav .planet-links .planet-link .name .planet-icon.venus {
  background: #f7cc7f;
}
nav .planet-links .planet-link .name .planet-icon.earth {
  background: #545bfe;
}
nav .planet-links .planet-link .name .planet-icon.mars {
  background: #ff6a45;
}
nav .planet-links .planet-link .name .planet-icon.jupiter {
  background: #ecad7a;
}
nav .planet-links .planet-link .name .planet-icon.saturn {
  background: #fccb6b;
}
nav .planet-links .planet-link .name .planet-icon.uranus {
  background: #65f0d5;
}
nav .planet-links .planet-link .name .planet-icon.neptune {
  background: #497efa;
}

@media screen and (min-width: 767px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-bottom: solid 1px rgba(255, 255, 255, 0.2);
    height: max-content;
  }
  nav .main-content {
    border-bottom: none;
  }
  nav .main-content .hamburger {
    display: none;
  }
  nav .planet-links {
    visibility: visible;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: max-content;
    overflow: hidden;
    background: none;
  }
  nav .planet-links .planet-link {
    border-bottom: none;
  }
  nav .planet-links .planet-link .chevron,
nav .planet-links .planet-link .planet-icon {
    display: none;
  }
}
@media screen and (min-width: 1023px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
    height: 109px;
    padding: 0 20px;
  }
  nav .main-content {
    padding-left: 0;
  }
  nav .main-content .logo {
    width: max-content;
    padding: 0;
  }
  nav .planet-links {
    padding: 0;
    height: 100%;
    width: max-content;
  }
  nav .planet-links .planet-link {
    position: relative;
    top: 0;
    height: 100%;
  }
  nav .planet-links .planet-link:not(:last-of-type) {
    margin-right: 40px;
  }
  nav .planet-links .planet-link.mercury {
    border-top: 5px #419eeb solid;
    border-bottom: 5px transparent solid;
  }
  nav .planet-links .planet-link.venus {
    border-top: 5px #eda249 solid;
    border-bottom: 5px transparent solid;
  }
  nav .planet-links .planet-link.earth {
    border-top: 5px #6f2ed6 solid;
    border-bottom: 5px transparent solid;
  }
  nav .planet-links .planet-link.mars {
    border-top: 5px #d14c32 solid;
    border-bottom: 5px transparent solid;
  }
  nav .planet-links .planet-link.jupiter {
    border-top: 5px #d83a34 solid;
    border-bottom: 5px transparent solid;
  }
  nav .planet-links .planet-link.saturn {
    border-top: 5px #cd5120 solid;
    border-bottom: 5px transparent solid;
  }
  nav .planet-links .planet-link.uranus {
    border-top: 5px #1ec2a4 solid;
    border-bottom: 5px transparent solid;
  }
  nav .planet-links .planet-link.neptune {
    border-top: 5px #2d68f0 solid;
    border-bottom: 5px transparent solid;
  }
  nav .planet-links .planet-link .name p {
    cursor: pointer;
  }
}
@keyframes visibility-animation {
  from {
    visibility: visible;
  }
  to {
    visibility: hidden;
  }
}
.content-tabs {
  padding: 0 24px;
  border-bottom: solid 1px rgba(255, 255, 255, 0.2);
  height: max-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.content-tabs.mercury input:checked + label {
  border-bottom-color: #419eeb;
}
.content-tabs.venus input:checked + label {
  border-bottom-color: #eda249;
}
.content-tabs.earth input:checked + label {
  border-bottom-color: #6f2ed6;
}
.content-tabs.mars input:checked + label {
  border-bottom-color: #d14c32;
}
.content-tabs.jupiter input:checked + label {
  border-bottom-color: #d83a34;
}
.content-tabs.saturn input:checked + label {
  border-bottom-color: #cd5120;
}
.content-tabs.uranus input:checked + label {
  border-bottom-color: #1ec2a4;
}
.content-tabs.neptune input:checked + label {
  border-bottom-color: #2d68f0;
}
.content-tabs input {
  display: none;
}
.content-tabs input:checked + label {
  border-top: 4px solid transparent;
  border-bottom: 4px solid white;
  opacity: 1;
}
.content-tabs label {
  color: white;
  opacity: 50%;
  text-transform: uppercase;
  padding: 20px 0 17px 0;
  font-family: "Spartan", sans-serif;
  font-weight: 700;
  font-size: 9px;
  line-height: 10.08px;
  letter-spacing: 1.93px;
  text-align: center;
}
.content-tabs label .number, .content-tabs label .extra-text {
  display: none;
}
.content-tabs label .number {
  margin-right: 17px;
}

@media screen and (min-width: 767px) {
  .content-tabs {
    margin: 0;
    padding: 0;
  }
  .content-tabs.mercury input:checked + label {
    background: #419eeb;
  }
  .content-tabs.venus input:checked + label {
    background: #eda249;
  }
  .content-tabs.earth input:checked + label {
    background: #6f2ed6;
  }
  .content-tabs.mars input:checked + label {
    background: #d14c32;
  }
  .content-tabs.jupiter input:checked + label {
    background: #d83a34;
  }
  .content-tabs.saturn input:checked + label {
    background: #cd5120;
  }
  .content-tabs.uranus input:checked + label {
    background: #1ec2a4;
  }
  .content-tabs.neptune input:checked + label {
    background: #2d68f0;
  }
  .content-tabs label {
    opacity: 1;
    text-align: left;
    padding-left: 20px;
  }
  .content-tabs label .number, .content-tabs label .extra-text {
    display: inline;
  }
  .content-tabs .number {
    opacity: 0.5;
  }
}
@media screen and (min-width: 1023px) {
  .content-tabs label:hover {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
  }
}
.planet-image {
  height: 304px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.planet-image .planet {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.planet-image .planet.mercury {
  height: 111px;
  width: 111px;
}
.planet-image .planet.venus {
  height: 154px;
  width: 154px;
}
.planet-image .planet.earth {
  height: 173px;
  width: 173px;
}
.planet-image .planet.mars {
  height: 129px;
  width: 129px;
}
.planet-image .planet.jupiter {
  height: 224px;
  width: 224px;
}
.planet-image .planet.saturn {
  height: 256px;
  width: 256px;
}
.planet-image .planet.uranus {
  height: 176px;
  width: 176px;
}
.planet-image .planet.neptune {
  height: 173px;
  width: 173px;
}
.planet-image .surface-overlay {
  height: 199px;
  width: 163px;
  position: absolute;
  left: 50%;
  top: 75%;
  transform: translate(-50%, -75%) scale(50%);
  display: none;
}
.planet-image .surface-overlay.show-content {
  display: block;
}

@media screen and (min-width: 767px) {
  .planet-image {
    height: 460px !important;
  }
  .planet-image .planet.mercury {
    height: 184px;
    width: 184px;
  }
  .planet-image .planet.venus {
    height: 253px;
    width: 253px;
  }
  .planet-image .planet.earth {
    height: 285px;
    width: 285px;
  }
  .planet-image .planet.mars {
    height: 213px;
    width: 213px;
  }
  .planet-image .planet.jupiter {
    height: 369px;
    width: 369px;
  }
  .planet-image .planet.saturn {
    height: 422px;
    width: 422px;
  }
  .planet-image .planet.uranus {
    height: 290px;
    width: 290px;
  }
  .planet-image .planet.neptune {
    height: 285px;
    width: 285px;
  }
  .planet-image .surface-overlay {
    transform: translate(-50%, -75%) scale(1);
  }
}
@media screen and (min-width: 1023px) {
  .planet-image {
    height: 660px !important;
  }
  .planet-image .planet.mercury {
    height: 290px;
    width: 290px;
  }
  .planet-image .planet.venus {
    height: 400px;
    width: 400px;
  }
  .planet-image .planet.earth {
    height: 450px;
    width: 450px;
  }
  .planet-image .planet.mars {
    height: 336px;
    width: 336px;
  }
  .planet-image .planet.jupiter {
    height: 582px;
    width: 582px;
  }
  .planet-image .planet.saturn {
    height: 666.09px;
    width: 666.09px;
  }
  .planet-image .planet.uranus {
    height: 458px;
    width: 458px;
  }
  .planet-image .planet.neptune {
    height: 450px;
    width: 450px;
  }
}
.content {
  margin: 0 24px;
}
.content h1 {
  font-family: "Antonio", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  text-align: center;
  color: white;
  margin-bottom: 16px;
}
.content .planet-text {
  font-family: "Spartan", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 25px;
  color: white;
  text-align: center;
  margin-bottom: 36px;
}
.content .wiki-article {
  color: white;
  font-family: "Spartan", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 25px;
  text-align: center;
  margin-bottom: 28px;
}
.content .wiki-article .source {
  opacity: 50%;
}
.content .wiki-article a {
  color: white;
  font-weight: 700;
  opacity: 50%;
}
.content .wiki-article a:hover {
  opacity: 1;
}
.content .stats {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
.content .stats .stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: solid 1px rgba(255, 255, 255, 0.2);
  padding: 16px 24px;
}
.content .stats .stat:not(:last-of-type) {
  margin-bottom: 8px;
}
.content .stats .stat .stat-name {
  font-family: "Spartan", sans-serif;
  font-weight: 700;
  opacity: 50%;
  font-size: 8px;
  line-height: 16px;
  letter-spacing: 0.73;
  text-transform: uppercase;
  color: white;
}
.content .stats .stat .stat-value {
  font-family: "Antonio", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 25.88px;
  letter-spacing: -0.75px;
  text-align: right;
  color: white;
}

@media screen and (min-width: 767px) {
  .content {
    display: grid;
    width: 100% !important;
    margin: 0;
    padding: 0 24px;
    grid-template-areas: "img img" "info tabs" "stats stats";
    grid-template-columns: 1fr 1fr;
  }
  .content .content-tabs {
    grid-area: tabs;
    flex-direction: column;
    justify-content: center;
    border: none;
    height: 100%;
  }
  .content .content-tabs label {
    border: solid 1px rgba(255, 255, 255, 0.2) !important;
    width: 100%;
  }
  .content .content-tabs label:not(:last-of-type) {
    margin-bottom: 16px;
  }
  .content .planet-image {
    grid-area: img;
  }
  .content .planet-content {
    grid-area: info;
  }
  .content .planet-content h1,
.content .planet-content p {
    text-align: left;
  }
  .content .planet-content .planet-text {
    padding-right: 20px;
    height: 150px;
  }
  .content .stats {
    grid-area: stats;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .content .stats .stat {
    width: 24%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 0 !important;
  }
}
@media screen and (min-width: 1023px) {
  .content {
    grid-template-areas: "img info" "img tabs" "stats stats";
    grid-template-columns: 2fr 1fr;
    padding-left: 160px;
    padding-right: 160px;
    height: max-content;
  }
  .content .planet-content {
    height: max-content;
    margin-top: auto;
  }
  .content .stats .stat {
    box-sizing: unset;
    width: 18%;
  }
  .content .stats .stat .stat-name {
    font-size: 11px;
  }
  .content .stats .stat .stat-value {
    font-size: 40px;
    line-height: 51.76px;
  }
}

/*# sourceMappingURL=main.css.map */
