@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

:root {
  --bg-gradient-color: rgb(238, 174, 202);
  --my-gradient: radial-gradient(circle, rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1)100%);
  --text-color: #FEF7FB;
  --main-color: #CF91D8;
  --span-color: #CF91D8;



}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-gradient-color);
  background: var(--my-gradient);
  color: var(--main-color);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 3rem 9%;
  /* background: #ae8a68; */
  backdrop-filter: blur(10%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3rem;
  color: var(--main-color);
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}


.logo:hover {
  transform: scale(1.3);
}

.navbar a {
  font-size: 1.8rem;
  color: white;
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a.active {
  color: var(--main-color);
  border-bottom: 3px solid var(--main-color);
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}

.home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
  padding: 20rem 3% 2rem;

}

.home_content h3 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-color)
}

span {
  color: var(--main-color);
}

.logo span {
  color: var(--span-color);
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 2rem;
  font-size: 5rem;
}

.home_content h1 {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1.3;
}

.home_img {
  border-radius: 50%;
  margin-top: 20px;


}

.home_img img {
  position: relative;
  width: 50rem;
  height: 50rem;
  border-radius: 200%;
  box-shadow: 0 0 25px var(--main-color);
  cursor: pointer;

}

.home_content p {
  font-size: 1.8rem;
  font-weight: 500;
}

.socials-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  font-size: 2rem;
  border-radius: 50%;
  color: var(--main-color);
  margin: 2rem 1.5rem 3rem 0;
  transition: 0.3s ease;
}

.socials-icons a:hover {
  color: white;
  transform: scale(1.3)translateY(-5px);
  background-color: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
}

.btn {
  display: inline-block;
  padding: 1rem, 2.8rem;
  background: var(--bg-color);
  border-radius: 4rem;
  font-size: 1.6rem;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  letter-spacing: 0.1rem;
  font-weight: 600;
  transition: 0.3s ease;
  cursor: pointer;
  padding-left: 1rem;
  padding-right: 1rem;
}

.btn:hover {
  transform: scale(1.05);
  background: var(--main-color);
  color: var(--text-color);
  box-shadow: 0 0 25px var(--main-color);
}

.text-animation {
  font-weight: 700;
  text-align: center;
  font-size: 80px;
  font-family: Hack, sans-serif;
  text-transform: uppercase;
  background: linear-gradient(90deg, #CF91D8, #fff, #CF91D8);
  letter-spacing: 5px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  will-change: transform;
  background-repeat: no-repeat;
  background-size: 80%;
  animation: shine 5s linear infinite;
  position: relative;
}

@keyframes shine {
  0% {
    background-position-x: -500%;
  }

  100% {
    background-position-x: 500%;
  }
}


.heading {
  text-align: center;
  font-size: 8rem;
  transition: 0.3s ease;
  padding-bottom: 10rem;


}
.heading-square {
  width:80%;
}

.heading_box {
  /* width: 80%; */
  background: rgba(217, 217, 217, 0.175);
  border: 1px solid rgba(217, 217, 217, 0.8);
  padding: 4%;
  border-radius: 12px;
  box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072),
    0 41.8px 33.4px rgba(217, 217, 217, 0.086),
    0 100px 80px rgba(217, 217, 217, 0.12);

}

.heading_text {
  text-align: center;
  font-size: 1.7rem;
  line-height: 1.8;
  color: var(--text-color);
}

.heading_text1 {
  text-align: center;
  font-size: 1.7rem;
  line-height: 1.8;
  color: var(--text-color);
  padding-top: 25px;
}

.about {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  margin-top: 10%;

}

.neon_text {
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
  padding-top: 15px;
  color: #fff;
  text-shadow:
    0 0 7px #CF91D8,
    0 0 10px #CF91D8,
    0 0 21px #CF91D8,
    0 0 42px #CF91D8,
    0 0 82px #CF91D8,
    0 0 92px #CF91D8,
    0 0 102px #CF91D8,
    0 0 151px #CF91D8;
  text-shadow: [x-offset] [y-offset] [blur-radius] [color];
}



/* button cv */
.cv {
  margin-top: 5%;
}

