.traffic-lights {
    font-family: sans-serif;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

.traffic-lights__wrap {
    width: 106px;
    display: flex;
    flex-wrap: wrap;
    align-self: flex-end;
    background-color: grey;
    border-radius: 5px;
    padding: 10px;
}

.traffic-lights__light {
    position: relative;
    width: 100px;
    height: 100px;
    background-color: darkgray;
    border: 3px solid #000000;
    border-radius: 50%;
}

.traffic-lights__light + .traffic-lights__light {
    margin-top: 10px;
}

.traffic-lights__counter {
    color: rgba(0, 0, 0, 0.4);
    font-size: 44px;
    font-weight: 600;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.traffic-lights__light--red {
    background-color: red;
}

.traffic-lights__light--yellow {
    background-color: yellow;
}

.traffic-lights__light--green {
    background-color: green;
}

.traffic-lights__pedestrian-button {
    align-self: flex-end;
}