/* FONTS */
@import url("https://fonts.googleapis.com/css2?family=Bevan:ital@0;1&family=Krub:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
/* GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  scroll-behavior: smooth;
  background-color: #fff;
  overflow-x: hidden;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PARTIALS */
/* VH-VW */
/* COLORS */
/* FONTS */
/*font-weight*/
/*font-family*/
/*font-size*/
.slide {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.wrapper {
  width: 90%;
  margin: 0 auto;
}

/* Flexbox */
body ::-moz-selection { /* Code for Firefox */
  color: #ffffff;
  background: #CF8CDA;
}
body ::selection {
  color: #ffffff;
  background: #CF8CDA;
}

strong {
  color: #CF8CDA;
  font-weight: 700;
}

/* BUTTON */
.bouton-slide {
  font-kerning: normal;
  font-family: "Bevan", serif;
  font-size: max(1.8rem, 7vw);
  font-weight: 400;
  text-transform: uppercase;
  color: #1E1E1E;
}

a.bouton {
  cursor: pointer;
}

/* H1 TITLES */
.title-section {
  font-kerning: normal;
  font-family: "Bevan", serif;
  font-size: max(1.8rem, 7vw);
  font-weight: 400;
  text-transform: uppercase;
  color: #1E1E1E;
}

/* VERTICAL TITLES */
.vertical-text {
  font-kerning: normal;
  font-family: "Bevan", serif;
  font-size: max(1.8rem, 5vw);
  font-weight: 400;
  text-transform: uppercase;
  color: #1E1E1E;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 0.2rem;
  white-space: nowrap;
  text-align: left;
}

.double-letter::after {
  content: attr(data-text);
  display: block;
  text-align: left;
}

.double-letter {
  writing-mode: horizontal-tb;
  text-align: left;
}

/* BULLET NUMBER CIRCLE */
.bullet {
  font-family: "Bevan", serif;
  margin-right: 2rem;
  padding: 0 1rem;
  border-radius: 50%;
  text-align: center;
  font-size: 2rem;
  border: 2px solid #1E1E1E;
}

.pagination-controls .bouton-slide {
  margin-left: auto;
  cursor: pointer;
}
.pagination-controls .bouton-slide .totPages {
  color: #6b6a6a;
}

mark {
  background: none;
  color: #ffffff;
  font-weight: 700;
}

.side {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  padding: 1rem;
  gap: 1rem;
  margin: auto 0;
}
.side > * {
  flex: 1;
}

.sideNav {
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #1E1E1E;
}
.sideNav ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  flex-wrap: nowrap;
  gap: 1rem;
}
.sideNav a {
  color: #1E1E1E;
}
.sideNav a:hover {
  color: #6b6a6a;
}

.active-link {
  background: linear-gradient(to right, #CF8CDA 41%, #E89E2F 100%);
}

header,
.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  flex-wrap: nowrap;
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: 1rem;
  font-weight: 200;
  text-transform: uppercase;
  color: #1E1E1E;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 400;
}

#mainNav {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  flex-wrap: nowrap;
  font-kerning: normal;
  font-family: "Bevan", serif;
  font-size: max(1.3rem, 2.2vw);
  font-weight: 400;
  text-transform: uppercase;
  color: #1E1E1E;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 300;
  background-color: #1E1E1E;
  transition: opacity 500ms ease-in-out, visibility 500ms ease-in-out;
  overflow: hidden;
}
#mainNav > * {
  flex: 1;
}
#mainNav a {
  color: #ffffff;
  display: block;
  width: fit-content;
  height: fit-content;
}
#mainNav .icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#mainNav .icons a {
  padding: 0.5rem;
  transition: transform 0.3s ease;
}
#mainNav .icons a:hover {
  transform: scale(1.3);
}
#mainNav .menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: end;
  flex-wrap: nowrap;
  position: relative;
  z-index: 500;
}

