html, body {
    overflow: hidden;
    height: 100%;
    margin: 0;
  }
  
  #turnon {
    width: 100%;
    height: 100%;
    display: block;
    background: #111;
    transition: background 300ms;
  }
  
  .lamp, .turnoff {
    width: 100px;
    height: 0;
    top: 0;
    left: 50%;
    margin-left: -50px;
    position: absolute;
    border-bottom: 100px solid #444;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    z-index: 11;
  }
  
  .turnoff {
    display: none;
  }
  
  .bulb {
    position: absolute;
    top: 90px;
    left: 52.5%;
    height: 32px;
    width: 32px;
    margin-left: -16px;
    background: #777;
    border-radius: 32px;
    z-index: 9;
    transition: background 300ms;
    transition-delay: 300ms;
  }
  
  .string {
    position: absolute;
    top: 90px;
    left: 50%;
    margin-left: -1px;
    height: 100px;
    width: 2px;
    background: #999;
    display: block;
    z-index: 10;
  }
  
  .light {
    width: 50px;
    height: 0;
    top: 90px;
    left: 15.35%;
    margin: -135px 0 0 -25px;
    border: 715px solid transparent;
    border-top: none;
    border-bottom: 1400px solid #FF8;
    opacity: 0;
    position: absolute;
    transition: opacity 300ms;
    transition-delay: 300ms;
  }
  
  #turnon:target .light {
    opacity: 0.2;
  }
  
  #turnon:target .bulb {
    background: #FAEB83;
  }
  
  #turnon:target .turnoff {
    display: block;
  }
  
  #turnon:target .lamp {
    display: none;
  }
  
  #turnon:target .string {
    animation: pull 500ms;
  }
  
  @keyframes pull {
    0% {
      height: 100px;
      background: #666;
    }
    50% {
      height: 120px;
    }
    100% {
      height: 100px;
    }
  }
  