@font-face {
    font-family: Netflix;
    src: url(font/BebasNeue.woff);
}

@font-face {
    font-family: Nimbus;
    src: url(font/Nimbus-Sans-D-OT-Light_32752.woff);
}

@font-face {
    font-family: Punishment;
    src: url(font/Punishment-DPwE.woff);
}

:root {
    scrollbar-width: none !important;
}

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

html {
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -ms-scroll-snap-type: y mandatory;
    -webkit-scroll-snap-type: y mandatory;
    -o-scroll-snap-type: y mandatory;
    -moz-scroll-snap-type: y mandatory;
}

body {
    margin: 0;
    padding: 0;
    background: url(img/moulin_rouge.jpg)no-repeat center center/cover;
    background-attachment: fixed;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
    scrollbar-width: none;
}


/*--- Netflix Landing Page Clone ---*/

.newcategorie::before,
.secondpage::before {
    content: '';
    position: absolute;
    background-attachment: fixed;
    top: 100;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background: rgba(0, 0, 0, 0.404);
    box-shadow: inset 120px 100px 250px #000000, inset -120px -100px 250px #000000;
}


/*----------------------------------*/

.box {
    scroll-snap-align: center;
    scroll-snap-stop: always;
    -moz-scroll-sap-align: center;
    -moz-scroll-snap-stop: always;
}


/* ------------ première page ------------*/

header {
    padding: 0;
    background: url(img/fond-netflix.jpg)no-repeat center center/cover;
    font-family: Netflix, sans-serif;
    height: 100vh;
    width: 100%;
    display: flex;
}


/*--- Netflix Landing Page Clone ---*/

header::before {
    content: '';
    position: absolute;
    background-attachment: fixed;
    top: 100;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    box-shadow: inset 120px 100px 250px #000000, inset -120px -100px 250px #000000;
}


/*----------------------------------*/

.textfirstpage {
    margin: 0 auto 0 auto;
    color: white;
    position: relative;
    text-align: center;
    z-index: 1;
}

.textfirstpage h1 {
    font-size: 7rem;
    color: #E50914;
}

.textfirstpage h2 {
    font-size: 2em;
    margin-bottom: 40px;
    margin-top: -100px;
}

.textfirstpage a {
    font-size: 2rem;
    background-color: #E50914;
    padding: 5px 30px 3px 30px;
    color: white;
    text-decoration: none;
    border: solid 2px #E50914;
    border-radius: 7px;
}

.textfirstpage a:hover {
    background-color: white;
    color: #E50914;
    border: solid 2px #E50914;
    transition: 0.5s ease;
}


/* ------------ deuxième page ------------*/

.secondpage {
    height: 100vh;
}

.portrait {
    z-index: 2;
    display: flex;
    font-size: 1.9rem;
    color: #E50914;
    padding: 20px 25px;
    text-decoration: none;
    font-family: Netflix, sans-serif;
}

.page2button {
    text-decoration: none;
    color: white;
    background-color: rgba(107, 107, 107, 0.6);
    display: block;
    width: 150px;
    margin: 15px;
    padding: 8px 5px 6px 5px;
    text-align: center;
    font-family: Nimbus, sans-serif;
    border-radius: 5px;
}

.page2button:hover {
    background-color: #ffffff6b;
    transition: 0.5s ease;
}

.textsecondpage {
    position: relative;
    z-index: 2;
}

.textsecondpage h1 {
    font-family: Punishment, sans-serif;
    color: white;
    font-size: 7.8rem;
    padding-left: 50px;
    margin-top: 20px;
}

.intro {
    margin-top: -30px;
    margin-left: 100px;
    font-size: 1.1rem;
    display: block;
    width: 500px;
    font-family: Nimbus, sans-serif;
    color: white;
}

.add {
    position: absolute;
    top: 215px;
    left: 290px;
}

.play {
    position: absolute;
    top: 215px;
    left: 85px;
}

.list {
    margin: 20px 0 20px 20px;
    font-size: 1.3rem;
    display: block;
    width: 500px;
    font-family: Nimbus, sans-serif;
    color: white;
}

.list_pictures {
    display: flex;
    margin: auto;
}

.list_pictures img {
    width: 90%;
    display: flex;
    margin: auto;
    transition: transform 0.3s;
}

