/*Global Font*/
h1,span,a{
    font-family: "Special Gothic Expanded One", sans-serif;
    font-weight: 600;
    font-style: bold;

}
h2{
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
p{
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}



/* Animation Header */
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.group {
    position: relative;
    display: inline-block;
    text-align: center;
}

.work-text {
    font-size: 6rem;
    font-weight: bold;
    transition: filter 0.3s ease, opacity 0.3s ease;
    z-index: 1; 
}

.group:hover .work-text {
    filter: blur(5px);
    opacity: 0.5;
}

.view-work {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    display: none; 
    z-index: 2;
}

.group:hover .view-work {
    display: block;
}

.marquee-text {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-text span {
    display: inline-block;
    padding: 0 32px;
    font-size: 2rem;
    font-weight: bold;
    animation: marquee 12s linear infinite; 
    transition: transform 0.3s ease, color 0.3s ease;
}

.marquee-text span:hover {
    color: #0800f0;
    transform: scale(1.2); 
}

.work-text, .marquee-text span {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.social-links a {
    font-size: 1.25rem;
    margin-bottom: 8px; 
  }



/* Animation pour faire arriver le texte depuis le bas */
@keyframes subtleSlideIn {
    0% {
      opacity: 0;
      transform: translateY(30px); 
    }
    100% {
      opacity: 1; 
      transform: translateY(0); 
    }
  }
   .text-4xl, .text-2xl, .font-bold {
    opacity: 0; 
    animation: subtleSlideIn 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  }


  .text-4xl {
    animation-delay: 0.6s;
  }
  .text-6xl {
    animation-delay: 0.7s;
  }
  
  .text-2xl {
    animation-delay: 0.9s; 
  }


/* Animation pour faire arriver les images avec un effet sobre et stylé */
@keyframes subtleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
section img {
    opacity: 0;
    animation: subtleFadeIn 1.2s ease-out forwards; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}







/* work.html */
/* Hover Effects */
.blck {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blck:hover {
    transform: scale(1.05); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); 
}



/*about.html*/

/* Image slider */
@keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  .animate-scroll {
    display: flex;
    animation: scroll 20s linear infinite;
    width: 200%; 
  }


/*contact.html*/
#toast-container {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    transition: opacity 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .work-text {
        font-size: 4rem;
    }

    .marquee-text span {
        font-size: 1.5rem;
    }

    .view-work {
        font-size: 1.2rem; 
    }
    .social-links a {
        font-size: 1.5rem; 
      }
}

@media (max-width: 480px) {
    .work-text {
        font-size: 3rem; 
    }

    .marquee-text span {
        font-size: 1.2rem; 
        padding: 0 16px; 
    }

    .view-work {
        font-size: 1rem; 
    }

    .group {
        padding: 8px; 
    }

    .social-links a {
        font-size: 1.25rem; 
    }
}