@font-face {
    font-family: nightflix-sans;
    src: url("../fonts/nightflixSans-Regular.otf");
}
@font-face {
    font-family: nightflix-bold;
    src: url("../fonts/nightflixSans-Bold.otf");
}

*
{
    padding: 0;
    margin: 0; 
    z-index: 1;
}
html, body
{
    background-color: black;
    font-family: "nightflix-sans";
}
.back
{
    background-image: url("../image/bg.png");
    background-repeat: repeat-x;
    background-size: cover;
    display: flex;
    flex-direction: column;
    height: 807px;
    position: relative;
}

video
{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    animation: vid 16s forwards;
}
@keyframes vid
{
    from
    {
        opacity:1;
    }
    to
    {
        opacity:0;
    }
}
@keyframes vid1
{
    from
    {
        opacity:0;
    }
    to
    {
        opacity:1;
    }
}
.redbutton
{
    color: white;
    background-color: red;
    border-radius: 4px;
    border: 0cm;
    font-family: "nightflix-sans";
    font-weight: 1000;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}
.redbutton:hover
{
    background-color: rgb(219, 25, 25);
}
.redbutton:active
{
    background-color: rgb(118, 7, 7);
}
header
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5px 6.8vw;
}
header img
{
    padding-top:20px ;
    width: 170px;
}
.lang
{
    width: 110px;
}
.box1
{
    display: flex;
    gap: 10px;
    padding-right: 20px;
}
.lang select
{
    color: white;
    text-align: center;
    background-color: transparent;
    height: 27px;
    border-radius: 2px;
    border-width: 1px;
    font-family: "nightflix-sans";
    font-size: medium;
    width: 100%;
    padding: 2px;
}
.sign_in button
{
    width: 74px;
    height: 27px;
}
.box5
{
    display: flex;
    flex-direction:column;
    padding-top: 20vh;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.box2
{
    color: white;
    font-family: "nightflix-bold";
    width: 588px;
    height: 140px;
    text-align: center;
    font-size: 55px;
    font-weight: bolder;
}
.box3
{
    color: white;
    font-family: "nightflix-sans";
    font-size: larger;
}
.box4
{
    color: white;
    font-family: "nightflix-sans";
    font-size: medium;
    padding-top: 15px;
    text-align: center;
}
.box6
{
    display: flex;
    gap: 10px;
    min-height: 55px;
    height: auto;
}
.box6 input
{
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.589);
    color: white;
    border-width: 1px;
    width: 450px;
    padding: 15px;
    font-size: medium;
    font-family: "nightflix-sans";
}
.box6 button
{
    width: 210px;
    font-size: 22px;
}
.l1
{
    background-color: white;
    height: 4px;
    animation: vid1 16s forwards;
}
.box7
{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-right: 8.5vw;
    margin-left: 8.5vw;
    margin-top: 65px;
}
.t1
{
    height: 31px;
    font-family: "nightflix-sans";
    font-weight: 800;
    color: white;
    font-size: 25px;
}
.card
{
    display: flex;
    gap: 47px;
    height: 270px;
    justify-content: flex-start;
    overflow-x:scroll;
    overflow-y:hidden;
    padding-left: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-top: 10px;
}
@media (max-width: 590px)
{
    .lang
    {
        width: 50px;
    }   
    .box5 .box6
    {
        flex-direction: column;
        align-items: center;
    }
    .box4
    {
        padding-top: 0px;
    }
    .box5
    {
        padding-top:8vh ;
    }
    .back
    {
        height: 600px;
    }
    .box2
    {
        font-size: 45px;
        width: 400px;
    }
    .box5
    {
        padding-top: 10vh;
    }
    .box6 input
    {
        width: 95vw;
    }
}
.cardcss
{
    position: relative;
    transition-duration: 0.2s;
    transition-timing-function:cubic-bezier(0.4,0,0.2,1);
}
.cardcss img
{
    width: 180px;
    border-radius: 15px;
    opacity: 0.98;
}
.cardcss:hover
{
    scale: 1.07;
    opacity: 1;
}
.cardcss span
{
    position: absolute;
    color: black;
    font-family: "nightflix-bold";
    text-shadow: 0 0 1.5rem rgba(0,0,0,0.8);
    left: -21px;
    bottom: 18px;
    font-size: 105px;
    font-weight: 1000;
    -webkit-text-stroke: 0.5px rgb(214, 212, 212);
}

