html {
    height: 100vh;
    overflow: hidden;
}

body {
    width: 100vw;
    height: 100vh;
    perspective: 5px;
    transform-style: preserve-3d;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/back.png) top center no-repeat;
    background-size: 100% auto;
    z-index: 0
}

#wrapper {
    position: relative;
    z-index: 1;
}

h1, h2, h3, p, span {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4rem;
    line-height: 1.85rem
}

h2 {
    font-size: 1.3rem;
}

h3 {
    font-size: 2.4rem;
}

p, span {
    font-size: 1.1rem;
}

.big {
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    background: #028140;
    color: #fff;
    padding: 2px 10px;
    border-radius: 8px;
}

a, a:visited {
    color: #028140;
    transition: all .2s;
}

footer a, footer a:visited {
    text-decoration: none;
    color: #000;
    transition: all .2s;
}

a:hover, a:active, footer a:hover, footer a:active {
    color: #014d26;
}

footer div {
    border-radius: 30px;
}

.stroke-solid {
    stroke-dashoffset: 0;
    stroke-dashArray: 300;
    stroke-width: 4px;
    transition: stroke-dashoffset .5s ease, opacity .5s ease;
}

.icon {
    transform: scale(.8);
    transform-origin: 50% 50%;
    transition: transform .2s ease-out;
}

.preview:hover #play {
    .stroke-solid {
        opacity: 1;
        stroke-dashoffset: 300;
    }
    
    .icon {
        transform: scale(1.5);
    }
}

#play {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 10;
}

.thumb {
    box-sizing: border-box;
    filter: grayscale(.5);
    border-radius: 30px;
    transition: all .65s;
}

.preview:hover .thumb {
    filter: grayscale(0) contrast(1.25);
    transform: scale(1.04);
    border-radius: 35px;
}

.video-episode {
    box-sizing: border-box;
    transition: all .2s;
    border-radius: 55px;
    padding: 30px;
}

@media screen and (max-width: 639px) {
    .video-episode {
        padding: 20px;
    }
}

.video-episode:hover {
    background: rgba(230, 230, 230, .85);
}

footer {
    width: 100%;
    min-height: 60vh;
    position: relative;
    transform-style: preserve-3d;
}

footer::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: url("../img/shevitsa.png") bottom center no-repeat;
    background-size: auto 100%;
    transform: translateZ(-1px);
    filter: opacity(.1);
}

.separator {
    border: 1px solid #eee;
}

.play {
    position: relative;
    transition: all .2s;
}

.play a {
    text-decoration: none;
}

.play:before {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 15px solid #014d26;
    content: '';
    opacity: 0;
    position: absolute;
    left: -10px;
    top: 6px;
    transition: all .1s;
    pointer-events: none;
    border-radius: 4px;
}

.play:hover{
    padding-left: 20px;
}

.play:hover:before {
    opacity: 1;
    left: 0px;
}