@import url('https://fonts.googleapis.com/css2?family=Poiret+One&family=Rubik+Mono+One&display=swap');
@font-face {
    font-family: "Rubik Mono One", monospace;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
pre {
    font-family: "Rubik Mono One", monospace;
    color: #333;
}

html, body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    text-align: center;
    vertical-align: bottom;
    overflow: hidden;
/*    transform: rotate(180deg);*/
    background-position: center center;
    background-size: cover;
    cursor: crosshair;
}

.no-cursor {
    cursor: none;
}

#overlay {
    display: flex;
    background-color: rgba(0, 0, 0, .42);
    /* padding: 0; */
    /* padding-top: 2vh; */
    /* padding-bottom: 3vh; */
    height: 100vh;
    box-sizing: border-box;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    height: 146vh;
    width: 146vw;
    background-color: #000;
    transition: opacity 0.22s cubic-bezier(0.4, 0, 1, 1);
}

#gif {
    position: fixed;
    top: 15vh;
    left: 20vw;
    width: 60vw;
    height: 70vh;
    cursor: crosshair;
    background-image: url('/gif/snoop_dogg.gif');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    -webkit-tap-highlight-color: transparent;
    opacity: 0.8 !important;
    display: unset;
/*
    transition-property: all;
    transition-duration: 0.3s;
    transition-delay: 0.2s;
    transition-timing-function: cubic-bezier(1,-0.21, 0.58, 1);
*/
    filter: none !important;


    -webkit-mask-image: radial-gradient(
        ellipse at center,
        rgba(0,0,0,1) 55%,
        rgba(0,0,0,0.95) 65%,
        rgba(0,0,0,0.5) 80%,
        rgba(0,0,0,0.15) 92%,
        transparent 100%
    );

    mask-image: radial-gradient(
        ellipse at center,
        rgba(0,0,0,1) 55%,
        rgba(0,0,0,0.95) 65%,
        rgba(0,0,0,0.5) 80%,
        rgba(0,0,0,0.15) 92%,
        transparent 100%
    );

}

.hidden {
    display: none;
}

@keyframes fade-out {
    0% { opacity: .8; }
    100% { opacity: 0; transform: scale(3,3); }
}

@keyframes fade-in {
    0% { opacity: 0; transform: scale(2, 2); }
    100% { opacity: .8; }
}

.width-in {
    width: 52.33vw;
    height: 68.42vh;
    opacity: 0;
    animation: width-in 0.33s cubic-bezier(0.42, 0, 0.85, 0.17) forwards;
    animation-delay: 0.33s;
}

@keyframes width-in {
  from {
    opacity: 0;
    width: 50vw;
    height: 60vh;
  }
  to {
    opacity: 1;
    width: 60vw;
    height: 70vh;
  }
}


.popup {
    position: fixed;
    width: 30vw;
    height: 30vh;
    top: 35vh;
    left: 35vw;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    pointer-events: none; 
}

#play.popup {
    animation: fade-out .4s ease-out forwards;
}
#play.pause-popup {
    animation: fade-in .4s ease-out forwards;
}
#playstart.popup { opacity: .8; }
#playstart.hidden {
	display: block!important;
    animation: fade-out .4s ease-out forwards;
}

#pause.popup {
    animation: fade-in .4s ease-out forwards;
}

.controls {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: baseline;
    height: 14vh;
    width: 100vw;
    left: 0;
    text-align: center;
    opacity: 0;
    transition: 1s opacity;
}

.controls.bottom {
    bottom: 0;
}

.controls.top {
    top: 0;
    background: rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 100%);
}

.controls:hover {
    opacity: 1;
    transition: 1s opacity;
}

@media screen and (max-width: 768px) {
    .controls {
        opacity: .8!important;
    }
    .controls a{
        opacity: .8!important;
    }
    .controls span {
        font-size: 1.1em!important;
        width: 65vw;
    }
    .controls a:hover {
        opacity: .8!important;
        transform: scale(1.00)!important;
        transition: .4s all;
    }
    .controls a:active {
        transform: scale(1.337, 1.337)!important;
        transition: .1s all;
    }
}

.controls::before, .controls::after {
    content: " ";
    width: 0;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
    user-select: none;
}

.controls a {
    display: inline-block;
    vertical-align: middle;
    width: 10vh;
    height: 10vh;
    background-image: url('/pisekot/next.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 10vw;
    margin-right: 10vw;
    cursor: crosshair;
    opacity: .6;
    transition: .4s all;
}

.controls span {
    align-items: center;
    display: flex;
    justify-content: center;
    /*font-family: monospace;*/
    font-family: "Rubik Mono One", monospace;
    vertical-align: middle;
    color: white;
    font-size: 1.2em;
    text-transform: lowercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 1, 1);
    word-wrap: normal;
}

.controls a:hover {
    opacity: .95;
    transform: scale(1.1);
    transition: .4s all;
}

.controls a:active {
    transform: scale(1.337, 1.337);
    transition: .1s all;
}

.controls #prev {
    background-image: url(/pisekot/prev.png);
}

.controls #prev:active {
    transform: scale(1.337, 1.337);
    transition: .1s all;
}

.pointer-fade {
    opacity: 1;
    transition: .6s opacity;
}
/* Pulse Grow */
@-webkit-keyframes hvr-pulse-grow {
  to {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}
@keyframes hvr-pulse-grow {
  to {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}
.hvr-pulse-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hvr-pulse-grow:hover, .hvr-pulse-grow:focus, .hvr-pulse-grow:active {
  -webkit-animation-name: hvr-pulse-grow;
  animation-name: hvr-pulse-grow;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

@keyframes drop-shadow-share {
	0% { filter: drop-shadow(0px 0px 0px white); }
	50% { filter: drop-shadow(0px 0px 7px white); }
	100% { filter: drop-shadow(0px 0px 0px white); }
}

.drop-shadow-share {
	animation: drop-shadow-share 1s ease-in-out;
}

@keyframes spin-share {
	0% { transform: translateY(-50%) rotate(0turn); }
	100% { transform: translateY(-50%) rotate(1turn); }
}

.spin-share {
	animation: spin-share .5s linear infinite;
	transform-origin: center center;
}




/* ------------------ */
#audioSeekBar {
    transform: translateY(0) !important;
    background-color: rgba(0,0,0,0) !important;
}
#seekBar {
    filter: hue-rotate(69deg) !important;
    background: transparent !important;
    opacity: 0.8;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 12px !important;
    cursor: pointer;
}

#seekBar::-webkit-slider-runnable-track {
    height: 2px !important;
    background: rgba(180,255,255,.45);
}

#seekBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 8px;
    height: 12px !important;
    margin-top: -5px;
    background: #bfffff;
    border: none;
    box-shadow: 0 0 4px #bfffff;
}

/* [ ] */
.controls.top {
    opacity: 1;
    background: none !important;
}

/* < > */
#play { background-image: url('/pisekot/play.gif') }
#playstart { background-image: url('/pisekot/play.gif') }
#pause { background-image: url('/pisekot/pause.gif') }

.controls #prev,
.controls a { animation: float 3s ease-in-out infinite }
.controls a { animation-delay: -1.5s }

@keyframes float {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(-8px) }
}