body {
    font-family: 'Tohoma', sans-serif;
    background-color: #c3c3ed;
    margin: 0;
    padding: 0;
    /* color: #333; */

  }
  
  /* Navbar */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #9fb0e9;
    color: white;
    border-radius: 10px;
    margin: 20px;
    font-size: x-large;
    position: sticky;
    top: 0%;
    
  }
  .nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
  }
  nav li + li:before{
    content: " | ";
    padding: 0 10px;
}
  .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    position: relative;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #ffd93d; /* accent hover */
    transition: 0.3s;
    
  }
  
  .brand {
    font-size: 24px;
    font-weight: bold;
  }
  
  #dark-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }
  
  /* Main Content */
  main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
  }
  
  
  body.dark-mode {
    background-color: #1e1e2f;
    color: #f0f0f0;
  }
  
  body.dark-mode nav {
    background-color: #3ea0ff;
  }
  
  body.dark-mode .search {
    background-color: #3ea0ff;
    color: #f0f0f0;
  }
  body.dark-mode .searchbar {
    background-color: #3ea0ff;
    color: #f0f0f0;
  }
  body.dark-mode .searchbtn {
    background-color: #3ea0ff;
    color: #f0f0f0;
  }
  body.dark-mode #wet {
    background-color: #3ea0ff;
    color: #f0f0f0;
  }
  body.dark-mode .day-card {
    background-color: #3ea0ff;
    color: #f0f0f0;
  }
  body.dark-mode .tabular th {
    background-color: #3ea0ff;
    color: #f0f0f0;
  }

 body.dark-mode .tabular td {
    color: #1e1e2f;
  }
  
  body.dark-mode .tabular-container{
    background-color: #2e2e40;
  }
/* search */
.container {
    display:flex;
    justify-content: center; 
    align-items: center;
  }

::placeholder {
    color: white;
    font-family: 'palatino', sans-serif;
}
.wetcont{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  font-size: 40px;
  font-family: 'palatino', sans-serif;
}
  
  #wet{
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    color: white;
    background-color: #9fb0e9 ;
    border-radius: 9px;
}

.searchbar{
  display: flex;
  align-items: center;
  border-radius: 60px;
  padding: 10px 20px;
  width: 100%;
  max-width: 700px;
  background-color: rgb(159, 176, 233);
}
.search {
  border: 1px solid aliceblue ;
  flex: 1;
  border: 0;
  outline: none;
  padding: 24px 20px;
  background: transparent;
  font-size: 20px;
  }
.searchbtn {
    font-size: 25px;
    background-color: #9fb0e9;
    color: white;
    border: none;
    cursor: pointer;
  } 

.forecast{
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px auto;

}

.day-card {
  background-color: #9fb0e9;
  border-radius: 12px;
  padding: 20px;
  font-family: "Courier New", Courier, monospace;
}
/* table */
.tabular-container {
    width: 90%;
    margin: 20px auto;
    overflow-x: auto;
    border-radius: 15px;
    background-color: #f4f4f9;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(107, 142, 207, 0.05);
  }

  
  .tabular {
    width: 100%;
    align-items: center;
    border-collapse: separate;
    border-spacing: 0 10px; /* spacing between rows */
    font-family: 'Segoe UI', sans-serif;
  }
  
  .tabular th, .tabular td {
    padding: 12px 20px;
    text-align: center;
  }
  
  .tabular th {
    background-color: #9fb0e9;
    color: white;
    font-weight: 600;
    /* border-radius: 10px 10px 0px 0px ;  */
  }
  
  .tabular th.text-start{
    border-radius: 10px;
  }
  .tabular tbody tr {
    background-color: #ffffff;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    
  }
  
  .tabular tbody tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  }
  
  .tabular td, .tabular th {
    border-bottom: none;
      
  }
  
  .text-start {
    text-align: left;
    padding-left: 25px;
  }

  .hamburger {
    display: none; /* hide on desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  
  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
  }
  
  /* Mobile responsiveness */
  @media (max-width: 768px) {
    .nav-links {
      display: none; /* hidden by default on mobile */
      position: absolute;
      top: 70px;
      right: 20px;
      flex-direction: column;
      background-color: #9fb0e9;
      padding: 20px;
      border-radius: 10px;
      gap: 10px;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .hamburger {
      display: flex;
    }
  }
  
  
  


