*::selection {
  background-color: #3a356b;
  color: #f5f9ff;
}

body {
  font-family: "Zain", sans-serif;
}

#weather .weather-widget {
  background: linear-gradient(135deg, #140831 0%, #532e91 50%, #9a48c8 100%);
  box-shadow: 0px 0px 10px 0px #8886db;
  color: #f5f9ff;
  border-radius: 12px;
}

#weather .weather-widget i {
  color: #8886db;
}

.location-date {
  color: #b1aef3;
}

.side-weather {
  box-shadow: 0px 0px 5px 0px #532e91;
  border-radius: 0px 12px 12px 0px;
  -webkit-border-radius: 0px 12px 12px 0px;
  -moz-border-radius: 0px 12px 12px 0px;
  -ms-border-radius: 0px 12px 12px 0px;
  -o-border-radius: 0px 12px 12px 0px;
}

.side-weather .next-day p:first-child {
  background-color: #422474;
  color: #f5f9ff;
  border-radius: 0px 12px 0px 0px;
  -webkit-border-radius: 0px 12px 0px 0px;
  -moz-border-radius: 0px 12px 0px 0px;
  -ms-border-radius: 0px 12px 0px 0px;
  -o-border-radius: 0px 12px 0px 0px;
}

.side-weather .day-after-tommorow p:first-child {
  background-color: #532e91;
  color: #f5f9ff;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
}

.btn {
  transition: all 0.25s ease-in;
  -moz-transition: all 0.25s ease-in;
  -ms-transition: all 0.25s ease-in;
  -o-transition: all 0.25s ease-in;
  -webkit-transition: all 0.25s ease-in;
}

#err-msg {
  font-size: 14px;
  z-index: 2;
}

.navbar-brand,
.navbar-brand:focus,
.navbar-brand:hover {
  color: #b1aef3;
}

nav {
  background-color: #ffffff;
  z-index: 999;
}

.nav-link {
  color: #b1aef3;
  border-bottom: 2px solid transparent;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}

.nav-link i {
  opacity: 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #8886db;
}

.navbar-nav .nav-link:hover i,
.navbar-nav .nav-link.active i {
  opacity: 1;
}

nav .btn,
header .btn:hover,
header .btn:active,
#explore .btn:hover,
#explore .btn:active {
  color: #8886db;
  border: 1px solid #8886db;
  background-color: #ffffff;
}

nav .btn:hover,
nav .btn:active,
header .btn,
#explore .btn {
  color: #ffffff;
  background-color: #8886db;
  border-color: #8886db;
}

section {
  scroll-margin-top: 68px;
}

header div {
  z-index: 2;
}

h1 + img {
  width: 50px;
}

header input.form-control#location {
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 0.25rem #ffffff;
  font-weight: 600;
  color: #3a356b;
}

header input.form-control#location:focus {
  border: 2px solid #8886db;
  box-shadow: 0 0 0 0.25rem #ffffff;
}

header input.form-control#location::placeholder {
  color: #9a9ab3;
}

#weather {
  background-image: url(../Assets/weather-bg.jpeg);
  background-repeat: no-repeat;
  background-position: 50% 55%;
  background-size: cover;
}

#explore {
  background-color: #ffffff;
  background-image: url(../Assets/explore-bg.png);
}

.country-card {
  color: #6d6cb1;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.country-card strong {
  color: #3a356b;
}

#explore h2 {
  color: #8886db;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#explore h3 {
  color: #532e91;
}

#news h2 {
  color: #8886db;
}

#news .news-card {
  transition: transform 0.3s ease;
}

#news .news-card:hover {
  transform: translateY(-5px);
}

#news .news-card .card-body {
  color: #3a356b;
}

#news .news-card .news-title {
  color: #8886db;
  overflow: hidden;
  text-overflow: ellipsis;
}

#news .news-card .news-description {
  color: #532e91;
  overflow: hidden;
  text-overflow: ellipsis;
}

#news .news-card .news-meta {
  color: #6d6cb1;
  font-size: 14px;
}

#news .badge {
  background-color: #8886db;
}

#news .news-card a {
  color: #ffffff;
  background-color: #8886db;
  bottom: 3%;
}

#news .news-card a:hover {
  background-color: #532e91;
}

header .btn:disabled,
header .btn:disabled:hover,
header .btn:disabled:active,
header .btn:disabled:focus {
  color: #ffffff;
  background-color: #5f65cf;
  border-color: #5f65cf;
}

header .btn:disabled,
header .btn:disabled:hover {
  cursor: not-allowed;
  pointer-events: auto;
}

header .btn:disabled:active,
header .btn:disabled:focus {
  pointer-events: none;
}

#news .news-description {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#news .news-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#news .news-card img {
  height: 220px;
  object-fit: cover;
}

footer {
  background-color: #422474;
  color: white;
}

footer a {
  color: #b1aef3;
}

:root {
  --white: #ffffff;
}
