*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ::-webkit-scrollbar
 *  display: none */
html {
  scroll-behavior: smooth;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
}

body {
  width: 100%;
  overflow-x: hidden;
  transition: background-color 0.8s ease, color 0.5s ease;
}

a {
  text-decoration: none;
  color: #F09367;
}
a:not(.link-arrow, .leftArrow) {
  transition: letter-spacing 0.3s ease, text-shadow 0.3s ease;
}
a:not(.link-arrow, .leftArrow):hover {
  letter-spacing: 1px;
  text-shadow: 0px 0px 14px #F09367;
}

ol, ul, li {
  list-style: none;
}

section:not(#hero, #projects, #temp, #closing) {
  padding: 60px 0;
}
@media (min-width: 768px) {
  section:not(#hero, #projects, #temp, #closing) {
    padding: 100px 0;
  }
}
@media (min-width: 1024px) {
  section:not(#hero, #projects, #temp, #closing) {
    padding: 151px 0;
  }
}

#bigTitle {
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 2px;
  text-align: center;
}

#projectTitle {
  font-size: clamp(3rem, 6vw, 5rem);
  text-transform: uppercase;
  position: absolute;
  text-shadow: 0px 1px 24px black;
  color: white;
  z-index: 1;
  padding: 0 1rem;
  text-align: center;
  word-break: break-word;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  font-weight: 600;
  margin-bottom: 26px;
}

p {
  font-style: normal;
  line-height: 1.6;
  font-size: 1rem;
}

label, .outlined-btn {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0.4px;
}

.text-field {
  font-family: "Share Tech", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}

.outlined-btn {
  text-decoration: none;
  text-transform: uppercase;
}

.validation-error-label {
  font-family: "Share Tech", sans-serif;
  font-size: 1rem;
  color: #F2003c !important;
  letter-spacing: 0.4px;
  font-weight: 300;
}

/* helpers */
.wrapper {
  width: 80vw;
  max-width: 1920px;
  margin: auto;
}
@media (min-width: 2560px) {
  .wrapper {
    width: 60vw;
  }
}

.load-error {
  position: absolute;
  color: #F2003c;
  padding: 1rem;
  text-align: center;
}

.logo {
  width: -moz-fit-content;
  width: fit-content;
  filter: brightness(2);
}