a .button {
  cursor: pointer;
  width: 160px;
  height: 50px;
  border-radius: 20px;
  color: violet;
  border: 2px solid violet;
  transition: all 0.6s ease;

  background: rgba(255, 255, 255, 0.167);
}

.button:hover {
  box-shadow: rgba(240, 46, 170, 0.4) 0px 5px, rgba(240, 46, 170, 0.3) 0px 10px,
    rgba(240, 46, 170, 0.2) 0px 15px, rgba(240, 46, 170, 0.1) 0px 20px,
    rgba(240, 46, 170, 0.05) 0px 25px;
}

.button:active {
  box-shadow: none;
}


#projects {
  /* background-color: var(--second-bg-color);  */
  min-height: 100vh;
  padding: 5%;
}

.projects h3 {
  margin-bottom: 8rem;
}

.projects-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;

}

.projects-container .projects-box {
  flex: 1 1 40rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--main-color);
  padding: 3rem 2rem 4rem;
  height: 550px;
  border-radius: 2rem;
  border: 3px solid transparent;
  cursor: pointer;
  transition: 0.5s;
}

.projects-container .projects-box:hover {
  transform: scale(1.02);
  background-color: #FFDCE1;
  color: var(--text-color);
}

.projects-box i {
  font-size: 7rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.projects-box h3 {
  font-size: 2.6rem;
}

.projects-box p {
  font-size: 2rem;
  margin: 1rem 0 3rem;

}

::-webkit-scrollbar {
  /* pour la bar de scroll */
  width: 15px;
}

::-webkit-scrollbar-thumb {
  /* la poignée de defilement */
  background-color: var(--main-color);

}

::-webkit-scrollbar-track {
  /* la progress bar de la scroll bar */
  background-color: var(--bg-color);
  width: 50px;
}

/* Skills Section */

#skills {
  padding: 5%;
  margin-top: 10%;

}

.heading {
  margin-bottom: 25px;
}

ul {
  list-style: none;

}

.example-1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.example-1 .icon-content {
  margin: 0 10px;
  position: relative;
}

.example-1 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}

.example-1 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

.example-1 .icon-content .link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.example-1 .icon-content .link:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-1 .icon-content .link svg {
  width: 60px;
  height: 50px;
}

.example-1 .icon-content .link[data-social="javascript"

]:hover {
  color: #1db954;
}

.example-1 .icon-content .link[data-social="pinterest"]:hover {
  color: #bd081c;
}

.example-1 .icon-content .link[data-social="dribbble"]:hover {
  color: #ea4c89;
}

.example-1 .icon-content .link[data-social="telegram"]:hover {
  color: #0088cc;
}

/* Animation contact */
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* background-color: var(--second-bg-color); */
  padding: 10%;
  min-height: 60vh;
}

.content {
  position: relative;


}

.content h2 {
  color: #fff;
  font-size: 4em;
  position: absolute;
  transform: translate(-50%, -50%);


}

.content h2:nth-child(1) {
  color: transparent;
  -webkit-text-stroke: 2px var(--span-color);

}

.content h2:nth-child(2) {
  color: var(--span-color);
  animation: animate 4s ease-in-out infinite;
}

@keyframes animate {

  0%,
  100% {
    clip-path: polygon(0% 45%,
        16% 44%,
        33% 50%,
        54% 60%,
        70% 61%,
        84% 59%,
        100% 52%,
        100% 100%,
        0% 100%);
  }

  50% {
    clip-path: polygon(0% 60%,
        15% 65%,
        34% 66%,
        51% 62%,
        67% 50%,
        84% 45%,
        100% 46%,
        100% 100%,
        0% 100%);
  }
}





/**
 * Paper Plane
 */
/*Paper Plane: Container*/
.plane-container {
  width: 200px;
  margin: 0px auto;
  z-index: 3;
}

/*Paper Plane: Image*/
.plane {
  width: 100%;
  height: 60px;
}

