/* style.css */

:root {
  --header-bg-clr: #215214;
  --card-bg-clr: #464646;
  --card-btn-outline-bg-clr: #13310b;
  --card-btn-bg-clr: #215214;
  --card-btn-hover-bg-clr: #122c0b;
  --forecast-day-bg-clr: #464646;
  --weather-seven-day-value-clr: #a1a1a1;
  --airport-icon-clr: #cf30ad;
  --heritage-site-icon-clr: #a16f11;
  --ev-charging-point-icon-clr: #53d7ff;
  --icon-width: 50px;
}

html,
body {
  margin: 0;
  padding: 0;
}

#map {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}

#selectContainer {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 11px 0;
}

#countrySelect {
  width: 200px;
  margin: 0 auto;
}

.card {
  background-color: var(--card-bg-clr);
}

.btn {
  background-color: var(--header-bg-clr);
  border: 2px solid var(--card-btn-bg-clr);
}

.airport-icon {
  border-radius: 10px;
  background-color: var(--airport-icon-clr);
  width: var(--icon-width);
}

.heritage-site-icon {
  background-color: var(--heritage-site-icon-clr);
  width: var(--icon-width);
}

.ev-charging-station-icon {
  background-color: var(--ev-charging-point-icon-clr);
  width: var(--icon-width);
}

/* modal.css */

.modal-header {
  border-bottom: 0;
  background-color: var(--header-bg-clr);
}

.modal-body {
  background-color: #303030;
  color: white;
}

.parent {
  display: grid;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  height: 100%;
  text-align: center;
}

#country-code {
  grid-area: 1 / 1 / 2 / 2;
}

#capital-city {
  grid-area: 1 / 2 / 2 / 3;
}

#un-member {
  grid-area: 2 / 1 / 3 / 2;
}

#language {
  grid-area: 2 / 2 / 3 / 3;
}

#coat-of-arms {
  grid-area: 1 / 3 / 3 / 5;
}

#bottom-row {
  grid-area: 3 / 1 / 4 / 5;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

#coat-of-arms-img {
  width: 100%;
}

.country-info {
  color: rgb(105, 105, 105);
}

/* news.css */

#newsModal .news-story {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

#news-one-title-author {
  display: flex;
  flex-direction: column;
}

#newsModal button {
  border-radius: 5px;
}

#newsModal button:hover {
  background-color: rgb(29, 65, 143);
}

/* @media screen and (min-width: 430px) {
  #newsModal .news-story {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
  }
} */

/* currencyInformation.css */

#currency-info {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

#base-conversions {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

#base-conversions div {
  text-align: center;
}

/* weather.css */

#weather-modal-seven-day-forecast {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex-wrap: wrap;
}

#weather-modal-seven-day-forecast p {
  font-size: medium;
}

.forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-left: 20px;
  margin-right: 20px;
  background-color: var(--forecast-day-bg-clr);
  margin: 10px;
  padding: 5px;
  text-align: center;
}

.forecast-day-values div {
  background-color: var(--card-bg-clr);
}

.forecast-day-values {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.forecast-day .date {
  font-weight: 900;
}

.seven-day-header-value {
  color: var(--weather-seven-day-value-clr);
}

.today-forecast {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
}

/* wikipediaFacts.css */

#information {
  display: flex;
  flex-direction: row;
}

#fact-bottom-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media screen and (min-width: 430px) {
  #information {
    display: flex;
    flex-direction: column;
  }
}
