@import "./fonts.css";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #f5f5f5;

    font-family: Poppins, sans-serif;
    font-size: 14px;
    color: #0f0f0f;
}

body.overlay {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1230px;
}

h1 {
    margin-bottom: 25px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4;
    cursor: default;
}

.btn {
    display: inline-block;
    height: 48px;
    padding: 12px 28px;

    border-radius: 5px;
    background-color: #ff0000;

    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.15px;
    color: #ffffff;

    transition: all 0.2s ease-in;
}

.btn:active {
    position: relative;
    top: 1px;
}

@media (hover: hover) {
    .btn:hover {
        background-color: #dd0000;
    }
}

@media (hover: none) {
    .btn:active {
        background-color: #dd0000;
    }
}

/* Preview style */

.preview {
    margin: 30px 15px 25px 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 30px;
    row-gap: 35px;
}

.player {
    width: 58.2%;
    height: 0;
    padding-bottom: 32.7%;
    position: relative;
}

.video-item {
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;

    object-fit: cover;
    border-radius: 15px;
}

.details {
    flex: 1;
    text-align: center;
}

/* Controls style */

.controls {
    margin: 0 15px 20px 15px;

    display: flex;
    justify-content: space-between;
}

.slider-navigation {
    display: flex;
    align-items: center;

    border-radius: 44px;
    background-color: #eee;
}

.navigation-btn {
    width: 45px;
    height: 45px;
    margin: 5px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 0;
    border-radius: 32px;
    background-color: #eee;
    cursor: pointer;
    transition: background-color 0.2s ease-in;
}

@media (hover: hover) {
    .navigation-btn:hover {
        background-color: #fff;
    }
}

@media (hover: none) {
    .navigation-btn:active {
        background-color: #fff;
    }
}

.navigation-btn.swiper-button-disabled {
    display: none;
}

.slider-tabs {
    padding: 5px;

    display: flex;
    align-items: center;

    border-radius: 44px;
    background-color: #eee;
}

.tab-btn {
    height: 45px;
    padding: 7px 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 0;
    border-radius: 32px;
    background-color: #eee;
    cursor: pointer;
    transition: all 0.2s ease-in;

    font-size: 18px;
    font-weight: 400;
    font-family: Poppins, sans-serif;
}

@media (hover: hover) {
    .tab-btn:not(.open):hover {
        background-color: rgba(255, 255, 255, 0.5);
        color: #ff0000;
    }
}

.tab-btn.open {
    background-color: #fff;
    cursor: default;
}

/* Gallery style */

.gallery {
    padding: 5px 15px 45px 15px;
    margin-bottom: 10px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
}

.item {
    position: relative;
    transition: transform .15s ease-in;
}

.item.hide {
    display: none;
}

@media (hover: hover) {
    .item:hover {
        transform: translate(-3px, -3px);
    }
}

.item img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.player-icon {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    top: 0;
    left: 0;

    border-radius: 15px;
    background-color: rgba(0, 0, 0, .4);

    transition: all .2s ease-in;
    cursor: pointer;
}

.player-icon.active {
    background-color: rgba(0, 0, 0, .0);
}

.player-icon.active img {
    opacity: 0.85;
}

@media (hover: hover) {
    .player-icon:hover {
        background-color: rgba(0, 0, 0, .0);
    }
}

.player-icon img {
    width: 50px;
}

.swiper-pagination-bullet {
    width: 15px;
    height: 15px;
}

.swiper-pagination-bullet-active {
    background: #ff0000;
}

/* Preloader style */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background-color: #f5f5f5;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hide-preloader {
    animation: hidePreloader 1s;
}

@keyframes hidePreloader {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.preloader-hidden {
    display: none;
}

.sk-chase {
    width: 70px;
    height: 70px;
    position: relative;
    animation: sk-chase 2.5s infinite linear both;
}
  
.sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: sk-chase-dot 2.0s infinite ease-in-out both;
}
  
.sk-chase-dot:before {
    content: "";
    display: block;
    width: 25%;
    height: 25%;
    background-color: #ff0000;
    border-radius: 100%;
    animation: sk-chase-dot-before 2.0s infinite ease-in-out both;
}
  
.sk-chase-dot:nth-child(1) { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2) { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3) { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4) { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5) { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6) { animation-delay: -0.6s; }
.sk-chase-dot:nth-child(1):before { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2):before { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3):before { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4):before { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5):before { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6):before { animation-delay: -0.6s; }
  
@keyframes sk-chase {
    100% { transform: rotate(360deg); }
}

@keyframes sk-chase-dot {
    80%, 100% { transform: rotate(360deg); }
}

@keyframes sk-chase-dot-before {
    50% {
        transform: scale(0.4);
    } 100%, 0% {
        transform: scale(1.0);
    }
}
