*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: Arial, sans-serif;
    text-align: center;
    background-image: url(image/background.jpg);
    background-size: cover;
    background-position: top ;
    height: auto;
    color: #fff;
}
.input{
    padding: 20px 20px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    width: 30%;
    margin: 50px auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: black;
}
.input-details{
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 20px 0;
}
#stateData{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
input{
    padding: 10px;
    width: 250px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-right: 10px;
}
button{
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    width: 90px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
button:hover{
    background-color: #0056b3;
}

.state-card{
    width: 280px;
    height: 200px;
    background-image:  url(image/White.jpg);
    background-position: center center;
    background-repeat:  no-repeat;
    background-size:  cover;
    color: black;
     padding: 0px 0px 20px;
    margin: 13px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.state-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.state-card h1{
    width: 100%;
    height: 60px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin:  0px 0px 10px !important;
    color: #ffffff;
    background: #007BFF;
    padding: 8px;
    border-radius: 8px 8px 0px 0px;
    display: inline-block;
}
.state-card h1 .state-name{
    color: #FFD700;
    font-weight: bold;
}
.state-card p{
    font-size: 17px;
    font-weight: 500;
    margin: 8px 0;
}
.state-card p span{
    font-weight: bold;
    font-size: 18px;
    padding: 4px 10px;
    border-radius: 5px;
    display: inline-block;
}
.case-count{
    background: #ffc107;
    color: #333;
}
.death-count{
    background: #dc3545;
    color: #fff;
}
.recovery-count{
    background: #28a745;
    color: #fff;
}