.contact {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: end;
  flex-wrap: nowrap;
  width: 100%;
  margin-top: auto;
  padding-bottom: 2rem;
  z-index: 600;
  /* Chrome, Safari, Edge, Opera */
  /* Firefox */
}
.contact form {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.contact h2,
.contact input,
.contact textarea {
  padding: 0.5rem;
  height: 3rem;
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: 1rem;
  font-weight: 200;
  text-transform: uppercase;
  color: #1E1E1E;
}
.contact h2 {
  color: #ffffff;
}
.contact textarea {
  width: 20rem;
  resize: none;
}
.contact input,
.contact textarea {
  border: none;
  outline: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: start;
  flex-wrap: nowrap;
  margin-bottom: auto;
}
.contact input[type=submit] {
  display: block;
  width: max-content;
  text-align: center;
  text-transform: uppercase;
  font-family: "Krub", sans-serif;
  font-weight: 600;
  font-size: max(1rem, 1.2vw);
  font-style: normal;
  letter-spacing: 0.03rem;
  padding: 0.5rem;
  background: linear-gradient(to right, #CF8CDA 41%, #E89E2F 100%);
  border: none;
  box-shadow: none;
  color: #ffffff;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}
.contact input::-webkit-outer-spin-button,
.contact input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.contact input[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}

#mainNav:before {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  content: "";
  height: 100vh;
  background-color: white;
  transition: clip-path 1s ease-in-out, background-color 1s ease-in-out;
  clip-path: circle(30px at calc(100% - 65px) 65px);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
}

#mainNav.active {
  visibility: visible;
  opacity: 1;
  overflow: hidden;
}

#mainNav.active:before {
  clip-path: circle(100%);
  background-color: #1E1E1E;
  opacity: 1;
  visibility: visible;
}

#mainNav .menu {
  position: relative;
  z-index: 1001;
}

