@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Darker+Grotesque:wght@300..900&family=Gruppo&family=Manrope:wght@200..800&family=Modak&family=Noto+Serif+JP:wght@200..900&family=Orbitron:wght@400..900&family=Thasadith:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Dancing+Script:wght@400..700&family=Darker+Grotesque:wght@300..900&family=Gruppo&family=Manrope:wght@200..800&family=Modak&family=Noto+Serif+JP:wght@200..900&family=Orbitron:wght@400..900&family=Thasadith:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body{
  width: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(-45deg, #321142,#211449, #E6C4DC);
	background-size: 400% 400%;
	animation: gradient 5s ease infinite;
  color: #FEF8FC;
  font-family: Orbitron;
  margin: 0;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

nav {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  column-gap: 715px;
  color: #FEF8FC;
  padding-left: 30px;
  z-index: 10;
}

nav img{
  width: 10vw;
}

nav ul{
  display: flex;
  justify-content: space-between;
  gap: 40px;
  list-style-type: none;
}

a{
  text-decoration: none;
  color: #FEF8FC;
}

a:hover{
  color:#F6BFDF;
}

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #FEF8FC;
  text-shadow: 0px 4px 4px rgba(169, 135, 168, 0.50);
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.special{
  background: linear-gradient(258deg, #FEF8FC 50.38%, #959CED 57.59%, #321142 63.88%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Audiowide;
  font-size: 36px;
  font-weight: 400;
  line-height: normal;
  background-size: 400% 400%;
  animation: gradient 9s ease infinite;
}

#hero .animated-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(./images/galaxy.png);
  background-size: cover;
  background-attachment: fixed;
  z-index: -2;
}

#hero .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

#hero p{
  margin-bottom: 50px;
}

.button{
  display: inline-block;
  padding: 12px 20px;
  font-size: 1em;
  color: #ffffff;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.banner{
  background: radial-gradient(166.83% 76.19% at 50% 50%, #FEF8FC 0%, rgba(246, 191, 226, 0.50) 100%);
}

.banner:hover {
  background: radial-gradient(166.83% 76.19% at 50% 50%, #FEF8FC 0%, rgba(246, 191, 226, 0.831) 100%);
  box-shadow: 0 5px 15px rgb(216, 132, 184);
  color: #321142;
}

.primary{
  background:#E6C4DC;
  color: #FEF8FC;
}

.primary:hover{
  background: #F6BFDF;
  color: #FEF8FC;
  transform: scale(1.05);
}

#aboutme{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 150px 0;
}

h2{
  font-size: 3em;
}

.presentation{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aboutme-image{
  display: flex;
  justify-content: center;
  margin: 80px 0px 90px 0px;
}

.aboutme-image img{
  width: 25vw;
  height: 50vh;
  border-radius: 100%;
}

.aboutme-text{
  display: flex;
}

.aboutme-text ul{
  display: flex;
  flex-direction: column;
  row-gap: 25px;
  list-style-type: none;
}

.aboutme-text p{
  margin-bottom: 50px;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.star {
  position: absolute;
  width: 5px !important;
  height: 5px !important;
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%);
  clip-path: polygon(
    50% 0%, 
    61% 35%, 
    98% 35%, 
    68% 57%, 
    79% 91%, 
    50% 70%, 
    21% 91%, 
    32% 57%, 
    2% 35%, 
    39% 35%
  ); /* Forme étoilée */
  
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
              0 0 20px rgba(255, 255, 255, 0.5); /* Halo lumineux */
  opacity: 0;
  animation: twinkle 2s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.skills-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 200px;
}

h2,h3{
  font-family: Audiowide;
}

.cards-container{
  display: flex;
  margin: 45px 0px 120px 0px;
  gap: 80px;
}

.skill-card {
  perspective: 1000px;
  margin: 0 20px;
}

.card-inner {
  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.skill-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  border-radius: 15px;
}

.card-front {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-back {
  background-color: #FEF8FC;
  color: #211449;
  font-size: 14px;
  transform: rotateY(180deg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-left: -44px;
}

.card-back li{
  margin: 10px 0px 10px 0px;
}

.card-front h3 {
  font-size: 1.5rem;
  color: #FEF8FC;
  text-shadow: 
  0 0 5px #fcd0e9, 
  0 0 3px #fcd0e9, 
  0 0 10px #fcd0e9; 
}

.card-back p {
  font-size: 1rem;
  color: #555;
  padding: 10px;
}

#projects{
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(#A987A8, #F6BFDF);
}

.projects-container{
  height: 95vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 94px;
}

.card-project{
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  width: 20%;
  border-radius: 10px;
  color: #FEF8FC;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-project img{
  height: 27vh;
  width: 100%;
  object-fit: cover;
}

.card-project:hover{
  border: solid 1px linear-gradient(#946A43,#352823);
  transform: scale(1.1);
  box-shadow: #fcd0e9 0px 3px 15px 0px;
}


#temoignages {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 200px 0px 80px 0px;
}

.cards-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial-card {
  padding: 20px;
  width: 300px;
  position: relative;
  text-align: center;
  background: linear-gradient(#A987A8, #F6BFDF);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  margin-bottom: 10px;
  border: 2px solid #A987A8;
  object-fit: cover;
}

#temoignages h3{
  color: #FEF8FC;
}

.rating {
  font-size: 1.2em;
  color: #211449;
  margin-bottom: 10px;
}

.rating .fa-star {
  margin: 0 2px;
}

.comment {
  font-size: 0.95em;
  color: #FEF8FC;
  margin-top: 10px;
  font-style: italic;
}

footer {
  color: #FEF8FC;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.text-bloc {
  text-align: left;
  min-width: 250px;
}

.text-bloc h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
  text-shadow: 
  0 0 5px #fcd0e9, 
  0 0 3px #fcd0e9, 
  0 0 0px #fcd0e9;
}

.text-bloc p {
  line-height: 1.6;
  font-size: 13px;
  color: #FEF8FC;
}

.socials {
  margin-top: 15px;
}

.socials a {
  margin: 0 10px;
  font-size: 1.5em;
  color: #FEF8FC;
  transition: color 0.3s;
}

.socials a:hover {
  color: #F6BFDF;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #A987A8;
  padding-top: 10px;
  font-size: 9px;
  height: 0vh;
}


#scrollTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #E6C4DC;
  color: #FEF8FC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#scrollTop:hover {
  background: #F6BFDF;
  transform: scale(1.1);
}

#scrollTop.show {
  opacity: 1;
  visibility: visible;
}
