/* GENERALITES */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}
html {
  font-size: 16px;
}
:root {
  --color1: #264653;
  --color2: #2a9d8f;
  --color3: #e76f51;
  --color4: #ffffff;
  --color5: #141414;
  --font1: "Poppins", sans-serif;
  --font2: "Abril Fatface", cursive;
}
::selection {
  color: #fff;
  background: var(--color2);
}
::-moz-::selection {
  color: #fff;
  background: var(--color3);
}
::-webkit-scrollbar {
  background-color: var(--color1);
  width: 0.6rem;
}
::-webkit-scrollbar-thumb {
  background-color: var(--color2);
  border-radius: 50px;
}
body {
  font-family: var(--font1);
  overflow-x: hidden;
}
.container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 10%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 6px;
  text-transform: uppercase;
}
h1 {
  text-align: center;
  color: var(--color1);
}
.scroll-back {
  position: fixed;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 2rem;
  right: 3rem;
  background: var(--color5);
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(50%);
  transition: all 1s;
}
.scroll-back:hover {
  width: 4rem;
  height: 4rem;
}
.scroll-back a {
  margin: 0;
  padding: 0;
  font-size: 3rem;
  text-decoration: none;
  color: var(--color2);
}

.top-bloc {
  height: 100px;
  padding: 0;
  margin: 0;
}

/* ------------------------------------------------------------ MENU */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  background-color: var(--color4);
  border-bottom: 1px solid var(--color2);
  z-index: 10;
}

#lg-menu {
  display: flex;
  align-items: center;
}
#logo {
  width: 4em;
}
#francois {
  margin-left: 0.6em;
  color: var(--color3);
  font-family: var(--font1);
  font-size: 1.2em;
  font-weight: 200;
  letter-spacing: 0.2em;
}
#plisson {
  color: var(--color3);
  font-family: var(--font1);
  font-size: 1.2em;
  font-weight: 800;
  letter-spacing: 0.2em;
}

/* BURGER */

.burger {
  position: relative;
  width: 25px;
  height: 25px;
  cursor: pointer;
  z-index: 100;
}
.burger .burger-lines {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 100%;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 50px;
  background-color: var(--color3);
  transition: background-color 0.3s ease-in-out;
  pointer-events: none;
}
.burger .burger-lines::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 100%;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 50px;
  background-color: var(--color3);
  transition: top 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.burger .burger-lines::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 100%;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 50px;
  background-color: var(--color3);
  transition: top 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.burger.active .burger-lines {
  background-color: transparent;
}
.burger.active .burger-lines::before {
  top: 20%;
  transform: translateX(-50%) rotateZ(45deg);
}
.burger.active .burger-lines::after {
  top: 20%;
  transform: translateX(-50%) rotateZ(-45deg);
}

/* ONGLETS */

.onglets {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  height: 100vh;
  top: 0;
  right: 0;
  padding: 0 4% 0 8%;
  transform: translate(100%);
  background-color: var(--color4);
  border-left: 1px solid var(--color2);
  transition: transform 0.6s ease-in-out;
  z-index: 20;
}
.onglets li {
  margin: 1rem 0;
}
.onglets li a {
  position: relative;
  text-transform: uppercase;
  font-family: var(--font1);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  color: var(--color3);
}
.onglets li a::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color3);
  transition: width 0.4s ease-in-out;
}
.onglets li:hover a::before {
  width: 100%;
}
.onglets.active {
  transform: translate(0);
}

/* ENTETE */

.entete {
  width: 100%;
  height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.entete .entete-img {
  width: 30%;
  margin: 0;
  padding: 0;
}
.entete .entete-img img {
  width: 100%;
}
.entete .entete-presentation {
  margin-left: 2rem;
  width: 60%;
}
.entete .entete-presentation h1 {
  text-align: left;
  font-family: var(--font2);
  font-size: 3rem;
  color: var(--color2);
  text-transform: none;
}
.entete .entete-presentation p {
  font-family: var(--font1);
  font-size: 1rem;
  color: var(--color1);
  margin: 2rem 0;
}
.entete .entete-presentation .bar {
  width: 30%;
  height: 0.3rem;
  background-color: var(--color2);
  margin: 0.3rem 0;
}
.entete .scroll-down {
  text-transform: uppercase;
  letter-spacing: 6px;
  position: relative;
  animation-name: bounce;
  animation-iteration-count: infinite;
  animation-duration: 1s;
  z-index: -1;
}
@keyframes bounce {
  0% {
    top: 0;
  }
  50% {
    top: 10px;
  }
  100% {
    top: 0;
  }
}

/* A PROPOS */

.propos {
  padding: 8em 15%;
  margin-bottom: 4em;
  background: url("../img/portfolio/photo4.jpg") no-repeat center center / cover;
  background-attachment: fixed;
}
.propos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  padding: 6%;
}
.propos p {
  margin-top: 1em;
  text-align: center;
}
.btn-contact {
  margin-top: 2em;
  padding: 0.8em 1.4em;
  background-color: var(--color3);
  border-radius: 50px;
  border: 1px solid var(--color3);
  color: var(--color4);
}
.btn-contact:hover {
  background-color: var(--color4);
  color: var(--color1);
  border: 1px solid var(--color1);
  transition: all 0.4s;
}

