.weather-card {
  display: flex;
  width: 100%;
  min-height: 164px;
  padding: 16px 32px;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  background: var(--Foundation-Blue-Light, #F3F6FA);
  box-shadow: -8px -8px 16px 0 #FFF, 8px 8px 16px 0 #DBE4F0;
}

.weather-row{
  position: relative;
}

.btn-fav {
  position: absolute;
  right: -64px;
}

.weather-infos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

.weather-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.temperature {
  color: var(--Foundation-Blue-Darker, #303B48);
  text-align: center;
  font-family: "Source Serif Pro";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 48px;
}

.details {
  color: var(--Foundation-Blue-Darker, #303B48);
  text-align: center;
  font-family: "Source Sans Pro";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.location {
  color: var(--Foundation-Blue-Darker, #303B48);
  text-align: center;
  font-family: "Source Serif Pro";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.kanji {
  color: var(--Foundation-Blue-Darker, #303B48);
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 4.8px;
  writing-mode: vertical-rl; 
  text-orientation: mixed;
}

.icon {
  width: 75px;
  height: auto;
}

@media (max-width: 768px) {
  .weather-card {
    width: 100%;
    height: auto;
    padding: 4px 8px;
  }
  .btn-fav {
    position: unset;
  }

  .temperature {
    font-size: 32px;
  }

  .details {
    font-size: 16px;
  }

  .kanji {
    font-size: 16px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
}
