@font-face {
  font-family: "Chamer-Medium";
  src: url("../font/Chamer-Medium.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Jost";
  src: url("../font/Jost.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input {
    color: black;
}

header {
    color: white;
}

header a {
  color: #ffffff;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

header a::after,
header a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: white;
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

header a::before {
  top: -5px;
  transform-origin: left;
}

header a:hover::after,
header a:hover::before {
  transform: scaleX(1);
}

.robotoMono {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-style: normal;
}

.GearsOfPeace {
    font-family: "Chamer-Medium", sans-serif;
}

.SpaceNova {
    font-family: "SpaceNova", sans-serif;
    letter-spacing: 2.5px;
}

html, body {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    background-color: #141414;
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

main a {
    color: white;
}

.main-page {
    justify-content: center;
}

main a img, #displaySearch a img {
    height: 300px;
    border-radius: 15px;
}

.content {
    color: white;
}

.film-content a, #displaySearch a, .poster-link {
    transition: 0.5s;
    color: white;
}

.film-content a:hover, #displaySearch a:hover, .poster-link:hover {
    scale: 1.05;
    transition: 0.5s;
}

main a, #displaySearch a {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 200px;
    gap: 10px;
}

.like-affiche {
    color: grey;
}

.like-affiche svg {
    fill: grey;
}

.div {
    display: flex;
    flex-direction: column;
}

.div a:first-child {
    order: 2;
}

.padding-15-em {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    padding: 85px 120px;
}

#divButton {
    margin-top: 1.2em;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.contentFilm {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

.chevron {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    color: white;
}

.chevron:hover {
    opacity: 0.7;
}

.cursor-pointer {
    cursor: pointer;
}

.like-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    border: 3px solid white;
    border-radius: 7px;
    padding: 7px;
}

.like-content div {
    display: flex;
    gap: 2px;
    align-items: center;
    user-select: none;
}

.delete {
    color: white;
    padding: 10px;
    border: 3px solid white;
    background-color: transparent;
}

.delete:hover, .deleteCategories:hover {
    background-color: white;
}

.delete:hover svg, .deleteCategories:hover svg {
    fill: black;
}

.delete, .update {
    display: flex;
    align-items: center;
    clip-path: circle(50% at 50% 50%);
    border-radius: 100%;
}

.update {
    color: white;
    padding: 10px;
    border: 3px solid white;
    background-color: transparent;
}

.update:hover, .updateCategories:hover {
    background-color: white;
}

.update:hover svg, .updateCategories:hover svg {
    fill: black;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.content a {
    width: 100%;
    height: auto;
}

.film-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 80% !important;
}

.film-content .siu {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 30px;
    align-items: flex-start;
    gap: 25px;
}

.film-content .siu div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.siu h1 {
    font-size: 24px;
}

.siu hr {
    width: 50px;
    margin: auto;
    height: 4px;
    border: none;
    background-color: white;
    border-radius: 10px;
}

.like-content div svg {
    width: 35px;
    height: 35px;
}

a {
    color: black;
    text-decoration: none;
}

img {
    max-width: 200px;
    height: 100%;
    object-fit: cover;
}

.delete {
    cursor: pointer;
}

header {
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    background-color: #141414;
    height: 75px;
    user-select: none;
    z-index: 5;
    align-items: center;
    padding: 0 15px;
}

.panel-btn {
    display: flex;
    align-items: center;
    gap: 15px;
}

.panel-btn .update svg {
    width: 20px;
    height: 20px;
}

header div {
    display: flex;
    align-items: center;
    position: relative;
    gap: 15px;
    border-radius: 10px;
    z-index: 2;
}

.paddingDiv {
    padding: 7px 15px;
}

h1 {
    text-align: center;
}

header svg {
    min-width: 40px;
    min-height: 40px;
    cursor: pointer;
}

.categories .categoriesDiv {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1300px;
    margin-bottom: 1.2em;
}

.categoriesButton, .categoriesInput {
    color: black;
    width: 10em;
    border-radius: 20px;
    padding: 10px 5px;
    cursor: pointer;
    border: none;
    background-color: white;
    transition: 0.5s;
}

.categoriesButton:hover {
    opacity: 0.8;
    transition: 0.5s;
}

.check {
    background-color: green;
    color: white;
}

.check:hover {
    color: white;
}

#formAdd {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
}

.column {
    display: flex;
    flex-direction: column;
}

.column label {
    color: white !important;
}

.column {
    width: 100%;
}

#sectionAdd, #body-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.padding {
    padding: 85px 120px;
}

#sectionSearch {
    width: 100%;
    min-width: 300px;
}

