@charset "UTF-8";
/**

Style SCSS 
theme pafchild
pierrealainfaure.com



*/
:root {
  --home-color: #20CAFC;
  --default-color: #e9e9e9;
  --contact-color: #000000;
  --primary-color: #E00000;
  --secondary-color: #CD006B;
  --third-color: #EEE325;
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

a {
  color: inherit; /* Couleur du texte héritée */
  cursor: pointer; /* Curseur par défaut */
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*
Font Family de pierrealainfaure.com
*/
@font-face {
  font-family: "Abel";
  src: url("./assets/fonts/Abel-Regular.ttf") format("truetype");
}
/* @import "./assets/css/slideshow"; */
html, body {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  background-color: #000000;
  overflow: hidden;
  /* border: 1px solid red; */
}

main {
  /* border: 1px solid rgb(115, 255, 0); */
  display: flex;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  border: 0px;
  padding: 0px;
  margin: 0 auto;
  overflow: hidden;
  align-items: center;
}

table {
  border: 0 !important;
}

#about {
  width: 95%;
  display: flex;
  color: white;
  padding: 0 2rem;
  font-family: "Abel";
  font-size: 1.2rem;
  /* background: linear-gradient(45deg, #000000, #222222); */
  animation: backgroundAnimation 15s linear infinite;
}
@keyframes backgroundAnimation {
  0% {
    background-color: #0a0a0a;
  }
  20% {
    background-color: #13273a;
  }
  40% {
    background-color: #2b583f;
  }
  60% {
    background-color: #182833;
  }
  80% {
    background-color: #07151f;
  }
  100% {
    background-color: #0a0a0a;
  }
}
#about .aboutL {
  flex: 1;
  display: flex;
  /* align-items: self-end;*/
  padding: 2rem;
  flex-direction: column;
}
#about .aboutL p:not(:first-child) {
  margin-top: 1rem;
}
#about .aboutL .certification {
  padding-left: 1.2rem;
  background: url("./assets/icons/certification.svg") no-repeat;
  background-size: 17px 19px;
  background-position: left top;
}
#about .animate-image:hover {
  opacity: 0.8; 
  cursor: grab;
}
#about .aboutR {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
#about .aboutR .matrix {
  display: inline-block;
  position: absolute;
  z-index: 1;
  padding-left: 20%;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1.2;
  font-size: 2rem;
  animation: defilement-ttb 40s infinite linear;
  opacity: 0.2;
}
@keyframes defilement-ttb {
  0% {
    transform: translateY(-100%); /* position initiale à droite */
  }
  100% {
    transform: translateY(100%); /* position finale à gauche */
  }
}
#about .aboutR .matrix2 {
  display: inline-block;
  position: absolute;
  z-index: 1;
  padding-left: 40%;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1.2;
  font-size: 4rem;
  animation: defilement-ttb 40s infinite linear;
  opacity: 0.1;
}
@keyframes defilement-btt {
  0% {
    transform: translateY(-100%); /* position initiale à droite */
  }
  100% {
    transform: translateY(100%); /* position finale à gauche */
  }
}

#logo {
  font-family: "Abel";
  font-size: 1.8rem;
  color: var(--default-color);
  padding: 0 2rem;
  cursor: pointer;
  /*Thanx: https://rilling.dev/*/
}
#logo:hover {
  animation: neon2 1.5s ease-in-out infinite alternate;
}
@keyframes neon2 {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #228dff, 0 0 70px #228dff, 0 0 80px #228dff, 0 0 100px #228dff, 0 0 150px #228dff;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #228dff, 0 0 35px #228dff, 0 0 40px #228dff, 0 0 50px #228dff, 0 0 75px #228dff;
  }
}

.site-header {
  display: flex;
  font-family: "Abel";
  width: 100vw;
  height: 80px;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  color: var(--primary-color);
  text-transform: uppercase;
}

p.site-title a {
  font-family: "Abel";
  font-size: 40px;
  letter-spacing: 6px;
}

.slider {
  margin: 70px auto;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  height: 50px;
  color: var(--default-color);
  font-size: 1rem;
  font-family: "Abel";
  padding: 2rem;
  text-transform: uppercase;
}
.site-footer .bottomC {
  display: flex;
  letter-spacing: 0.1rem;
  align-items: self-end;
  line-height: 1.1rem;
  justify-content: space-around;
}
.site-footer .bottomC .left__descr {
  padding: 0 15px;
  min-width: 100px;
}
.site-footer .bottomC .right__descr {
  padding: 0 15px;
}
.site-footer .bottomC .right_r__descr {
  padding: 0 5px;
}
.site-footer .bottomL {
  display: flex;
  letter-spacing: 3px;
  align-items: self-end;
  line-height: 1.1rem;
  width: 23rem;
}
.site-footer .bottomR {
  display: flex;
  font-family: "Abel";
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--default-color);
  justify-content: flex-end;
  text-align: right;
  flex-direction: column;
}
.site-footer .bottomR a {
  padding: 0 0 0 1rem;
  text-decoration: none;
}

