*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins" , sans-serif;
}

body{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; 
    background: url("cloud.jpg.jpg");   
    background-size:cover;
    background-position: center;
}

.wrapper {
    width: 400px;
    background:#c89acf;
    border-radius: 10px;
    
}

.wrapper header {
    color: #131111;
    font-size: 21px;
    font-weight: 500;
    padding: 16px 15px;
    display: flex;
    align-items: center; 
    border-bottom: 1px solid #bfbfbf; 
}

header i{ 
cursor: pointer;
font-size: 0em; 
margin-right: 8px;
}

.wrapper.active header i{ 
    font-size: 30px;
    margin-left: 5px;
}

.wrapper .input-part { 
    margin: 20px 25px 30px; 
}

.wrapper.active .input-part{ 
display: none;
}

.input-part .info-txt { 
    display: none; 
    font-size: 17px;
    text-align: center;
    padding: 12px 10px;
    border-radius: 7px;
    margin-bottom: 15px;
}

.info-txt.error{ 
    display: block;
    color: #6a86be;
    background: #161313 ;
    border: 1px solid #f5c6cb;
}

.info-txt.pending{ 
    display: block;
    color: #0c5460;
    background: #d1ecf1;
    border: 1px solid #bee5eb;
}

.input-part :where(input,button) { 
width: 100%;
height: 55px;
border: none;
outline: none;
font-size: 18px;
border-radius: 7px;
}

.input-part input {  
    width: 75% !important;
    text-align: center;
    border: 1px solid #bfbfbf;
}


.input-part input:is(:focus, :valid ){ 
    border: 1px solid #8d8b8b;
}

.input-part input::placeholder{
    color:#bfbfbf;
}

.searchArea{
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
}

.searchIcon{
border:1px solid #bfbfbf; 
border-radius: 10px; 
background-color:#8d8b8b;
color: rgb(14, 218, 241);
width: 25%;
height: 55px;
outline: none;
font-size: 20px;
 display: flex;
justify-content: center;
align-items: center;
text-align: center; 
padding-top: 14px;
margin-left: 8px;
transition: 0.3s ease;
}

.searchIcon:hover {
    background: #6b6a6a;
}

.input-part .separator { 
   height: 1px;
   width: 100%;
   margin: 25px 0;
   background-color: #ccc; 
   
   display: flex;
   align-items: center;
   justify-content: center;
}
.separator::before{
    content: "or";
    color: #ccc;
    padding: 0 15px; 
    font-size: 19px;
    background-color: #fff;
}

.input-part button {
    color: #fff;
    cursor: pointer;
    background-color:#8d8b8b;
    transition: 0.3s ease; 
}

.input-part button:hover{
    background: #6b6a6a;
}


.wrapper .weather-part{ 
    display:none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.wrapper.active .weather-part{ 
    display: flex;
}

.weather-part img {
       width: 170px;
} 

.weather-part .temp { 
    display: flex;
    font-size: 70px;
}

.weather-part .temp .numb { 
font-weight: 100;
}

.weather-part .temp .deg { 
    font-size: 40px;
    margin: 10px 5px 0 0 ;
    display: block;
}

.weather-part .weather{ 
    font-size: 17px;
    text-align: center;
    margin: -5px 20px 15px;
}

.weather-part .location{
    display: flex;    
    font-size: 19px;
    margin-bottom: 30px;
    text-align: center;
    align-items: flex-start;
    padding: 0 20px;

}

.location i{
font-size: 21px;
margin: 0 5px 0 0 ;
}

.weather-part .bottom-details{
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #bfbfbf;
}

.bottom-details .column {
    width: 100%;
    display: flex;
    padding: 15px 0;
    align-items: center;
    justify-content: center;
}

.column i{
   color: #8d8b8b; 
   font-size: 40px;
}

.column.humidity {
    border-left:1px solid #bfbfbf;
}

.column .details{
    margin-left: 3px;
}

.details .temp, .humidity span {
    font-size: 18px;
    font-weight: 500;
    margin-top: -3px;
}

.details .temp .deg{
    margin:0;
    font-size: 17px;
    padding: 0 2px 0 1px;
}

.column .details p{
    font-size: 14px;
    margin-top: -6px;
}

.humidity i{
    font-size: 37px;
}


@media screen and (max-width: 770px){
footer {
    padding:  20px;
    background: #666;
    color: white;
    }
    
body {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .wrapper{
        max-width: 400px;
        max-height: 500px;
        font-size: 20px;
        margin: 0 20px 0 20px;
    }

  .wrapper header {
      font-weight: 400;
  }

    img {
        max-width: 170px;
    }

};
footer-bottom{
    background: #bd9797;
    height:auto;
    width: 100vw;
    font-family: "open sans";
    color: #bee5eb;
}
.footer-bottom{
    position: absolute;
    bottom:0;
    left:0;
    right:0;
    background: #88a9af;
    width: 100vw;
    padding:20px 0;
    text-align: center;
}
.footer-bottom p{
    font-size:14px;
    word-spacing: 2px;
    text-transform: capitalize;
}
.footer-bottom span{
    text-transform: uppercase;
    opacity: .6;
    font-weight:200;
}



