/* Netflix Modal v0.0.2 Created by: Gabriel Almeida Buy Me a Coffee: https://bit.ly/3NlkAGU Github: https://bit.ly/3IG2aQe changelog: v0.0.2 New - SVG Icons. New - Switch Volume 100% To 0% (LocalStorage - JavaScript). Fix - Responsive Design. Fix - Improved HTML. */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/* Cores */
:root {
    /* --background: #141414; */
    --modal: #181818;
    --white: #ffffff;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    font-family: inherit;
}

html {
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    font-size: 62.5%;
}

/* Modal */
#wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #ffffff;
    /* min-height: 100vh; */
    background-color: var(--background);
    align-content: center;
    flex-wrap: nowrap;
}

#wrapper>button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    cursor: pointer;
    max-height: 42px;
    min-height: 32px;
    font-size: 1.6rem;
    appearance: none;
    border: 0;
    border-radius: 4px;
    padding-left: 2rem;
    padding-right: 2.4rem;
    background-color: var(--white);
    color: var(--background);
    font-weight: 700;
    line-height: 2.4rem;
    position: absolute;
    z-index: 1;
}

#wrapper>button svg {
    margin-right: 10px;
}

.modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* margin: 20px 20px; */
    border-radius: 6px;
    z-index: 2;
    background-color: var(--modal);
    /* box-shadow: rgb(0 0 0 / 75%) 0px 3px 10px; */
    transition: opacity 0.2s linear;
}

.modal .modal-header {
    position: relative;
}

.modal .modal-header::before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: "";
    background: linear-gradient(0deg, var(--modal), transparent 50%);
}

.modal .modal-header video {
    border-radius: 6px 6px 0 0;
    display: block;
    width: 100%;
    opacity: 1;
}

.modal .modal-header img {
    border-radius: 6px 6px 0 0;
    display: block;
    width: 100%;
    opacity: 1;
    height: fit-content;
}

.modal .modal-header .close {
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    margin: 1em;
    z-index: 2;
    cursor: pointer;
    background-color: var(--modal);
    color: var(--white);
    border-radius: 50%;
    height: 36px;
    padding: 8px;
    width: 36px;
    border: 0;
}

.modal .modal-header .close svg {
    outline: none;
}

.modal .modal-header .header-content {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 0 52px;
    margin-bottom: 70px;
    z-index: 2;
    flex-direction: column;
}

.modal .modal-header .header-content .header-title {
    width: 100%;
}

.modal .modal-header .header-content .header-title>img {
    width: 40%;
    margin-bottom: 1.5em;
}

.modal .modal-header .header-content .header-title .header-buttons {
    display: flex;
    align-items: center;
    position: absolute;
    /* width: 14%; */
}

.modal .modal-header .header-content .header-title .header-buttons button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    cursor: pointer;
    max-height: 42px;
    min-height: 32px;
    font-size: 1.6rem;
}

.modal .modal-header .header-content .header-title .header-buttons .play,
.modal .modal-header .header-content .header-title .header-buttons .add {
    margin-right: 10px;
}

.modal .modal-header .header-content .header-title .header-buttons .play {
    appearance: none;
    border: 0;
    border-radius: 4px;
    padding-left: 2rem;
    padding-right: 2.4rem;
    background-color: var(--white);
    color: var(--background);
    font-weight: 700;
    line-height: 2.4rem;
}

.modal .modal-header .header-content .header-title .header-buttons .play svg {
    height: 100%;
    width: 100%;
    margin-right: 10px;
}

