/* https://css-tricks.com/perfect-full-page-background-image/#awesome-easy-progressive-css3-way) */

* {
  box-sizing: border-box;
  user-select: none;
}

html,
body {
  margin: 0em;
  padding: 0em;
  font-family: 'Poppins', sans-serif;
  color: whitesmoke;
  text-shadow: 0px 0px 2px black, 0px 0px 15px #aaaaaa;

}

body {
  background: no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.main-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.crypto-weather-container {
  display: flex;
  justify-content: space-between;
  padding: 1.5em;
}

.crypto {
  font-size: 1.3rem;
}

.crypto-img-name {
  display: flex;
  align-items: center;
  gap: .5em;
}

.crypto-name {
  letter-spacing: 1px;
}

.crypto-data {
  margin: 0.05em;
  font-size: 1rem;
}

.amount {
  font-weight: 600;
  font-size: 1.25rem;
}

.current-amount {
  font-weight: 700;
  color: rgb(28, 28, 28);
  text-shadow: 0px 0px 4px white, 0px 0px 15px #aaaaaa;
}

.high-amount {
  color: lawngreen;
}

.low-amount {
  color: orangered;
  border: none;
}

.weather-icon-temp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin: 0em;
}

.weather-icon,
.location-temp,
.location-name {
  margin: 0em;
}

.location-temp {
  font-size: 3.5rem;
  text-align: right;
}

.time-container {
  text-align: center;
  font-size: 1.5rem;
}

.time,
.date {
  margin: 0em;
}

.photo-author {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 0em;
  padding-left: 1.5em;
  padding-bottom: 1.5em;
}


/* ----------------- media query ------------------------- */

@media (max-width: 425px) {
  .crypto-weather-container {
    padding: .75em;
  }

  .location-name {
    font-weight: 400;
    font-size: .8rem;
    padding-left: 3.5em;
  }

  .location-temp {
    font-size: 1.5rem;
  }

  .weather-icon {
    width: 60px;
  }

  .photo-author {
    padding: .5em;
    font-size: .8rem;
  }
}