
@font-face {
    font-family: "Arcane";
    src:
        url(./fonts/Arcane.otf);
}

@font-face {
    font-family: "Valorant";
    src:
        url(./fonts/Valorant.ttf);
}

@font-face {
    font-family: "Bates";
    src:
        url(./fonts/Bates.ttf);
}

@font-face {
    font-family: "Heading";
    src:
        url(./fonts/Heading.ttf);
}

@font-face {
    font-family: "Akira";
    src:
        url(./fonts/Akira.otf);
}

@font-face {
    font-family: "Newake";
    src:
        url(./fonts/Newake.otf);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* ,::before,::after{
    box-sizing: border-box;
}

html body {
    width: 100%;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* header */
header {
    width: 100%;
    height: 3em;

    position: absolute;
    z-index: 10;
}

ul {
    width: 30%;
    margin: 0%;
    padding: 1em 0 1em 5em;

    list-style: none;
    color: #fff;

    display: flex;
    justify-content: space-between;
}

li>a {
    color: #fff;
    text-decoration: none;
    font-family: 'Arcane';
}

li>span {
    color: #262B61;
    font-family: 'Arcane';
}


/* Caroussel */

@keyframes slider-1 {

    0%,
    28.33% {
        transform: translateX(0);
    }

    33.33%,
    61.66% {
        transform: translateX(-100%);
    }

    66.66%,
    94.99% {
        transform: translateX(-200%);
    }

    99.99%,
    100% {
        transform: translateX(-300%);
    }
}

@keyframes element-delay {

    0%,
    10% {
        opacity: 0;
        transform: translateX(50px);
    }

    20%,
    80% {
        opacity: 1;
        transform: translateX(-0);
    }

    90%,
    100% {
        opacity: 0;
        transform: translateX(-50px);
    }
}

@keyframes borderChange {

    0%,
    28.33% {
        border-color: #357CB7;
        color: #357CB7;
    }

    33.33%,
    61.66% {
        border-color: #B64158;
        color: #B64158;
    }

    66.66%,
    94.99% {
        border-color: #311149;
        color: #311149;
    }

    99.99%,
    100% {
        border-color: #357CB7;
        color: #357CB7;
    }
}

@keyframes shadowChange {

    0%,
    28.33% {
        box-shadow: #357CB7 5px -5px;
    }

    33.33%,
    61.66% {
        box-shadow: #B64158 5px -5px;
    }

    66.66%,
    94.99% {
        box-shadow: #311149 5px -5px;
    }

    99.99%,
    100% {
        box-shadow: #357CB7 5px -5px;
    }
}

.slider-1 .slider {
    animation: slider-1 16s infinite ease-in-out;
    display: flex;
}

.slider-1 {
    overflow: hidden;
}

.slider-container slider-1 {
    margin: 0%;
    padding: 0px;
}

.slider {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
    /* overflow: hidden; */
}

.slider>div {
    width: 100%;
    height: 100vh;
    flex-shrink: 0;
    overflow: hidden;
}

.slider>div>* {
    animation: element-delay 5.3333s infinite;
    opacity: 0;
    transform: translateX(50px);
}

/* Delais d animation pour chaque element */
.jinx_slide>h1 {
    animation-delay: 0s;
}

.jinx_slide>img:nth-child(3) {
    animation-delay: 0.2s;
}

.jinx_slide>img:nth-child(4) {
    animation-delay: 0.4s;
}

.vi_slide>h1 {
    animation-delay: 5.33s;
}

.vi_slide>img:nth-child(3) {
    animation-delay: 5.53s;
}

.vi_slide>img:nth-child(4) {
    animation-delay: 5.73s;
}

.caitlyn_slide>h1 {
    animation-delay: 10.66s;
}

.caitlyn_slide>img:nth-child(3) {
    animation-delay: 10.86s;
}

.caitlyn_slide>img:nth-child(4) {
    animation-delay: 11.06s;
}

.caitlyn_slide>img:nth-child(5) {
    animation-delay: 11.26s;
}

.button {
    width: 300px;
    height: 80px;
    position: absolute;
    top: 70vh;
    left: 10vw;
    z-index: 5;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: transparent;
    border: solid 5px #357CB7;
    font-size: 1.25rem;
    font-family: 'Montserrat';
    
    

    animation: borderChange 16s infinite ease-in-out;
}

.button>a{
    color: #357CB7;
    text-decoration: none;
    animation: borderChange 16s infinite ease-in-out;
}

.angle {
    width: 20px;
    height: 20px;
    box-shadow: #357CB7 5px -5px;
    position: absolute;
    top: 70.5vh;
    left: 24.65vw;
    transition: translate 0.3s;
    animation: shadowChange 16s infinite ease-in-out;
}

.button:hover+.angle {
    translate: -10px 10px;
    cursor: pointer;
}

ol {
    width: 120px;
    padding: 0%;

    list-style: none;
    display: flex;
    position: absolute;
    top: 93vh;
    left: 50vw;
    justify-content: space-between;
    z-index: 5;
    translate: -50% 0;
}

ol>li {
    width: 20px;
    height: 20px;

    color: transparent;
    border: solid 3px #fff;
    border-radius: 10px;
    transition: background-color 0.5s ease, opacity 0.5s ease;
}

ol > li.active {
    background-color: #fff;
    opacity: 1;
}


.slider_copyright {
    position: absolute;
    top: 93vh;
    left: 65vw;

    font-family: "Montserrat", serif;
    color: #fff;
}

/* Slide Jinx */
.jinx_slide {
    background: linear-gradient(0.25turn, #090909, #357CB7);
    position: relative;
}

.arcane_title {
    width: 100%;
    position: absolute;
    margin: 0%;
    top: 50vh;
    left: 0%;
    translate: 0 -50%;
}

.arcane_title:first-child {
    z-index: 1;
}

.arcane_title:last-child {
    z-index: 3;
}

.jinx_slide>h1 {
    margin: 0%;
    font-family: 'Bates';
    color: #357CB7;
    font-size: 8vw;
    position: absolute;
    top: 13vh;
    left: 70vw;
    z-index: 4;

}

.jinx_slide>img:nth-child(3),
.jinx_slide>img:nth-child(4) {
    height: 100%;
    z-index: 2;
    position: absolute;
    inset: 0;
    margin: 0 0 0 auto;
    /* border: solid 3px Red; */
}

/* Slide Vi */
.vi_slide {
    background: linear-gradient(0.25turn, #090909, #B64158);
    position: relative;
}

.vi_slide>h1 {
    margin: 0%;
    font-family: 'Bates';
    color: #B64158;
    font-size: 8vw;
    position: absolute;
    top: 13vh;
    left: 7vw;
    z-index: 4;

}

.vi_slide>img:nth-child(3),
.vi_slide>img:nth-child(4) {
    height: 100%;
    z-index: 2;
    position: absolute;
    inset: 0;
    margin: 0 0 0 auto;
    /* border: solid 3px Red; */
}

/* Slide Caitlyn */
.caitlyn_slide {
    background: linear-gradient(0.25turn, #090909, #311149);
    position: relative;
}

.caitlyn_slide>h1 {
    margin: 0%;
    font-family: 'Bates';
    color: #311149;
    font-size: 8vw;
    position: absolute;
    top: 13vh;
    left: 5vw;
    z-index: 4;
}

.caitlyn_slide>img:nth-child(3),
.caitlyn_slide>img:nth-child(4),
.caitlyn_slide>:nth-child(5) {
    height: 100%;
    z-index: 2;
    position: absolute;
    inset: 0;
    margin: 0 0 0 auto;
    /* border: solid 3px Red; */
}

/* Section 2 */

section:nth-of-type(2) {
    background-image: url(./medias/background_1.jpeg);
    background-size: cover;
    width: 100%;
    height: 75vh;
    display: flow-root;
    overflow: visible;
}

h2 {
    font-family: 'Arcane';
    font-size: 10em;
    margin: 5%;
    text-align: center;
    color: #fff;
}

h2+p {
    width: 80%;
    font-family: 'Montserrat';
    font-size: 1em;
    margin: 0 auto auto auto;
    text-align: center;
    color: #fff;
}

.arrow{
    width: 50px;
    height: 50px;
    padding:10px ;
    position: sticky;
    bottom: 50px;
    margin: 0 50px 0 94%;

    border: #1e1e1e solid 2px;
    border-radius: 25px;
    color: transparent;
    z-index: 10;
    
    
}

.arrow:hover{
    box-shadow: #357CB7 2px 2px 5px,
    #357CB7 -2px -2px 5px,
    #357CB7 2px -2px 5px,
    #357CB7 -2px 2px 5px;
}





/* Section 3 */

section:nth-of-type(3) {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flow-root;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

h3 {
    width: 50%;
    font-family: 'Heading';
    font-size: 7em;
    color: #fff;
    text-align: right;
    margin: 2% 5% 0 0;
    position: absolute;
    right: 0%;
}

h3>span {
    font-family: 'Akira';
    font-size: 2em;
}

.netflix_button {
    position: absolute;
    width: 20vw;
    top: 70vh;
    left: 9em;
    transition: 0.5s ease-in-out;
}

.netflix_button:hover {
    transform: scale(1.1);
}

/* section 4 */

section:nth-of-type(4) {
    /* height: 70vh; */
    display: flow-root;
    position: relative;
    background-color: #07081B;
    box-shadow: #07081B -15px -26px 35px 10px;
    box-shadow: #07081B 15px -26px 35px 10px;
}

h4 {
    font-family: 'Heading';
    font-size: 9em;
    width: 50%;
    color: #fff;
    margin: auto 0 auto 1em;
}

h4+p {
    width: 40%;
    font-family: 'Newake';
    font-size: 1.5em;
    color: #fff;
    text-align: center;
    margin: auto 0 auto 4em;
}

section>p+p {
    font-family: 'Newake';
    font-size: 3em;
    color: #fff;
    margin: 1em 0 1em 6em;
}

p+ul {
    list-style-type: none;
    display: flex;
    width: 350px;
    justify-content: space-between;
    margin: 1em 0 3em 16em;
}

li>img {
    width: 50px;
}

iframe {
    position: absolute;
    width: 40%;
    height: 60%;
    top: 30%;
    left: 50%;
    box-shadow: #357CB7 5px 5px 25px,
        #357CB7 -5px -5px 25px,
        #357CB7 5px -5px 25px,
        #357CB7 -5px 5px 25px;
}

/* Footer */

footer {
    background-image: url(./medias/background_3.webp);
    background-size: cover;
    z-index: 10;
    position: relative;
    width: 100%;
    height: 40vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

footer>img {
    width: 10em;
}

footer>p {
    color: #7c7c7c;
    font-family: 'Montserrat';
}

footer>div {
    display: flex;
    justify-content: space-between;
    width: 40%;
}

div>button {
    padding: 10px;
    width: 40%;
    border-radius: 10px;
    margin-top: 20px;
    background-color: rgb(99, 99, 99);
}