/*--------- Theme Colors ---------*/
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Source+Sans+Pro&display=swap");
:root {
  --primary-bg-color: #dcdcdc;
  --bg-texture: url(../images/light_texture.png);
  --header-bg-color: #0f3258;
  --accent-color: #8ba6ca;
  --card-bg-color: #f0f0f0;
  --box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
  --h1-color: #bd0d22;
  --card-text-color: #414345;
  --muted-text-color: #0b3d91;
}

[data-theme="dark"] {
  --primary-bg-color: #0e2433;
  --bg-texture: url(../images/dark_texture.png);
  --card-bg-color: #072b41;
  --box-shadow: 0 5px 7px 0 rgba(0, 0, 0, 0.7);
  --h1-color: #ff2575;
  --card-text-color: #c6d6df;
  --muted-text-color: #8ba6ca;
}

/*--------- Mixin ---------*/
/*--------- Imports ---------*/
/*--------- Basic Reset ---------*/
html,
body,
div,
header,
main,
nav,
article,
aside,
footer {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
ul,
li,
p,
a {
  margin: 0;
  padding: 0;
}

*,
html,
::before,
::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/*--------- Body ---------*/
body {
  overflow-x: hidden;
  background-color: var(--primary-bg-color);
  background: var(--bg-texture);
}

/*--------- Container ---------*/
#container {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

/*--------- Loader ---------*/
.loader {
  background: var(--primary-bg-color);
  height: 100vh;
  width: 100vw;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  align-items: center;
  z-index: 9;
}

/*--------- Header ---------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px;
  background: var(--header-bg-color);
}

.header-wrapper {
  position: relative;
  margin: 0 auto;
  padding: 0 0.6rem;
  max-width: 1440px;
  height: 100%;
  color: lightblue;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  /*--------- Button ---------*/
}

@media screen and (max-width: 767px) {
  .header-wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: 50% 1fr;
    -ms-grid-columns: 55% 1fr;
        grid-template: 50% 1fr / 55% 1fr;
    grid-gap: 0;
    padding: 1rem 0;
  }
}

.header-wrapper .added-to-favorites {
  background: var(--h1-color);
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  position: absolute;
  bottom: -100px;
  right: 5%;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1rem;
  color: whitesmoke;
}

.logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 25%;
  font-size: 1.3rem;
  font-family: "Source Sans Pro", sans-serif;
  color: #ffe4c4;
}

@media screen and (max-width: 767px) {
  .logo {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-area: 1 / 1 / 2 / 2;
    width: 100%;
  }
}

.navigation-cont {
  width: 55%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  font-family: "Source Sans Pro", sans-serif;
  color: var(--accent-color);
}

@media screen and (max-width: 960px) {
  .navigation-cont {
    width: 60%;
  }
}

@media screen and (max-width: 767px) {
  .navigation-cont {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-area: 2 / 1 / 3 / 3;
    width: 100%;
  }
}

.navigation-items {
  text-align: center;
}

.navigation-items .clickable {
  width: 180px;
  display: inline-block;
  margin: 1rem;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

@media screen and (max-width: 960px) {
  .navigation-items .clickable {
    margin: 0;
  }
}

@media screen and (max-width: 500px) {
  .navigation-items .clickable {
    width: 150px;
    margin-right: 1.5rem;
  }
}

.navigation-items .clickable:hover {
  color: #ffe4c4;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.dark-light-theme-wrapper {
  width: 20%;
  color: yellow;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /*---------Target Circle after icon is checked ---------*/
}

@media screen and (max-width: 900px) {
  .dark-light-theme-wrapper {
    width: 15%;
  }
}

@media screen and (max-width: 767px) {
  .dark-light-theme-wrapper {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-area: 1 / 2 / 2 / 3;
    width: 100%;
  }
}

.dark-light-theme-wrapper .checkbox {
  opacity: 0;
  position: absolute;
}

.dark-light-theme-wrapper .label {
  width: 81px;
  height: 31px;
  background: #072b41;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 50px;
  padding: 0.3rem;
  position: relative;
}

.dark-light-theme-wrapper .circle {
  width: 40px;
  height: 24px;
  background: #ffe4c4;
  position: absolute;
  top: 3px;
  left: 3px;
  border-radius: 50px;
  -webkit-transition: -webkit-transform 0.2s linear;
  transition: -webkit-transform 0.2s linear;
  transition: transform 0.2s linear;
  transition: transform 0.2s linear, -webkit-transform 0.2s linear;
}

.dark-light-theme-wrapper .checkbox:checked + .label .circle {
  -webkit-transform: translateX(35px);
          transform: translateX(35px);
  -webkit-transition: all 0.5 ease;
  transition: all 0.5 ease;
}

.dark-light-theme-wrapper .bi-moon-fill {
  font-size: 1.2rem;
  color: var(--accent-color);
}

.dark-light-theme-wrapper .bi-brightness-low-fill {
  font-size: 1.6rem;
  color: yellow;
}

/*--------- Main ---------*/
#nasa-images-cont {
  max-width: 900px;
  margin: 6rem auto 0;
}

#nasa-images-cont .card {
  width: 90%;
  background: var(--card-bg-color);
  margin: 1.8rem auto 2rem;
  padding: 1.25rem;
  text-align: center;
  -webkit-box-shadow: var(--box-shadow);
          box-shadow: var(--box-shadow);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

@media screen and (max-width: 767px) {
  #nasa-images-cont .card {
    width: 96%;
    padding: 1rem;
  }
}

@media screen and (max-width: 500px) {
  #nasa-images-cont .card {
    padding: 1rem 0.5rem;
  }
}

#nasa-images-cont .card .bi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: var(--muted-text-color);
  font-size: 3rem;
}

#nasa-images-cont .card .card-image {
  width: 100%;
  height: auto;
}

#nasa-images-cont .card .card-body {
  width: 94%;
  margin: 1.5rem auto;
  padding: 0.6rem;
  font-family: "Source Sans Pro", sans-serif;
  text-align: left;
}

@media screen and (max-width: 767px) {
  #nasa-images-cont .card .card-body {
    padding: 0.6rem 0;
  }
}

#nasa-images-cont .card .card-title {
  margin: 1.5rem auto 1rem;
  font-family: "Merriweather", serif;
  font-size: 2.2rem;
  color: var(--h1-color);
}

@media screen and (max-width: 767px) {
  #nasa-images-cont .card .card-title {
    font-size: clamp(1.5rem, 2vh, 2rem);
    margin: 0 auto 1rem;
  }
}

#nasa-images-cont .card .card-text {
  color: var(--card-text-color);
}

#nasa-images-cont .card .card-footer {
  height: 70px;
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  color: var(--muted-text-color);
}

#nasa-images-cont .card .text-muted,
#nasa-images-cont .card .text-muted strong {
  margin-right: 1rem;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}

#nasa-images-cont .card .add-favorites {
  width: 45px;
  font-size: 0.9rem;
  font-weight: bold;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#nasa-images-cont .card .add-favorites .clickable {
  color: var(--accent-color);
  font-size: 1.6rem;
  cursor: pointer;
}

#nasa-images-cont .card .add-favorites .clickable:hover {
  -webkit-transform: scale(120%);
          transform: scale(120%);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  color: var(--h1-color);
}

/*--------- Hidden ---------*/
.hidden {
  display: none;
}
/*# sourceMappingURL=main.css.map */