@font-face {
  font-family: 'integral-bold';
  src: url("font/IntegralCF-Bold.ttf");
}

@font-face {
  font-family: 'integral-medium';
  src: url("font/IntegralCF-Medium.ttf");
}

@font-face {
  font-family: 'integral-regular';
  src: url("font/IntegralCF-Regular.ttf");
}

@font-face {
  font-family: 'integral-demi-bold';
  src: url("font/IntegralCF-DemiBold.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bg {
  background: linear-gradient(200deg, rgb(210, 224, 253), 70%, rgb(94, 65, 255));
  z-index: 0;
}

body {
  background-color: #000000;
}

::selection {
  background-color: #cfbcfd;
  color: black;
}


.navbar {
  z-index: 99;
  background: rgba(81, 81, 81, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 50px;
}

.navbar a {
  text-decoration: none;
  margin-left: 80px;
  margin-right: 80px;
  text-align: center;
  color: white;
  font-size: 16px;
  font-family: 'integral-bold', 'sans-serif';
  position: relative;
  list-style-type: none;
  transition: color 0.5s ease;
  padding: 5px 10px;
  margin: 0 30px;
}

.navbar a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.5s ease;
}

.navbar a:hover::after {
  width: 100%;
}



@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 10px;
  }

  .navbar a {
    margin: 10px 0;
    font-size: 14px;
  }

}



.section-1 {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);

}

.section-1 h1 {
  font-family: 'integral-bold', 'sans-serif';
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 190px;
  font-size: 17vw;
  padding-bottom: 210px;
  /**/
  text-align: center;
}

.underline {
  text-decoration: underline;

}





.animated-title {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 64px;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.animated-title span {
  display: inline-block;
  opacity: 0;
  animation: typing 0.3s forwards;
}

.animated-title .underline {
  text-decoration: underline;
}

@keyframes typing {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.animated-title span:nth-child(1) {
  animation-delay: 0.1s;
}

.animated-title span:nth-child(2) {
  animation-delay: 0.4s;
}

.animated-title span:nth-child(3) {
  animation-delay: 0.7s;
}

.animated-title span:nth-child(4) {
  animation-delay: 1s;
}

.animated-title span:nth-child(5) {
  animation-delay: 1.8s;
}

/* Curseur */
.cursor {
  display: inline-block;
  width: 2px;
  height: 100%;
  background: black;
  animation: blink 0.75s steps(1) infinite;
  margin-left: 2px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}









.projets h1 {
  font-family: 'integral-bold', 'sans-serif';
  margin-left: 40px;
  margin-right: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
  font-size: 50px;
}



.portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  grid-auto-rows: 3px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}




.project {
  background-color: #f0f0f0;
  font-family: 'integral-demi-bold', 'sans-serif';
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: black;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  grid-row: span 30;
}



.animate-project {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}



.project:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.project:nth-child(2n) {
  grid-row: span 15;
}

.project:nth-child(3n) {
  grid-row: span 15;
}


.project a:hover {
  transform: translateY(20px);

}


.contact {
  background-image: url("img/bg_footer.svg");
  background-size: cover;
}

.contact h1 {
  color: white;
  font-family: 'integral-bold', 'sans-serif';
  margin-left: 40px;
  margin-right: 40px;
  margin-top: 100px;
  font-size: 50px;
  padding-bottom: 100px;
}





.foot {
  background: none;
}



.footer-navbar {
  z-index: 99;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 50px;
  margin-top: 40px;
  background-color: #000000;
  margin-bottom: 30px;
  margin-top: 0px;
}

.footer-navbar a {
  text-decoration: none;
  margin-left: 80px;
  margin-right: 80px;
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-family: 'integral-bold', 'sans-serif';
  position: relative;
  list-style-type: none;
  transition: color 0.5s ease;
  padding: 5px 10px;
  margin: 0 30px;
}



.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  background-color: #000000;
  padding-top: 0px;
  padding-bottom: 50px;

}

.circle1,
.circle2,
.circle3 {
  font-size: 33px;
  text-decoration: none;
  color: black;
  display: inline-flex;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s;
  box-shadow: 0 3px 8px rgba(208, 0, 236, 0.1);
}

.circle4 {
  font-size: 33px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  display: inline-flex;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(63, 63, 63, 0.974);
  justify-content: center;
  align-items: center;
  transition: transform 0.5s;
  box-shadow: 0 3px 8px rgba(208, 0, 236, 0.1);
}

.circle1:hover {
  color: #4166c1;
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
}

.circle2:hover {
  color: #d85745;
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
}

.circle3:hover {
  color: #7fca63;
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
}

.circle4:hover {
  color: #ffffff;
  transform: scale(1.4);
  transition: 0.3s;
}


.formulaire {
  background: #1d1d1d;
  margin: 40px;
  margin-top: 0px;
  margin-left: 300px;
  margin-right: 300px;
  margin-bottom: 0px;
  padding: 40px;
  padding-bottom: 40px;
  border-radius: 30px;
  font-family: 'integral-medium', 'sans-serif';
  color: white;
  box-shadow: white 0px 1px 10px;
  z-index: 99;
}


.bg_formulaire {
  background: #000000;
  padding-bottom: 40px;
}

@media screen and (max-width: 1100px) {
  .formulaire {
    margin-left: 40px;
    margin-right: 40px;
  }
}



label {
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #aaa;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
}

input::placeholder,
textarea::placeholder {
  font-family: 'integral-regular', 'sans-serif';
}


input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #666;
  outline: none;
}

button {
  font-family: 'integral-regular', 'sans-serif';
  background-color: #555;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}


button:hover {
  background-color: #777;
}




@media screen and (max-width: 768px) {

  .portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
}