/*
Theme Name: Adrien Theme
Author: Adrien Lagrange–Vergauwen
Description: Thème personnalisé pour mon portfolio
Version: 1.0
*/


* {
  border: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

:root {
  --color-dark: #1d1d1b;
  --color-light: #FFFCE1;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-brown: #4a321c;
  --color-blue: hsl(235, 100%, 64%);
}



body{
  overflow-x: hidden !important;
  background-color: var(--color-black);
}

section{
  padding-left: 1.875rem !important;
  padding-right: 1.875rem !important;
}

blockquote::before,
blockquote::after {
  content: "";
}

/** Typographie **/

h1 {
  font-size: 2.5rem;
  color: var(--color-white);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.25rem;
}

p, input, textarea{
  line-height: 1.6;
  font-size: 1rem;
  color: white;
}

button {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 1.125rem;
  }

  p {
    font-size : 14px;
  } 
}


/******************/
/** Fil d'ariane **/

.breadcrumb a,
.breadcrumb .breadcrumb_last{
  text-decoration: none;
  color: white;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Pour changer la couleur des séparateurs */
.breadcrumb span {
  color: var(--color-blue); /* couleur du séparateur */
  padding: 0 5px;
}

/**********************/


/** boutons **/

.button_explore {
	display: flex;
	position: relative;
  text-decoration: none;
  align-items: center;
  transition: background-color 0.3s;
  padding: 10px;
  padding-right: 12px;
  border-radius: 50px;
  border: 2px solid white;
  gap: 10px;
  color: white;
	font-size: 16px !important;
	width: max-content;
	height: max-content;
}

.button__icon-wrapper {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  position: relative;
  background-color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.button_explore.black{
	border: 2px solid black;
	color: black;
}

.button_explore.black .button__icon-wrapper{
	background-color: black;
}

.button_explore.black svg path{
	fill: white
}

.button_explore.black:hover .button__icon-wrapper{
	background-color: white;
}

.button_explore.black:hover{
	color: white;
}

.button_explore:hover {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
}

.button__icon-svg--copy {
  position: absolute;
  transform: translate(-150%, 150%);
}

.button_explore:hover .button__icon-svg:first-child {
  transition: transform 0.3s ease-in-out;
  transform: translate(150%, -150%);
}

.button_explore:hover .button__icon-svg--copy {
  transition: transform 0.3s ease-in-out 0.1s;
  transform: translate(0);
}

.button_explore:hover svg path{
	fill: var(--color-blue)
}


.linkArrowDiagUpRight{
  display: flex;
  justify-content: end;
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  width: max-content;
  text-decoration: none;
}

.linkArrowDiagUpRight::before{
  content:"";
  position: absolute;
  bottom:0;
  left:0;
  height: 2px;
  width: 0%;
  background-color: black;
  transition: all 300ms ease-in-out;
}

.linkArrowDiagUpRight:hover::before{
  width: 100%;
}

.linkArrowDiagUpRight svg{
  transition: all 300ms ease-in-out;
}

.linkArrowDiagUpRight:hover svg{
  transform: rotate(45deg);
}


/**************************************************************/
/**************************************************************/
/**************************************************************/
/**************************************************************/
/**************** DEBUT TRANSITION APPARITION *****************/
/**************************************************************/
/**************************************************************/
/**************************************************************/
/**************************************************************/

/* Initial states */
.translate-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.6s ease-out;
}

.translate-down {
  opacity: 0;
  transform: translateY(-60px);
  transition: all 0.6s ease-out;
}

.translate-left {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.6s ease-out;
}

.translate-right {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.6s ease-out;
}

/* Visible states */
.visibleTranslate-up,
.visibleTranslate-down,
.visibleTranslate-left,
.visibleTranslate-right {
  opacity: 1;
  transform: translate(0);
}


/**************************************************************/
/**************************************************************/
/**************************************************************/
/**************************************************************/
/***************** FIN TRANSITION APPARITION ******************/
/**************************************************************/
/**************************************************************/
/**************************************************************/
/**************************************************************/




.page{
  background-color: var(--color-black);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden !important;
}

.default-page{
  padding: 90px 0 100px 0;
  width: 100%;
  min-height: 80vh;
  max-width: 1140px;
  margin: 0 auto;
}

.wp-block-group{
  max-width: 1200px;
  margin: 0 auto;
}

.wp-block-image figure,
.wp-block-image img{
  width: 100%;
}




/******************/
/** Erreur 404 **/

.erreur-404{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 25px;
  padding-right: 25px;
}

.erreur-404 h1{
  margin-bottom: 15px;
}

.erreur-404 form{
  margin-top: 15px;
}

.erreur-404 p{
  text-align: center;
}

