/* fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #37474f;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  height: 400px;
  background-color: #232931;
  color: #fff;
  border-radius: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.left-info {
  width: 260px;
  height: 100%;
  float: left;
  display: flex;
  border-radius: 25px;
  justify-content: center;
  background: url("./assets/bg.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.03) perspective(200px);
  cursor: pointer;
  box-shadow: 0 0 20px -10px rrgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.left-info:hover {
  transform: scale(1.1) perspective(2500px) rotateY(5deg);
}

.pic-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #5c6bc0 10%, #0d47a1 100%);
  border-radius: 25px;
  opacity: 0.5;
}

.today-info {
  position: absolute;
  display: flex;
  flex-direction: column;
  margin-top: 25px;
}

.today-info h2{
    font-size: 1.7rem;
    font-weight: 700;
}

.today-info span,
.today-info i{
    font-weight: 500;
}

.today-weather {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  bottom: 20px;
  left: 20px;
}

.today-weather .bx {
  font-size: 3rem;
}

.today-weather .weather-temp{
    font-size: 37px;
}

.today-weather h3{
    text-transform: capitalize;
}

.weather-temp {
  font-weight: 700;
  font-size: 3.5rem;
}

.right-info {
  float: right;
  position: relative;
  height: 100%;
  padding-top: 25px;
}

.day-info {
  padding: 25px 35px;
  display: flex;
  flex-direction: column;
}

.day-info div:not(:last-child) {
  margin-bottom: 6px;
}

.day-info div .title {
  font-weight: 700;
}

.day-info div .value {
  float: right;
}

.days-list {
  display: flex;
  list-style: none;
  margin: 10px 35px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
  border-radius: 10px;
}

.days-list li {
  padding: 15px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.days-list li .bx {
  margin-bottom: 5px;
  font-size: 2.4rem;
}

.days-list li:hover {
  transform: scale(1.1);
  background: #fff;
  color: #2f3c50;
  box-shadow: 0 0 10px rgba(226, 217, 217, 0.35);
}

.days-list li .day-temp {
  margin-top: 7px;
  font-weight: 700;
}

.days-list span{
    font-weight: 500;
}

.btn-container {
  padding: 25px 35px;
}

.loc-button {
    font-size: 15px;
  outline: none;
  width: 100%;
  border: none;
  font-weight: 700;
  border-radius: 25px;
  padding: 10px;
  background: #8e98d6;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.loc-button:hover {
  background: #fff;
  color: #8e98d6;
  transform: scale(1.1);
}