body[data-theme=light] {
  background-color: #EFEFEF;
  color: #000;
}
body[data-theme=light] a {
  color: #CE5A43;
  transition: color 0.3s ease;
}
body[data-theme=light] a:hover {
  color: #AB482D;
}
body[data-theme=light] #nav-link {
  background-color: rgba(240, 147, 103, 0.15);
}
body[data-theme=light] #nav-link:hover {
  background-color: rgba(206, 90, 67, 0.2);
}
body[data-theme=light] .logo {
  filter: drop-shadow(0px 0px 3px rgba(171, 72, 45, 0.4));
}
body[data-theme=light] #burgerM span {
  background-color: #000;
}
body[data-theme=light] #social img {
  fill: #CE5A43;
  transition: fill 0.3s ease;
}
body[data-theme=light] #social img:hover {
  fill: #AB482D;
}
body[data-theme=light] #hero-line {
  background: linear-gradient(to right, #CE5A43, #F09367);
}
body[data-theme=light] #skills-list {
  background-color: #E7E7E7;
  border: 2px solid #CE5A43;
  box-shadow: inset 0px 0px 5px rgba(206, 90, 67, 0.2);
}
body[data-theme=light] #skills-list::after {
  background: linear-gradient(to right, rgba(240, 147, 103, 0) 90%, #e7e7e7 100%),linear-gradient(to left, rgba(240, 147, 103, 0) 90%, #e7e7e7 100%);
}
body[data-theme=light] #skills-list::after .iconGroup .icon {
  fill: #CE5A43;
  transition: fill 0.3s ease;
}
body[data-theme=light] #skills-list::after .iconGroup .icon:hover {
  fill: #AB482D;
}
body[data-theme=light] .description h3, body[data-theme=light] .description p {
  color: #000;
}
body[data-theme=light] .description::before {
  background-color: rgba(240, 147, 103, 0.08);
  border-left: 4px solid #CE5A43;
}
body[data-theme=light] .text-field {
  color: #000;
  border: 2px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
body[data-theme=light] .text-field:focus {
  border-color: #CE5A43;
  box-shadow: 0 0 0 3px rgba(206, 90, 67, 0.1);
}
body[data-theme=light] .square-all {
  background: linear-gradient(135deg, #CE5A43, #F09367);
  transition: transform 0.3s ease;
}
body[data-theme=light] .square-all:hover {
  transform: scale(1.05);
}
body[data-theme=light] footer {
  border-top: 2px solid #CE5A43;
  box-shadow: 0rem 1rem 5rem rgba(171, 72, 45, 0.2);
}
body[data-theme=light] footer a {
  color: #CE5A43;
}
body[data-theme=light] footer a:hover {
  color: #AB482D;
}
body[data-theme=light] .closeIcon {
  border-radius: 13px;
  background: rgba(240, 147, 103, 0.1);
  border: 2px solid #CE5A43;
}
body[data-theme=light] .special {
  filter: invert(1);
}

body[data-theme=dark] {
  background-color: #E6DAC6;
  color: #000;
}
body[data-theme=dark] a {
  color: #F09367;
  transition: color 0.3s ease;
}
body[data-theme=dark] #nav-link {
  background-color: rgba(240, 147, 103, 0.1);
}
body[data-theme=dark] #nav-link:hover {
  background-color: rgba(240, 147, 103, 0.2);
}
body[data-theme=dark] .logo {
  filter: drop-shadow(0px 0px 8px rgba(240, 147, 103, 0.3));
}
body[data-theme=dark] #burgerM span {
  background-color: #000;
}
body[data-theme=dark] #social img {
  fill: #F09367;
  transition: fill 0.3s ease;
}
body[data-theme=dark] #social img:hover {
  fill: #CE5A43;
}
body[data-theme=dark] #hero-line {
  background: linear-gradient(to right, #F09367, #F0A599);
}
body[data-theme=dark] #skills-list {
  background-color: #E7E7E7;
  border: 2px solid #F09367;
  box-shadow: inset 0px 0px 5px rgba(240, 147, 103, 0.2);
}
body[data-theme=dark] #skills-list::after {
  background: linear-gradient(to right, rgba(240, 147, 103, 0) 90%, #e7e7e7 100%),linear-gradient(to left, rgba(240, 147, 103, 0) 90%, #e7e7e7 100%);
}
body[data-theme=dark] #skills-list::after .iconGroup .icon {
  fill: #F09367;
  transition: fill 0.3s ease;
}
body[data-theme=dark] #skills-list::after .iconGroup .icon:hover {
  fill: #CE5A43;
}
body[data-theme=dark] .description h3, body[data-theme=dark] .description p {
  color: #000;
}
body[data-theme=dark] .description::before {
  background-color: rgba(240, 147, 103, 0.08);
  border-left: 4px solid #F09367;
}
body[data-theme=dark] .text-field {
  color: #000;
  border: 2px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
body[data-theme=dark] .text-field:focus {
  border-color: #F09367;
  box-shadow: 0 0 0 3px rgba(240, 147, 103, 0.1);
}
body[data-theme=dark] .square-all {
  background: linear-gradient(135deg, #F09367, #F0A599);
  transition: transform 0.3s ease;
}
body[data-theme=dark] .square-all:hover {
  transform: scale(1.05);
}
body[data-theme=dark] footer {
  border-top: 2px solid #F09367;
  box-shadow: 0rem 1rem 5rem rgba(240, 147, 103, 0.2);
}
body[data-theme=dark] footer a {
  color: #F09367;
}
body[data-theme=dark] footer a:hover {
  color: #CE5A43;
}
body[data-theme=dark] .closeIcon {
  border-radius: 13px;
  background: rgba(240, 147, 103, 0.15);
  border: 2px solid #F09367;
}
body[data-theme=dark] .special {
  filter: invert(0);
}

/* Skill icons: ensure visible and sized consistently */
#skills-list-p li .P-icon img,
.project-skill-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
}

/* Ensure inline SVG icons and fallback imgs use currentColor and correct size */
.project-skill-icon,
#skills-list-p li .P-icon svg {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor; /* make SVG color follow text color */
}

