*{
    /*this is the default styling for the full page*/
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
    box-sizing: border-box;
}

body{
    /*the page background must be black*/
    background: aqua;
}

/*this card represents the whole space where the weather will be displayed*/
.card{
    /* the max width of the card must not exceed the stated number*/
    width: 90%;
    max-width: 470px;
    /*background: linear-gradient(135deg, #00feba, #5b548a);*/
    background: black;
   /* color: #fff;/*the color of the text in the card*/
   color: aqua;
    margin: 100px auto 0;
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
}
/*these 2 will be aligned horizontally side by side*/

.search{
    /*This is the css for the search box*/
    width: 100%;
    display: flex;/*this ensures that the searchinput is displayed first then the search icon in the same line*/
    align-items: center;
    justify-content: space-between;
}

.search input{
    /*the styling for the input field*/
    border: 0;
    outline: 0;
    /*background: #ebfffc;*/
    background: aliceblue;
    color: #555;
    padding: 10px 25px;
    height: 60px;
    border-radius: 30px;
    flex: 1;/*it must be the first thing in the flex display*/
    margin-right: 16px;
    font-size: 18px;
}

/*This is to design the button itself*/
.search button{
    border: 0;
    outline: 0;
    background: #ebfffc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

/*This is to design the image placed as the button*/
.search button img{
    width: 16px;
}

/*This is the styling for the main image*/
.weather-icon{
    width: 170px;
    margin-top: 30px;
}

/*This is the styling for the temperature html element*/
.weather h1{
    font-size: 80px;
    font-weight: 500;
}

/*This is the styling for the city*/
.weather h2{
    font-size: 45px;
    font-weight: 400;
    margin-top: -10px;
}

/*This is the styling for the class holding both the humidity and the wind elemnts*/
.details{
    display: flex;/*display the humidity and wind side by side*/
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 50px;;
}

/*This is to style the humidity and wind section */
.col{
    display: flex;
    align-items: center;
    text-align: left;
}

/*This is to style the images of the wind and humidity*/
.col img{
    width: 40px;
    margin-right: 10px;
}

/*decorate the humidity and wind class*/
.humidity, .wind{
    font-size: 28px;
    margin-top: -6px;
}


/*by default will not display the weather information*/
.weather{
    display: none;
}

/*Decorate the error message*/
.error{
   text-align: left;
   margin-left: 10px;  
   font-size: 14px;
   margin-top: 10px;
   display: none;/*this is for when you dont want the element to show by default*/
}