/*Paper Plane: Animation*/
.plane-container {
  -webkit-animation: paper-plane-scoping 2s alternate infinite;
  -moz-animation: paper-plane-scoping 2s alternate infinite;
  animation: paper-plane-scoping 2s alternate infinite;

  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  animation-timing-function: linear;
}

@-webkit-keyframes paper-plane-scoping {
  0% {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
  }

  100% {
    -webkit-transform: translateY(100px);
    -moz-transform: translateY(100px);
    transform: translateY(100px);
  }
}

.plane {
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;

  -webkit-animation: paper-plane-soaring 4s forwards infinite;
  -moz-animation: paper-plane-soaring 4s forwards infinite;
  animation: paper-plane-soaring 4s forwards infinite;
}

@-webkit-keyframes paper-plane-soaring {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  40% {
    -webkit-transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    transform: rotate(15deg);
  }

  50% {
    -webkit-transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    transform: rotate(15deg);
  }

  60% {
    -webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }

  70% {
    -webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }

  100% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}



.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  padding: 40px 0;
  /* background-color: var(--border-color);  */



}

.footer .socials {
  text-align: center;
  padding-bottom: 25px;
  color: white;

}

.footer .socials a {
  font-size: 25px;
  color: white;
  border: 2px solid white;
  width: 42px;
  height: 42px;
  line-height: 42px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 10px;
  transition: 0.3 ease;
}

.footer .socials a:hover {
  transform: scale(1.2)translateY(-10px);
  background-color: white;
  color: var(--main-color)
}

.footer ul {
  margin-top: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: center;
}

.footer ul li a {
  color: white;
  border-bottom: 3px solid transparent;
  transition: 0.3s ease;
}

.footer ul li a:hover {
  border-bottom: 3px solid var(--main-color);

}

.footer ul li {
  display: inline-block;
  padding: 0 15px;
}

.footer .copyright {
  margin-top: 50px;
  text-align: center;
  font-size: 16px;
  color: white;
}

@media(max-width: 1200px) {
  html {
    font-size: 55%;

  }

  .project-container {
    padding-bottom: 7rem;
    grid-template-columns: repeat(1, 1fr);
    margin: 0 5rem;

  }

  .projects-box {
    /* width : 20rem; */
    height: 50px;
  }
}

@media (max-width: 1000px) {
  header {
    padding: 2rem 3%;
  }




  section {
    padding: 10rem 3% 2rem;
  }

  .services {
    padding-bottom: 7rem;
  }

  .footer {
    padding: 2rem 3%;
  }



}

@media (max-width: 955px) {
  #menu-icon {
    display: block;
    color: var(--main-color)
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 40%;

    border-left: 3px solid var(--main-color);
    border-bottom: 3px solid var(--main-color);
    border-bottom-left-radius: 2em;
    padding: 1rem 3%;
    background: var(--second-bg-color);
    border-top: 3px solid var(--main-color);
    display: none;

    /* blur with supports */
    backdrop-filter: blur(10px);
    will-change: transform;
    -moz-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

  }

  .navbar.active {
    display: block;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;

  }

  .home {
    flex-direction: column;
    margin: 4rem 5rem;

    min-height: 50vh;
    padding: 2rem 3%;
  }

  .home-content h3 {

    font-size: 2.6rem;

  }

  .home-content h1 {
    font-size: 5rem;
  }

  .home-img img {
    width: 70vh;
    margin-top: 4rem;
  }

  .services h2 {
    margin-bottom: 3rem;
  }

  .projects h2 {
    margin-bottom: 3rem;
  }


}

@media (max-width: 35em) {

  .skills-container>div {
    display: flex;
    justify-content: center;


  }

  .skills-container>div>ul {
    flex-direction: column;
    gap: 10px;


  }

  .contact>.content {

    width: fit-content;
  }

  .contact>.content h2 {
    font-size: 3em;
  }

  .projects-container {
    color: var(--text-color);
  }


  .home_img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2%;

  }

  .home_img {
    margin-top: 70px;

  }

  .home_img img {
    width: 80%;
    height: auto;
    


  }

  .projects-container .projects-box {
    background: #DD93C2;
    color: var(--text-color);
    width: 30rem;
    height: 40rem;

  }



}