/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
    height: 100%;
  }

 .row {
  background: linear-gradient(to right, #090d79, #00aaff);

 }
  .col-lg-3 h5{
    color: white;
  }

  #fiveday-header h1 {
    font-size: 2.5em;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin: 0px 0;
    padding: 15px;
    background: linear-gradient(to right, #090d79, #00aaff);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
  }
  #fiveday-header p {
    text-align: center;
    color: #fff;
  }










  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #2c3e50;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  /* Style for logout button */
.logout-btn {
  display: inline-block;
  padding: 10px 15px;
  background-color: #ff4d4d;  /* Red color for better visibility */
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.logout-btn:hover {
  background-color: #cc0000;
}

.navbar ul {
  display: flex;
  align-items: center;  /* Align items properly */
}

.navbar ul li {
  list-style: none;
  margin-right: 15px; /* Spacing between items */
}

.navbar ul li:last-child {
  margin-left: auto;  /* Push logout to the right */
}

  
  /* Website Name */
  .logo {
    font-size: 1.8em;
    font-weight: bold;
  }

  
  /* Navbar Links */
  .navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }
  
  .navbar nav ul li {
    margin-left: 25px;
  }
  .navbar nav ul li:last-child {
    margin-right: 20px;
  }
  
  .navbar nav ul li a {
    color: white;
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.3s;
    padding: 10px 15px;
  }
  .navbar nav ul li a:hover {
    text-decoration: underline;
  }
  
  .navbar nav ul li a:hover {
    color: yellow;
  }

  @media(max-width:768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .navbar nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
      }
    
      .navbar nav ul li {
        margin: 10px 0;
      }
  }
  
  /* Hero Section */
  .hero {
    text-align: center;
    background: linear-gradient(to bottom, #090d79, #00aaff);
    color: white;
    padding: 80px 20px;
    margin-top: 60px;
  }
  
  .hero h1 {
    font-size: 2.5em;
    font-weight: bolder;
  }
  
  .hero p {
    font-size: 1.2em;
  }
  .image img {
    height:20% ;
    width: 100%;
  }
  
  /* Highlights Section */
  .highlights {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #0056b3;
    text-align: center;
  }
  
  .highlight {
    flex: 1;
    margin: 10px;
    padding: 20px;
    border: 1px solid #2c3e50;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .highlight i {
    font-size: 3em;
    color: #aa47bc;
    margin-bottom: 10px;
  }
  
  .highlight h2 {
    margin: 10px 0;
    font-size: 1.5em;
    color: #333;
  }
  
  .highlight p {
    font-size: 1em;
    color: #666;
  }
  
  /* Map Section */
  .map {
    text-align: center;
    background-color: #0078d4;
    padding-bottom: 60px;
  }
  
  .map iframe {
    width: 95%;
    height: 600px;
    border: 5px solid yellow;
  }
  
  .map h1 {
    font-weight: bolder;
    font-family: Arial, sans-serif;
    color: #ddd;
  }
  
  
  *{
    margin: 0;
    padding: 0;
    font-family: "popins",sans-serif;
    box-sizing: border-box;
}
body {
   background-color: #00aaff;


}
.card{
    width: 90%;
    max-width: 470px;
    /*background: linear-gradient(135deg,#00feba,#5b548a);*/
    background: linear-gradient(to bottom, #090d79, #00aaff);

    color: white;
    margin: 100px auto 0;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    
}
.search {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search input {
    border: 0;
    outline: 0;
    background: #ebfffc;
    color: #555;
    padding: 10px 25px;
    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;

}
.weather-icon {
    width: 170px;
    margin-top: 30px;
}
.weather h1{
    font-size: 80px;
    font-weight: 500;

}
.weather h2 {
    font-size: 45px;
    font-weight: 400;
    margin-top: -10px;
}
.details {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    margin-top: 50px;
}
.col {
    display: flex;
    align-items: center;
    text-align: left;
    margin-right: 20px;
}
.col img {
    width: 40px;
    margin-left: 40px;
    margin-right: 10px;
    
}
.humidity,.wind{
font-size: 20px;
margin-top: -6px;
}
.weather {
    display: none;
}
.error {
    text-align: left;
    margin-left: 10px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
    color: red;
}


.weatherdata
#weather-prediction {
  margin: 20px auto;
  padding: 20px;
  max-width: 800px;
  text-align: center;
}

#weatherTable {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

#weatherTable th, #weatherTable td {
  border: 1px solid #ddd;
  padding: 8px;
}

#weatherTable th {
  background-color: #f2f2f2;
}
#weather-prediction {
  margin: 20px auto;
  padding: 20px;
  max-width: 800px;
  text-align: center;
}

#weatherTable {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

#weatherTable th, #weatherTable td {
  border: 1px solid #ddd;
  padding: 8px;
}

#weatherTable th {
  background-color: #f2f2f2;
}

h1 {
  color:whitesmoke;
  font-family: sans-serif,arial;
}
#weatherChartContainer {
  display: none; /* Hide the chart container initially */
  max-width: 800px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #0056b3;
}

.weatherprediction {
  padding-top: 300px;
}


.next5year{
    font-size: 2.5em;
    font-weight: bolder;
    color: #fff;
    text-align: center;
    margin: 0px 0;
    padding: 15px;
    background: linear-gradient(to right, #090d79, #00aaff);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
}
.next5year h1 {
  font-weight: bold;
}
.next5year p {
  font-size: small;
  color: yellow;
}




.sunrise-sunset-box {
  background: #00aaff; 
  padding: 15px;
  border-radius: 10px;
  color: white;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  margin: 20px auto;
}

.sunrise-sunset-box h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.sunrise-sunset-box p {
  font-size: 18px;
  margin: 5px 0;
}

.sunrise-sunset-box i {
  color: orange;
  margin-right: 5px;
}


.col-12 h3 {

  font-weight: bolder;
  color: #fff;

}


  
  /* Footer */
  footer {
    text-align: center;
    padding: 15px;
    background: #2c3e50;
    color: white;
    margin-top: 500px;
    
  }
  