    @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "poppins";
    background: linear-gradient(135deg, #020617, #0f172a, #1e293b, #1e3a8a);
    width: 100%;
    height: 90vh;
     background-attachment: fixed;
}
.traffic_light{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
h1{
    font-size: 40px;
    font-weight: 600;
    color: #ffffff;
}
label{
    color: #94a3b8;
}
input{
    border-color: #22c55e;
    background: none;
    width: 300px;
    border-radius: 10px;
    height: 40px;
    outline: none;
    color: #fff;
    padding-left: 20px;
    font-size: 15px;
}
input::placeholder{
    background: none;

}
button {
    background-color: #22c55e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #4ade80;
    box-shadow: 0 0 10px #22c55e;
}
.div{
    display: flex;
    gap: 20px;
}
.para{
    font-size: 15px;
    color: #777;
}
.para_2{
    margin-top: 100px;
    margin-left: 300px;
}
.red{
    color: #ea2e2e;
}
.yell{
    color: #facc15;
}
.green{
    color: #22c55e;
}
.signal {
    width: 80px;
    padding: 10px;
    background: #111;
    border-radius: 20px;
    margin: 30px auto;
}

.light {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    margin: 10px auto;
}

#redLight {
    background: red;
    box-shadow: 0 0 20px red;
}

#yellowLight {
    background: yellow;
    box-shadow: 0 0 20px yellow;
}

#greenLight {
    background: green;
    box-shadow: 0 0 20px green;
}
.card {
    width: 300px;
    margin: 20px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
#message {
    font-weight: bold;
}
.resetBtn {
    background-color: #22c55e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;    
}

.resetBtn:hover {
    background-color: #22c55e;
}
.any{
    display: flex;
    align-items: center;
    justify-content: center;
}