.burger {
  width: 3rem;
  height: 3rem;
  position: relative;
  margin-top: 1rem;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.burger span {
  display: block;
  position: absolute;
  height: 7px;
  width: 100%;
  background: #1E1E1E;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.burger span:nth-child(1) {
  top: 0px;
}

.burger span:nth-child(2),
.burger span:nth-child(3) {
  top: 18px;
}

.burger span:nth-child(4) {
  top: 36px;
}

.nav-active .burger span {
  background: #ffffff;
}

.nav-active .header {
  z-index: 900;
}

.nav-active .burger span {
  background: #ffffff;
}

.nav-active .burger span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.nav-active .burger span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.nav-active .burger span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.nav-active .burger span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.home-burger span {
  background: white;
}

.logo {
  width: max(5rem, 7vw);
}

@keyframes rainbow {
  0% {
    background-position: right;
  }
  50% {
    background-position: left;
  }
  100% {
    background-position: right;
  }
}
.gradient {
  width: 80vw;
  margin: 0 auto;
  text-align: center;
  transition: color 0.2s ease-in-out, background-position 0.2s ease-in-out;
}

.gradient:hover,
.gradientIcon:hover {
  background: linear-gradient(to right, #CF8CDA 41%, #E89E2F 100%);
  background-size: 200% 200%;
  animation: rainbow 2s ease-in-out infinite;
  background-clip: text;
  -webkit-background-clip: text;
  color: rgba(255, 255, 255, 0);
  -webkit-text-fill-color: transparent;
}

.gradientIcon {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  transition: color 0.2s ease-in-out, background-position 0.2s ease-in-out;
}

body.nav-active {
  overflow: hidden;
}

.pagination-controls {
  margin-left: auto;
  cursor: pointer;
}
.pagination-controls .totPages {
  color: #6b6a6a !important;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5rem;
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: 0.8rem;
  font-weight: 200;
  text-transform: none;
  color: #ffffff;
  padding: 0.5rem;
  background-color: #6b6a6a;
}
footer .copyright {
  min-width: max-content;
}

.burger,
.logo {
  position: absolute;
  top: 0;
  z-index: 1000;
}

.logo {
  left: 1rem;
}

.burger {
  right: 1rem;
}

/* PAGES */
.webdev,
.photo,
.home {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  transition: background 0.3s ease;
  position: relative;
}
.webdev .wrapper,
.photo .wrapper,
.home .wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.webdev .wrapper > *,
.photo .wrapper > *,
.home .wrapper > * {
  flex: 1;
}
.webdev .image,
.photo .image,
.home .image {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: auto;
}
.webdev .image img,
.photo .image img,
.home .image img {
  width: max(240px, 50vw);
}
.webdev .text,
.photo .text,
.home .text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
.webdev .text article,
.photo .text article,
.home .text article {
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  color: #1E1E1E;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
.webdev .text article h2,
.photo .text article h2,
.home .text article h2 {
  padding-bottom: 1rem;
}
.webdev .text article p,
.photo .text article p,
.home .text article p {
  border-top: 10px solid;
  border-image-slice: 1;
  border-width: 5px;
  border-image-source: linear-gradient(to right, #CF8CDA 41%, #E89E2F 100%);
}
.webdev .bouton,
.photo .bouton,
.home .bouton {
  margin: 1rem 0 1rem auto;
  display: block;
  width: max-content;
  text-align: center;
  text-transform: uppercase;
  font-family: "Krub", sans-serif;
  font-weight: 600;
  font-size: max(1rem, 1.2vw);
  font-style: normal;
  letter-spacing: 0.03rem;
  padding: 0.5rem;
  background: linear-gradient(to right, #CF8CDA 41%, #E89E2F 100%);
  border: none;
  box-shadow: none;
  color: #ffffff;
  transition: all 0.5s ease-in-out;
}

#photo-body main {
  background-color: #1E1E1E;
}
#photo-body h1,
#photo-body h2,
#photo-body p,
#photo-body .bullet {
  color: #ffffff;
}
#photo-body .bullet {
  border: 2px solid #ffffff;
}

.home {
  justify-content: flex-end;
  text-align: center;
}
.home .wrapper {
  gap: 0;
}
.home .text h2 {
  margin-top: 5rem;
}
.home .text a {
  margin-bottom: -7vh;
}
.home .bouton {
  position: absolute;
  bottom: 2vh;
  right: 2vw;
  filter: invert(1);
  cursor: pointer;
}
.home .image img {
  width: max(240px, 35vw);
}
.home h2 {
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: 1rem;
  font-weight: 200;
  text-transform: uppercase;
  color: #1E1E1E;
}

.webdev .text {
  padding: 5rem;
}
.webdev article {
  padding-bottom: 1rem;
  width: 60vw;
}
.webdev h2 {
  border-bottom: 10px solid;
  border-image-slice: 1;
  border-width: 5px;
  border-image-source: linear-gradient(to right, #CF8CDA 41%, #E89E2F 100%);
}
.webdev .asterisk {
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: 0.8rem;
  font-weight: 200;
  text-transform: none;
  color: #1E1E1E;
  align-self: flex-start;
  padding-top: 3rem;
}

#error {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  opacity: 1;
  min-height: 100vh;
}
#error h1 {
  width: 100%;
  text-align: center;
  padding: 1.5rem 0.3rem 0 0.3rem;
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: max(1.5rem, 3vw);
  font-weight: 700;
  text-transform: uppercase;
  color: #1E1E1E;
}
#error div {
  margin-top: auto;
  width: 100%;
  height: 100%;
  background-image: url("../images/c3po.jpg");
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  flex: 1;
}

body#error, body#homepage {
  opacity: 1;
}

body#homepage {
  opacity: 1;
}

