:root{
--ivory:#FFF2B3;
--blue:#63D2FF;
--light-blue:#c9e8ff;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

html{
  scrollbar-color: var(--blue) var(--light-blue);
  background: hsl(202 81% 23%);
}

body {
  background: hsl(202 81% 23%);
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  /* width: 100vw; */
  overflow-x: hidden; 
  /* background: radial-gradient(ellipse 100% 100% at 50% 50%, hsl(20 92% 53%), hsl(202 81% 23%));  */
  
}

section {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden; 
  overflow-y: hidden;
}


/* ___________________________________________________________________NAVBAR________________________________________________________________ */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 100;
  align-items: center;
  padding: 15px 25px;
  transition: transform .35s ease;
}

header.hide {
  transform: translateY(-100%);
}

                                                                          /* rendre header transparent */

.logo {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--light-blue);
  font-family: "Poetsen One", sans-serif;
  text-shadow: 2px 3px 5px black;
}

nav {
   margin-left: auto;
}
.navlist {
  display: flex;
  gap: 4rem;
  align-items: center;
}
.navlist a {
  font-size: clamp(0.8rem, 0.8rem + 0.5vw, 1.3rem);
  font-weight: 500;
  position: relative;
  display: inline-block;
  text-shadow: -2px 3px 3px hsla(0, 0%, 0%, 0.5);
}
.navlist a,
.btn-theme i{
  color: var(--light-blue);
  transition: color .35s ease,
              transform .35s ease;
}
.navlist a:hover,
.btn-theme:hover i{
  color: var(--blue);
  transform: translateY(-3px);
}

#iconMenu,
.btn-theme {
  background: transparent;
  border: none;
}
#iconMenu{
  width: 50px;
  height: 50px;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
#iconMenu i{
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--light-blue);
  cursor: pointer;
}

.btn-theme {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
}
.btn-theme i {
  font-size: 2rem;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body:not(.dark) .ri-sun-line {
  opacity: 0;
}
body:not(.dark) .ri-moon-line {
  opacity: 1;
}
body.dark .ri-sun-line {
  opacity: 1;
}
body.dark .ri-moon-line {
  opacity: 0;
}


/* _________________________________________________________________SECTION 1_________________________________________________________________ */

.home{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 28%;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, hsl(20 92% 53%), hsl(202 81% 23%)); 
}

.palms {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* object-fit: cover;
  object-position: center; */
  z-index: 25;
  pointer-events: none;
}
.palms img{
  position:absolute;
  height: 100%;
  top:0;
}
.palms-left{
  left: 0;
}
.palms-right{
  right: 0;
}

.water-home{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20%;
  z-index: 20;
  pointer-events: none;
  background:
    radial-gradient(
        ellipse 40% 100% at 50% 0%,
        hsla(40, 100%, 80%, .75) 0%,
        hsla(32, 95%, 65%, .45) 30%,
        hsla(30, 90%, 55%, .15) 55%,
        transparent 80%
    ),

    linear-gradient(
        to bottom,
        hsla(187, 60%, 67%, 1),
        hsl(204, 64%, 44%)
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 0.5%
    ); 
}

.water-home img{
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.25;
  object-fit: cover;
  object-position: center bottom;
  filter: url("#turbulence");
}

svg {
  /* display: block; */
  position: absolute;
  width: 0;
  height: 0;
  /* overflow: hidden; */
}


/* ____________ANIM CHARGEMENT____________ */

.sky-layer,
.dark-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sky-layer {
    transition: opacity 5s ease;
}

.sky--1 {
    background: radial-gradient(
        ellipse 140% 80% at 50% 100%,
        hsl(212 6% 54%),
        hsl(202 81% 23%)
    );
    opacity: 1;
}
.sky--2 {
    background: radial-gradient(
        ellipse 100% 100% at 50% 50%,
        hsl(20 92% 53%),
        hsl(202 81% 23%)
    );
    opacity: 0;
}
.home.loaded .sky--1 {
    opacity: 0;
}
.home.loaded .sky--2 {
    opacity: 1;
}

.logo, 
.navlist a, 
.tagline-home-h1,
.sub-tagline p,
.palms-left,
.palms-right{
  opacity: 0;
}


/* ____________DARK MODE____________ */

.dark-layer {
  z-index: 2;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, hsla(196, 30%, 62%), hsla(0, 0%, 4%));
  opacity: 0;
  transition: opacity .8s ease;
}
.dark-layer img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

body.dark .dark-layer {
    opacity: 1;
}

