* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: #000000;
    background: linear-gradient(24deg, rgba(0, 0, 0, 1) 0%, rgba(16, 38, 8, 1) 100%);
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;
}
/* CONTAINER */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    z-index: 999;
}

header h1 a {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

header h1:hover {
    color: #a7a7a7;
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
}

nav a {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

nav a:hover {
    color: #a7a7a7;
}

.btn-contact {
    background-color: #a7a7a7;
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 15px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.btn-contact:hover {
    background-color: white;
}

/* FOOTER */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 5rem;
    z-index: 999;
    border-top: 0.1px solid rgb(167, 167, 167, 0.1);
}

/* MAIN */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}

/* CONTENT*/
.content {
    max-width: 40rem;
    margin-left: 10%;
    z-index: 999;
}

.tag-box {
    position: relative;
    width: 10rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #e7e7e7, #E882E5, #C43DB2, #e7e7e7);
    background-size: 200%;
    animation: animationGradient 2.0s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes animationGradient {
    to {
        background-position: 200%;
    }
}

.tag-box .tag {
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
    cursor: pointer;
}

.tag-box .tag:hover {
    color: #3CA668;
}

.description {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    max-width: 35rem;
    color: gray;
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-me-decouvrir {
    text-decoration: none;
    color: #E882E5;
    border: 1px solid #2a2a2a;
    padding: 0.6rem 2.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}

.btn-me-decouvrir:hover {
    background-color: #1a1a1a;
}

.btn-mes-projets {
    text-decoration: none;
    background-color: lightgray;
    color: black;
    padding: 0.6rem 2.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}

.btn-mes-projets:hover {
    background-color: gray;
}

.chips-3d {
    position: absolute;
    top: 0;
    right: -20%;
    pointer-events: none;
}

.texte-rotatif {
    position: relative;
    height: 1.5em;
    overflow: hidden;
    font-size: 2.5rem;
    color: white;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 128, 0.418);
}

.texte-rotatif span {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20%);
    animation: fade 9s infinite;
    animation-timing-function: ease-in-out;
}

.texte-rotatif span:nth-child(1) {
    animation-delay: 0s;
}

.texte-rotatif span:nth-child(2) {
    animation-delay: 3s;
}

.texte-rotatif span:nth-child(3) {
    animation-delay: 6s;
}


@keyframes fade {
  0%, 15% { 
    opacity: 0; 
    transform: translateY(20%); /* départ légèrement en dessous */
  }
  15%, 33% {
    opacity: 1; 
    transform: translateY(0); /* texte à sa position normale */
  }
  33%, 100% {
    opacity: 0; 
    transform: translateY(-20%); /* disparaît vers le haut */
  }
}

.wrapper {
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-container {
    height: 40vh;
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
}

.card {
    width: 80px;
    border-radius: .75rem;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2rem;
    margin: 0 10px;
    display: flex;
    align-items: flex-end;
    transition: .6s cubic-bezier(.28,-0.03,0,.99);
    box-shadow: 0px 10px 30px -5px rgba(0,0,0,0.8);
}

.card > .row {
    color: white;
    display: flex;
    flex-wrap: nowrap;
}

.card > .row > .icon {
    background: #223;
    color: white;
    border-radius: 50%;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
}

.card > .row > .description {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    height: 80px;
    width: 520px;
    opacity: 0;
    transform: translateY(30px);
    transition-delay: .3s;
    transition: all .3s ease;
}

.description p {
    color: white;
    padding-top: 5px;
}

.description h4 {
    color: white;
    text-transform: uppercase;
}

input {
    display: none;
}

input:checked + label {
    width: 600px;
}

input:checked + label .description {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.card[for="c1-1"] {
    background-image: url('./assets/first_3D_game_cover.png');
}
.card[for="c1-2"] {
    background-image: url('./assets/videoframe_0\ \(1\).png');
}
.card[for="c1-3"] {
    background-image: url('./assets/videoframe_0.png');
}

.card[for="c2-1"] {
    background-image: url('./assets/accueil_skyrage.png');
}
.card[for="c2-2"] {
    background-image: url('./assets/vue_godot_skyrage.png');
}
.card[for="c2-3"] {
    background-image: url('./assets/vue_jeu_skyrage.png');
}

.card[for="c3-1"] {
    background-image: url('./assets/scriptpy.png');
}
.card[for="c3-2"] {
    background-image: url('./assets/image.png');
}
.card[for="c3-3"] {
    background-image: url('./assets/image1.png');
}

.card[for="c4-1"] {
    background-image: url('./assets/gameplay.png');
}
.card[for="c4-2"] {
    background-image: url('./assets/Affiche.png');
}
.card[for="c4-3"] {
    background-image: url('./assets/screenUE.png');
}

.card-section {
    display: flex;
    align-items: center;
    border: 2px solid grey;
    border-radius: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    gap: 2rem;
}

.section-text {
    flex: 1;
    padding-right: 2rem;
}

.mes-projets {
    text-align: center;
    font-size: 75px;
}

.mon-parcours {
    text-align: center;
    font-size: 75px;
}

.ImgBorder {
    border-radius: 50%;
}

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400&display=swap');
.design-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: linear-gradient(24deg, rgba(0, 0, 0, 1) 0%, rgba(16, 38, 8, 1) 100%);
  padding: 100px 0;
  font-family: Jost;
}

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

.timeline {
  width: 80%;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.timeline-content {
  padding: 20px;
  background: #1f1f1f;
  -webkit-box-shadow: 5px 5px 10px #1a1a1a, -5px -5px 10px #242424;
          box-shadow: 5px 5px 10px #1a1a1a, -5px -5px 10px #242424;
  border-radius: 5px;
  color: white;
  padding: 1.75rem;
  transition: 0.4s ease;
  overflow-wrap: break-word !important;
  margin: 1rem;
  margin-bottom: 20px;
  border-radius: 6px;
}

.timeline-component {
  margin: 0px 20px 20px 20px;
}

@media screen and (min-width: 768px) {
  .timeline {
    display: grid;
    grid-template-columns: 1fr 3px 1fr;
  }
  .timeline-middle {
    position: relative;
    background-image: linear-gradient(45deg, #F27121, #E94057, #8A2387);
    width: 3px;
    height: 100%;
  }
  .main-middle {
    opacity: 0;
  }
  .timeline-circle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-image: linear-gradient(45deg, #F27121, #E94057, #8A2387);
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

.content180 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 2rem;
}