.beer-slider {
    display: inline-block;
    position: relative;
    overflow: hidden;
    /*margin: 40px 0px;*/
}

.beer-slider *, .beer-slider:before, .beer-slider:after, .beer-slider *:before, .beer-slider *:after {
    box-sizing: border-box
}

.beer-slider img {
    vertical-align: bottom
}

.beer-slider > img {
    max-width: 100%;
    height: auto
}

.beer-reveal {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 50%;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transition: opacity .35s;
    /*background-color: rgba(0,0,0,1);*/
}

.beer-reveal > :first-child {
    width: 200%;
    max-width: none
}

.beer-reveal > img:first-child {
    height: auto
}

.beer-range {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    height: 100%;
    margin: 0;
    left: -1px;
    width: calc(100% + 2px);
    cursor: pointer;
    -webkit-appearance: slider-horizontal !important;
    -moz-appearance: none;
    opacity: 0;
    -ms-touch-action: auto;
    touch-action: auto
}

.beer-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 300vh
}

.beer-range::-moz-range-thumb {
    -webkit-appearance: none;
    height: 300vh
}

.beer-range::-ms-tooltip {
    display: none
}

.beer-handle {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    color: #000;
    background: rgba(255, 255, 255, .5);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /*box-shadow: 0 0 6px transparent;*/
    transition: background .3s, box-shadow .3s, opacity .5s .25s;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.4);
}

.beer-handle:before, .beer-handle:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: 50%;
    border-top: solid 2px;
    border-left: solid 2px;
    transform-origin: 0 0
}

.beer-handle:before {
    left: 10px;
    transform: rotate(-45deg)
}

.beer-handle:after {
    right: 0;
    transform: rotate(135deg)
}

.beer-range:focus ~ .beer-handle {
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 0 3px rgba(0, 0, 0, .4)
}

.beer-slider[data-beer-label]:after, .beer-reveal[data-beer-label]:after {
    content: attr(data-beer-label);
    position: absolute;
    top: 1.5rem;
    line-height: 1;
    padding: .5rem;
    border-radius: .125rem;
    /*background: rgba(255, 255, 255, .8);*/
    background: rgba(0, 0, 0, 0.5);
    min-width: 70px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    border-radius: 100px;
    /*border: 1px solid rgba(0, 0, 0, .15);*/
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.beer-slider[data-beer-label]:after {
    right: 1.5rem
}

.beer-reveal[data-beer-label]:after {
    left: 1.5rem
}

.beer-slider[data-beer-label=""]:after, .beer-reveal[data-beer-label=""]:after {
    content: none
}

.beer-ready .beer-reveal, .beer-ready .beer-handle {
    opacity: 1;
    border-right: 1px solid rgba(255, 255, 255, .75);
}









body{
    background-color: #272727;
    /*background-color: #000;*/
}
.m {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.beer-reveal img {
}
.beer-reveal .cover {
    display: block;
    width: 100%;
    height: 300vh;
    background-color: rgba(0,0,0,0.04);
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
}
.beer-slider .text {
    position: absolute;
    font-size: 15px;
    line-height: 25px;
    width: 100px;
    height: 25px;
    text-align: center;
    z-index: 99;
}
.original {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    /*margin-bottom: 20px;*/
}
.original .text {
    font-size: 18px;
    line-height: 40px;
    color: rgba(255,255,255,0.7);
}
.beer-ready .beer-reveal, .beer-ready .beer-handle {
    opacity: 1;
    border-right: 1px solid rgba(255, 255, 255, .5);
}