
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
*{
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 230vh; 
    background-color: #0a0a0a; 
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px), radial-gradient(circle at center, #111111 0%, #111111 100%);
    background-size: 20px 20px, 100% 100%;
    background-repeat: repeat, no-repeat;
    background-attachment: fixed;
    color: white; 
    font-family: "Inter";
    display: flex;
    align-items: center;
    flex-direction: column;
}




h1{
    margin: 0;
}

#presentation{
    margin-top: 8%;
    padding: 2%;
    border: 1px solid #27272a;
    border-radius: 10px;
    max-width: 70vw;  
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#presentation div div:first-of-type{
    display: flex; 
    align-items: center;
    justify-content: space-between;
}

#icon-container svg{
    margin-left: 20px;
}

#localisation{
    font-family: monospace;
    color: #8ea4d2;
    display: flex;
    align-items: center;
}

#localisation svg{
    margin-right: 10px;
}

#description{
    text-align: justify;
}


#box-grille {
    width: 100%; 
    display: flex;
    align-items: center;     
    justify-content: center; 
}
  
.parent {
    margin-top: 3%;
    width: 100%;
    max-width: 70vw;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(10, minmax(60px, auto)) !important;
    gap: 10px;
    height: 600px;
    height: auto !important;
    min-height: 600px; 
}
    
.div1 {
    background-color: #151515;
    border-radius: 20px;
    grid-column: span 3 / span 3;
    grid-row: span 5 / span 5;
}

.div1 .content p{
    margin-bottom: 2rem;
    color: white;
    font-family: "inter";
    text-align: justify;
}

.div1 .content{
    height: auto !important;
    display: block !important;
    flex-direction: column;
}

.div1 .content div{
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 0.5rem;
}

.div1 .content div div{
    background-color: #8ea4d22c;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;


}

.div1 .content div p{  
    color: #8ea4d2; 
    margin: 0; 
    font-size: 13px;
    font-family: monospace;

}

.contentIcon{
    margin-right: 0.4rem;
    stroke: #8ea4d2;
    height: 15px;
    width: 15px;
}

.div2 {
    background-color: #151515;
    border-radius: 20px;
    grid-column: span 3 / span 3;
    grid-row: span 6 / span 6;
    grid-column-start: 4;
}

.div3 {
    background-color: #151515;
    border-radius: 20px;
    grid-column: span 3 / span 3;
    grid-row: span 3 / span 3;
    grid-column-start: 7;
}

.div4 {
    background-color: #151515;
    border-radius: 20px;
    grid-column: span 3 / span 3;
    grid-row: span 4 / span 4;
    grid-column-start: 1;
    grid-row-start: 6;
}

.div5 {
    background-color: #151515;
    border-radius: 20px;
    grid-column: span 6 / span 6;
    grid-row: span 3 / span 3;
    grid-column-start: 4;
    grid-row-start: 7;
}

.div6 {
    background-color: #151515;
    border-radius: 20px;
    grid-column: span 3 / span 3;
    grid-row: span 3 / span 3;
    grid-column-start: 7;
    grid-row-start: 4;
}

.div1,.div2,.div3,.div4,.div5,.div6{
    padding: 1.3rem;
    border: 0.5px solid rgba(255, 255, 255, 0.048);
    overflow-wrap: break-word;
    height: 100%;
}
        

.icon{
    width: 20px;
    height: auto;
}


.title{
    display: flex;
    align-items: center;
}

.title p{
    margin: 0;
}

.title svg {
    background-color: #8ea4d22c;
    width: 28px;
    height: 28px;
    padding: 4px; 
    border-radius: 8px; 
    stroke: #8ea4d2; 
    margin-right: 0.5rem;
}

.content img{
    border-radius: 8px; 
    width: 60px;
    height: 60px;
}

.content{
    margin-top: 2rem;
    display: flex;
}

.content img{
    margin-right:1rem;
}

.content h5{
    margin-top: 0;
    font-size: 15px;
    margin-bottom: 0.5rem;
}

.content p{
    font-size: 13;
    font-family: monospace;
    color: #8ea4d2;
    margin-bottom: 0.5rem;
}





.carousel{
    height: 100px;
    margin: 10px auto;
    width: 90%;
    display: flex;
    overflow: hidden;
    gap: 0.5em;
}

.group{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    animation: spin 30s linear infinite;
    padding-right: 0.1em;
}


.cards {
    flex: 0 0 2em;
    height: 0.5em; 
    padding: 1em;
    border-radius: .2em;
    display: flex; 
    justify-content: center; 
    align-items: center; 
   
}

.iconCards{
    fill: white;
    height: 40px;
    width: 40px;
    margin-right: 0.5rem;
    margin-left: 1rem;
}

@keyframes spin {
    from{
        translate: 0;
    }
    to{
        translate:-100%;
        
    }
}

.div6 .content{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.div6 .content button,
.div6 .content a {
    border: none;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #8ea4d2;
    background-color: #8ea4d22c;
    text-decoration: none;
    height: fit-content;
}

.div6 .content button svg,
.div6 .content a svg {
    margin-right: 0.5rem;
    stroke: currentColor;
    background-color: transparent;
}






/* -------------------------------------------------------------------------------------------- */
/* -----------------------------------------PROJETS-------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */





.parentProjet {
    width: 70vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, 1fr);
    /* gap: 16px; */
}
    
