@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;
    margin: 0%;
    padding: 0%;
}

:root{
    font-size: 100%;
}

html body {
    width: 100%;
    padding: 0px;
    margin: 0px;
    scroll-behavior: smooth;
    position: relative;
}

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

    position: absolute;

    /* background-color: #000;
    opacity: 0.69; */
    background-color: transparent;
    backdrop-filter: blur(100px);
}

ul {
    width: 30%;
    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';
}

/* section 1 */

section:first-of-type {
    width: 100%;
    height: 100vh;

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

    background-image: url('./medias/background_2.jpg');
    background-size: cover;
}


.container{
    width: 50%;
    height: 80vh;
    display: none;
}

.background{
    width: 100%;
    height: 60vh;
    margin-top: 20vh;
    background-color: #2e2e2e80;
    border-radius: 50px;
    backdrop-filter: blur(25px);
}

h1{
    font-size: 5em;
    font-family: 'bates';
    translate: 5 0px -100px;
}

h1:nth-of-type(1){
    color: #357CB7;
}

h1:nth-of-type(2){
    color: #B64158;
}

h1:nth-of-type(3){
    color: #440C70;
}

/* section 2 */
section:nth-of-type(2) {
    width: 100%;
    height: 100vh;
    padding: 10%;

    background: linear-gradient(180deg, #0A0605 0%, #07081B 24.51%, #080A1C 53.52%, #2E304E 100%);

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

.characters_information{
    width: 50%;
    position: relative;
}

.characters_information>h2{
    width: 100%;
    padding: 0 5% 0 5%;

    color: #FFF;

    text-align: center;
    font-family: "Arcane Nine";
    font-size: 8rem;
}
h2>span{
    color: transparent;
    text-decoration:line-through #fff;
}
.characters_information>p{
    width: 100%;
    padding: 5%;

    color: #FFF;
    border-bottom: solid #fff;

    text-align: center;
    font-family: Montserrat;
    font-size: 1.5rem;
}

.characters_information>div{
    width: 80%;
    height: 15%;
    padding-bottom: 20px;

    position: absolute;
    bottom: 3rem;
    left: 50%;
    translate: -50%;

    display: flex;
    flex-wrap: nowrap;
    gap: 20px;

    overflow-x: scroll;
}

.characters_information>div::-webkit-scrollbar{
    height: 3px;
    background-color: transparent;
}

.characters_information>div::-webkit-scrollbar-thumb{
    background-color: #fff;
    border-radius: 5px;
}


.characters_information>div>img{
    width: 20;
    padding: 5px;
}

.characters_information>div>img.selected{
    border: solid #fff 3px;
}

/* partie droite */
.characters_picture{
    width: 50%;
    padding: auto;

    position: relative;
}

.characters_picture>img{
    width: 100%;
    margin: auto;
    position: absolute;
    left: 50%;
    translate: -50%;

    opacity: 0;
    transition: opacity  0.5s ease-in-out;
}

.characters_picture>img.selected{
    opacity: 1;
}
/* sectino 3 */

section:last-of-type {
    width: 100%;
    height: 107vh;
    position: relative;
    /* overflow: hidden; */

    background-image: url(./medias/hover_effect/background_5.jpg);
    background-size: cover;
}

section:last-of-type>img {
    position: absolute;
    width: 100%;
    height: 100%;
    /* filter: grayscale(1); */
    transition: filter 0.3s ease-in-out;
}

section:last-of-type>div>h3{
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

img.grayscale {
    filter: grayscale(1);
}

.appear1{
    display: none;
}

.appear2{
    display: none;
}

h3:first-of-type{
    width: 100%;
    position: absolute;
    top: 20%;
    padding-left: 7%;
}

h3:last-of-type{
    width: 100%;
    position: absolute;
    top: 20%;
    padding-right: 13%;
    text-align: right;
}

section:last-of-type>h3:first-of-type {
    color: rgba(194, 255, 140, 1);
    padding-right: 30%; 
    text-shadow: 0px 0px 40px rgba(172, 255, 100,  0.73);
    font-family: Provicali;
    font-size: 8rem;
    font-style: normal;
    font-weight: 400;

}

section:last-of-type>h3:last-of-type {

    color: rgba(182, 65, 88, 1);

    text-shadow: 0px 0px 40px rgba(182, 65, 88,  0.73);
    font-family: Provicali;
    font-size: 8rem;
    font-style: normal;
    font-weight: 400;

}

svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cls-1,
.cls-2,
.cls-3 {
    fill: transparent;
}














/* 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);
}