@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  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 rgba(0, 0, 0, 0.35);
}

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

.left-info:hover {
  transform: scale(1.1) perspective(2500px) rotateX(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-weather {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  bottom: 20px;
  left: 20px;
}

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

.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 5px 15px 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: 2rem;
}

.days-list li:hover {
  transform: scale(1.1);
  background: #fff;
  color: #222831;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

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

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

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

.loc-button:hover {
  background: #1a237e;
}
