@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Work Sans";
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  color: #fff;
}

img{
  pointer-events: none !important;
}

.hide{
  display: none;
}

.container {
  position: relative;
  width: 100%;
  height: 100vh;
}

#weather-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

.weather-data-container {
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #00000096;
  z-index: 4;
}

/* ---- Search Bar ---- */

.search-bar-wrap {
  width: 100%;
  display: flex;
  gap: 5px;
  align-items: center;
}

.search-bar-wrap input {
  width: 100%;
  color: #fff;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  font-weight: 500;
  background-color: #ffffff18;
  border: 2px solid #747b7d;
  border-radius: 20px;
  font-size: 18px;
  outline: none;
  padding: 10px 20px;
  text-transform: capitalize;
}

.search-bar-wrap input::placeholder {
  color: #b1b1b1;
}

.search-bar-wrap input::selection{
  background-color: #000;
  color: #fff;
}

.search-bar-wrap button{
  color: #fff;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  font-weight: 500;
  background-color: #ffffff18;
  border: 2px solid #747b7d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
}

.search-bar-wrap button i{
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Not Found ---- */

#not-found{
  text-align: center;
  width: 100%;
  margin-top: 50px;
}

#not-found img{
  width: 190px;
}

#not-found span{
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: #ededed;
}

/* ---- Weather Data ---- */

.weather-data{
  width: 100%;
  margin-top: 50px;
  text-align: center;
}

.temp{
  font-size: 100px;
  font-weight: 500;
}

.weather-desc{
  font-size: 20px;
  font-weight: 500;
  text-transform: capitalize;
}

.other-data{
  width: 100%;
  padding: 0 10px;
  margin-top: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.more-data{
  display: flex;
  align-items: center;
  gap: 5px;
  text-align: left;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  font-weight: 500;
  background-color: #ffffff18;
  border: 2px solid #747b7d;
  padding: 10px;
  border-radius: 10px;
}

.more-data i{
  font-size: 35px;
}

.more-data .more-data-text span{
  font-size: 20px;
  font-weight: 500;
}

.more-data .more-data-text p{
  font-size: 14px;
  color: #ededed;
  font-weight: 400;
}