.modal .modal-header .header-content .header-title .header-buttons .volume,
.modal .modal-header .header-content .header-title .header-buttons .add,
.modal .modal-header .header-content .header-title .header-buttons .rate {
    max-width: 42px;
    /* min-width: 32px; */
    background-color: rgba(42, 42, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-width: 2px;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    color: var(--white);
    border-radius: 50%;
}

.modal .modal-header .header-content .header-title .header-buttons .volume:hover,
.modal .modal-header .header-content .header-title .header-buttons .add:hover,
.modal .modal-header .header-content .header-title .header-buttons .rate:hover {
    border-color: var(--white);
    background-color: rgba(42, 42, 42, 1);
}

.modal .modal-header .header-content .header-title .header-buttons .volume {
    position: absolute;
    right: 0;
    opacity: 0.4;
    transition: opacity 0.2s ease-in-out;
}

.modal .modal-header .header-content .header-title .header-buttons .volume:hover {
    opacity: 1;
}

.modal .modal-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 10px;
    padding: 15px 48px;
}

.modal .modal-body .modal-content-first {
    /* padding-right: 40px; */
    line-height: 25px;
}

.modal .modal-body .modal-content-first .modal-description {
    display: flex;
    margin-bottom: 30px;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-end;
    align-items: flex-end;
    justify-content: center;
}

.modal .modal-body .modal-content-first .modal-description span,
.modal .modal-body .modal-content-first .modal-description svg {
    margin-right: 10px;
}

.modal .modal-body .modal-content-first .modal-description span:first-child {
    color: #ffffff;
}

.modal .modal-body .modal-content-first .modal-description span {
    font-size: 1.6rem;
    font-weight: 700;
}

.modal .modal-body .modal-content-first .modal-description svg {
    width: 30px;
}

.modal .modal-body .modal-content-first .modal-description .description-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15px;
    border: 1px solid hsla(0, 0%, 100%, 0.4);
    border-radius: 3px;
    color: hsla(0, 0%, 100%, 0.9);
    font-size: 1.2rem;
    padding: 0 0.5em;
    white-space: nowrap;
}

.modal .modal-body .modal-content-first p {
    font-size: 1.4rem;
    line-height: 24px;
    word-break: break-word;
}

.modal .modal-body .modal-content-second {
    word-break: break-word;
}

.modal .modal-body .modal-content-second span {
    line-height: 20px;
}

.modal .modal-body .modal-content-second .title {
    color: #777;
}

.modal .modal-body .modal-content-second .cast,
.modal .modal-body .modal-content-second .genres,
.modal .modal-body .modal-content-second .show {
    margin-bottom: 10px;
    cursor: pointer;
}

.modal .modal-body .modal-content-second .cast span:hover,
.modal .modal-body .modal-content-second .genres span:hover,
.modal .modal-body .modal-content-second .show span:hover {
    text-decoration: underline;
}

.modal .modal-body .modal-content-first,
.modal .modal-body .modal-content-second {
    width: 100%;
    font-size: 1.6rem;
}

.hidden {
    display: none;
}

.visuallyhidden {
    opacity: 0;
}

/** BUTTONS NETFLIX **/
.buttons_net {
    position: relative;
}

.buttons_net a {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    background: #de0611;
    color: #fff;
    padding: 6px 20px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
}

/** END BUTTONS NETFLIX **/
@media screen and (min-width: 1080px) {}

@media screen and (max-width: 1280px) {}

@media screen and (max-width: 768px) {

    .modal .modal-header .header-content .header-title .header-buttons .add,
    .modal .modal-header .header-content .header-title .header-buttons .rate,
    .modal .modal-header .header-content .header-title .header-buttons .volume {
        width: 32px;
        height: 32px;
    }

    .modal .modal-header .header-content {
        margin-bottom: 10px;
        margin-right: -29px;
    }

    .modal .modal-header .header-content .header-title .header-buttons .play {
        height: 32px;
        font-size: 1.2rem;
        padding-left: 1.5rem;
        padding-right: 2rem;
    }
}

@media screen and (max-width: 688px) {
    .modal .modal-body {
        grid-template-columns: 1fr;
        row-gap: 30px;
        padding: 24px;
    }

    .modal .modal-body .modal-content-second {
        grid-row: 2;
    }
}

