@import url('https://fonts.googleapis.com/css2?family=Anton&family=Lexend:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/* les réglages de base  */
* {
    list-style: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
    color: white;
}

body {
    background-color: #1d212a; 
}

/*-----------------------------------------------------------------------------------------------------------------------------------------  */
/*--------------------------------------------- premiere section (about me)------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------------------------------------------------------  */

.tete {
    height: 350px;
    width: 350px;
    border-radius: 200px;
    box-shadow: -1px 3px 20px 2px;
}

.aboutme {
    margin: 60px 30px;
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: center;
}
.desciptionMoi p {
    font-size: 20px; 
    font-weight: 500;
}

.aboutme .desciptionMoi {
    max-width: 700px;
}

@media screen and (max-width: 768px) {
    .aboutme {
        flex-direction: column;
        text-align: center;
    }
    .tete {
        width: 250px;
        height: 250px;
    }
    .about-me p {
        font-size: 0.9rem;
      }
}

/*----------------------------------------------------------------------------------------------------------------------------------------  */
/*------------------------------------------------ deuxieme section (les logos)----------------------------------------------------------- */
/*----------------------------------------------------------------------------------------------------------------------------------------  */

/* main titre du site,internet */

.titre {
    font-size: 2.5rem; 
    font-weight: bold;
    text-transform: uppercase;
    margin: 100px 0 60px 100px;
  
    background: linear-gradient(45deg, #1de9b6, #4a148c);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  
    text-shadow: 0 0 10px rgba(77, 242, 215, 0.5),
                 0 0 20px rgba(74, 20, 140, 0.4);
  
    animation: fadeInSlideRotate 0.7s ease-out forwards,
               pulseGlow 2.5s infinite alternate ease-in-out;
  }
  
  @keyframes pulseGlow {
    0% {
      text-shadow: 0 0 10px rgba(77, 242, 215, 0.5),
                   0 0 20px rgba(74, 20, 140, 0.4);
    }
    100% {
      text-shadow: 0 0 20px rgba(77, 242, 215, 0.9),
                   0 0 30px rgba(74, 20, 140, 0.7);
    }
  }

.technologies {
    margin: 0px auto;
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    max-width: 90%;
    text-align: center;
}


/*----------------------------------------------------------------------------------------------------------------------------------------  */
/*----------------------------------------------------troisieme section (les projets)-----------------------------------------------------  */
/*----------------------------------------------------------------------------------------------------------------------------------------  */

.titremainProjet {
    color: #ffffff;
    font-weight: bold;
    font-size: 2em;
    margin: 100px 60px ;
    font-family: "Roboto Condensed", serif;
    font-optical-sizing: auto;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.containProjets {
    margin:100px;
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
}
.containProjets img {
    width: 100%;
    max-width: 280px;
    height: 180px;
}

.projetBox {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    height: 300px;
    width: 400px;
    opacity: 0.85;
    border-radius: 5px;
    box-shadow: 4px 4px 15px 3px;
}
.projetBox {
    width: 100%;
    max-width: 280px;
    height: 180px;
}

.projetBox p {
    font-size: 25px;
    padding: 8px 15px;
    font-size: 22px;
    font-weight: bold;
    position: absolute;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}


@media screen and (max-width: 950px) {
    .containProjets {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .projetBox {
        width: 100%;
        max-width: 280px;
        height: 180px;
    }
    .projetBox p {
        font-size: 18px;
        padding: 5px 10px;
    }
}

@media screen and (max-width: 600px) {
    .containProjets {
        grid-template-columns: repeat(1, 1fr); 
    }
}