.projets, .detailProjet {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
.projets section, .detailProjet section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2vw;
}
.projets section .text, .detailProjet section .text {
  flex: 1;
}
.projets article, .detailProjet article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  flex-wrap: nowrap;
  width: max(200px, 20vw);
}
.projets article .title, .detailProjet article .title {
  display: block;
  width: max-content;
  text-align: center;
  text-transform: uppercase;
  font-family: "Krub", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  font-style: normal;
  letter-spacing: 0.03rem;
  padding: 0.5rem;
  background: #1E1E1E;
  border: none;
  box-shadow: none;
  color: #ffffff;
  transition: all 0.5s ease-in-out;
  width: 100%;
}
.projets article .icons, .detailProjet article .icons {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5vw;
}
.projets article .icons img, .detailProjet article .icons img {
  width: max(35px, 2vw);
  height: auto;
}
.projets article .content, .detailProjet article .content {
  padding: 2rem 0;
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  color: #1E1E1E;
}
.projets article .content h3, .detailProjet article .content h3 {
  color: #E89E2F;
  padding-bottom: 0.5rem;
}
.projets article .content a, .detailProjet article .content a {
  color: #CF8CDA;
  font-weight: 700;
  text-decoration: underline;
}
.projets article .image-content, .detailProjet article .image-content {
  width: 100%;
}
.projets article .bouton-more, .detailProjet article .bouton-more {
  margin-left: auto;
  margin-top: 1rem;
  display: block;
  width: max-content;
  text-align: center;
  text-transform: uppercase;
  font-family: "Krub", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  font-style: normal;
  letter-spacing: 0.03rem;
  padding: 0.5rem;
  background: #1E1E1E;
  border: none;
  box-shadow: none;
  color: #ffffff;
  transition: all 0.5s ease-in-out;
}
.projets .bouton, .detailProjet .bouton {
  display: block;
  width: max-content;
  text-align: center;
  text-transform: uppercase;
  font-family: "Krub", sans-serif;
  font-weight: 600;
  font-size: max(1rem, 1.2vw);
  font-style: normal;
  letter-spacing: 0.03rem;
  padding: 0.5rem;
  background: linear-gradient(to right, #CF8CDA 41%, #E89E2F 100%);
  border: none;
  box-shadow: none;
  color: #ffffff;
  transition: all 0.5s ease-in-out;
}

.detailProjet section.text {
  margin: auto 0;
}
.detailProjet .sideNav {
  margin-bottom: auto;
}
.detailProjet article {
  width: 100vw;
  margin: 1rem 2rem;
}
.detailProjet article .icons {
  justify-content: start;
}
.detailProjet .view-article {
  width: max(200px, 60vw);
  margin-top: 1rem;
}
.detailProjet .view-article .headContent {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2vw;
  margin-bottom: 5vh;
  width: 100%;
}
.detailProjet .view-article .headContent .heading {
  flex: 1;
  margin-bottom: auto;
}
.detailProjet .view-article .headContent .icons {
  justify-content: start;
}
.detailProjet .view-article .content {
  flex: 1;
  padding: 0;
}
.detailProjet .view-article .bottomContent {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
.detailProjet .view-article .image-content {
  width: max(230px, 45vw);
  height: auto;
  margin-right: auto;
}
.detailProjet .view-article .bouton-slide {
  margin-left: auto;
}

.projets {
  justify-content: normal;
  padding-bottom: 1rem;
}
.projets section {
  gap: 0;
  margin-top: 10vh;
}
.projets article {
  margin: 0 auto !important;
}
.projets .view-article {
  padding-bottom: 5rem;
}
.projets .pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-left: auto;
  margin-top: auto;
  justify-content: end;
  position: absolute;
  bottom: 1rem;
  right: 18vw;
}

.projets article#app {
  flex: 1 !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 2rem !important;
}

.detailAlbum, .albumPhoto, .album {
  background-color: #1E1E1E;
  color: #ffffff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  padding: 1rem 0;
}
.detailAlbum .vertical-text, .detailAlbum .sideNav a, .albumPhoto .vertical-text, .albumPhoto .sideNav a, .album .vertical-text, .album .sideNav a {
  color: #ffffff;
}
.detailAlbum .sideNav, .albumPhoto .sideNav, .album .sideNav {
  margin-bottom: auto;
}
.detailAlbum .sideNav a:hover, .albumPhoto .sideNav a:hover, .album .sideNav a:hover {
  color: #6b6a6a;
}
.detailAlbum section, .albumPhoto section, .album section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.detailAlbum article, .albumPhoto article, .album article {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  flex-wrap: nowrap;
  gap: 2rem;
  width: max(200px, 60vw);
}
.detailAlbum .bottomContent, .albumPhoto .bottomContent, .album .bottomContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  flex-wrap: nowrap;
}
.detailAlbum .image-main, .albumPhoto .image-main, .album .image-main {
  width: max(230px, 35vw);
  height: 75vh;
  background-color: lightgrey;
}
.detailAlbum .infos, .albumPhoto .infos, .album .infos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2rem;
  width: max(230px, 30vw);
  height: 75vh;
}
.detailAlbum .infos .text h2, .albumPhoto .infos .text h2, .album .infos .text h2 {
  display: block;
  width: max-content;
  text-align: center;
  text-transform: uppercase;
  font-family: "Krub", sans-serif;
  font-weight: 600;
  font-size: max(1rem, 1.2vw);
  font-style: normal;
  letter-spacing: 0.03rem;
  padding: 0.5rem;
  background: #ffffff;
  border: none;
  box-shadow: none;
  color: #1E1E1E;
  transition: all 0.5s ease-in-out;
  width: 100%;
  margin-bottom: 1rem;
}
.detailAlbum .infos .text :nth-child(3), .albumPhoto .infos .text :nth-child(3), .album .infos .text :nth-child(3) {
  padding: 1rem 0;
}
.detailAlbum .infos .text p, .albumPhoto .infos .text p, .album .infos .text p {
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: 1rem;
  font-weight: 200;
  text-transform: none;
  color: #ffffff;
}
.detailAlbum .image, .albumPhoto .image, .album .image {
  flex: 1;
  width: 100%;
  height: 35vh;
  background-color: lightgrey;
}
.detailAlbum .bouton-slide, .albumPhoto .bouton-slide, .album .bouton-slide {
  color: #ffffff;
  margin-left: auto;
}