.btn-flex {
  display: flex;
  width: 50%;
  justify-content: space-around;
}

/* PORTFOLIO */

.portfolio {
  margin: 0;
  padding: 0;
}
.portfolio .titre {
  margin: 2rem;
}
.portfolio h3 {
  font-size: 2rem;
  color: var(--color3);
  margin: 0 0 2rem 2rem;
}
.bar {
  width: 10%;
  height: 0.3rem;
  background-color: var(--color3);
  margin: 0.3rem 0;
}

/* GALERIE */

.overlay {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--color2);
  opacity: 0;
  top: 0;
  left: 0;
  color: var(--color4);
  transition: all 1s;
  cursor: pointer;
}
.overlay h4 {
  position: relative;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.overlay h4::after {
  content: "";
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translate(-50%);
  width: 60%;
  height: 0.1rem;
  background-color: var(--color4);
}
.overlay p {
  letter-spacing: 2px;
}
.portfolio .galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-auto-rows: 350px;
  grid-auto-flow: dense;
  width: 100vw;
  padding: 2rem;
}
.portfolio .galerie a {
  position: relative;
  overflow: hidden;
}
.portfolio .galerie a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s;
}
.portfolio .galerie a:hover img {
  transform: rotate(20deg) scale(200%);
}
.portfolio .galerie a:hover .overlay {
  opacity: 0.9;
}
#photo1 {
  grid-row: span 2;
}
#photo2 {
  grid-column: span 2;
}
#photo6 {
  grid-row: span 2;
}
#photo9 {
  grid-row: span 2;
}
#photo11 {
  grid-column: span 2;
}
#photo18 {
  grid-column: span 2;
}

/* POPUP */

#popup-bg {
  display: none;
  position: fixed;
  top: 0;
  height: 0;
  width: 100vw;
  height: 100vh;
  background-color: #141414ea;
  z-index: 200;
  justify-content: center;
  align-items: center;
}
#popup-bg.active {
  display: flex;
}
#popup-content {
  max-width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
#popup-img {
  width: 80%;
  height: auto;
}
#popup-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--color4);
  font-size: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 1s ease;
}
#popup-close:hover {
  background-color: #e76f51;
  color: var(--color4);
}

/* SLIDER */

.slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6em 3% 6em 3%;
  color: var(--color1);
}
.slider h2 {
  text-align: center;
  margin-bottom: 2em;
}
.btn-slider {
  padding: 0.8em 1.4em;
  background-color: var(--color3);
  border-radius: 50px;
  border: 1px solid var(--color3);
  color: var(--color4);
}
.btn-slider:hover {
  background-color: var(--color4);
  color: var(--color1);
  border: 1px solid var(--color1);
  transition: all 0.4s;
}
.video-yt {
  margin-top: 4em;
  width: 100%;
  height: 500px;
}

/* BIOGRAPHIE */

.header-bio {
  width: 100%;
  height: 20vh;
  background: url("../img/portfolio/photo1.jpg") no-repeat center center / cover;
  margin-bottom: 2em;
}
#biographie {
  padding: 0 20%;
  margin-bottom: 4em;
}
#biographie h1 {
  text-align: center;
  margin-bottom: 1.4em;
  font-size: 1.4em;
  color: var(--color1);
}
#biographie p {
  text-align: center;
  margin-bottom: 1em;
}

