/*-------------------------------------------/*
/*--project is devloped by Gaurav Bharane---/ 
/*----------------------------------------*/


*{
    margin: 0;
    padding: 0;
    font-family:'Poppins', sans-serif;
    box-sizing: border-box;
}

/*---- body color and background ----*/
body{
    background: #222;
    height: 100vh;
    
}
.bg{
    background-size:cover;   
}
/* --------------------------------- */


.card{
    width:90%;
    max-width: 470px;
    background: #0000001a;
    color: #ffffff;
    margin: 30px auto 0;
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    box-shadow: #222;
}

.search{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search input{
    border: 0;
    outline: 0;
    background: #ebfffc;
    color: #555;
    padding: 10px 15px;
    height: 60px;
    border-radius: 30px;
    flex: 1;
    margin-right: 16px;
    font-size: 18px;
}
.search button{
    border: 0;
    outline: 0;
    background: #ebfffc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
}
.search button img{
    width: 16px;
}

.start_message h1{
    padding: 80px ;
        font-size: 40px;
        font-size: 500;
    
}
.weather-icon{
    width: 170px;
    margin-top: 30px ;
}
.weather h1{
    font-size: 80px;
    font-size: 500;
}
.weather h2{
    font-size: 45px;
    font-size: 400;
    margin-top: -10px;
}
.details{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 50px;
}
.col{
    display: flex;
    align-items: center;
    text-align: left;
}
.col img{
    width: 40px;
    margin-right: 10px;
}
.humidity, .wind{
    font-size: 28px;
    margin-top: -6px;
}
.weather{
    display: none;
}
.error{
    text-align: left;
    margin-left: 10px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}
.project_details{
    /* display: none; */
    margin-top: 20px;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(216, 216, 216, 0.493);  
    color: #000;
}
.country{
    display: flex;
    align-items: center;
    justify-content: center;
    /* text-align: left; */
}
.country img{
    width: 40px;
    /* border-radius: 50%; */
    margin-right: 10px;
    margin-top: -10px;
}


/* Style the navigation menu */
.topnav {
    overflow: hidden;
    background-color: #333;
    position: relative;
  }
  
  /* Hide the links inside the navigation menu (except for logo/home) */
  .topnav #myLinks {
    display: none;
    /* z-index: 5; */
  }
  
  /* Style navigation menu links */
  .topnav a {
    color: rgb(0, 0, 0);
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
    background-color: #ffffff;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
  
  /* Style the hamburger menu */
  .topnav a.icon {
    background: rgb(255, 194, 80);
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  /* Add a grey background color on mouse-over */
  .topnav a:hover {
    /* background-color: #ddd; */
    background: rgb(255, 194, 80);
    color: black;
  }
  
  /* Style the active link (or home/logo) */
  .active {
      background-color: #ffffff;
      color: rgb(0, 0, 0);
    }
   

/* media responsiveness */
@media (max-width:480px){
    .card{
        padding:  40px 16px;
        margin-top: 35px;
    }
    .col{
        padding: 0 28px 0 0;
    }
    .col img{
        width: 30px;
        margin-right: 5px;
    }
    .humidity, .wind{
        font-size: 18px;
        margin-top: -6px;
    }
    .weather-icon{
        margin-top: 5px;
    }
    .details{
        padding: 5px 5px;
    }
    .details p{
     font-size: 20px;   
    }
    .speed {
        padding-right: 0px ;
        margin-right: 0px ;
    }
    .speed p{
        font-size: 18px;

    }
    .search button{
        width: 55px;
        height: 55px;
        border-radius: 35%;
    }
    .search input{
        padding: 10px 5px 10px 15px;
        margin-right: 5px;
    }
    .project_details{
        /* display: none; */
        margin-top: 20px;
        /* padding: 10px; */
        border-radius: 10px;
        background-color: rgba(216, 216, 216, 0.493);
        font-size: 12px;  
        color: #000;
    }
}

