* {
    margin: 0;
    padding: 0;
}

:root {
    --brillant-rose: #eb4cae;
    --medium-purple: #8754db;
    --scooter: #33b0cd;
}

html {
    font-size: 16px;
}

body {
    font-family: "Armata", sans-serif;
    font-weight: 400;
    background-color: #202020;
    color: white;
}

h1,
h2,
h3 {
    font-family: "Anton", serif;
}

h2 {
    font-weight: 100;
    font-size: 2rem;
}

h3 {
    font-weight: 100;
    font-size: 1.5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    box-shadow: 0px -42px 60px 12px var(--medium-purple);
    background-color: #252525;
}

#navHome {
    height: 64px;
    width: 64px;
}

form {
    display: flex;
    align-items: flex-start;
}

form input {
    height: 25px;
    width: 25vw;
}

.searchBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    width: 35px;
    cursor: pointer;
}

button img {
    height: 16px;
    width: 16px;
}

#bookmark {
    height: 32px;
    width: 32px;
    cursor: pointer;
    filter: invert(100%);
}

#image-carousel {
    margin: 10vh 0; 
}

.splide__slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.splide__pagination {
    display: none;
}

.carouselImg {
    cursor: pointer;
    margin-bottom: 1.5vh;
    height: 350px;
}

.splide__desc {
    width: 50%;
    text-align: center;
}

.detailFilm {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 20vw 65vw;
    gap: 0 5vw;
}

.detailsFilmHead {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.note {
    align-self: flex-end;
    font-size: 1.5rem;
    margin-top: 2vh;
}

.starImg {
    height: 1.5rem;
    filter: invert(100%);
}

.favoris {
    display: flex;
    align-items: center;
    gap: 2vw;
    margin-top: 5vh;
}


.summarySaison {
    font-size: 1.2rem;
    margin-bottom: 3vh;
    padding: 4px;
    border: solid white 0.5px;
    border-radius: 5px;
}

.divEpisode {
    display: flex;
    justify-content: flex-end;
    flex-direction: row-reverse;
    gap: 2vw;
    margin: 2vh 0;
    padding-bottom: 16px;
    border-bottom: solid white 0.5px;
}

.crewImg {
    cursor: pointer;
}

.DivActorInfo {
    display: flex;
    justify-content: center;
    gap: 5vw;
}

.DivActorInfoText h3 {
    margin: 1vh 0;
}

.playingTitle {
    margin-top: 10vh;
    padding-left: 2vw;
}

.DetailsBtn {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    justify-self: center;
    position: sticky;
    top: 0;
    padding-top: 7vh;
    gap: 5vh 0;
    width: 80%;
}

.DetailsBtn button {
    cursor: pointer;
    background-color: var(--scooter);
    border-radius: 5px;
    height: 25px;
}

.DetailsBtn button:active {
    border-color: var(--brillant-rose);
}

.summaryBlock {
    display: flex;
    align-items: center;
    margin: 10vh 5vw;
    padding: 5px;
    border: solid white 1px;
    border-radius: 10px;
    cursor: pointer;
}

.summaryBlock img {
    height: 150px;
    width: 110px;
    margin-right: 25px;
}

.detailsImg {
    width: 200px;
    height: auto;
}

.coeur {
    cursor: pointer;
    filter: invert(100%);
}

.crewGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-items: center;
    text-align: center;
    gap: 4vh 1vw;
}

summary {
    cursor: pointer;
}

@media (max-width: 750px) {
    body {
        font-size: 0.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-weight: 100;
        font-size: 1rem;
    }

    .carouselImg {
        height: 150px;
    }

    .coeur {
        scale: 70%;
    }

    .detailFilm {
        grid-template-columns: 40vw 55vw;
        gap: 0;
    }

    .detailsImg {
        width: 150px;
        height: auto;
    }

    .detailFilmSummary {
        width: 50vw;
        justify-self: flex-end;
    }

    .note {
        font-size: 1rem;
        height: 1rem;
    }

    .divEpisode {
        flex-direction: column;
        align-items: center;
    }

    .imgEpisodes {
        width: 150px;
        height: auto;
    }

    .DivActorInfo {
        flex-direction: column;
        align-items: center;
    }

    .DivActorInfo img {
        width: 150px;
        height: auto;
    }

    .crewGrid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .crewImg {
        width: 125px;
        height: auto;
    }
}