.list_pictures img:hover {
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


/* ------------ tout les portraits ------------*/

.croix {
    opacity: 0.5;
    z-index: 6;
    margin: 10px 0 0 650px;
    position: absolute;
    width: 40px;
    transition: transform 0.3s;
}

.croix:hover,
.croixpg10:hover {
    -ms-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

.list-analogies {
    position: relative;
}


/*--- Netflix Landing Page Clone ---*/

.list-analogies::before {
    content: '';
    position: absolute;
    background-attachment: fixed;
    top: 100;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: rgba(0, 0, 0, 0.404);
    box-shadow: inset 120px 100px 250px #000000, inset -120px -100px 250px #000000;
}


/*----------------------------------*/

.page {
    position: relative;
    height: 100vh;
    width: 700px;
    display: flex;
    margin: auto;
    background-color: #121212c7;
    box-shadow: -3px 5px 10px rgba(255, 255, 255, 0.192), 3px 5px 10px rgba(255, 255, 255, 0.192);
    ;
}

.list-analogies h1,
#page11 h1 {
    display: block;
    width: 100%;
    background-color: #121212c7;
    position: relative;
    z-index: 7;
    margin-top: -37px;
    padding: 5px 25px 0 35px;
    border-bottom: 3px #E50914 solid;
    text-align: justify;
    color: white;
    font-family: Netflix, sans-serif;
    font-size: 1.7rem;
}

h3 {
    padding: 45px 35px 0 35px;
    color: white;
    position: relative;
    z-index: 7;
    font-family: Nimbus, sans-serif;
}

.categories {
    padding: 0 35px 0px 35px;
    font-size: 1.1rem;
    position: relative;
    color: #60b566;
    font-family: Nimbus, sans-serif;
    font-weight: bold;
}

.justify {
    font-size: 0.937rem;
    margin: 0px 35px 0 35px;
    color: white;
    position: relative;
    z-index: 7;
    font-family: Nimbus, sans-serif;
}

.image {
    width: 100%;
    display: flex;
}

.button {
    position: relative;
    z-index: 10;
}

.ajouter {
    position: absolute;
    top: 68%;
    left: 220px;
}

.suivant {
    position: absolute;
    left: 15px;
}

.list_img_portrait {
    display: flex;
    margin: auto;
}

.list_img_portrait img {
    width: 90%;
    display: flex;
    margin: auto;
    transition: transform 0.3s;
}

.list_img_portrait img:hover {
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


/*------------ formulaire ------------------*/

#page10 {
    background: url(img/fond-netflix.jpg)no-repeat center center/cover;
    height: 100vh;
}

.croixpg10 {
    opacity: 0.2;
    margin-top: 80px;
    margin-left: 650px;
    z-index: 6;
    position: absolute;
    width: 40px;
    transition: transform 0.3s;
}

#page10::before {
    content: '';
    position: absolute;
    background-attachment: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: rgba(0, 0, 0, 0.404);
    box-shadow: inset 120px 100px 250px #000000, inset -120px -100px 250px #000000;
}

form {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 6;
    height: 100vh;
    font-family: Netflix, sans-serif;
}

.formulaire {
    position: relative;
    margin: auto;
    background-color: rgba(59, 48, 39, 0.466);
    width: 700px;
    height: 70%;
}

form h1 {
    margin: 0;
    color: #E50914;
    font-size: 3.3rem;
    text-align: center;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.466);
}

label {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
}

label[for=valeurAnalogie],
label[for=justify] {
    margin-top: -25px;
}

input,
textarea {
    margin: -17px auto 0 auto;
    padding: 5px 0 5px 0;
    display: block;
    text-align: center;
    font-family: Netflix, sans-serif;
    font-size: 1.05rem;
    color: #E50914;
    width: 200px;
    height: 25px;
    border: 1px solid #000000;
}

input[type=button] {
    width: 100px;
    border-radius: 5px;
    height: 30px;
    margin-top: -10px;
}

input[type=button]:hover {
    color: white;
    background-color: #E50914;
    transition: 0.5s ease;
}

.envoyer {
    text-decoration: none;
}

textarea {
    height: 120px;
}

#img {
    display: none;
}

label[for=img] {
    font-size: 1rem;
    padding: 5px 10px 3px 10px;
    width: 170px;
    border: 1px solid white;
    margin: 0 auto 3px auto;
    border-radius: 5px;
    transition: 0.3s;
}

label[for=img]:hover {
    color: #E50914;
}

textarea {
    margin-bottom: 10px;
}

.zones {
    margin-top: 5px;
}

#messageAE {
    color: white;
}

.asterisque {
    color: #E50914;
}

.avertissement {
    position: absolute;
    color: white;
    font-family: Nimbus, sans-serif;
    font-size: 0.7rem;
    font-style: italic;
    bottom: 0;
    left: 0;
}


/*------------ mentions légales ------------*/

.volet-visible {
    padding-top: 5px;
    border-top: 3px #e50914 solid;
    display: flex;
    color: #fff;
    height: 100%;
}

.volet-invisible {
    padding-top: 5px;
    border-top: 3px #e50914 solid;
    display: flex;
    color: #fff;
    height: 2em;
    overflow: hidden;
}

footer {
    margin-top: -50px;
    position: absolute;
    width: 100vw;
    z-index: 10;
    font-family: Nimbus, sans-serif;
    background-color: black;
}

footer a {
    text-decoration: none;
    color: white;
}

footer a:hover {
    color: #e5091491;
    transition: 0.3s ease;
}

h4 {
    margin-top: 0px;
    font-family: Nimbus, sans-serif;
    margin-left: 20px;
    color: white;
    font-size: 1rem;
    font-style: italic;
    font-weight: 50;
}

.netflix {
    font-family: Netflix, sans-serif;
    color: white;
}

.nimbus {
    font-family: Nimbus, sans-serif;
    color: white;
}

.punishment {
    font-family: Punishment, sans-serif;
    color: white;
}

h5 {
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    margin-top: 20px;
    font-family: Netflix, sans-serif;
    color: #e5091491;
    font-style: italic;
    margin-bottom: 10px;
}

#volet {
    position: relative;
    display: flex;
    width: 100vw;
}

.mentionslegales {
    position: relative;
    text-align: center;
    width: 75%;
    margin-bottom: 20px;
    padding: 0 5vw 5vh 5vw;
}

.font {
    font-size: 1.7rem;
}