.hovered:hover {
  background: url("./assets/images/portfolio/arrow_right.png") no-repeat;
  background-size: 17px 19px;
  background-position: center top;
  background-color: #101010;
  height: 50%;
}

.linkarrow:hover {
  background: url("./assets/images/portfolio/arrow_right_45deg.png") no-repeat;
  background-size: 8px 10px;
  text-align: right;
  background-position: left center;
}

/*Images thumbs dans slide nth4*/
.owl-carousel .owl-item img {
  height: 25rem;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.5;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.rolloverImg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*   background-color: rgba(0, 0, 0, 0.5); */
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  cursor: grab;
}

.eye {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 32px;
  transform: translate(-50%, -50%);
  background: url(./assets/icons/icon-eye.svg) center center/100% 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 999;
}
/*************display bigger img on rollover****************/
.owl-carousel .owl-item:hover img {
  filter: unset;
  opacity: 1;
  object-fit: none;
  transform: scale(1.1);
  z-index: 1;
  cursor: grab;
}

.owl-carousel .owl-stage-outer:hover {
  overflow: visible;
}
/*****************************/


.owl-carousel .owl-item:hover .rolloverImg {
  opacity: 1; /* Affichez le div de rollover au survol */
}

.owl-carousel .owl-item:hover .eye {
  opacity: 1; /* Affichez l'icône de l'œil au survol */
}

/*
Lightslider 
*/
.demo {
  width: 85%;
}

ul {
  list-style: none outside none;
  padding-left: 0;
  margin-bottom: 0;
}

li {
  display: block;
  /*   float: left;
    margin-right: 60px; */
  cursor: pointer;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

/*Projects**********************************************************/
#projects {
  display: grid;
  grid-template-columns: 25% 62% 15%;
  width: 99%;
  height: 100%;
  min-height: calc(100% - 20px);
  padding: 0 2rem;
}
#projects .projects__main img {
  width: 80%;
  height: 80%;
  object-fit: cover;
}
#projects .projects__title .title {
  position: absolute;
  /*width: 250px; */
  font-family: "Abel";
  font-size: 6.8rem;
  color: var(--default-color);
  text-transform: uppercase;
  font-weight: 900;
  /* word-wrap: break-word; */
  z-index: 3;
}
#projects .projects__title .animate__animated {
  animation-duration: 1s;
}
#projects .projects__thumb {
  overflow-y: auto;
  max-height: 70%;
}
#projects .projects__thumb .thumb_gallery {
  margin-bottom: 15px;
}
#projects .projects__thumb .thumb_gallery img {
  width: 90px;
  object-fit: cover;
}

/*News*/
.projects .news {
  display: none;
}

.news {
  display: flex;
  max-width: 7rem;
  overflow: hidden;
  font-size: 1.5rem;
  font-family: "Abel";
  color: var(--default-color);
  text-transform: lowercase;
  padding: 0 10rem;
  background: url(./assets/images/bg_news.png) no-repeat;
  position: relative;
}
.news::after {
  content: "";
  background: url(./assets/images/news_icon.png) no-repeat;
  background-size: cover;
  width: 92px;
  height: 29px;
  position: absolute;
  left: 0;
  z-index: 2;
}

.news > :first-child {
  display: inline-block;
  padding-right: 2em;
  padding-left: 180%;
  white-space: nowrap;
  animation: defilement-rtl 15s infinite linear;
}
.news > :first-child a {
  text-decoration: none;
}
.news > :first-child a:hover {
  text-decoration: underline;
}

@keyframes defilement-rtl {
  0% {
    transform: translate3d(0, 0, 0); /* position initiale à droite */
  }
  100% {
    transform: translate3d(-100%, 0, 0); /* position finale à gauche */
  }
}
/* Styles pour le menu horizontal */
#primary-menu {
  display: flex;
  list-style: none;
  font-size: 1.5rem;
  font-family: "Abel";
  color: var(--default-color);
  text-transform: lowercase;
  padding: 0 2rem;
}

nav {
  overflow: hidden;
}
nav label {
  margin-left: 2rem;
}
nav label a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
nav label a:hover {
  border-bottom: 1px solid #ffffff;
  text-decoration: underline;
}

.fullscreenMenu {
  display: none;
}

/* Menu burger styles */
#menuToggle {
  display: none; /* Caché par défaut  */
  cursor: pointer !important;
  padding: 10px;
  z-index: 99999;
  position: relative;
  margin: 0 30px 0 0;
}

#menuToggle span {
  display: block;
  width: 33px;
  height: 3px;
  margin-bottom: 5px;
  background: #e9e9e9;
  border-radius: 2px;
  transition: transform 0.3s ease-in-out;
}

#menuToggle.active span {
  background: #2b2a2a;
}

/* Pour transformer les barres en 'X' */
#menuToggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-4px, 4px);
}

#menuToggle.active span:nth-child(2) {
  opacity: 0;
}

#menuToggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-4px, -4px);
}

/*Loader*********************************/

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #252525;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#content {
  display: none;
}



/*# sourceMappingURL=style.css.map */