.album {
  padding-top: 3rem;
}
.album section {
  flex-wrap: nowrap;
}
.album .articles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 3rem;
  margin-left: auto;
}

.album-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2rem;
}

/* ANIMATIONS */
:root {
  /* --text-color: black;  */
  /* Default text color */
  --mouse-x: 50%; /* Default to center */
  --image-filter: invert(0); /* Default image filter */
  --x: 50%; /* Default x position for clip-path */
  --y: 50%; /* Default y position for clip-path */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to right, #CF8CDA 41%, #E89E2F 100%);
  clip-path: circle(9vw at var(--x) var(--y));
  transition: clip-path 100ms ease;
  pointer-events: none;
  cursor: pointer;
  z-index: 2;
}
.overlay * {
  color: #fff;
}
.overlay .title {
  background: invert(1);
}
.overlay .bullet {
  border: 2px solid #ffffff !important;
}

.overlay.albumPhoto img, .overlay.detailAlbum img, .overlay.webdev img, .overlay.photo img, .overlay.projets img, .overlay.detailProjet img, .overlay.album img {
  filter: invert(1);
}

.black {
  position: fixed;
  right: 0;
  top: 0;
  width: 50%;
  background: #ffffff;
  mix-blend-mode: difference;
  pointer-events: none;
  overflow: hidden;
}

.inversion {
  background-color: #000;
  color: #fff;
}

.home.inversion .image img {
  filter: invert(1);
}

.blk * {
  color: #1E1E1E !important;
}
.blk .bullet {
  border: 2px solid #1E1E1E !important;
}

.overlay .bouton {
  filter: invert(1);
}

