@font-face { /*titre*/
  font-family: 'Orbi';
  src: url('../fonts/orbitron/Orbitron-Regular.ttf') format('truetype');
}

@font-face { /*text*/
  font-family: 'Jet';
  src: url('../fonts/JetBrainsMono-2.304/JetBrainsMonoNL-Regular.ttf') format('truetype');
}

*{
    padding: 0;
    margin: 0;
    color: aliceblue;
    
}

h1, h2, h3{
    font-family: "Orbi";
}

p{
  font-family: 'Jet';
  text-align: justify;
}

.menu{
    color: aliceblue;
    background-color: black;
    filter:opacity(80%);
    display: flex;
    justify-content:space-around;
    height: 80px;
    align-items: center;
    font-family: "Orbi";
    position: fixed;
    z-index: 100;
    width: 100%;
}

.menuButtons{
    display: flex;
    justify-content: space-around;
    width: 50%;
}

.home{
    font-size: 1.6rem;
}

nav a {
  position: relative;
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-size: 1.2rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: rgb(255, 255, 255);

  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


.menuButtons a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}


a{
    text-decoration: none;
    color: aliceblue;
}


#main {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: #0a0f1c;
}

.video-bg {
  position: absolute;
  inset: 0; /* top:0 left:0 right:0 bottom:0 */
  z-index: 0;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#main h1,
#main h2 {
  position: relative;
  z-index: 1;
  color: aliceblue;
  
}

#main h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

#main h2 {
    font-size: clamp(1rem, 3vw, 2rem);
}

.video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.photo > img{
  width: 200px;
  border-radius: 16px;
}

#aboutme{
    display: flex;
    background-color: #0a0f1c;
    align-items: center;
    justify-content:center;

}

.moi{
  width: 30%;
  margin: 5%;
  text-align: justify;
}

.moi > h2{
    justify-self: center;
    text-decoration: underline;
    margin: 5%;
    
}


body {
  cursor: none;
}



canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}


#skills{
  background-color: #0a0f1c;
}



.card > p{
  text-align: left;
}

.cards {
  display: flex;
  justify-content:center;
  gap: 20px;
  padding: 10px;
}

.card {
  background: rgba(20, 30, 60, 0.5) !important;
  border: 1px solid rgba(100, 150, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  width: 250px;
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  height: 20vh;
}

.card:hover {
  transform: translateY(-5px);
  border: 1px solid #2f6bff;
  box-shadow: 0 0 20px rgba(47, 107, 255, 0.3);
}


.icon {
  width: 50px;
  height: 50px;
  border: 1px solid #2f6bff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;

  box-shadow: 0 0 10px rgba(47, 107, 255, 0.3);
}

.card h3 {
  margin-bottom: 10px;
  color: aliceblue;
}

.card p {
  color: #a0a8c0;
  font-size: 0.9rem;
}

i {
  font-size: 35px;
}

.space{
  background-color: #0a0f1c;
  padding: 30px;
}


.formation{
  background: #0a0f1c;
  color: white;
  display: flex;
  justify-content: center;
}

.formation > h3{
  padding-bottom: 100px;
}

.timeline {
  position: relative;
  padding: 50px;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.2);
}

.dot {
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  border: 3px solid #2f6bff;
  border-radius: 50%;
  border-color: #2f6bff;
  background: #0a0f1c;
  box-shadow: 0 0 10px #2f6bff;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.content {
  margin-left: 40px;
}

.content h4 {
  margin: 0;
}

.content span {
  color: gray;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.content p {
  margin: 0;
}


#projets{
  background-color: #0a0f1c;
}


.carousel-inner{
  display: flex !important;

}

.titre-projet{
  margin:5% 0 5% 20%;
}



.contact{
  background-color: #0a0f1c;
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

#contact{
  background-color: #0a0f1c;
}

.titre-contact{
  padding:3% 0 5% 0;
  font-size: 35px;
}

.fiche-contact{
  background: rgba(20, 30, 60, 0.5) ;
  width: 50%;
  display: flex;
  justify-self: center;
  justify-content: center;
  border: 1px solid rgba(100, 150, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  flex-direction: column;
  align-items: center;
}

.info-contact > *{
  font-size: 20px;
  color: aliceblue;
  display: flex;
  padding: 25px;
  margin: 0;

}



footer{

    color: aliceblue;
    background-color: black;
    filter:opacity(90%);
    display: flex;
    justify-content:center;
    align-items: center;
    height: 100px;
}