.t2
{
    margin-top: 50px;
    margin-bottom: 0px;
    height: auto;
    font-family: "nightflix-sans";
    font-weight: 200;
    color: white;
    font-size: 24px;
}
.container
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 5px;
}
.containercss
{
    width: 25%;
    height: auto;
    min-height: 269px;
    background: linear-gradient(135deg,#1a2145 0%,#1b1734 20%,#220f13 100%);
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.containercss img
{
    position: absolute;
    width:72px;
    height: 72px;
    right: 10px;
    bottom: 15px;
}
.t3
{
    font-family: "nightflix-sans";
    font-weight: 700;
    color: white;
    font-size: 24px;
    padding-left: 15px;
    padding-top: 25px;
}
.t4
{
    font-family: "nightflix-sans";
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    padding: 0px 15px;
}
.box8
{
    display: flex;
    gap: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.box8 .box6 input
{
    width: 600px;
}
.box6 .redbutton
{
    min-height: 45px;
}
@media (width<=800px)
{
    .box8 .box6
    {
        flex-direction: column;
    }
    .box8 .box6 input
    {
        width: 95vw;
    }
}
.faq
{
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}
details
{
    width: 100%;
}
details summary
{
    cursor: pointer;
    min-height: 85px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.17);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}
.ques
{
    padding-left: 20px;
    font-family: "nightflix-sans";
    color: white;
    font-size: 24px;
}
.plus
{
    padding: 0px 25px;
    font-family: "Poppins Light";
    color: white;
    font-size: 55px;
    transition-duration: 0.3s;
    transform-origin: center;
}
details summary:hover
{
    background-color: rgba(255, 255, 255, 0.3);
}
.ans
{
    display: flex;
    gap: 40px;
    flex-direction: column;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.17);
    padding: 20px 25px 25px 25px;
    font-family: "nightflix-sans";
    color: white;
    font-size: 24px;
}
@media (max-width: 950px)
{
    header
    {
        padding: 15px 2vw;
    }
    header img
    {
        width: 100px;
        padding-top: 0px;
    }
    .box5
    {
        scale: 0.8;
    }
    .box7
    {
        margin-right: 3vw;
        margin-left: 3vw;
        margin-top: 40px;
    }
    .cardcss img
    {
        width: 120px;
    }
    .card
    {
        gap: 20px;
        height: 180px;
    }
    .cardcss span
    {
        left: -11px;
        bottom: 10px;
        font-size: 70px;
    }
    .t1
    {
        font-size: 20px;
    }
    .t2
    {
        font-size: 20px;
    }
    .t3
    {
        font-size: 20px;
    }
    .container
    {
        flex-direction: column;
    }
    .containercss
    {
        width: 100%;
    }
    .ques
    {
        font-size: 20px;
    }
    .ans
    {
        font-size: 20px;
    }
    .plus
    {
        font-size: 35px;
    }
}
summary::-webkit-details-marker {
    display: none;
}
summary::marker {
    content: "";
}
details[open] .plus{
    transform: rotate(45deg);
}
.box9
{
    font-family: "nightflix-sans";
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    display: flex;
    gap: 5px;
}
.und
{
    text-decoration: underline;
    cursor: pointer;
}
.box10
{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    row-gap: 17px;
}
.t5
{
    font-family: "nightflix-sans";
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
}
.box11
{
    gap: 45px;
    margin-bottom: 100px;
}
.t6
{
    font-family: "nightflix-sans";
    color: rgba(255, 255, 255, 0.5);
    font-size: 12.5px;
}