#skills-list-p li .P-icon svg { overflow: visible; }

/* Prevent global .special invert from hiding SVGs; control invert per theme if needed */
body[data-theme="dark"] #skills-list-p li .P-icon img,
body[data-theme="dark"] .project-skill-icon {
  filter: none;
}
body[data-theme="light"] #skills-list-p li .P-icon img,
body[data-theme="light"] .project-skill-icon {
  filter: invert(1);
}

/* provide a little spacing between icon and text */
#skills-list-p li span.P-icon {
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
}

/*------ FOOTER ------- */
footer {
  width: 100%;
  padding: 3rem 10vw;
  box-shadow: 0rem 1rem 5rem #EFEFEF;
}
@media (min-width: 768px) {
  footer {
    padding: 1.2rem 10vw;
  }
}
footer div {
  max-width: 1920px;
  gap: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  footer div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
footer div ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  footer div ul {
    flex-direction: row;
  }
}
footer div ul li:nth-child(3) > a:nth-child(1) {
  padding-right: 0;
}
footer div ul a {
  padding: 0;
}
@media (min-width: 768px) {
  footer div ul a {
    padding: 25px;
  }
}

.dark-light-mode {
  width: 100%;
  height: 82px;
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dark-light-mode .neoBar {
  gap: 16px;
  display: flex;
  background-color: rgba(182, 182, 182, 0.1294117647);
  backdrop-filter: blur(4px);
  filter: noise(5);
  border-radius: 2rem;
  padding: 8px 5%;
  box-shadow: 5px 3px 6px 0px rgba(18, 21, 22, 0.6), inset 1px 1px 1px 0px rgba(255, 255, 255, 0.5);
}
.dark-light-mode .neoBar img {
  filter: drop-shadow(1px 0px 4px black);
}
.dark-light-mode .neoBar .switch {
  width: 60px;
  height: 30px;
  border-radius: 2rem;
  padding: 3px;
  background-color: rgb(87, 79, 79);
  box-shadow: rgba(0, 0, 0, 0.8) 0px 0px 22.0625px 0.125px inset, rgba(0, 0, 0, 0.8) 0px 0.0625px 5.125px inset, rgb(255, 255, 255) 0px 0px 3px -1px;
  cursor: pointer;
  overflow: hidden;
}
.dark-light-mode .neoBar .switch .button {
  width: 50%;
  height: 100%;
  border-radius: 2rem;
  box-shadow: 5px 5px 10px #141414, -5px -5px 10px #282828, inset 1px 2px 2px 1px white, inset -1px -1px 3px 0px #101010;
  background-color: rgb(212, 212, 212);
  transform: translateX(0);
  transition: transform 0.4s ease-out;
}
body[data-theme=light] .dark-light-mode .neoBar .switch .button {
  transform: translateX(100%);
}
.dark-light-mode .neoBar .switch .button:hover {
  background-color: grey;
}

#burgerM {
  width: 43px;
  height: 27px;
  position: fixed;
  cursor: pointer;
  z-index: 10;
  right: 20px;
  top: 20px;
}
#burgerM span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  border-radius: 9px;
  opacity: 1;
  transform: rotate(0deg);
  transition: all 0.3s ease-in-out;
}
#burgerM span:nth-child(1) {
  top: 0;
}
#burgerM span:nth-child(2) {
  top: 11px;
}
#burgerM span:nth-child(3) {
  top: 23px;
}
#burgerM.open span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}
#burgerM.open span:nth-child(2) {
  opacity: 0;
}
#burgerM.open span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