@media screen and (min-width: 650px) {
    .rowTitle {
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        line-height: 3vw;
        vertical-align: bottom;
        color: #cecece;
        display: inline-block;
        font-size: 2.5vw;
        font-weight: 600;
        margin: 0px 1% 0.5em;
        min-width: 18em;
        text-decoration: none;
        font-family: NKufi, Netflix Sans, Helvetica Neue, Helvetica, Arial, sans-serif;
    }
}

@media screen and (max-width: 650px) {
    .rowTitle {
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        line-height: 3.25vw;
        vertical-align: bottom;
        color: #cecece;
        display: inline-block;
        font-size: 3.5vw;
        font-weight: 700;
        margin: 0 2% 0.5em;
        min-width: 10em;
        text-decoration: none;
        font-family: NKufi, Netflix Sans, Helvetica Neue, Helvetica, Arial, sans-serif;
    }
}

/****/
@media screen and (max-width: 650px) {
    .rowTitleVid {
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        line-height: 3.25vw;
        vertical-align: bottom;
        color: #cecece;
        display: inline-block;
        font-size: 3.5vw;
        font-weight: 700;
        margin: 0 2% 0.5em;
        min-width: 10em;
        text-decoration: none;
        font-family: NKufi, Netflix Sans, Helvetica Neue, Helvetica, Arial, sans-serif;
        opacity: 1;
        transition-duration: 700ms;
        transition-delay: 5000ms;
    }



}
@media screen and (min-width: 650px) {
    .rowTitleVid {
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        line-height: 3vw;
        vertical-align: bottom;
        color: #cecece;
        display: inline-block;
        font-size: 2.5vw;
        font-weight: 600;
        margin: 0px 6% 0.5em;
        min-width: 18em;
        text-decoration: none;
        font-family: NKufi, Netflix Sans, Helvetica Neue, Helvetica, Arial, sans-serif;
        opacity: 0;
        transition-duration: 700ms;
        transition-delay: 5000ms;
    }

    
}

@media screen and (min-width: 850px) {
    .rowTitle {
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        line-height: 3vw;
        vertical-align: bottom;
        color: #cecece;
        display: inline-block;
        font-size: 2.5vw;
        font-weight: 600;
        margin: 0px 2% 0.5em;
        min-width: 18em;
        text-decoration: none;
        font-family: NKufi, Netflix Sans, Helvetica Neue, Helvetica, Arial, sans-serif;
    }
    
    
    
    
    
    
    
    
/** ** ** *** ** *** ** *** ** **** ** **** *** **** ** **** ** *** *** **/

/** MAX HEIGhT **/

 @media screen and (min-width: 950px) {
     
     
 }
/** **/


    


}


.transTitle { 
    
    transform-origin: right bottom;
    transform: scale(0.6) translate3d(0px, 83.3333px, 0px);
    transition-duration: 1300ms;
    transition-delay: 5000ms;
}


.one_svg {
    border: 1px solid transparent;
    margin: 0 -24px;
    overflow: hidden;
    transform: skewY(3deg);
    bottom: 0;
    left: auto;
    position: absolute;
    right: -4px;
    top: -8px;
    width: 78%;
    height: 139px;
}







.onClickTextOverImage {
    width: 185px;
    height: auto;
    background-size: cover;
    display: inline-block;
    border-radius: 16px;
    margin: 4px;
    /* box-shadow: 0 0 12px rgb(255 0 0); */
    cursor: pointer;
    position: relative;
    }


.onClickTextOverImage div {
    position: absolute;
    color: #fff;
    padding: 8px;
    top: 0px;
    bottom: 0;
    right: 0px;
    left: 0;
    background-color: rgb(19 2 2 / 69%);
    border-radius: 16px;
    padding-top: 35%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    width: 100%;
    height: 231px;
}
    .onClickTextOverImage.show div {
        opacity: 1;
        padding-top: 40%;
        visibility: visible;
    }
    
    
    
    
#wrapper{
background:#000;
}
#image_background{
display:none;
}


