body, html {
    height: 100%;
}
body {
    margin: 0;
    display: flex;
    background: #ffdc52;
}
.hanger {
    position: fixed;
    top: 0;
    left: 130px;
}
.button {
    background: #eb1f48;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-family: Roboto;
    font-size: 1.9em;
    height: 65px;
    letter-spacing: 0.2px;
    line-height: 65px;
    text-align: center;
    text-transform: uppercase;
    user-select: none;
    width: 150px;
    margin: 0 auto;
}
.button:hover {
    background: #ec3257;
}
.button:active {
    box-shadow: inset 0px 2px 8px -1px #d7143b;
}
.fancy-button {
    margin: auto;
    position: relative;
}
.frills, .frills:after, .frills:before {
    position: absolute;
    background: #eb1f48;
    border-radius: 4px;
    height: 8px;
}
.frills:after, .frills:before {
    content: "";
    display: block;
}
.frills:before {
    bottom: 45px;
}
.frills:after {
    top: 45px;
}
.left-frills {
    right: 130px;
    top: 28.5px;
}
.active .left-frills {
    animation: move-left 0.38s ease-out, width-to-zero 0.38s ease-out;
}
.left-frills:before, .left-frills:after {
    left: 15px;
}
.active .left-frills:before {
    animation: width-to-zero 0.38s ease-out, move-up 0.38s ease-out;
}
.active .left-frills:after {
    animation: width-to-zero 0.38s ease-out, move-down 0.38s ease-out;
}
.right-frills {
    left: 130px;
    top: 28.5px;
}
.active .right-frills {
    animation: move-right 0.38s ease-out, width-to-zero 0.38s ease-out;
}
.right-frills:before, .right-frills:after {
    right: 15px;
}
.active .right-frills:before {
    animation: width-to-zero 0.38s ease-out, move-up 0.38s ease-out;
}
.active .right-frills:after {
    animation: width-to-zero 0.38s ease-out, move-down 0.38s ease-out;
}
.left-frills:before, .right-frills:after {
    transform: rotate(34deg);
}
.left-frills:after, .right-frills:before {
    transform: rotate(- 34deg);
}
@keyframes move-left {
    0% {
        transform: none;
    }
    65% {
        transform: translateX(-80px);
    }
    100% {
        transform: translateX(-80px);
    }
}
@keyframes move-right {
    0% {
        transform: none;
    }
    65% {
        transform: translateX(80px);
    }
    100% {
        transform: translateX(80px);
    }
}
@keyframes width-to-zero {
    0% {
        width: 38px;
    }
    100% {
        width: 8px;
    }
}
@keyframes move-up {
    100% {
        bottom: 50px;
    }
}
@keyframes move-down {
    100% {
        top: 50px;
    }
}





.base {
    width: 100%;
    border-top: 5px solid gray;
    margin: auto;
    text-align: center;
    position: relative;
    padding: 0 0 30px;
}

.holder {
    width: 30px;
    height: 20px;
    background: black;
    margin: auto;
    border-radius: 0 0 50% 50%;
}

.thread {
    display: inline-block;
    width: 2px;
    height: 100px;
    background: #eb1f48;
    border-radius: 5px;
    position: relative;
    transform-origin: 50% 0;
    animation: moveIt 3s ease-in-out infinite;
}

.thread:after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: red;
    border: 2px solid white;
    top: -4.5px;
    left: -3.5px;
}

.knob {
    width: 10px;
    height: 10px;
    position: absolute;
    top: -18px;
    left: -4.5px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    border-bottom: 2px solid transparent;
}

.pendulum {
    //width: 20px;
    height: 20px;
    background: -moz-radial-gradient(circle at 70% 35%, white, #66d63e 30%, #40a31d 50%);
    background: -webkit-radial-gradient(circle at 70% 35%, white, #66d63e 30%, #40a31d 50%);
    background: -o-radial-gradient(circle at 70% 35%, white, #66d63e 30%, #40a31d 50%);
    background: -ms-radial-gradient(circle at 70% 35%, white, #66d63e 30%, #40a31d 50%);
    background: radial-gradient(circle at 70% 35%, white, #66d63e 30%, #40a31d 50%);
    border-radius: 50%;
    position: absolute;
    bottom: -10px;
    left: -75px;
}

@keyframes moveIt {
    0%, 100% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(-15deg);
    }
}