#nav-link {
  width: 100%;
  position: fixed;
  z-index: 3;
  border-bottom: 1px solid;
  -o-border-image: linear-gradient(45deg, rgb(16, 16, 16), rgb(219, 219, 219), rgb(16, 16, 16)) 1;
     border-image: linear-gradient(45deg, rgb(16, 16, 16), rgb(219, 219, 219), rgb(16, 16, 16)) 1;
  border-image-slice: 1;
  opacity: 0;
  padding: 0rem 10vw;
  visibility: hidden;
  backdrop-filter: blur(10px);
}
#nav-link div {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  max-width: 1920px;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  #nav-link div {
    flex-direction: row;
  }
}
#nav-link .logo {
  transform: scale(0.2);
  transform-origin: center;
  transition: transform 0.5s ease;
}
#nav-link ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  #nav-link ul {
    flex-direction: row;
  }
}
#nav-link ul li:nth-child(3) > a:nth-child(1) {
  padding-right: 0;
}
#nav-link ul a {
  padding: 0;
}
@media (min-width: 768px) {
  #nav-link ul a {
    padding: 25px;
  }
}
#nav-link.isClicked {
  opacity: 1;
  padding: 3rem 10vw;
  visibility: visible;
}
@media (min-width: 768px) {
  #nav-link.isClicked {
    padding: 1.2rem 10vw;
  }
}
#nav-link.isClicked .logo {
  transform: scale(1);
}

#loaderPage {
  width: 100%;
  height: 100vh;
  background: #E6DAC6;
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
  z-index: 9999;
}
#loaderPage .loader {
  display: block;
  width: 55px;
  height: 55px;
  aspect-ratio: 1;
  background: conic-gradient(from 90deg at top 3px left 3px, transparent 90deg, #fff 0), conic-gradient(from 90deg at top 3px left 3px, transparent 90deg, #fff 0), conic-gradient(from 90deg at top 3px left 3px, transparent 90deg, #fff 0), conic-gradient(from 90deg at top 3px left 3px, transparent 90deg, #fff 0), conic-gradient(from -90deg at bottom 3px right 3px, transparent 90deg, #fff 0), conic-gradient(from -90deg at bottom 3px right 3px, transparent 90deg, #fff 0), conic-gradient(from -90deg at bottom 3px right 3px, transparent 90deg, #fff 0), conic-gradient(from -90deg at bottom 3px right 3px, transparent 90deg, #fff 0);
  background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  background-size: 25px 25px;
  background-repeat: no-repeat;
  animation: l11 1.5s infinite;
}

@keyframes l11 {
  0% {
    background-size: 35px 15px, 15px 15px, 15px 35px, 35px 35px;
  }
  25% {
    background-size: 35px 35px, 15px 35px, 15px 15px, 35px 15px;
  }
  50% {
    background-size: 15px 35px, 35px 35px, 35px 15px, 15px 15px;
  }
  75% {
    background-size: 15px 15px, 35px 15px, 35px 35px, 15px 35px;
  }
  100% {
    background-size: 35px 15px, 15px 15px, 15px 35px, 35px 35px;
  }
}
/*------ HERO SECTION Projects------- */
#hero {
  height: 60svh;
  width: 100%;
  opacity: 1;
  transform: scale(1);
  position: fixed;
  overflow: clip;
}
#hero .hero-bg {
  position: absolute;
  inset: 0;
  height: 60svh;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (min-width: 1024px) {
  #hero .hero-bg {
    height: 80vh;
  }
}
@media (min-width: 1024px) {
  #hero {
    height: 80vh;
  }
}
#hero .hero-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#navigation {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  right: 10px;
  height: 55vh;
  z-index: 100;
}
#navigation #arrows {
  display: flex;
  flex-direction: column;
}

