/* 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;
}

/* 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-face {
  font-family: "Poppins-regular";
  src: url("/wp-content/themes/portfolio/resources/fonts/Poppins-Regular.ttf");
}
@font-face {
  font-family: "Poppins-italic";
  src: url("/wp-content/themes/portfolio/resources/fonts/Poppins-Italic.ttf");
}
@font-face {
  font-family: "Playfair-regular";
  src: url("/wp-content/themes/portfolio/resources/fonts/Playfair-Regular.ttf");
}
@font-face {
  font-family: "Playfair-bold";
  src: url("/wp-content/themes/portfolio/resources/fonts/Playfair-Bold.ttf");
}
.sro {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

a {
  text-decoration: none;
}

.resizeImg {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}

body {
  position: relative;
  overflow-x: hidden;
}

section {
  max-width: 75rem;
  margin: auto;
  padding: 4rem 1.5rem;
}

strong {
  font-weight: bold;
}

h2 {
  font-family: "Playfair-bold", Merriweather, serif;
  font-size: 2.375rem;
  color: #5F021F;
  font-weight: 700;
  margin-bottom: 3rem;
}

p {
  font-family: "Poppins-regular", Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #5F021F;
}

.nav__container__items__link.active_page {
  color: #FFF5E8;
  background-color: #5F021F;
}

.skip {
  position: absolute;
  top: 0;
  left: -10000px;
  z-index: 10000;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  font-size: 1.4rem;
  text-decoration: none;
  color: white;
  background-color: #5F021F;
}
.skip:focus {
  left: 0;
}

.ctaPrimary, .ctaTag, .ctaSecondary {
  min-width: 150px;
  display: block;
  position: relative;
  font-family: "Playfair-bold", Merriweather, serif;
  font-size: 1.5rem;
  color: white;
  padding: 0.7em 1em;
  background-color: #5F021F;
  border-radius: 10px;
  transition: 0.1s;
  overflow: hidden;
  min-height: 20px;
  border: 2px solid #5F021F;
}
.ctaPrimary span, .ctaTag span, .ctaSecondary span {
  display: block;
  position: relative;
  z-index: 1;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}
.ctaPrimary span:hover, .ctaTag span:hover, .ctaSecondary span:hover {
  transition: transform 0.3s ease-in-out;
  color: #5F021F;
}
.ctaPrimary:before, .ctaTag:before, .ctaSecondary:before {
  content: "";
  width: 101%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #FFF5E8;
  transform: translateX(100%);
  transition: transform 0.2s ease-in-out;
}
.ctaPrimary:hover::before, .ctaTag:hover::before, .ctaSecondary:hover::before {
  animation: 0.2s ease-in-out;
  transform: translateX(0);
}
.ctaPrimary:hover, .ctaTag:hover, .ctaSecondary:hover {
  color: #5F021F;
  border: 2px solid #5F021F;
}

.ctaSecondary {
  color: white;
  background-color: #D8B384;
  border: 2px solid #D8B384;
}
.ctaSecondary span {
  text-align: center;
}
.ctaSecondary span:hover {
  color: #D8B384;
}
.ctaSecondary:before {
  background-color: #FFF5E8;
}
.ctaSecondary:hover {
  color: #D8B384;
  border: 2px solid #D8B384;
}

.ctaTag {
  background-color: transparent;
  color: #5F021F;
  text-align: center;
}
.ctaTag span {
  color: #5F021F;
}
.ctaTag span:hover {
  color: white;
}
.ctaTag:hover span {
  animation: 0.2s ease-in-out;
  color: white;
}
.ctaTag:before {
  background-color: #5F021F;
}
.ctaTag:hover {
  color: white;
  border: 2px solid #5F021F;
}

.ctaTagNoHoverable {
  min-width: 150px;
  display: block;
  position: relative;
  font-family: "Playfair-bold", Merriweather, serif;
  font-size: 24px;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  transition: 0.1s;
  overflow: hidden;
  min-height: 20px;
  text-align: center;
  background-color: transparent;
  color: #5F021F;
  border: 2px solid #5F021F;
}
.ctaTagNoHoverable span {
  display: block;
  position: relative;
  z-index: 1;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}
.ctaTagNoHoverable:before {
  content: "";
  width: 101%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: transform 0.2s ease-in-out;
}

.opacity_none {
  opacity: 0;
}

.appear {
  transform-origin: center;
  animation: 0.5s appear linear;
}

@keyframes appear {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.appearLeft:nth-child(1) {
  animation: appearLeftMobile 2.5s linear;
}
@media (min-width: 817px) {
  .appearLeft:nth-child(1) {
    animation: appearLeftMediumScreen 2.5s linear;
  }
}

.appearLeft:nth-child(2) {
  animation: appearLeftMobile 2.5s linear;
}
@media (min-width: 817px) {
  .appearLeft:nth-child(2) {
    animation: appearLeftMediumScreen 2s linear;
  }
}

.appearLeft:nth-child(3) {
  animation: appearLeftMobile 2.5s linear;
}
@media (min-width: 817px) {
  .appearLeft:nth-child(3) {
    animation: appearLeftMediumScreen 1.5s linear;
  }
}

.appearLeft:nth-child(4) {
  animation: appearRightMobile 1.5s linear;
}
@media (min-width: 817px) {
  .appearLeft:nth-child(4) {
    animation: appearRightMediumScreen 1.5s linear;
  }
}

.appearLeft:nth-child(5) {
  animation: appearRightMobile 1.5s linear;
}
@media (min-width: 817px) {
  .appearLeft:nth-child(5) {
    animation: appearRightMediumScreen 2s linear;
  }
}

.appearLeft:nth-child(6) {
  animation: appearRightMobile 1.5s linear;
}
@media (min-width: 817px) {
  .appearLeft:nth-child(6) {
    animation: appearRightMediumScreen 2.5s linear;
  }
}

@keyframes appearLeftMobile {
  0% {
    transform: translateX(-500%) rotate(0);
  }
  50% {
    transform: translateX(25px) rotate(450deg);
  }
  100% {
    transform: translateX(0) rotate(360deg);
  }
}
@keyframes appearRightMobile {
  0% {
    transform: translateX(500%) rotate(0);
  }
  50% {
    transform: translateX(-25px) rotate(-450deg);
  }
  100% {
    transform: translateX(0) rotate(-360deg);
  }
}
@keyframes appearLeftMediumScreen {
  0% {
    transform: translateX(-500%) rotate(0);
  }
  75% {
    transform: translateX(6em) rotate(450deg);
  }
  100% {
    transform: translateX(0) rotate(360deg);
  }
}
@keyframes appearRightMediumScreen {
  0% {
    transform: translateX(500%) rotate(0);
  }
  75% {
    transform: translateX(-6em) rotate(-450deg);
  }
  100% {
    transform: translateX(0) rotate(-360deg);
  }
}
.appearLeftBall {
  animation: appearLeftBall 1.5s ease-in-out;
}

@keyframes appearLeftBall {
  0% {
    transform: translateX(-50vw) rotate(0deg);
  }
  100% {
    transform: translateX(0) rotate(360deg);
  }
}
.projectCard {
  position: relative;
}
.projectCard:hover img {
  transform: scale(1.1);
  -webkit-mask-position: 0 0;
          mask-position: 0 0;
}
.projectCard:hover .projectCard__title {
  transform: translate(-50%, -50%) scale(1.1);
}
.projectCard img {
  aspect-ratio: 4/4;
  border: 5px solid #5F021F;
  border-radius: 50%;
  transform: rotate3d(1, -1, 0, calc(var(--i, 1) * 8deg));
  -webkit-mask: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 40%, #000, rgba(0, 0, 0, 0.8) 60%) 100% 100%/240% 280%;
          mask: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 40%, #000, rgba(0, 0, 0, 0.8) 60%) 100% 100%/240% 280%;
  transition: 0.8s;
  cursor: pointer;
}
.projectCard__link {
  z-index: 1;
  inset: 0;
  position: absolute;
}
.projectCard__title {
  transform-origin: center;
  font-family: "Playfair-bold", Merriweather, serif;
  width: 60%;
  border-radius: 10px;
  background-color: #5F021F;
  color: white;
  font-size: 1.8rem;
  transition: 0.8s;
  text-align: center;
  position: absolute;
  top: 70%;
  left: 50%;
  padding: 0.4em;
  transform: translate(-50%, -50%);
}

header {
  position: relative;
  z-index: 9999;
}

body:has(#burger__button:checked) {
  overflow-y: hidden;
}

main {
  position: relative;
  z-index: 10;
}

.header__containner {
  background-color: #FFF5E8;
  padding: 1.5rem;
}

.nav {
  display: flex;
  z-index: 0;
  align-items: center;
  position: relative;
  max-width: 75rem;
  width: 100%;
  margin: auto;
  padding-bottom: 22px;
  border-bottom: 2px solid #5F021F;
}
@media (min-width: 817px) {
  .nav {
    padding-bottom: 11px;
    justify-content: space-between;
  }
}
.nav__link {
  line-height: 0;
}
.nav__link img {
  width: 40px;
  height: 40px;
}
@media (min-width: 817px) {
  .nav__link img {
    height: 80px;
    width: 80px;
  }
}
.nav #burger__button {
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}
@media (min-width: 817px) {
  .nav #burger__button {
    display: none;
  }
}
.nav #burger__button:checked ~ .nav__container {
  transform: translateX(0);
  transition: 0.1s;
}
.nav .burger__wrapper {
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  background-color: #D8B384;
  padding: 10px;
  border-radius: 20px;
  top: 0;
  right: 0;
  cursor: pointer;
}
@media (min-width: 817px) {
  .nav .burger__wrapper {
    display: none;
  }
}
.nav .burger__wrapper__lines {
  border-radius: 20px;
  background-color: #5F021F;
  display: block;
  content: "";
  width: 22px;
  min-height: 3px;
}
.nav__container {
  z-index: -1;
  background-color: #FFF5E8;
  top: 0;
  right: 0;
  width: 100%;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  min-height: 100vh;
  transform: translateX(100%);
  transition: 0.1s;
  padding-top: 10em;
}
@media (min-width: 817px) {
  .nav__container {
    flex-direction: row;
    position: relative;
    transform: none;
    width: auto;
    padding-top: 0;
    min-height: 0;
  }
}
.nav__container__items__link {
  font-family: "Playfair-bold", Merriweather, serif;
  display: inline-block;
  font-size: 2rem;
  color: #5F021F;
  padding: 16px 22px;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}
@media (min-width: 817px) {
  .nav__container__items__link {
    font-size: 1.4rem;
  }
}
.nav__container__items__link:hover {
  transition: 0.3s ease-in-out;
  color: #FFF5E8;
  background-color: #5F021F;
}

.up {
  transition: 0.2s ease-in-out;
}

.middle {
  transition: 0.2s ease-in-out;
}

.down {
  transition: 0.2s ease-in-out;
}

.nav:has(#burger__button:checked) .burger__wrapper .up {
  transform: translateY(8px) rotate(45deg);
  transition: 0.2s ease-in-out;
}
.nav:has(#burger__button:checked) .burger__wrapper .middle {
  opacity: 0;
  transition: 0.2s ease-in-out;
}
.nav:has(#burger__button:checked) .burger__wrapper .down {
  transform: translateY(-8px) rotate(-45deg);
  transition: 0.2s ease-in-out;
}

@media (width > 1000px) {
  .burger__wrapper {
    background-color: #5F021F;
  }
}
footer {
  background-color: #FFF5E8;
  position: relative;
  z-index: 100;
  padding-top: 3.125rem;
}

.footer__container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.875em;
  padding: 0 1.5em 3.125em;
  max-width: 75rem;
  margin: auto;
}
@media (min-width: 817px) {
  .footer__container {
    flex-direction: row;
  }
}
.footer__container__section {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  line-height: 1.5;
  color: #5F021F;
  align-items: flex-start;
}
.footer__container__section__title {
  font-family: "Playfair-regular", Merriweather, serif;
  font-weight: bold;
  font-size: 1.25rem;
}
.footer__container__section__list__items__links {
  color: #5F021F;
}
.footer__container__section__list__items__links:hover {
  border-bottom: 1px solid #5F021F;
}

.page404 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3em;
}
.page404__title {
  font-size: 5rem;
  margin: auto;
}
.page404__desc {
  font-size: 1.5rem;
}
.page404__link {
  min-width: 150px;
  display: block;
  position: relative;
  font-family: "Playfair-bold", Merriweather, serif;
  font-size: 24px;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  transition: 0.1s;
  overflow: hidden;
  min-height: 20px;
  text-align: center;
  background-color: #5F021F;
  border: 2px solid #5F021F;
}
.page404__link span {
  display: block;
  position: relative;
  z-index: 1;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}
.page404__link:before {
  content: "";
  width: 101%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: transform 0.2s ease-in-out;
}
.page404__link:before {
  content: "";
  width: 101%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background-color: white;
  transform: translateX(100%);
  transition: transform 0.2s ease-in-out;
}
.page404__link:hover::before {
  animation: 0.2s ease-in-out;
  transform: translateX(0);
}
.page404__link:hover {
  color: #5F021F;
  border: 2px solid #5F021F;
}

.hero {
  z-index: 0;
  padding: 0 2rem 4rem;
  background-color: #FFF5E8;
  overflow: hidden;
}
.hero .container__topBillards {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 100px;
}
.hero .container__topBillards__ball {
  position: absolute;
  top: 20px;
  left: 0;
  animation: ballTop 10s infinite;
}
@keyframes ballTop {
  0% {
    transform: translateX(200vw) rotate(0);
  }
  25% {
    transform: translateX(0) rotate(-2190deg);
  }
  50% {
    transform: translateX(20px) rotate(-2160deg);
  }
  71% {
    transform: translateX(20px) rotate(-2160deg);
  }
  100% {
    transform: translateX(-300vw) rotate(0deg);
  }
}
.hero .container__topBillards__cue {
  position: absolute;
  top: 60px;
  left: 120px;
  animation: topCue 10s infinite;
}
@keyframes topCue {
  0% {
    transform: translateX(200%);
  }
  30% {
    transform: translateX(200%);
  }
  50% {
    transform: translateX(20px);
  }
  55% {
    transform: translateX(60px);
  }
  65% {
    transform: translateX(20px);
  }
  70% {
    transform: translateX(60px);
  }
  71% {
    transform: translateX(-10px);
  }
  90% {
    transform: translateX(60px);
  }
  100% {
    transform: translateX(-200%);
  }
}
.hero .container__topBillards__cue img {
  width: 65.625rem;
  height: auto;
}
.hero .hero__container {
  display: flex;
  flex-direction: column;
  max-width: 34.375rem;
  margin: auto;
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-family: "Playfair-bold", Merriweather, serif;
  align-items: center;
  font-size: 3rem;
  gap: 0.5em;
  color: #5F021F;
  text-align: center;
  margin-bottom: 0;
}
@media (max-width: 400px) {
  .hero__title {
    font-size: 2.4rem;
  }
}
@media (min-width: 817px) {
  .hero__title {
    font-size: 4.0625rem;
  }
}
.hero__title__before, .hero__title__after {
  font-family: "Playfair-regular", Merriweather, serif;
  color: #D8B384;
  font-size: 2.375rem;
  font-weight: 400;
}
.hero__quote {
  font-family: "Poppins-italic", Helvetica, sans-serif;
  color: #5F021F;
  text-align: center;
  padding: 2.5em 0;
  margin: auto;
  line-height: 1.6;
}
@media (min-width: 817px) {
  .hero__quote {
    font-size: 1.25rem;
  }
}
.hero__container__cta {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
}
.hero__container__cta a {
  margin: auto;
}
.hero .container__botBillards {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  max-width: 75rem;
  margin: auto;
  position: relative;
  min-height: 100px;
}
.hero .container__botBillards__ball {
  position: absolute;
  top: 20px;
  right: 0;
  animation: ballBot 10s infinite;
}
@keyframes ballBot {
  0% {
    transform: translateX(-200vw) rotate(0);
  }
  25% {
    transform: translateX(0) rotate(2190deg);
  }
  50% {
    transform: translateX(-20px) rotate(2160deg);
  }
  71% {
    transform: translateX(-20px) rotate(2160deg);
  }
  100% {
    transform: translateX(300vw) rotate(0deg);
  }
}
.hero .container__botBillards__cue {
  position: absolute;
  top: 60px;
  right: 120px;
  animation: botCue 10s infinite;
}
@keyframes botCue {
  0% {
    transform: translateX(-200%);
  }
  30% {
    transform: translateX(-200%);
  }
  50% {
    transform: translateX(-20px);
  }
  55% {
    transform: translateX(-60px);
  }
  65% {
    transform: translateX(-20px);
  }
  70% {
    transform: translateX(-60px);
  }
  71% {
    transform: translateX(0px);
  }
  90% {
    transform: translateX(-60px);
  }
  100% {
    transform: translateX(200%);
  }
}
.hero .container__botBillards__cue img {
  transform: scaleX(-1);
  width: 65.625rem;
}
.hero__scroll {
  z-index: 0;
  text-align: center;
  font-family: "Playfair-regular", Merriweather, serif;
  font-size: 25px;
  color: #5F021F;
  animation: upDown 1s ease-in-out infinite;
}
@keyframes upDown {
  0% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(10px);
  }
}
.hero__scroll:after {
  content: "";
  background-image: url("/wp-content/themes/portfolio/resources/img/arrow.svg");
  background-repeat: no-repeat;
  display: block;
  width: 2.1875rem;
  height: 9px;
  margin: 10px auto;
}

.lastProjects__title {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.lastProjects__title span {
  display: block;
  font-weight: 400;
}
.lastProjects__container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 3.125em;
}
@media (min-width: 817px) {
  .lastProjects__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6em;
  }
}
.bg {
  background-color: #FFF5E8;
}

.projectsHome__title {
  text-align: center;
  font-size: 3rem;
}
.projectsHome__container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}
.projectsHome__container__link {
  text-align: center;
  background-color: transparent;
  color: #5F021F;
}
.projectsHome__container .is_active {
  background-color: #5F021F;
  color: white;
}

.projectsList__container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 817px) {
  .projectsList__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6rem;
  }
}
.bgAbout {
  background-color: #FFF5E8;
}

.about__title {
  text-align: center;
  font-size: 3rem;
}
.about__presentation {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 817px) {
  .about__presentation {
    gap: 9rem;
  }
}
.about__presentation p {
  margin-bottom: 1.2em;
  color: #5F021F;
}
@media (min-width: 817px) {
  .about__presentation {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.about__presentation__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2em;
}
.about__presentation__content__title {
  font-family: "Playfair-bold", Merriweather, serif;
  font-weight: 700;
  font-size: 3rem;
  color: #5F021F;
}
.about__presentation__img img {
  width: 100%;
  border-radius: 50%;
}

.about__presentation__content__paragraph p {
  font-size: 1em;
}

.career__container__list {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 15.625rem;
}
.career__container__list__items {
  font-size: 1.5rem;
  text-align: right;
}
.career__container__list__items:nth-child(even) {
  text-align: left;
}
.career__container__list__items:nth-child(even) .cueCareer {
  right: 130px;
  left: auto;
  transform: scaleX(-1) translateY(-50%);
}
.career__container__list__items:nth-child(even) .ballCareer {
  right: 20px;
  left: auto;
}
.career__container__list__items__content {
  position: relative;
}
.career__container__list__items__content .cueCareer {
  display: flex;
  position: absolute;
  top: 40%;
  left: 130px;
  min-height: 100px;
  transform: translateY(-50%);
}
.career__container__list__items__content .cueCareer img {
  width: 66.5rem;
  height: auto;
}
.career__container__list__items__content .ballCareer {
  position: absolute;
  top: 8px;
  left: 20px;
  width: 100px;
  height: auto;
}
.career__container__list__items__content__date {
  display: block;
  padding-top: 6rem;
  line-height: 1.6;
}
.career__container__list__items__content__title {
  font-family: "Playfair-bold", Merriweather, serif;
}

.step__container {
  display: flex;
  flex-direction: column;
  gap: 2em;
}
@media (min-width: 817px) {
  .step__container {
    gap: 4em;
  }
}
.step__container__article {
  padding: 1.25em 0;
  display: flex;
  flex-direction: column;
  gap: 1.25em;
}
@media (min-width: 817px) {
  .step__container__article {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    grid-template-areas: "image titre" "image paragraph";
  }
}
@media (min-width: 1024px) {
  .step__container__article {
    grid-template-columns: 0.5fr 1.5fr;
    grid-template-areas: "image titre" "image paragraph";
  }
}
.step__container__article__img {
  width: 100px;
  height: auto;
}
@media (min-width: 817px) {
  .step__container__article__img {
    align-self: center;
    justify-self: center;
  }
}
@media (min-width: 817px) {
  .step__container__article__img {
    grid-area: image;
  }
}
.step__container__article__title {
  font-family: "Playfair-bold", Merriweather, serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #5F021F;
}
@media (min-width: 817px) {
  .step__container__article__title {
    grid-area: titre;
  }
}
@media (min-width: 817px) {
  .step__container__article__paragraph {
    grid-area: paragraph;
  }
}

.tools {
  overflow: hidden;
}
.tools__list {
  display: flex;
  width: 2772px;
  align-items: center;
  animation: scroll 13s linear infinite;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1386px);
  }
}
.tools__list__items {
  margin: 0 4em;
  width: 70px;
  height: auto;
}
.tools__list__items__img {
  width: 70px;
  height: auto;
}

.comingLeftBalls {
  animation: comingLeftBalls 1s ease-in-out;
}

@keyframes comingLeftBalls {
  from {
    transform: translateX(-300px) rotate(-720deg);
  }
  to {
    transform: translateX(0) rotate(0);
  }
}
.leavingLeftBalls {
  animation: leavingLeftBalls 1s ease-in-out forwards;
}

@keyframes leavingLeftBalls {
  0% {
    transform: translateX(0) rotate(0);
  }
  30% {
    transform: translateX(0) rotate(0);
  }
  100% {
    transform: translateX(-300px) rotate(-720deg);
  }
}
.comingRightBalls {
  animation: comingRightBalls 1s ease-in-out;
}

@keyframes comingRightBalls {
  from {
    transform: translateX(300px) rotate(720deg);
  }
  to {
    transform: translateX(0) rotate(0);
  }
}
.leavingRightBalls {
  animation: leavingRightBalls 1s ease-in-out forwards;
}

@keyframes leavingRightBalls {
  0% {
    transform: translateX(0) rotate(0);
  }
  30% {
    transform: translateX(0) rotate(0);
  }
  100% {
    transform: translateX(300px) rotate(720deg);
  }
}
@keyframes appearLeftBall {
  0% {
    transform: translateX(-50vw) rotate(0deg);
  }
  100% {
    transform: translateX(0) rotate(360deg);
  }
}
.cueCareerNormal {
  animation: cueCareerNormal 1s linear;
}

@keyframes cueCareerNormal {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  15% {
    transform: translateY(-50%) translateX(40px);
  }
  30% {
    transform: translateY(-50%) translateX(-10px);
  }
  100% {
    transform: translateY(-50%) translateX(0);
  }
}
.cueCareerReverse {
  animation: cueCareerReverse 1s linear;
}

@keyframes cueCareerReverse {
  0% {
    transform: translateY(-50%) scaleX(-1) translateX(0);
  }
  15% {
    transform: translateY(-50%) scaleX(-1) translateX(40px);
  }
  30% {
    transform: translateY(-50%) scaleX(-1) translateX(-10px);
  }
  100% {
    transform: translateY(-50%) scaleX(-1) translateX(0);
  }
}
.bgContact {
  background-color: #FFF5E8;
}

.homeContact__title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 0;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.content__coord {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
  color: #5F021F;
}
.content__coord__title {
  font-family: "Playfair-bold", Merriweather, serif;
  font-weight: 700;
  font-size: 2.375rem;
}
.content__coord__list {
  display: flex;
  flex-direction: column;
}
.content__coord__list__title {
  margin-bottom: 0.5em;
  font-family: "Playfair-bold", Merriweather, serif;
  font-size: 1.8rem;
  font-weight: 700;
}
.content__coord__list__link {
  font-family: "Poppins-regular", Helvetica, sans-serif;
  margin-bottom: 1.2rem;
}
.content__coord__list__link a {
  text-decoration: underline;
  color: #5F021F;
}
.content__contact {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  color: #5F021F;
}
.content__contact__title {
  font-family: "Playfair-bold", Merriweather, serif;
  font-weight: 700;
  font-size: 2.375rem;
}
.content__contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.875em;
}
.content__contact__form .field__error {
  color: red;
  font-family: "Poppins-regular", Helvetica, sans-serif;
  font-weight: 700;
}
@media (min-width: 817px) {
  .content__contact__form .lastName-FirstName, .content__contact__form .email-tel {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.content__contact__form__container {
  display: flex;
  flex-direction: column;
  gap: 1.875em;
}
.content__contact__form__container label {
  font-family: "Playfair-bold", Merriweather, serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.content__contact__form__container input, .content__contact__form__container textarea {
  font-family: "Poppins-regular", Helvetica, sans-serif;
  padding: 0.8em 1.1em;
  border: 1px solid #5F021F;
  border-radius: 10px;
  color: #5F021F;
}
.content__contact__form__container > div {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
}
.content__contact__form__container > div label {
  font-family: "Playfair-bold", Merriweather, serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.content__contact__form__container > div input, .content__contact__form__container > div textarea {
  font-family: "Poppins-regular", Helvetica, sans-serif;
  padding: 0.8em 1.1em;
  border: 1px solid #5F021F;
  border-radius: 10px;
  color: #5F021F;
}
.content__contact__form button {
  position: relative;
  font-family: "Playfair-bold", Merriweather, serif;
  font-weight: bold;
  font-size: 1.2rem;
  width: 50%;
  margin: auto;
  padding: 0.8em 1.1em;
  border-radius: 10px;
  border: 2px solid #5F021F;
  background-color: #5F021F;
  cursor: pointer;
  overflow: hidden;
  color: white;
}
@media (min-width: 817px) {
  .content__contact__form button {
    width: 30%;
  }
}
.content__contact__form button:hover {
  animation: 0.2s ease-in-out;
  color: #5F021F;
  border: 2px solid #5F021F;
}
.content__contact__form button span {
  position: relative;
  z-index: 1;
  display: block;
}
.content__contact__form button span:hover {
  animation: 0.2s ease-in-out;
  color: #5F021F;
}
.content__contact__form button:before {
  display: block;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background-color: white;
  transform: translateX(100%);
  transition: transform 0.2s ease-in-out;
}
.content__contact__form button:hover:before {
  transition: transform 0.2s ease-in-out;
  transform: translateX(0);
}

.bgProject {
  background-color: #FFF5E8;
}

.project {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.project__title {
  font-family: "Playfair-bold", Merriweather, serif;
  font-weight: 700;
  font-size: 3rem;
  color: #5F021F;
  text-align: center;
}
.project__comebackLink {
  border-bottom: 2px solid transparent;
  font-family: "Poppins-regular", Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #5F021F;
  margin-top: 0.5em;
  display: flex;
}
.project__comebackLink:hover {
  border-bottom: 2px solid #5F021F;
}
.project__comebackLink:before {
  content: url("/wp-content/themes/portfolio/resources/img/arrowLeft.svg");
  display: inline-block;
}
.project__containerLinks {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3em;
}

.resume, .guideLine {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 817px) {
  .resume, .guideLine {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 10rem;
    align-items: center;
  }
}
.resume__content__tools__list, .guideLine__content__tools__list {
  display: flex;
  gap: 1.9px;
}
.resume__content__tools__list__item, .guideLine__content__tools__list__item {
  width: 70px;
  height: auto;
}
.resume__content__img img, .guideLine__content__img img {
  border-radius: 50%;
}
.resume__img img, .guideLine__img img {
  aspect-ratio: 4/4;
  border-radius: 50%;
}

@media (min-width: 817px) {
  .resume {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
}
.resume__content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

@media (min-width: 817px) {
  .guideLine {
    display: grid;
    grid-template-areas: "img content";
  }
}
@media (min-width: 817px) {
  .guideLine__content {
    grid-area: content;
  }
}
@media (min-width: 817px) {
  .guideLine__img {
    grid-area: img;
  }
}

.palette {
  display: flex;
  flex-direction: column;
}
.palette__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
}
.palette__list__item {
  margin: auto;
  position: relative;
  width: 10rem;
  min-height: 10rem;
  border-radius: 50%;
  cursor: pointer;
}
.palette__list__item:before {
  transform: scale(0);
  transform-origin: center;
  opacity: 0;
  content: "";
  height: 10rem;
  border-radius: 50%;
  width: 10rem;
  display: block;
  background-color: black;
  transition: 0.2s linear;
}
.palette__list__item:hover::before {
  opacity: 0.5;
  transition: 0.2s linear;
  transform: scale(1);
}
.palette__list__item:hover span {
  transition: 0.2s ease-in-out;
  opacity: 1;
}
.palette__list__item span {
  transition: 0.2s ease-in-out;
  font-size: 1.5rem;
  font-family: "Poppins-regular", Helvetica, sans-serif;
  color: white;
  opacity: 0;
  transform: translateY(-50%) translateX(-50%);
  position: absolute;
  top: 50%;
  left: 50%;
  margin: auto;
  border-radius: 50%;
}
.palette__paragraph {
  font-family: "Poppins-italic", Helvetica, sans-serif;
  text-align: center;
  color: #5F021F;
  line-height: 1.6;
  font-size: 1rem;
  margin: auto;
  margin-top: 1.5rem;
}
.palette__paragraph span {
  display: block;
}

.projectStep__title {
  font-family: "Playfair-bold", Merriweather, serif;
  font-weight: 700;
  font-size: 2.375rem;
  color: #5F021F;
  margin-bottom: 0.55em;
}
.projectStep__container {
  display: flex;
  flex-direction: column;
  gap: 2em;
}
@media (min-width: 817px) {
  .projectStep__container {
    gap: 4em;
  }
}
.projectStep__container__article {
  padding: 1.25em 0;
  display: flex;
  flex-direction: column;
  gap: 1.25em;
}
@media (min-width: 817px) {
  .projectStep__container__article {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    grid-template-areas: "image titre" "image paragraph";
  }
}
@media (min-width: 1024px) {
  .projectStep__container__article {
    grid-template-columns: 0.5fr 1.5fr;
    grid-template-areas: "image titre" "image paragraph";
  }
}
.projectStep__container__article__img {
  width: 100px;
  height: auto;
}
@media (min-width: 817px) {
  .projectStep__container__article__img {
    align-self: center;
    justify-self: center;
  }
}
@media (min-width: 817px) {
  .projectStep__container__article__img {
    grid-area: image;
  }
}
.projectStep__container__article__title {
  font-family: "Playfair-bold", Merriweather, serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #5F021F;
}
@media (min-width: 817px) {
  .projectStep__container__article__title {
    grid-area: titre;
  }
}
@media (min-width: 817px) {
  .projectStep__container__article__paragraph {
    grid-area: paragraph;
  }
}

.gallery__container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
@media (min-width: 817px) {
  .gallery__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2rem;
  }
}
.gallery__container__item img {
  width: 100%;
}

.maquette_url {
  min-width: 150px;
  display: block;
  position: relative;
  font-family: "Playfair-bold", Merriweather, serif;
  font-size: 24px;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  transition: 0.1s;
  overflow: hidden;
  min-height: 20px;
  text-align: center;
  background-color: #5F021F;
  max-width: 150px;
  margin: 1em auto 0;
  border: 2px solid #5F021F;
}
.maquette_url span {
  display: block;
  position: relative;
  z-index: 1;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}
.maquette_url:before {
  content: "";
  width: 101%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: transform 0.2s ease-in-out;
}
.maquette_url:before {
  content: "";
  width: 101%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background-color: white;
  transform: translateX(100%);
  transition: transform 0.2s ease-in-out;
}
.maquette_url:hover::before {
  animation: 0.2s ease-in-out;
  transform: translateX(0);
}
.maquette_url:hover {
  color: #5F021F;
  border: 2px solid #5F021F;
}
