/* styles.css */
body {
    background-color: white;
    color: black;
    font-family: 'Lato';
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    font-weight: 650;
}


        
        
.protitle {
    color: #FA4918;
    margin-top: 10%;
    width: 100%; /* Garde la largeur de la barre */
    display: flex; /* Active le flexbox */
    align-items: center; /* Centre verticalement */
    justify-content: center; /* Centre horizontalement */
    height: 40px;
}

.planet {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 0%;
    z-index: -1;
}

  
.circle {
    position: fixed;
    left: 0%;
    width: 600px;
    height: 600px;
    border-radius: 100%;
    
}
 
.project {
    position: fixed;
    top: 50%;
    left: 0%;
    width: 140px;
    height: 40px;
    background: whitesmoke;
    border: 2px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform-origin: center center; /* Assure que les rotations sont centrées */
    transition: all 0.5s ease;
    cursor: pointer;
  
    /* Transformation par défaut */
    transform: rotate(0deg) translateX(0) rotate(0deg);
}
  
.project.selected {
    width: 160px;
    height: 50px;
    font-size: 20px;
    border-color: #FA4918 ;
    z-index: 10;
    color: black;
    text-align: center;
    position: relative;
}

.project.selected::after {
    content: '';
    position: absolute;
    top: 50%; /* Ajuste la position verticale */
    left: 110%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('image/étoile.svg') no-repeat center;
    background-size: contain;
    cursor: default;
  }

.info {
    position: fixed;
    right: 0%;
    top: 0%;
    width: 35%;
    height: 100%;
    text-align: center;
    background: whitesmoke;
    color: black ;
    overflow: hidden;
    border-left: 2px solid black; 
 
}

.image-container{
    position: relative;
}
  
.info img {
    width: 50%;
    height: 20%;
    margin-top: 30px;
    padding-bottom: 5%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.images{
    display: flex;
    position: relative;
    align-items: center;
}

.carreorange {
    position: absolute;
    z-index: -1; /* Place derrière l'image */
    right: 20%;
    bottom: 0%;
    background-color: #FA4918;
    width: 40%;
    height: 50%;
    opacity: 80%;

}

#project-title {
    font-weight: 650;
    margin-top: 5%; /* Supprime les marges */
    height: 100%; /* Occupe toute la hauteur du conteneur */
    font-size: 32px;
    line-height: normal; /* Supprime l'alignement forcé du texte */
    display: flex;
    align-items: center; /* Centre verticalement */
  
}

#project-description {
    width: 70%;
    font-weight: normal;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    font-size: auto;
}

a:hover {
    cursor: pointer;
    
}

#project-button {
    font-size: 20px;
    text-decoration: none;
    color: #FA4918;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.4s ease, text-underline-offset 0.4s ease;

}

#project-button:hover{
    text-decoration: underline;
  text-decoration-color: #FA4918;
  text-underline-offset: 2px;
}

a{
   color: #FA4918;
}

.mentions{
    bottom: 0%;
    position: fixed;
    padding-bottom: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    gap: 16px;
}

.mentionlegales{
    color: #7B7B7B;
    
}

   /* Positionnement autour du cercle avec compensation pour garder le texte horizontal */
   .project:nth-child(1) { transform: rotate(0deg) translateX(420px) rotate(-0deg); }
   .project:nth-child(2) { transform: rotate(18deg) translateX(420px) rotate(-18deg); }
   .project:nth-child(3) { transform: rotate(36deg) translateX(420px) rotate(-36deg); }
   .project:nth-child(4) { transform: rotate(54deg) translateX(420px) rotate(-54deg); }
   .project:nth-child(5) { transform: rotate(72deg) translateX(420px) rotate(-72deg); }
   .project:nth-child(6) { transform: rotate(90deg) translateX(420px) rotate(-90deg); }
   .project:nth-child(7) { transform: rotate(108deg) translateX(420px) rotate(-108deg); }
   .project:nth-child(8) { transform: rotate(126deg) translateX(420px) rotate(-126deg); }
   .project:nth-child(9) { transform: rotate(144deg) translateX(420px) rotate(-144deg); }
   .project:nth-child(10) { transform: rotate(162deg) translateX(420px) rotate(-162deg); }
   .project:nth-child(11) { transform: rotate(180deg) translateX(420px) rotate(-180deg); }
   .project:nth-child(12) { transform: rotate(198deg) translateX(420px) rotate(-198deg); }
   .project:nth-child(13) { transform: rotate(216deg) translateX(420px) rotate(-216deg); }
   .project:nth-child(14) { transform: rotate(234deg) translateX(420px) rotate(-234deg); }
   .project:nth-child(15) { transform: rotate(252deg) translateX(420px) rotate(-252deg); }
   .project:nth-child(16) { transform: rotate(270deg) translateX(420px) rotate(-270deg); }
   .project:nth-child(17) { transform: rotate(288deg) translateX(420px) rotate(-288deg); }
   .project:nth-child(18) { transform: rotate(306deg) translateX(420px) rotate(-306deg); }
   .project:nth-child(19) { transform: rotate(324deg) translateX(420px) rotate(-324deg); }
   .project:nth-child(20) { transform: rotate(342deg) translateX(420px) rotate(-342deg); }
   
   @media (max-width: 500px) {
    .info {
        width: 50%;
    }
    #project-title {
        font-size: 20px;
    }
    #project-description {
        font-size: 15px;
    }
    .project.selected {
        width: 100px;
        font-size: 15px;
    }
    .project { 
    left: -50%; 
    width: 60px;
    font-size: 12px; 
    }
    .planet {
        opacity: 0;
    }
    .mentions{
        background-color: whitesmoke;
    }
   }
   