.sunglowing,
.moon{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(150px, 8vw + 1rem, 200px);
  height: clamp(150px, 8vw + 1rem, 200px);
  z-index: 4;
  border-radius: 50%;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.sunglowing {
  background: radial-gradient(
    circle at 35% 30%,
    #fff1c1,
    #ffc857 25%,
    #f9844a 50%,
    #e45756 75%,
    #9d4edd 100%
  );
  box-shadow:
  inset 0 0 60px #fff,
  inset 0 0 140px #ffb703,
  inset 0 0 250px #e45756,
  0 0 30px 10px #ffe29a,
  0 0 80px 25px #ffb703aa,
  0 0 160px 50px #e4575688,
  0 0 260px 90px #9d4edd55;
  filter: saturate(1.15) contrast(1.05);
  animation: sunrise 5s forwards;
}

body:not(.dark) .sunglowing { opacity: 0.75; }
body:not(.dark) .moon { opacity: 0; }
body.dark .sunglowing { opacity: 0; }
body.dark .moon { opacity: 1; }

@keyframes sunrise {
  0% {
    transform: translate(-50%, 100%) scale(0.1);
    box-shadow:
      inset 0 0 80px hsl(0, 100%, 70%),
      inset 0 0 150px hsl(0, 80%, 50%),
      inset 0 0 200px hsl(350, 90%, 40%),
      0 0 60px hsl(0, 100%, 60%),
      0 0 120px hsl(10, 90%, 50%),
      0 0 150px hsl(350, 80%, 45%);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
.moon {
  box-shadow:
    0 0 50px hsl(0, 0%, 100%),
    0 0 10px hsl(204, 78%, 66%),
    inset 0 0 80px hsla(0, 0%, 100%, 0.8),
    inset 0 0 30px hsla(204, 78%, 66%, 0.439);
  background: url('./assets/images/moon.png') center/cover no-repeat;
}


.tagline{
  position: relative;
  z-index: 26;
  pointer-events: none;
}
.tagline-home-h1,
.sub-tagline p{
  letter-spacing: 0.02em;
  word-spacing: 0.08em;
  color: var(--ivory);
  font-family: "Poetsen One", sans-serif;
}
.tagline-home-h1{
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 4.5rem);
  text-shadow: 0px 5px 10px hsla(0, 0%, 0%, 0.8);
  padding: 0 0.7rem;
  max-width: 1000px;
}
.sub-tagline{
  pointer-events: none;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 5vw, 8rem);
  z-index: 4;
  margin-bottom: 7%;
}
.sub-tagline p {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
} 
.sub-tagline p:nth-child(1) {
  text-shadow: 5px -5px 5px hsla(0, 0%, 0%, 0.8);
}
.sub-tagline p:nth-child(2){
  text-shadow: -5px -5px 5px hsla(0, 0%, 0%, 0.8);
}


/* _________________________________________________________________SECTION 2__________________________________________________________________ */

.section-water::before {
  content: "";
  position: absolute;
  inset:0;
  z-index: 0;
  background-image: url("assets/images/water-layer.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}


.gradient-water{
  background: linear-gradient(
    0deg,
    #217ebc,
    #2980b9
  );
  /* z-index: 10; */
  overflow-x: hidden; 
  position: relative;
}

body.dark .gradient-water{
  background: linear-gradient(
    0deg,
    #09101e,
    #2980b9
  );
}

.bubbles{
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bubbles span{
  position: absolute;
  display: block;
  border-radius: 50%;
  box-shadow: inset 5px 5px 10px rgba(255, 255, 255, 0.5);
  background: hsla(0, 0%, 100%, 0.1);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  bottom: -50px;
  /* backdrop-filter: blur(5px); */
  opacity: 0.08;
  animation: bubbles 30s linear infinite;
  pointer-events: none;
}
@keyframes bubbles{
  0%{
    transform: translateY(0);
  }
  99%{
    opacity: 0.08;
  }
  99.9%{
    opacity: 0.6;
  }
  100%{
    opacity: 0;
    transform: translateY(-310vh);
  }
}
.bubbles span:nth-child(1){
  left: 5%;
  width: 20px;
  height: 20px;
  animation-delay: 1s;
}
.bubbles span:nth-child(2){
  left: 7%;
  width: 15px;
  height: 15px;
  animation-delay: 3s;
}
.bubbles span:nth-child(3){
  left: 3%;
  width: 10px;
  height: 10px;
  animation-delay: 3.5s;
}
.bubbles span:nth-child(4){
  left: 10%;
  width: 18px;
  height: 18px;
  animation-delay: 0s;
}
.bubbles span:nth-child(5){
  left: 11%;
  width: 10px;
  height: 10px;
  animation-delay: 7s;
}
.bubbles span:nth-child(6){
  left: 25%;
  width: 20px;
  height: 20px;
  animation-delay: 9s;
}
.bubbles span:nth-child(7){
  left: 27%;
  width: 15px;
  height: 15px;
  animation-delay: 4s;
}
.bubbles span:nth-child(8){
  left: 26%;
  width: 10px;
  height: 10px;
  animation-delay: 3.5s;
}
.bubbles span:nth-child(9){
  left: 30%;
  width: 16px;
  height: 16px;
  animation-delay: 7.3s;
}
.bubbles span:nth-child(10){
  left: 35%;
  width: 5px;
  height: 5px;
  animation-delay: 6s;
}
.bubbles span:nth-child(11){
  left: 60%;
  width: 10px;
  height: 10px;
  animation-delay: 2.5s;
}
.bubbles span:nth-child(12){
  left: 62%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
}
.bubbles span:nth-child(13){
  left: 65%;
  width: 7px;
  height: 7px;
  animation-delay: 3s;
}
.bubbles span:nth-child(14){
  left: 85%;
  width: 20px;
  height: 20px;
  animation-delay: 7s;
}
.bubbles span:nth-child(15){
  left: 90%;
  width: 10px;
  height: 10px;
  animation-delay: 6s;
}
.bubbles span:nth-child(16){
  left: 93%;
  width: 8px;
  height: 8px;
  animation-delay: 4s;
}
.bubbles span:nth-child(17){
  left: 95%;
  width: 20px;
  height: 20px;
  animation-delay: 5s;
}
/* body.dark .bubbles span{
  box-shadow: inset 5px 5px 20px #63D2FF,
  0 0 5px hsla(200, 100%, 50%, 0.8),
   0 0 15px hsla(200, 100%, 50%, 0.7),
   0 0 30px hsla(200, 100%, 50%, 0.5);
  background: hsla(196, 74%, 88%, 0.1);
  border: px solid #05506e;
  opacity: 0.8;
} */

#prestations{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  overflow-y: hidden;
}
.medusa{
  position: absolute;
  height: auto;
}
.medusa1{
  width: 120px;
  opacity: 0.2;
  top: 8vh;
  left: 5vw;
}
.medusa2{
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 150px;
  opacity: 0.3;
}
.medusa3{
  right: 0;
  bottom: 0;
  width: 150px;
  opacity: 0.25;
}

body.dark .medusa1,
body.dark .medusa2,
body.dark .medusa3{
  filter:
    drop-shadow(0 0 5px hsla(200, 100%, 50%, 0.8))
    drop-shadow(0 0 15px hsla(200, 100%, 50%, 0.7))
    drop-shadow(0 0 30px hsla(200, 100%, 50%, 0.5));
}
body.dark .medusa1{
  opacity: 0.75;
}
body.dark .medusa2{
  opacity: 0.85;
}
body.dark .medusa3{
  opacity: 0.7;
}

.sect2-tagline{
  font-size: clamp(1.3rem, 2.5vw, 2.5rem);
  color: var(--ivory);
  font-family: "Poetsen One", sans-serif;
  /* -webkit-text-stroke: .5px rgba(0,0,0,.35); */
  text-shadow: 0px 3px 8px hsla(220, 54%, 8%, 0.8);
  letter-spacing: 0.02em;
  word-spacing: 0.08em;
  text-align: center;
}

.sect2-cards{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2%;
}

.sect2-cards .card {
  width: 23vw; 
  max-width: 350px; 
  height: clamp(35vh, 55vh, 60vh); 
  min-height: 280px;
  display: flex;
  flex-direction: column;
  background: rgba(10, 25, 45, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  box-shadow: 0 0 4px hsla(0, 0%, 100%, 0.76);
  padding: clamp(0.7rem, 0.8vw, 1rem) 0.7rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.55s ease;
}
.cards-content{
  width: 100%;
  min-height: 13%;
  opacity: 1;
  flex: 0 0 auto;
  container-type: inline-size;
}
.cards-content h2{
  font-size: 7.8cqw;
  color: var(--ivory);
  text-shadow: 0px 3px 5px hsla(220, 54%, 8%, 0.8);
  text-align: center;
}
.card .services{
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
  container-type: inline-size;
}
.card .services li {
  font-size: 7cqw;
  text-shadow: 0px 3px 5px hsla(220, 54%, 8%, 0.8);
  color: var(--light-blue);
}

.overlay-card{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    hsla(192, 52%, 39%, 0.4),
    hsla(300, 20%, 39%, 0.4)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}
.overlay-card img{
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.2;
}
.overlay-card-tagline{
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  font-family: "Poetsen One", sans-serif;
  color: var(--ivory);
  opacity: 1;
  text-align: center;
  letter-spacing: 0.02em;
  word-spacing: 0.08em;
}
.overlay-card-contact{
  font-size: clamp(0.9rem, 0.5vw + 0.65rem, 1.3rem);;
  color: var(--light-blue);
  text-align: center;
}

.sect2-cards .card:hover {
  box-shadow: 0 0 25px hsla(197, 100%, 69%, 0.5),
              0 0 50px hsla(0, 0%, 100%, 0.45);                   
}

.sect2-cards .card:hover .overlay-card {
  opacity: 1;
  visibility: visible;
}
.sect2-cards .card:hover .cards-content,
.sect2-cards .card:hover .services {
  opacity: 0;
}

.sect2-contact{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
}
.sect2-contact p{
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  color: var(--light-blue);
  font-family: "Poetsen One", sans-serif;
  /* -webkit-text-stroke: 0.25px rgba(0,0,0,.35); */
  text-shadow: 0px 3px 5px hsla(220, 54%, 8%, 0.8);
}
.sect2-contact a{
  font-size: clamp(0.7rem, 0.4vw + 0.65rem, 1rem);
  background: transparent;
  padding: 6px 12px;
  color: var(--light-blue);
  cursor: pointer;
  letter-spacing: 1px;
  border: 1px solid var(--blue);
  box-shadow: 0 0 4px hsla(0, 0%, 100%, 0.76);
  text-shadow: 0px 2px 4px hsla(0, 0%, 0%, 0.4);
  transition: color 0.35s ease,
              background 0.35s ease;
}
.sect2-contact a:hover {
  color: var(--ivory);
  background: var(--blue);
}


/* _________________________________________________________________SECTION 3__________________________________________________________________ */

#website{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.medusa4{
  top: 10%;
  left: 10%;
  width: 200px;
  opacity: 0.25;
}
.medusa5{
  top: 50%;
  left: 5%;
  width: 300px;
  opacity: 0.2;
}
.medusa6{
  top: 50%;
  right: 5%;
  width: 150px;
  opacity: 0.2;
}
body.dark .medusa4,
body.dark .medusa5,
body.dark .medusa6{
  filter:
    drop-shadow(0 0 5px #00f0ff)
    drop-shadow(0 0 15px rgba(0, 240, 255, 0.5))
    drop-shadow(0 0 30px rgba(0, 100, 255, 0.3));
}
body.dark .medusa4,
body.dark .medusa6{
  opacity: 0.8;
}
body.dark .medusa5{
  opacity: 0.9;
}

.sect3-taglines{
  text-align: center;
}
.sect3-taglines h1{
  color: var(--ivory);
  font-size: clamp(1.3rem, 2.5vw, 2.5rem);
  font-family: "Poetsen One", sans-serif;
  padding: 0 1.5rem;
  /* font-weight: 500; */
  /* -webkit-text-stroke: 0.5px rgba(0,0,0,.5); */
  text-shadow: 0px 3px 8px hsla(0, 0%, 0%, 0.8);
  /* max-width: 1000px; */
}

.sect3-cards{
  width: 100%;
  height: 55%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(0.5rem, 2.5vw, 4rem);
}

.sect3-card{
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px hsla(0, 0%, 0%, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  min-height:0;
  transition: box-shadow 0.55s ease;
  padding: 0 0.5% 0.5% 0.5%;
}
.sect3-card::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    box-shadow:0 0 25px #66dfff,
               0 0 50px rgba(255,255,255,.45);
    opacity:0;
    transition:opacity .55s ease;
    pointer-events:none;
}
.sect3-card:hover::before{
    opacity:1;
}
 

.frontend-card{
  width: clamp(350px, 20vw + 150px, 500px);
  border-radius: 15px;
  min-height: 40vh;
  transition: background 0.55s ease;
}

.sect3-card-title{
  width: 100%;
  height: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sect3-card-title h2{
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw + 0.5rem, 1.7rem);
  text-shadow: 0px 3px 5px hsla(0, 0%, 0%, 0.5);
}
.frontend-card-title h2{
  color: var(--ivory);
  border-radius: 50px;
  transition: background 0.55s ease;
}
.frontend-card-wrapper{
  flex:1;
  min-height:0;
  display: flex;
  justify-content: space-evenly;
  gap: 2%;
}
.card-panel{
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.frontend-card-techno{
  flex:0 0 30%;
  min-height:0;
  transition: background 0.55s ease;
}
.frontend-card-techno-h3,
.frontend-card-skills-h3{
  height: 15%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frontend-card-techno-h3 i{
  color: var(--light-blue);
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
}
.frontend-card-techno-list{
  flex:1;
  min-height:0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.frontend-card-techno-list li,
.frontend-card-skills-list li,
.backend-card-skills li{
  font-size: clamp(0.9rem, 0.5vw + 0.65rem, 1.3rem);
  color: var(--light-blue);
  font-weight: 300; 
  text-shadow: 0px 2px 4px hsla(0, 0%, 0%, 0.4);
}
.frontend-card-skills{
  flex:0 0 68%;
  min-height:0;
  text-align: center;
  transition: background 0.55s ease;
}
.frontend-card-skills-h3 img{
  width: clamp(2rem, 2.5vw, 2.8rem);
  height: clamp(2rem, 2.5vw, 2.8rem);
}
.frontend-card-skills-list{
  flex:1;
  min-height:0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.frontend-card:hover{
  background: rgba(255, 255, 255, 0.05);
}
.frontend-card:hover .frontend-card-techno,
.frontend-card:hover .frontend-card-skills{
  background: rgba(255, 255, 255, 0.2);
}

.backend-card{
  align-items: center;
  flex:0 1 clamp(270px,15vw,350px);
  min-height:0;
  border-radius: 10px;
  transition: background 0.55s ease;
}

.backend-card-title h2{
  text-align: center;
  color: var(--light-blue);
}

.backend-card p{
  text-align: center;
  color: var(--light-blue);
  padding: 0 10px 8% 10px;
  font-size: clamp(0.9rem, 0.50vw + 0.65rem, 1.3rem);
  text-shadow: 0px 2px 4px hsla(0, 0%, 0%, 0.4);
}
.backend-card-skills{
  width:98%;
  flex:1;
  min-height:0;
  justify-content: space-evenly;
  transition: background 0.55s ease;
}

.backend-card:hover{
  background: rgba(255, 255, 255, 0.05);
}
.backend-card:hover .backend-card-skills{
  background: rgba(255, 255, 255, 0.2);
} 

.site-demos-card{
  width: clamp(300px, 20vw, 450px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  transition: background 0.55s ease;
}

.site-demos-card h2{
  color: var(--ivory);
}
.site-demos-card-content{
  width: 100%;
  height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.site-demos-card-slider{
  width: 65%;
  height: 70%;
}
.swiper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.swiper-slide {
  border-radius: 25px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}
.swiper-slide img{
  height: 100%;
  width: auto;
  object-position: center;
  object-fit: contain;
}
.swiper-img-layer{
  position: absolute;
  inset: 0;
  background: hsla(192, 52%, 39%, 0.6);
  transition: background 0.55s ease;
}
.swiper-pagination{
  position:static !important;
}
.swiper-pagination-bullet{
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,.4);
    opacity: 1;
    transition: .3s;
}
.swiper-pagination-bullet-active{
    width: 28px;
    border-radius: 999px;
    background: #01b4fb;
}
.site-demos-card:hover{
  background: rgba(255, 255, 255, 0.05);
}
.site-demos-card:hover .swiper-img-layer{
  background: hsla(192, 52%, 39%, 0.2);
}

.sect3-subtaglines{
  display: flex;
  padding-inline:clamp(1rem,4vw,2.5rem);
  gap: clamp(0.8rem, 1.5vw, 1.8rem);
}

.sect3-methodology{
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
}
.sect3-methodology-seperator{
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  color: var(--light-blue);
  margin: auto;
}
.sect3-methodology-taglines{
  max-width: 15rem;
}
.sect3-methodology-taglines > :first-child{
  font-size: clamp(0.9rem, 0.5vw + 0.55rem, 1.3rem);
  color: var(--ivory);
  text-align: center;
  text-shadow: 0px 2px 5px hsla(0, 0%, 0%, 0.6);
}
.sect3-methodology-taglines > :last-child{
  font-size: clamp(0.5rem, 0.3vw + 0.5rem, 1.1rem);
  text-shadow: 0px 2px 4px hsla(0, 0%, 0%, 0.5);
  color: var(--light-blue);
  text-align: center;
}

.sect3-contact{
  height: 100%;
  flex:0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
}
.sect3-contact p{
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  color: var(--light-blue);
  font-family: "Poetsen One", sans-serif;
  /* -webkit-text-stroke: 0.25px rgba(0,0,0,.5); */
  text-shadow: 0px 3px 5px hsla(0, 0%, 0%, 0.6);
}

.sect3-contact a{
  font-size: clamp(0.7rem, 0.4vw + 0.65rem, 1rem);
  background: transparent;
  padding: 6px 12px;
  color: var(--light-blue);
  cursor: pointer;
  letter-spacing: 1px;
  border: 1px solid var(--blue);
  box-shadow: 0 0 4px hsla(0, 0%, 100%, 0.76);
  text-shadow: 0px 2px 4px hsla(0, 0%, 0%, 0.4);
  transition: background 0.35s ease,
              color 0.35s ease;
}
.sect3-contact a:hover {
  color: var(--ivory);
  background: var(--blue);
}


/* _________________________________________________________________SECTION 4__________________________________________________________________ */


#contacts{
  display: flex;
  flex-direction: column;
}

.jelly-comb1{
  top: 0;
  right: 0;
  opacity: 0.4;
  width: 200px;
}
.jelly-comb2{
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
  width: 300px;
}
.jelly-comb3{
  left: 18%;
  bottom: 5%;
  opacity: 0.3;
  width: 50px;
}
.jelly-comb4{
  left: 22%;
  bottom: 7%;
  opacity: 0.3;
  width: 60px;
}

body.dark .jelly-comb1,
body.dark .jelly-comb2,
body.dark .jelly-comb3,
body.dark .jelly-comb4{
  filter:
    drop-shadow(0 0 8px hsla(197, 100%, 69%, 0.895));
}
body.dark .jelly-comb1{
  opacity: 0.9;
}
body.dark .jelly-comb2{
  opacity: 0.8;
}
body.dark .jelly-comb3{
  opacity: 0.7;
}
body.dark .jelly-comb4{
  opacity: 0.6;
}

.sect4-contact-top-middle{
  width: 100%;
  height: 95%;
}
.sect4-contact-top{
  width: 100%;
  height: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2%, 3vw, 5%);
}


form{
  width: 25%;
  min-width: 350px;
  height: 80%;
  min-height: 430px;
   backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 4px hsla(0, 0%, 100%, 0.35);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 0.7rem clamp(0.5rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items:  center;
  justify-content: space-between;
  transition: background 0.5s ease;
  gap: 2%;
}

form.success2 {
  box-shadow: 0 0 50px hsla(0, 100%, 49%, 0.35);
}

form:hover{
  background: rgba(255, 255, 255, 0.2);
}
form h3{
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  color: var(--ivory);
  font-family: "Poetsen One", sans-serif;
  /* -webkit-text-stroke: 0.25px rgba(0,0,0,.5); */
  text-align: center;
  font-weight: 500;
  text-shadow: 0px 2px 4px hsla(0, 0%, 0%, 0.4);
}
.form-container{
  display: flex;
  flex-direction: column;
  width: 100%;
}
form label{
  color: var(--light-blue);
  font-size: clamp(0.8rem, 0.9vw, 1rem);
  /* font-size: 1rem; */
  font-weight: 300;
  text-align: center;
}
form input{
  width: 100%;
  margin: 0 auto;
  border-radius: 5px;
  padding: 5px 10px;
  border: 1px solid var(--blue);
  outline: none;
}
.form-details{
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
}
.form-message{
  flex: 1;
}
textarea{
  flex:1;
  height: auto;
  min-height:0;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid var(--blue);
  outline: none;
  resize: none;
}
textarea:focus, form input:focus{
  outline: 1px solid var(--blue);
  box-shadow: 0px 5px 8px hsla(0, 0%, 0%, 0.25);
}
form button{
  font-size: clamp(0.7rem, 0.4vw + 0.65rem, 1rem);
  background: transparent;
  text-shadow: 0px 2px 4px hsla(0, 0%, 0%, 0.4);
  padding: 6px 12px;
  color: var(--light-blue);
  cursor: pointer;
  letter-spacing: 1px;
  border: 1px solid var(--blue);
  margin-top: 0.7rem;
  box-shadow: 0 0 4px hsla(0, 0%, 100%, 0.76);
  transition: color 0.35s ease,
              background 0.35s ease;
}
form button:hover{
  color: var(--ivory);
  background: var(--blue);
}

form button.success{
  color: red;
  animation: blink 0.6s ease-in-out infinite alternate;
  transition: opacity 0.35s;
}
@keyframes blink {
  from{
    opacity: 1;
  }
  to{
    opacity: 0.3;
  }
}

.google-map{
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iframe-container{
  width: 100%;
  height: 80%;
  overflow: hidden;
  box-shadow: 0 0 4px hsla(0, 0%, 100%, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  position: relative;
}
iframe{
  width: 100%;
  height: 100%;
}
.google-map-layer{
  position: absolute;
  inset: 0;
  background: hsla(192, 52%, 39%, 0.6);
  pointer-events: none;
  transition: background 0.55s ease;
}
.iframe-container:hover .google-map-layer{
  background: hsla(192, 52%, 39%, 0.1);
}


.sect4-contact-middle{
  width: 100%;
  height: 25%;
  display: flex;
  align-items:center;
  justify-content:center;
  gap: clamp(2rem, 6vw, 8rem);
  padding: 0 0.5rem;
}

.sub-sect-contact{
  height: 100%;
}

.sect4-subtitles{
  height: clamp(5%, 15vw, 30%);
  display: flex;
  align-items: center;
  justify-content: center;  
  padding: 1rem 0;
}

.sect4-contact-me h1,
.work-areas h3,
.opening_hours h3,
.sect4-follow-me p{
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  color: var(--ivory);
  font-family: "Poetsen One", sans-serif;
  /* -webkit-text-stroke: 0.5px rgba(0,0,0,.5); */
  text-shadow: 0px 2px 4px hsla(0, 0%, 0%, 0.4);
  text-align: center;
  font-weight: 450;
}

.sect4-contact-container{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.sect4-phone, .sect4-email{
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sect4-phone i,
.sect4-email i,
.work-areas-infos-cities i,
.opening_hours-infos i{
  font-size: clamp(0.7rem, 0.4vw + 0.65rem, 1rem);
  border: 1px solid var(--blue);
  border-radius: 50px;
  padding: 0.7rem 0.8rem;
  color: var(--light-blue);
  z-index: 40;
  transition: all 0.5s ease;
}
.sect4-phone a, .sect4-email a,
.opening_hours-infos-details p,
.work-areas-infos-cities p{
  font-size: 1rem;
  /* font-size: clamp(0.7rem, 0.4vw + 0.65rem, 1rem); */
  text-shadow: 0px 2px 4px hsla(0, 0%, 0%, 0.5);
  color: var(--light-blue);
}
  
.sect4-phone a, .sect4-email a{
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.5s ease;
  border-bottom: 1px solid transparent;
}
.sect4-phone a:hover, .sect4-email a:hover,
.work-areas-infos-cities p:hover,
.opening_hours-infos-details p:hover{
  color: var(--blue);
}
.sect4-phone:has(a:hover) i,
.sect4-email:has(a:hover) i,
.work-areas-infos-cities:has(p:hover) i,
.opening_hours-infos:has(p:hover) i{
    background: var(--blue);
    box-shadow: 0 0 5px hsla(197, 100%, 69%, 0.5),
                0 0 10px hsla(0, 0%, 100%, 0.45);
    color: var(--ivory);
}


.sect4-pro-links{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.sect4-pro-links a{
  color: var(--light-blue);
  /* font-size: clamp(1.5rem, 1.5vw, 1.8rem); */
  font-size: 1.6rem;
  display: inline-block;
  position: relative;
  transition: all 0.55s ease;
  z-index: 40;
}
.sect4-pro-links a:hover{
  color: var(--blue);
}



.work-areas{
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.work-areas-infos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.work-areas-infos-cities{
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.work-areas-tagline{
  font-size: clamp(0.55rem, 0.25vw + 0.5rem, 0.85rem);
  color: var(--light-blue);
  margin-top: auto;
}

.opening_hours-infos{
  display:flex;
  align-items:center;
  gap: 1rem;
}

/* ___________________________________________________________________FOOTER________________________________________________________________ */


.footer{
  width: 100%;
  height: 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem clamp(0.5rem, 3vw, 2.5rem);
}

.copyright p{
  color: var(--light-blue);
  text-align: center;
  text-shadow: 0px 2px 4px hsla(0, 0%, 0%, 0.4);
  font-size: clamp(0.6rem, 0.8vw, 0.9rem);
}

.legal-mentions{
  display: flex;
  gap: clamp(1.5rem, 3.5vw, 4rem);
  text-shadow: 0px 2px 4px hsla(0, 0%, 0%, 0.4);
}
.legal-mentions button{
  font-size: clamp(0.6rem, 0.8vw, 0.9rem);
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--light-blue);
  transition: all 0.5s ease;
}
.legal-mentions button:hover{
  color: var(--blue);
}


.legal-modal,
.privacy-modal {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px hsla(0, 0%, 0%, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 2rem;
  max-width: 700px;
  width: 90%;
  margin: auto;
  container-type: inline-size;
}
.legal-modal::backdrop,
.privacy-modal::backdrop{
  background: rgba(0, 0, 0, 0.6);
}
.close-modal {
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  cursor: pointer;
  color: var(--ivory);
  font-size: 2.5rem;
  background: transparent;
  border: none;
}
.legal-modal h2,
.privacy-modal h2{
  text-align: center;
  color: var(--ivory);
  font-size: 4cqw;
}
.legal-section{
  margin-top: 1rem;
}
.legal-section h3, 
.legal-section p,
.legal-section li{
  color: var(--light-blue);
}
.legal-section h3{
  font-size: 3cqw;
}
.legal-section p,
.legal-section li{
  font-size: 2.5cqw;
}
.legal-section li{
  padding-left: 5%;
}


/* ___________________________________________________________________Responsive________________________________________________________________ */

@media (max-width: 1600px) {

  .sub-tagline{
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2%;
  } 
}

@media (min-width: 1025px) and (max-width: 1537px) and (max-height: 750px) {
  
  .sect2-cards .card{
    width: 18vw;
  }

  .sect3-card{
    height: 100%;
  }

  #contacts{
    min-height: 120vh;
  }
}

@media (max-width: 1024px) {

  #iconMenu{
    display: flex;
  }
  .navlist {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 50vh;
    background-color: hsla(0, 0%, 0%, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    transform:translateY(-100%);
    transition:transform .5s ease;
    gap: 0.3rem;
  }

  .navlist a {
    color: white;
    z-index: 10;
  }
  .navlist.open {
    transform:translateY(0);
  }

}

@media (max-width: 1032px) and (orientation: portrait) {

  .tagline-home-h1{
    font-size: clamp(1.5rem, 6.5vw, 3rem);
  }

  #prestations, #website{
    height: auto;
    padding: 2rem 0;
  }

  .sect2-cards,
  .sect3-cards{
    gap: 2.5rem;
    padding: 3.5rem 0;
  }

  .sub-tagline p,
  .sect2-tagline,
  .sect3-taglines h1{
    font-size: 4vw;
  }
  .sect2-contact{
    flex-direction: column;
    gap: 1.5rem;
  }
  .sect2-contact p,
  .sect3-contact p{
    font-size: 1.5rem;
  }
  .sect2-cards .card{ 
    width: 37%; 
    height: 39vh; 
  }
  
  .frontend-card{
    width: 50%;
  }
  .backend-card{
    max-width:33%;
  }
  .site-demos-card{
    width:70%;
    max-width: 300px;
  }
  .frontend-card-techno-list li,
  .frontend-card-skills-list li,
  .backend-card-skills li{
    font-size: 1rem;
    font-weight: 400;
  }

  .sect3-subtaglines{
    flex-direction: column;
    gap: 2rem;
  }
  .sect3-contact{
    gap: 1.5rem;
    padding-bottom: 3rem;
  }

  .sect4-contact-top h3,
  .sect4-subtitles :first-child{
    font-size: 1.25rem;
  }

  .work-areas-tagline{
    margin-top: 1.2rem;
  }
  .work-areas-tagline,
  .copyright p,
  .legal-mentions{
    font-size: 0.7rem;
  }
}

@media (min-width: 600px) and (max-width: 1035px) and (orientation: portrait){

  .palms-left{
  left: -175px;
  }
  .palms-right{
    right: -175px;
  }

}

@media (max-width: 600px) and (orientation: portrait) {

  #prestations, #website, #contacts, .sect4-contact-top{
    height: auto;
  }
  
  .palms-left{
    left: -230px;
  }
  .palms-right{
    right: -230px;
  }
  
  .sect2-tagline,
  .sect3-taglines h1{
    font-size: 6vw;
    padding: 6rem 1.5rem 0 1.5rem;
  }
  .sub-tagline p,
  .sect3-card-title h2{
    font-size: 5.5vw;
  }

  .sect2-cards .card{
    width: 70%;
    height: auto;
  }
  .card .services li,
  .cards-content h2{
    padding-bottom: 0.5rem;
  } 

  .frontend-card,
  .backend-card,
  .site-demos-card{
    min-width: 83%;
    min-height: 400px;
  }

  .sect3-methodology{
    display: none;
  } 

  .sect4-contact-top{
    height: 100vh;
    flex-direction: column;
    width: 100%;
  }
  form,
  .google-map{
    min-width: 90%;
  }

  .sect4-contact-top{
    height: auto;
    gap: 2rem;
  }

  .iframe-container{
    height: 400px;
  }

  .sect4-contact-middle{
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 2rem 0;
    align-items: flex-start;
  }

  .sect4-contact-me,
  .sect4-follow-me,
  .work-areas,
  .opening_hours{
    width: 45%;
  } 
  .sect4-contact-me{
    order: 3;
  }
  .sect4-follow-me{
    order: 4;
  }
  .work-areas{
    order: 2;
  }
  .opening_hours{
    order: 1;
  }

  @keyframes sunrise {
    0% {
      transform: translate(-50%, 100%) scale(0.1);
      }  
  }

}


@media (max-height: 500px) and (orientation: landscape){

   /* #prestations, #website{
    min-height: 170vh;
    overflow: hidden;
  } */
  #prestations{
    overflow: hidden;
    min-height: 150vh;
  }
  #website{
    overflow: hidden;
    padding: 3rem 0;
    min-height: 170vh;
  }
  #contacts{
    min-height: 200vh
  }

  .sect3-methodology{
    display: none;
  } 
  .frontend-card,
  .site-demos-card{
    max-width: 290px;
    max-height: 100%;
  }
  .backend-card{
    max-width: 20%;
    max-height: 100%;
  }
  .site-demos-card{
    max-width: 30%;
  }

  .work-areas-tagline{
    display: none;
  }
}


