*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    /* border: 2px solid red; */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #222;
}
.light{
    /* border: 2px solid yellow; */
    position: relative;
    width: 500px;
    height: 500px;
    /* background: #333; */
    display: flex;
    justify-content: center;
    align-items: center;
}
.box{
    /* border: 2px solid magenta; */
    position: absolute;
    left: 0;
    width: 80px;
    height: 80px;
    transform-origin: 250px;
    transform: rotate(calc(300deg * var(--i)));
}
.box::before{
    content: '______________';
    position: absolute;
    top: 3px;
    font-size: 2em;
    text-decoration: underline;
    text-decoration-style: wavy;
}
.bulb{
    /* border: 2px solid orange; */
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: #444;
    border-radius: 50%;
    transform: rotate(90deg);
}
.on .bulb{
    /* border: 2px solid peru; */
    box-shadow: 0 0 50px #fff,
    0 0 100px #fff,
    0 0 150px #fff,
    0 0 200px #fff,
    0 0 300px #fff,
    0 0 350px #fff;
}
.bulb::before{
    /* border: 2px solid yellow; */
    content: '';
    position: absolute;
    top: -50px;
    left: 22.5px;
    width: 35px;
    height: 80px;
    background: #444;
    border-top: 30px solid #000;
    border-radius: 10px;
    z-index: 10000;
}
.on .bulb::after{
    /* border: 2px solid rosybrown; */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    filter: blur(40px);
}
.on .bulb,
.on .bulb::before{
    background: #fff;
}
.bulb span:nth-child(1){
    /* border: 2px solid blue; */
    position: absolute;
    top: -16px;
    left: -4px;
    width: 30px;
    height: 30px;
    background: transparent;
    border-bottom-right-radius: 40px;
    transform: rotate(342deg);
    box-shadow: 20px 20px 0 10px #444;
}
.bulb span:nth-child(2){
    /* border: 2px solid greenyellow; */
    position: absolute;
    top: -16px;
    right: -4px;
    width: 30px;
    height: 30px;
    background: transparent;
    border-bottom-left-radius: 40px;
    transform: rotate(16.5deg);
    box-shadow: -20px 20px 0 10px #444;
}
.on .bulb span:nth-child(1){
    box-shadow: 20px 20px 0 10px #fff;
}
.on .bulb span:nth-child(2){
    box-shadow: -20px 20px 0 10px #fff;
}
.switch{
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid #000;
    background-image: linear-gradient(#eee, #ccc, #eee);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.switch .btn{
    border: 2px solid #000;
    position: relative;
    width: 25px;
    height: 40px;
    background: linear-gradient(#777, #fff, #777);
    border-radius: 6px;
    border: 2px solid #000;
    cursor: pointer;
}
.switch .btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    background: linear-gradient(#ddd, #fff);
    border-radius: 4px;
}
.on .switch .btn::before{
    top: 15%;
}
#audio{
    display: none;
}