.overlay.webdev .text article p, .overlay.webdev .text article h2, .overlay.photo .text article p, .overlay.home .text article p {
  border-image-source: linear-gradient(to right, #307325 41%, #1761d0 100%);
}

.overlay .sideNav a {
  color: #ffffff;
}
.overlay .sideNav a:hover {
  color: #1E1E1E !important;
}

/* Reset styles when navigating back */
body, html {
  transition: background-color 0.5s ease, opacity 0.5s ease;
  background-color: white; /* Ensure default background */
}

body {
  opacity: 0;
}

/* Keyframe for fade-in effect */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Apply the fade-in effect on page load */
.fade-in {
  animation: fade-in 3s ease forwards;
  /* Adjust 1s to your preferred duration */
}

/* MEDIA-QUERIES */
@media all and (max-width: 192px) {
  .header {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media all and (max-width: 330px) {
  .photog .vertical-text {
    font-size: max(1.3rem, 2.2vw);
  }
  .contact form {
    width: 100%;
  }
}
@media all and (max-width: 442px) {
  .contact input,
  .contact textarea {
    width: 100%;
  }
  #homepage footer {
    display: none;
  }
}
@media all and (max-width: 605px) {
  .home .title-section {
    margin-top: 0;
  }
  .contact {
    flex-wrap: wrap;
  }
  footer {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
@media all and (max-width: 712px) {
  .title-section,
  .side {
    margin-top: 6vh;
  }
}
@media all and (max-width: 1119px) {
  .side {
    flex-direction: column;
    margin-bottom: 1rem;
  }
  .sideNav ul {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .home .text a {
    margin-bottom: -0.5vh;
  }
  .vertical-text {
    writing-mode: horizontal-tb;
    padding: 1rem 0;
  }
  .double-letter::after {
    display: inline-block;
  }
  .detailProjet,
  .projets,
  .detailAlbum,
  .albumPhoto,
  .album {
    flex-direction: column;
    justify-content: center;
  }
  .detailProjet article,
  .projets article,
  .detailAlbum article,
  .albumPhoto article,
  .album article {
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .detailProjet article .image-main,
  .detailProjet article .image,
  .projets article .image-main,
  .projets article .image,
  .detailAlbum article .image-main,
  .detailAlbum article .image,
  .albumPhoto article .image-main,
  .albumPhoto article .image,
  .album article .image-main,
  .album article .image {
    width: 100%;
    height: auto;
  }
  .detailProjet article .headContent,
  .projets article .headContent,
  .detailAlbum article .headContent,
  .albumPhoto article .headContent,
  .album article .headContent {
    flex-direction: column;
    align-items: start;
  }
  .detailProjet article .infos,
  .projets article .infos,
  .detailAlbum article .infos,
  .albumPhoto article .infos,
  .album article .infos {
    width: 100%;
    height: 100%;
  }
  .detailProjet section.text,
  .projets section.text,
  .detailAlbum section.text,
  .albumPhoto section.text,
  .album section.text {
    justify-content: center;
  }
  .detailProjet .bouton,
  .projets .bouton,
  .detailAlbum .bouton,
  .albumPhoto .bouton,
  .album .bouton {
    margin: 1rem 0;
    display: block;
    width: max-content;
    text-align: center;
    text-transform: uppercase;
    font-family: "Krub", sans-serif;
    font-weight: 600;
    font-size: max(1rem, 1.2vw);
    font-style: normal;
    letter-spacing: 0.03rem;
    padding: 0.5rem;
    background: linear-gradient(to right, #CF8CDA 41%, #E89E2F 100%);
    border: none;
    box-shadow: none;
    color: #ffffff;
    transition: all 0.5s ease-in-out;
  }
  .album section {
    flex-wrap: wrap;
  }
  .projets section,
  .detailProjet section {
    flex-direction: column;
  }
  .projets article,
  .detailProjet article {
    width: 100%;
  }
  .detailProjet section.text article {
    order: 2;
    overflow: hidden;
  }
  .detailProjet section.text article .image-content {
    width: 90%;
  }
  .detailProjet section.text .side {
    order: 1;
    margin-top: 8vh;
  }
  .detailProjet section.text .side .sideNav {
    order: 2;
  }
  .detailProjet section.text .side .vertical-text {
    order: 1;
  }
  .projets section.text article {
    order: 2;
  }
  .projets section.text .side {
    order: 1;
  }
  .projets .pagination {
    right: 5vw;
  }
}
@media all and (min-width: 1120px) {
  .detailProjet article {
    padding-left: 3rem;
  }
  .album article {
    margin-right: 1.7rem;
  }
}
@media all and (min-width: 1820px) {
  .logo {
    width: 7rem;
  }
}
@media all and (max-height: 319px) {
  #mainNav .menu ul {
    display: flex;
    gap: 1rem;
  }
}
@media all and (max-height: 609px) {
  #mainNav .menu {
    padding-top: 20vh;
  }
}
@media all and (max-height: 800px) {
  .album .image {
    height: 20rem;
  }
  .album .image-main {
    height: 40rem;
  }
}
.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.flash-message {
  padding: 5rem;
  margin: 5rem 0;
  border-radius: 1rem;
  background-color: rgba(207, 140, 218, 0.5);
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -5%);
  z-index: 1000;
}

.flash-message.success {
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  color: #1E1E1E;
}

.flash-message.error {
  letter-spacing: 0.09em;
  font-kerning: normal;
  font-family: "Krub", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  color: #1E1E1E;
}

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