* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}
body {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  padding-top: 4rem;
  background-image: url(./bgimage.jpg);
    background-position: center;
    background-size: auto;
}
.container {
  position: relative;
  height: 555px;
  width: 400px;
  background-color: rgb(232, 232, 241);
  opacity: 0.6;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
}

.search-box {
  position: relative;
  width: 100%;
  height: 55px;
  display: flex;
  align-items: center;
  
}

.search-box input {
  position: absolute;
  width: 95%;
  height: 100%;
  border: 2px solid rgb(255, 255, 255);
  outline: none;
  border-radius: 10px;
  font-size: 22px;
  text-transform: uppercase;
  padding: 0 8px 0 13px;
  margin-right: 20px;
}

.search-box button{
    position: absolute;
    right: 0;
    height: 100%;
    width: 40px;
    background-color: transparent;
    cursor: pointer;
    
    font-size: 24px;
    border: none;

}
.weather-box{
    text-align: center;
    margin: 40px 0px;
}

.weather-box img{
    width: 60%;
    display: inline;
    justify-items: center;
}

.weather-box .temperature{
    font-size: 64px ;
    position: relative;
    margin: 20px 0 6px -30px;
}


.weather-box span{
    position: absolute;
    font-size: 24px;
}

.weather-box .description{
    font-size: 24px;
    text-transform: capitalize;
}
.temperature-units{
    position: absolute;
    z-index: 10;
}

.weather-details{
    /* border: 1px solid black; */
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    height: 100px;
    width: 90%;
    padding: 0px 20px;
}

.weather-details .humidity,
.weather-details .wind{
    /* border: 1px solid black; */
    display: flex;
    align-items: center;
    width: 50%;
}

.weather-details i{
    font-size: 56px;
    margin-right: 10px;
}
.weather-details p{
    font-size: 14px;
}


.weather-details .humidity{
    padding-left: 10px;
    justify-content: start;
}
.weather-details .wind{
    padding-right: 20px;
    justify-content: flex-end;
}



.weather-box img{
    transition: all 01s ease-in-out;
}