.projet1 {
    background:  linear-gradient(to top, rgba(0, 0, 0, 0.655),rgba(0, 0, 0, 0.578), rgba(0, 0, 0, 0)), url('../IMG/telephone.png');   
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;    
}

.projet2 {
    background:  linear-gradient(to top, rgba(0, 0, 0, 0.655),rgba(0, 0, 0, 0.578), rgba(0, 0, 0, 0)), url('../IMG/stussy.png');   
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 3;
}

.projet3 {
    background:  linear-gradient(to top, rgba(0, 0, 0, 0.655),rgba(0, 0, 0, 0.578), rgba(0, 0, 0, 0)), url('../IMG/Billeterie.png');   
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-row-start: 3;
}

.projet4 {
    background:  linear-gradient(to top, rgba(0, 0, 0, 0.655),rgba(0, 0, 0, 0.578), rgba(0, 0, 0, 0)), url('../IMG/portfolio.png');   
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 3;
    grid-row-start: 3;
}

.projet1,.projet2,.projet3,.projet4{
    position: relative;
    overflow: hidden;
    margin: 8px;
}

.projet1 a,.projet2 a,.projet3 a,.projet4 a{
    color: white;
}

.descriptionProjet{
    transform: translateY(3rem);
    padding: 1rem;
    bottom: 0;
    position: absolute;
    transition: 0.2s ease-in-out;
}

.descriptionProjet h4{
    margin-bottom: .5rem;
}

.descriptionProjet p{
    font-family: monospace;
    color: rgba(255, 255, 255, 0.669);
    margin: 0;
    margin-top: .5rem;
    margin-bottom: .5rem;
    font-size: 12px;
}

.outils{
    display: flex;
    align-items: center;
}

.outils .cards{
    margin-right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.148);
    border-radius: 10px;
    padding: 1rem .5rem;
    font-size: 13px;
    background-color: inherit;
    color: white;
    fill: white;
    transition: 0.2s ease-in-out;
}

.outils .cards:hover{
    color: rgb(0, 0, 0);
    fill: rgba(0, 0, 0, 0.774);
    background-color: white;
}

.iconTools{
    margin-right: .5rem;
    height: 20px;
    width: auto;
}

.VoirPlusProjet{
    font-family: monospace;
    margin-top: 1rem;
    color: black;
    background-color: white;
    border: none;
    padding: .3rem .8rem;
    border-radius: 8px;
    transition: 0.2s ease-in-out;
}

.VoirPlusProjet:hover{
    color: white;
    background-color: black;
}

.projet1:hover .descriptionProjet,
.projet2:hover .descriptionProjet,
.projet3:hover .descriptionProjet,
.projet4:hover .descriptionProjet{
    transform: translateY(0rem);
}

/* -------------------------------------------------------------------------------------------- */
/* -----------------------------------------FOOTER--------------------------------------------- */
/* -------------------------------------------------------------------------------------------- */

footer{
    width: 70vw;
    height: auto;
}

footer div{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer p, footer a{
    color: rgba(255, 255, 255, 0.518);
    font-size: 13px;
    font-family: monospace;
}


hr{
    height: 1px;
    border: none;
    background-color: rgba(255, 255, 255, 0.066);
}


/* -------------------------------------------------------------------------------------------- */
/* -----------------------------------------RESPONSIVE----------------------------------------- */
/* -------------------------------------------------------------------------------------------- */



@media screen and (max-width: 900px) {
    .parent, 
    #presentation, 
    footer,
    .parentProjet {
        width: 90vw !important;      
        max-width: 90vw !important; 
    }



}

@media screen and (max-width: 768px){
    .parent {
        margin-top: 5rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 600px;
    }

    .div1,.div2,.div3,.div4,.div5,.div6{
        padding: 1.5rem;
        width: 90vw;
    }

    .div1 .content div{
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }

  .parentProjet{
        width: 100%;
        display: flex;
        align-items: center;
        justify-self: center;
        flex-direction: column;
    }

    .projet1,.projet2,.projet3,.projet4{
        padding: 1.5rem;
        width: 90vw;
        height: 50vh;
    }
}

@media screen and (max-width: 480px){


    .parent{
        margin-top: 2rem !important;
    }

    .div1 .content div{
        flex-direction: row;
        justify-content: space-evenly;
    }

    .parentProjet{
        width: 100%;
        display: flex;
        align-items: center;
        justify-self: center;
        flex-direction: column;
    }

    .projet1,.projet2,.projet3,.projet4{
        padding: 1.5rem;
        width: 90vw;
        height: 50vh;
    }

    .projet3 .outils .cards:nth-child(2),
    .projet3 .outils .cards:nth-child(3){
        display: none;
    }

    .projet1:hover .descriptionProjet,
    .projet2:hover .descriptionProjet,
    .projet3:hover .descriptionProjet,
    .projet4:hover .descriptionProjet{
        transform: translateY(3rem);
    }
}
