@font-face {
    font-family: 'Yekan';
    src: url('../fonts/yekan-regular.ttf') format('ttf'),
        url('../fonts/yekan-regular.woff') format('woff'),
        url('../fonts/yekan-regular.eot') format('eot');
}

body {
    font-family: Yekan;
}

.Btn {
    appearance: none;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 11px;
    line-height: 1;
    margin: 0;
    outline: none;
    padding: 0;
    text-decoration: none;
    transition: 0.25s;
    vertical-align: middle;
}

.Btn-slide:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.Controller {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.Controller-item {
    margin-right: 20px;

    &:last-child {
        margin-right: 0;
    }
}

.Stats {
    overflow: hidden;
}

.Stats-list {
    white-space: nowrap;
    position: relative;

}

.Stat {
    display: inline-block;
    margin-right: 10px;
    width: calc(100% - 8px);
    height: 100%;

    &:last-child {
        margin-right: 0;
    }

    @media screen and (min-width: 1280px) {
        width: calc(25% - 10px);
    }
    @media screen and (min-width: 1536px) {
        width: calc(33.333% - 10px);
    }
}


body:before {
    content: 'mobile';
    display: none;
}

@media screen and (min-width: 768px) {
    body:before {
        content: 'tablet';
    }
}

@media screen and (min-width: 1024px) {
    body:before {
        content: 'desktop';
    }
}

@media screen and (min-width: 1200px) {
    body:before {
        content: 'bigdesktop';
    }
}


.slider {
    height: 25rem;
    position: relative;
}

.slider .list .item {
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .list .item::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    /* background-image: linear-gradient(to top, #000 1%, transparent); */
}

.slider .list .item .content {
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    max-width: 80%;
    z-index: 1;
    color: #eee;
}

.slider .list .item .content p:nth-child(1) {
    text-transform: uppercase;
    letter-spacing: 10px;
}

.slider .list .item .content h2 {
    font-size: 100px;
    margin: 0;
}

.slider .list .item.active {
    opacity: 1;
    z-index: 10;
}

@keyframes showcontent {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }

}

.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3) {
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showcontent 0.5s 0.7s ease-in-out 1 forwards;
}

.slider .list .item.active h2 {
    animation-delay: 1s;
}

.slider .list .item.active p:nth-child(3) {
    animation-delay: 1.3s;
}