/*------ SKILLS SECTION ------- */
#sections-container {
  position: relative;
  top: 60svh;
  z-index: 2;
  background-color: inherit;
}
@media (min-width: 1024px) {
  #sections-container {
    top: 80vh;
  }
}

#skills-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 68px;
  text-wrap: wrap;
  flex-wrap: wrap;
}
@media (min-width: 1024px) {
  #skills-text {
    text-wrap: nowrap;
  }
}
@media (min-width: 1024px) {
  #skills-text {
    flex-direction: row;
    -moz-column-gap: 7rem;
         column-gap: 7rem;
  }
}
#skills-text p {
  text-wrap: balance;
  max-width: 700px;
  font-size: 1rem;
}
#skills-text #usefulLinks {
  margin-top: 8px;
}
#skills-text #liveDemoLink {
  margin-right: 1rem;
}

#skills-list-p {
  width: 100%;
  height: 100%;
  min-height: 200px;
}
#skills-list-p ul {
  display: flex;
  flex-direction: column;
  gap: 68px;
}
#skills-list-p li {
  display: flex;
}
#skills-list-p li .P-icon {
  margin-right: 20px;
  vertical-align: middle;
}

/*------ PROJECTS SECTION ------- */
#projects {
  scroll-margin: 100px;
}

#description {
  white-space: pre-line;
}

#container {
  display: grid;
  /* afficher les vignettes côte à côte avec une largeur minimale augmentée */
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  justify-items: center;
  padding-top: 0;
}
@media (min-width: 768px) {
  #container {
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  }
}

#container .project-image {
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 768px) {
  #container .project-image {
    max-width: 480px;
  }
}

#container .project-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

#container .project-image figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
}

/*------ CLOSING SECTION ------- */
#closing .wrapper {
  padding-top: 16.5vh;
  padding-bottom: 16.5vh;
}

#closing-text {
  text-align: center;
  margin-bottom: 195px;
}
#closing-text a {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
}
@media (min-width: 1024px) {
  #closing-text {
    margin-bottom: 350px;
  }
}

#closing-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
@media (min-width: 768px) {
  #closing-navigation {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
  }
}

.flex-left {
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .flex-left {
    align-items: flex-start;
  }
}
@media (min-width: 1024px) {
  .flex-left {
    flex-direction: row;
  }
}

.flex-right {
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .flex-right {
    align-items: flex-end;
  }
}
@media (min-width: 1024px) {
  .flex-right {
    flex-direction: row-reverse;
  }
}

.link-arrow {
  display: flex;
  gap: 0px;
}
@media (min-width: 1024px) {
  .link-arrow {
    gap: 69px;
  }
}
.link-arrow p {
  text-wrap: wrap;
  text-align: center;
  align-self: center;
}
@media (min-width: 768px) {
  .link-arrow p {
    text-wrap: nowrap;
  }
}

.link-arrow:hover .lineDownArrow {
  transform: scaleY(1.4);
}
.link-arrow:hover img {
  transform: translateY(20px);
}

.leftArrow {
  width: 31px;
  display: flex;
  flex-direction: column;
  align-items: center;
  rotate: 90deg;
  translate: 41px;
}
@media (max-width: 767px) {
  .leftArrow {
    rotate: -90deg;
    translate: -39px;
  }
}
.leftArrow .lineDownArrow {
  width: 2.5px;
  height: 54px;
  background-color: #000;
  position: relative;
  bottom: -25px;
  transform-origin: top;
  transform: scaleY(1);
  transition: transform 0.5s ease;
}
.leftArrow img {
  width: 38px;
  transform: translateY(0px);
  transition: transform 0.5s ease;
}

