﻿html, body {
    position: relative;
    height: 100%;
}

body {
    background: #000;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    margin: 0;
    padding: 0;
}

.swiper-container-short {
    width: 100%;
    height: 100%;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.swiper-slide-short {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.swiper-slide .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: #555;
    color: white;
    font-size: 16px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
}


.frame-margin {
    margin-top: 1%;
    margin-bottom: 1%;
    margin-right: 2%;
    margin-left: 2%;
}


.frame-square {
    width: 100%;
    padding-top: 50%;
    overflow: hidden;
    position: relative;
}

/*    .frame-square:hover {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
        opacity: 1;
    }*/

.frame-square img {
    width: 100%;
    height: auto;
    margin: auto;
    position: absolute;
    top: -100%;
    right: -100%;
    bottom: -100%;
    left: -100%;
}

#frame-square1 #img {
    width: 100% !important;
    height: auto !important;
    margin: auto !important;
    position: absolute !important;
    top: -100% !important;
    right: -100% !important;
    bottom: -100% !important;
    left: -100% !important;
}
/* relevant styles */

.video-overlay {
    width: 120%;
    height: 120%;
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    transition: width 2s, height 4s;
}

.video-overlay div {
    position: relative;
    display: inline-block;
    top: 50%;
    margin: -50% 5px 0 0;
}


.img__wrap {
    width: 100%;
    height: auto;
    margin: auto;
    position: absolute;
    top: -100%;
    right: -100%;
    bottom: -100%;
    left: -100%;
}

/*.img__wrap:hover {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    opacity: 1;
height:300px!important;
}*/

.img__wrap:hover .img__description {
    visibility: visible;
    opacity: 1;
    color: white !important;
    transition: width 1s, height 1s;
}

.img__wrap1 {
    width: 100% !important;
    height: auto !important;
    margin: auto !important;
    position: absolute !important;
    top: -100% !important;
    right: -100% !important;
    bottom: -100% !important;
    left: -100% !important;
}

.img__wrap1:hover .img__description1 {
    visibility: visible !important;
    opacity: 1 !important;
}

.duration-div {
    position: absolute;
    z-index: 2;
    bottom: 40%;
    left: 1%;
    background-color: black;
    height: auto!important;
    width: 80px;
    border: 0;
}

.play-btn {
    position: absolute;
    z-index: 2;
    top: 30%;
    left: 40%;
    background-color: transparent;
    height:70px;
     width:70px;
    border: 0;
}
.play-btn:hover {
    cursor: pointer;
}

.text {
    color: white;
    font-size: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.img__description {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 110%;
    background: rgba(65, 65, 65, 0.72);
    color: wheat;
    visibility: hidden;
    opacity: 0;
    /* transition effect. not necessary */
    transition: opacity .2s, visibility .2s;
}


.img__description1 {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(65, 65, 65, 0.72) !important;
    color: wheat !important;
    visibility: hidden !important;
    opacity: 0 !important;
   
    transition: opacity .2s !important;
    //visibility: 0.2s;
}

.btncontainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: Arial, Helvetica, sans-serif;
    color: red;
    text-align: center;
}

:root {
    --swiper-theme-color: #fff;
}

.netflix-slider .swiper-wrapper {
    padding: 20px 0;
}

.netflix-slider .swiper-slide {
    -webkit-transition: 250ms all;
    transition: 250ms all;
}

.netflix-slider .swiper-slide:hover  {
        -webkit-transform: scale(1);
        transform: scale(1);
        z-index: 1;
 }

.netflix-slider .swiper-slide:first-child:hover {
    margin: 0 40px;
}

.netflix-slider .swiper-slide:last-child:hover {
    margin: 0 -40px;
}

.video_fit video {
    object-fit: cover !important;
}