.clip-path-circle {
    display: flex;
    align-items: center;
    clip-path: circle(50% at 50% 50%);
    border-radius: 100%;
}

#categories {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    overflow: auto;
    padding-bottom: 10px;
    gap: 15px;
}

.categories .categoriesDiv {
    overflow: auto !important;
}

.updateCategories {
    background-color: #1976D2;
}

.deleteCategories {
    background-color: #e53935;
}

#filter h1 {
    font-size: 24px;
    color: white;
}

.up {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.updateCategories, .deleteCategories {
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
}

#sectionSearch {
    display: flex;
    justify-content: center;
}

#displaySearch {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
}

#result {
    text-align: center;
}

#result a {
    color: white;
}

.hidden {
    display: none;
}

#match {
    text-align: center;
}

#sectionCategories {
    display: flex;
    gap: 15px;
    max-width: 100%;
    padding-bottom: 15px;
    overflow: auto;
}

#sectionCategories button {
    white-space: nowrap;
}

.gsap-anim {
    opacity: 0;
}

#filter {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

#filter-name {
    display: flex;
    align-items: center;
}

#filter-name hr {
    width: 100%;
    height: 1px;
}

#newCategories {
    display: flex;
    gap: 15px;
}

#newCategories button {
    background-color: transparent;
    padding: 10px 15px;
    border: 1px solid white;
    cursor: pointer;
    color: white;
}

#filter-button a {
    background-color: transparent;
    padding: 10px 15px;
    border: 1px solid white;
    cursor: pointer;
    color: white;
    white-space: nowrap;
}

#filter-button {
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow: auto;
    padding: 0 10px;
}

#hb {
    display: none;
    height: 80%;
    width: auto;
}

#display-result {
    display: none;
    background-color: black;
    color: white;
    width: 100%;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 7px 7px 0 0 rgba(0, 0, 0, 0.2);
}

.button1 {
    margin: 1.2em 0;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #000;
    color: white;
    border-radius: 10rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    padding-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.3s;
}

.button1:hover {
    color: black !important;
}

.button1__icon-wrapper {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    position: relative;
    color: #000;
    background-color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.button1:hover {
    background-color: #fff;
    color: black;
}

.button1:hover .button1__icon-wrapper {
    color: #fff;
    background-color: #000;
}

.button1__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.button1:hover .button1__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.button1:hover .button1__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}

#img {
    -webkit-transform: translate3d(0, 0, 0); /* après, tu peux aussi le faire avec un magin 0, et un margin:-6px 0 0 -6px */
    -moz-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

    -webkit-transition: box-shadow ease 0.3s, -webkit-transform ease 0.3s; /* définition de la transition */
    -moz-transition: box-shadow ease 0.3s, -moz-transform ease 0.3s;
    -o-transition: box-shadow ease 0.3s, -o-transform ease 0.3s;
    -ms-transition: box-shadow ease 0.3s, -ms-transform ease 0.3s;
    transition: box-shadow ease 0.3s, transform ease 0.3s;
}

#img:hover {
    transform: translate3d(-6px, -6px, 0);
    -webkit-transform: translate3d(-6px, -6px, 0); /* au hover, on décale de 6 en X, 6 en Y)
    -moz-transform: translate3d(-6px, -6px, 0);
    -o-transform: translate3d(-6px, -6px, 0);
    -ms-transform: translate3d(-6px, -6px, 0);
    transform: translate3d(-6px, -6px, 0);
/* le box shadow permet de faire l'effet de biseau, que ne ferait pas un border, si tu veux + décaler que 6px, faut que rajoute des étapes au box-shadox */
    -webkit-box-shadow: 1px 1px 0 #444, 2px 2px 0 #444, 3px 3px 0 #444, 4px 4px 0 #444, 5px 5px 0 #444, 6px 6px 0 #444;
    box-shadow: 1px 1px 0 #444, 2px 2px 0 #444, 3px 3px 0 #444, 4px 4px 0 #444, 5px 5px 0 #444, 6px 6px 0 #444;
}

@media screen and (max-width: 700px) {
    .film-content {
        flex-direction: column;
        align-items: center;
        width: 100% !important;
    }

    .film-content a {
        margin-bottom: 20px;
    }

    .video {
        width: 100%;
    }

    iframe {
        width: 100%;
    }

    header {
        justify-content: space-between;
    }

    .siu {
        padding: 0 !important;
    }

    #hb {
        display: block;
    }

    #header-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
        position: absolute;
        background-color: #141414;
        display: none;
        top: 75px;
        right: 0;
    }

    .padding {
        padding: 80px 16px;
    }
}