.rightArrow {
  width: 31px;
  display: flex;
  flex-direction: column;
  align-items: center;
  rotate: -90deg;
  translate: -39px;
}
.rightArrow .lineDownArrow {
  width: 2.5px;
  height: 54px;
  background-color: #000;
  position: relative;
  bottom: -25px;
  transform-origin: top;
  transform: scaleY(1);
  transition: transform 0.5s ease;
}
.rightArrow img {
  width: 38px;
  transform: translateY(0px);
  transition: transform 0.5s ease;
}

.frame {
  position: absolute;
  left: 50%;
  text-align: center;
  z-index: 1;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
@media (min-width: 768px) {
  .frame {
    transform: translate(-50%, -23%);
  }
}

.grid-container {
  width: 64px;
  height: 63px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  overflow: hidden;
  gap: 4px;
}
.grid-container .square-all {
  flex-grow: 1;
  transition: transform 0.5s ease;
  transform-origin: top;
}
.grid-container .square1 {
  width: 20px;
  height: 15px;
  border-radius: 5px;
  transform: translateY(0px);
}
.grid-container .square2 {
  width: 20px;
  height: 40px;
  border-radius: 5px;
  transform: translateY(12px);
}
.grid-container .square3 {
  width: 20px;
  height: 40px;
  border-radius: 5px;
  transform: translateY(-10px);
}
.grid-container .square4 {
  width: 20px;
  height: 15px;
  border-radius: 5px;
  transform: translateY(0px);
}

.grid-container:hover .square1 {
  transform: translateY(-10px);
}
.grid-container:hover .square2 {
  transform: translateY(22px);
}
.grid-container:hover .square3 {
  transform: translateY(-15px);
}
.grid-container:hover .square4 {
  transform: translateY(15px);
}

.modal {
  width: 100%;
  visibility: hidden;
  position: fixed;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  opacity: 0;
  height: 100dvh;
  backdrop-filter: blur(10px);
  transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
}
@media (min-width: 768px) {
  .modal {
    height: 100vh;
  }
}
.modal h4 {
  text-shadow: 2px 1px 6px #101010;
}
.modal .grid {
  display: grid;
  grid-template-columns: 1fr;
  margin: 2rem;
  min-width: 290px;
  justify-self: center;
  align-self: center;
  gap: 10px;
  transform: translateY(-109px);
  opacity: 0;
  transition: transform 0.75s ease-out, opacity 0.5s ease;
  overflow: auto;
}
@media (min-width: 768px) {
  .modal .grid {
    grid-template-columns: repeat(2, 1fr);
    min-width: 518px;
  }
  .modal .grid .item-a {
    justify-self: right;
  }
  .modal .grid .item-b {
    justify-self: left;
  }
}
.modal .grid .img-container {
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  cursor: pointer;
  background-size: cover;
  border-radius: 8px;
}
.modal .grid .img-container:nth-of-type(1) {
  background-image: url(../assets/img/projects/Cuisine/Cuisine1.jpeg);
}
.modal .grid .img-container:nth-of-type(2) {
  background-image: url(../assets/img/projects/couture1.jpeg);
}
.modal .grid .img-container:nth-of-type(3) {
  background-image: url(../assets/img/projects/Voyage1.jpeg);
}
.modal .grid .img-container:nth-of-type(4) {
  background-image: url(../assets/img/projects/sport1.jpeg);
}
.modal .grid .img-container:hover h3 {
  transform: scale(1.2);
}
.modal .grid .img-container h3 {
  transition: transform 0.5s ease;
  transform: scale(1);
  font-size: 1.4rem;
  color: white;
  text-shadow: 2px 1px 6px #101010;
}
.modal .grid .img-container h3::before {
  content: "";
  inset: -8%;
  position: absolute;
  z-index: -1;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.6);
}

.bg-ani {
  visibility: visible;
  opacity: 1;
}

.grid-ani {
  transform: translateY(0px) !important;
  opacity: 1 !important;
}

.closeIcon {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  width: 45px;
  filter: invert(1);
  cursor: pointer;
}/*# sourceMappingURL=project.css.map */