
body{
    margin: 0;
    padding: 0;
    background: #002B5B;
    font-family: 'Poppins', sans-serif;
}
.heading{
    margin-top: 35px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.heading {
     color:#ff4f81;
     font-size: 50px;
     font-weight: 800;
}
.wrapcont{
  background-color:#cce7ff;
 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    width: 500px;
     height: 250px;
    position: relative;
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: center;
    padding: 30px 20px;
    border-radius: 12px;
     
}
/* button desgine */
button{
  background-color: #4CAF50;
color: white;
height: 50px;
width: 150px;
font-size: 18px;
font-weight: 500;
border-radius: 8px;
 border: none;
  border-radius: 10px;
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease, transform 0.2s ease;

}
/* hover function */
button:hover{
    cursor: pointer;
    color:black;
    background-color: blue;
    
}
input{
   border: 1px solid #ccc;
    padding: 8px 10px;
    border-radius: 6px;
    outline: none;
    font-size: 16px;
}
input:focus{
      border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}
.istinput p label {
    font-size: 22px;
}
.ndiput p label {
    font-size: 22px;
}
.weight-guide {
    text-align: center;
    margin-top: 15px;
}

.weight-guide h2 {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
}

.weight-guide table {
    border-collapse: collapse;
    margin: 0 auto;
    width: 90%;
    max-width: 450px;
    font-family: Arial, sans-serif;
    
}

.weight-guide thead th {
    background-color: #004085;
    color: white;
    padding: 10px;
    font-weight: bold;
}

.weight-guide tbody td {
    padding: 10px;
    border: 1px solid #ccc;
}

.weight-guide tbody tr:nth-child(1) { background-color: #fff3cd; }
.weight-guide tbody tr:nth-child(2) { background-color: #d4edda; }
.weight-guide tbody tr:nth-child(3) { background-color: #ffeeba; }
.weight-guide tbody tr:nth-child(4) { background-color: #f8d7da; }

@media (max-width: 768px) {
  .heading  {
    font-size: 32px;
       line-height: 1.2;
  }

  .wrapcont {
    width: 83%;
    height: auto;
    padding: 20px 15px;
    
  }

  button {
    height: 50px;
    width: 140px;
    font-size: 16px;
     border-radius: 8px;
  }

  .istinput label,
  .ndiput label {
    row-gap: 5px;
    font-size: 18px;
  }

  #Weight-guide span {
    font-size: 20px;
  }
}
#result {
  display: none; 
  background-color: white;
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  border-radius: 6px;
    opacity: 0;
  transition: opacity 0.8s ease-in-out;

}



.weight-guide tbody tr:nth-child(1) { background-color: #fff3cd; }
.weight-guide tbody tr:nth-child(2) { background-color: #d4edda; }
.weight-guide tbody tr:nth-child(3) { background-color: #ffeeba; }
.weight-guide tbody tr:nth-child(4) { background-color: #f8d7da; }