@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Ruda:wght@400;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body,
#map {
  height: 100%;
  width: 100vw;
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #56829e;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}
@-webkit-keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#selectContainer {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 11px 0;
}

#selectCountry {
  width: 200px;
  margin: 0 auto;
}
#flagContainer {
  width: 50%;
  margin: 20px auto;
  text-align: center;
}
#flag {
  width: 100%;
}
#newsImage {
  width: 100%;
  height: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}

td {
  text-align: left;
  padding: 8px 15px;
}
tr:nth-child(odd) {
  background-color: #f2f2f2;
}
td:last-child {
  text-align: end;
}
.info {
  background-color: #fff;
  border-radius: 50%;
  padding: 5px;
  width: 30px;
  text-align: center;
}
.name {
  font-weight: bold;
}
.weather-modal {
  background: url("../img/weather-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}
.container {
  color: #fff;
}

.current-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.date-container {
  font-weight: 100;
}
.date-container .time {
  font-size: 32px;
}

.date-container #am-pm {
  font-size: 16px;
}

.date-container .date {
  font-size: 16px;
}

.place-container {
  text-align: end;
}

.place-container .time-zone {
  font-size: 20px;
  font-weight: 100;
}

.place-container .country {
  font-size: 16px;
  font-weight: 100;
}

.others {
  display: flex;
  flex-direction: column;
  background: rgba(24, 24, 27, 0.6);
  padding: 5px;
  border-radius: 10px;
  margin: 5px 0;
  border: 1px solid #eee;
}

.others .weather-item {
  display: flex;
  justify-content: space-between;
}

.future-forecast {
  padding: 5px;
  display: flex;
  color: white;
  width: 100%;
  overflow-y: hidden;
}

.future-forecast .today {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.future-forecast .today .day {
  padding: 5px 15px;
  background: #3c3c44;
  border-radius: 50px;
  text-align: center;
}

.future-forecast .today .temp {
  font-size: 18px;
  padding-top: 15px;
}

.future-forecast .weather-forecast {
  display: flex;
}

.weather-forecast .weather-forecast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  border: 1px solid #eee;
  padding: 5px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.weather-forecast .weather-forecast-item .day {
  padding: 5px 15px;
  background: #3c3c44;
  border-radius: 50px;
  text-align: center;
}

.weather-forecast .weather-forecast-item .temp {
  font-weight: 100;
  font-size: 12px;
}
.single-news-link,
.single-news-link:hover {
  text-decoration: none;
}
.single-news {
  border: 1px solid #18f504;
  padding: 5px;
  margin: 3px;
  border-radius: 10px;
  color: #000;
}
.news-published {
  font-size: 10px;
}

@media only screen and (max-width: 1400px) {
  .future-forecast {
    justify-content: start;
    align-items: none;
    overflow-x: scroll;
  }
}