/* ACTUALITES */
.header-actualites {
  width: 100%;
  height: 20vh;
  background: url("../img/portfolio/photo2.jpg") no-repeat center center / cover;
  margin-bottom: 2em;
}
.planning {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 4em 20%;
}
.grid-card {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 2em;
}
.card {
  width: 200px;
  height: 300px;
  margin: auto;
  border: 1px solid var(--color1);
  border-radius: 28px;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.4s;
}
.card:hover {
  width: 250px;
  height: 350px;
  transform: rotate(3deg);
}
.card-img {
  width: 100%;
  height: 55%;
  border-radius: 28px 28px 0 0;
}
#date1 {
  background: url("../img/date1.webp") no-repeat center center / cover;
}
#date2 {
  background: url("../img/date2.jpg") no-repeat center center / cover;
}
#date3 {
  background: url("../img/portfolio/photo10.jpg") no-repeat center center /
    cover;
}
#date4 {
  background: url("../img/portfolio/photo9.jpg") no-repeat center center / cover;
}
#date5 {
  background: url("../img/date5.png") no-repeat center center / cover;
}
#date6 {
  background: url("../img/date6.jpg") no-repeat center center / cover;
}
.card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 45%;
  color: var(--color1);
  padding: 0.8em;
}
.card-text h2 {
  font-size: 1.2em;
  letter-spacing: 0.1em;
}
.card-text h3 {
  font-size: 0.7em;
  letter-spacing: 0.2em;
}

/* LA FIBULLE */

.header-fibulle {
  width: 100%;
  height: 20vh;
  background: url("../img/portfolio/photo9.jpg") no-repeat center center / cover;
}
.fibulle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 10%;
}
h1 {
  margin-bottom: 2rem;
}
p {
  text-align: center;
}
.fibulle-container .btn-contact {
  margin-top: 2rem;
}

/* FORMULAIRE DE CONTACT */

.header-contact {
  width: 100%;
  height: 20vh;
  background: url("../img/photo5.jpg") no-repeat center center / cover;
  margin-bottom: 2em;
}
#titre-contact {
  font-family: var(--font1);
  color: var(--color1);
  text-align: center;
  margin: 2em 0 0.5em 0;
}
.contact-accroche {
  text-align: center;
  color: var(--color1);
}
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4em 20%;
  background-color: var(--color4);
}
#coordonnees {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.coordonnees {
  font-family: var(--font1);
  font-size: 0.8em;
  width: 30%;
  border-radius: 10px;
  border: none;
  padding: 2%;
  color: var(--color1);
  border: 1px solid var(--color1);
}
#message {
  font-family: var(--font1);
  font-size: 0.8em;
  width: 100%;
  margin: 2em 0;
  color: var(--color1);
  border-radius: 10px;
  border: none;
  padding: 2%;
  border: 1px solid var(--color1);
}
#btn-contact {
  font-family: var(--font1);
  font-size: 1em;
  width: 20%;
  color: var(--color4);
  background-color: var(--color1);
  border: 1px solid var(--color1);
  padding: 0.6em 1em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s;
}
#btn-contact:hover {
  color: var(--color1);
  background-color: var(--color4);
  border: 1px solid var(--color1);
}

/* MENTIONS LEGALES */
#mentions-legales {
  margin: 4% 20%;
}
#mentions-legales h1 {
  text-align: center;
  margin-bottom: 1.4em;
  font-size: 1.4em;
  color: var(--color1);
}
#mentions-legales h2 {
  margin: 1.2em 0 0.4em 0;
  font-size: 1em;
  color: var(--color1);
  letter-spacing: 0.2em;
}
#mentions-legales p {
  font-size: 0.8em;
}

/* MESSAGE ENVOYE */

.message-envoye {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14% 20% 20% 20%;
}
.message-envoye img {
  width: 10%;
  margin-bottom: 1em;
}
.message-envoye h2 {
  margin-bottom: 1em;
  color: var(--color1);
}
.message-envoye p {
  text-align: center;
  color: var(--color1);
}
.message-envoye p a {
  color: var(--color1);
  font-weight: 800;
  transition: all 0.4s;
}
.message-envoye p a:hover {
  color: var(--color3);
}

/* FOOTER */

footer {
  background-color: #dadada;
}
.social {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 150px;
  color: var(--color4);
}
#facebook {
  background-image: url("../img/facebook-blanc.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 50px;
  height: 50px;
  margin: 0 1em;
  transition: all 0.4s;
}
#facebook:hover {
  background-image: url("../img/facebook-couleur.png");
}
#youtube {
  background-image: url("../img/youtube-blanc.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 80px;
  height: 50px;
  margin: 0 1em;
  transition: all 0.4s;
}
#youtube:hover {
  background-image: url("../img/youtube-couleur.png");
}
#twitch {
  background-image: url("../img/twitch-blanc.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 50px;
  height: 50px;
  margin: 0 1em;
  transition: all 0.4s;
}
#twitch:hover {
  background-image: url("../img/twitch-couleur.png");
}
.copyright p {
  text-align: center;
  color: #888888;
  font-size: 0.7rem;
  padding-bottom: 1em;
}
.mentions {
  color: #888888;
  font-weight: 600;
  transition: all 0.4s;
}
.mentions:hover {
  color: var(--color3);
}
