body {
    overflow-x: none;
    overflow-x: hidden;
}

#loading {
    display: flex;
    height: 100vh;
    width: 100vw;
    justify-content: center;
    justify-items: center;
}

#turnon {
    width: 100%;
    height: 100%;
    display: block;
    transition: 300ms;
}

.lamp,
.turnoff {
    display: block;
    width: 200px;
    height: 100px;
    left: 50vw;
    margin-left: -100px;
    position: relative;
    border-bottom: 100px solid #444;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    height: 0;
    z-index: 11;
}

.turnoff {
    display: none;
}

.bulb {
    position: absolute;
    top: 90px;
    left: 50%;
    height: 32px;
    width: 32px;
    margin-left: -16px;
    background: #777;
    border-radius: 32px;
    z-index: 9;
    transition: 300ms;
    -webkit-transition-delay: 300ms;
}

.string {
    position: absolute;
    top: 90px;
    left: 50%;
    margin-left: 25px;
    height: 100px;
    width: 2px;
    background: #999;
    display: block;
    z-index: 10;
}

.light {
    opacity: 0;
    width: 00px;
    top: 10px;
    border: 50vw solid transparent;
    border-top: none;
    border-bottom: 75vh solid #BA0021;
    border-radius: 50%;
    position: absolute;
    transition: 300ms;
    -webkit-transition-delay: 300ms;
}

#turnon:target .light {
    opacity: 0.2;
}

#turnoff:target .light {
    opacity: 0.0;
}

#turnon:target .bulb {
    background: #BA0021;
}

#turnon:target .turnoff {
    display: block;
}

#turnon:target .lamp {
    display: none;
}

#turnon:target .string {
    -webkit-animation: pull 500ms;
}

#turnoff:target .string {
    -webkit-animation: pull 500ms forwards;
}

@-webkit-keyframes pull {
    0% {
        height: 100px;
        background: #666;
    }

    50% {
        height: 120px;
    }

    100% {
        height: 100px;
    }
}



@media (min-width: 800px) {
    .light {
        width: 00px;
        top: 25px;
        border: 50vw solid transparent;
        border-top: none;
        border-bottom: 75vh solid #BA0021;
        border-radius: 50%;
        position: absolute;
        transition: 300ms;
        -webkit-transition-delay: 300ms;
    }
}

