@import url("./utility.css");
@import url("./reset.css");
@import url("./variables.css");
@import url("./composants.css");

@import url("../component/card/style.css");
@import url("../component/movies_grid/style.css");
@import url("../component/video_player/style.css");
@import url("../component/card_btn/style.css");
@import url("../component/card--promoted/style.css");

body{
    transition: background-color 500ms;
    font-family: "Atkinson Hyperlegible";
}

.header{
    position: sticky;
    top:0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: inherit;

    padding: 1rem;
    border-bottom: solid 1px;

    font-family: "Josefin Sans";

    z-index: 100;
}

.header__left{
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.header__right{
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.darkmode{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.promoted{
    display: flex;
    flex-direction: column;
    gap: 1rem;

    overflow: hidden;
    position: relative;

    width: fit-content;
    padding: 1rem;
    width: 100%;

    border-radius: 0.2rem;
}

.promoted__carousel{
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    border-radius: 0.5rem;
    overflow-x: scroll;
    height: 100%;
    padding-bottom: 1rem;
}

.main{
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 10;
}

.video.hidden{
    display: none;
}

iframe{
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
}

