body{
    background-image: url(./bg1.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
h1{
    text-align: center;
}
.traffic-signal{
    border: 4px solid black;
    height: 300px;
    width: 80px;
    position: absolute;
     background: #161616;
    left: 600px;
    top: 100px;
    border-radius: 20px;
}
.light{
    width: 60px;
    height: 60px;
    background: #2d2d2d;
    margin: 15px auto;
    border-radius: 50%;

}
   
.red.active{
    background: red;
}
.yellow.active{
    background: yellow;
}
.green.active{
    background: green;
}
.timer{
    border: 6px solid yellow;
    background-color: gray;
    border-radius: 20px;
    width: 80px;
    height: 30px;
    padding: 10px;
    color: white;
    font-size: 25px;
}