*, ::before, ::after{

    box-sizing: border-box ;
    margin: 0;
    padding: 0;

}


html{

    font-family: '' ;

}

.hidden{
    visibility: hidden; height: 0; width: 0;
}

body{

    background :black;

}

header{

    height: 1080px;
    text-align: center;
    background-color: rgb(73, 73, 119);
    color: white;

}

header h1{

    position: relative;
    top: 500px;

}

header img{

    position: relative;
    top: 300px;
    left: -5px

}

nav{

    display: flex;
    height: 75px;
    justify-content: center;
    background-color: rgb(254, 242, 208);

}

#api-avatar{
    width: 360px; height: 200px; border-radius: 0%;
    border-style: none;
}

#api-aube{
    width: 360px; height: 200px; border-radius: 0%;
    border-style: none;
}

#api-basile{
    width: 360px; height: 200px; border-radius: 0%;
    border-style: none;
}

nav ul{

    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 70%;
    list-style: none;
    position: relative;
    top: -31px;

}

main{

    display: inline;
    background-color: black;
}

.ligne-nav{

    height: 8px;
    width: 100%;
    position: absolute;
    background: rgb(46, 40, 50);

}

.rond-nav{

    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgb(46, 40, 50);
    display: flex;
    justify-content: center;
    align-items: center;

}

.rond-nav:hover{

    width: 75px;
    height: 75px;
    background: rgb(60, 60, 107);

}

.box-timeline-parcours{

    width: 100%;
    height: 1700px;
    background: rgb(254, 242, 208);
    position: relative;
    padding: 150px 0 250px 0;

}

.box-timeline-projets{

    width: 100%;
    height: 2000px;
    background: rgb(73, 73, 119);
    position: relative;
    padding: 150px 0 250px 0;

}

.box-timeline-contact{

    width: 100%;
    height: 1500px;
    background: rgb(46, 40, 50);
    position: relative;
    padding: 150px 0 250px 0;

}

.ligne{

    height: 3350px;
    width: 8px;
    margin: 0 auto;
    background: rgb(46, 40, 50);

}

.ligne-parcours{

    height: 1000px;
    width: 8px;
    margin: 0 auto;
    background: rgb(60, 60, 107);

}

.ligne-contact{

    height: 1000px;
    width: 8px;
    margin: 0 auto;
    background: rgb(253, 251, 231);
}

.rond{

    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgb(46, 40, 50);
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    justify-content: center;
    align-items: center;

}

.rond-parcours{

    width: 50px;
    height: 50px;
    border-radius: 50%;
    background:rgb(187, 192, 214);
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    justify-content: center;
    align-items: center;

}

.rond-contact{

    width: 50px;
    height: 50px;
    border-radius: 50%;
    background:rgb(253, 251, 231);
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    justify-content: center;
    align-items: center;

}

.r1{
    top: 150px;
}

.r2{
    top: 475px;
}

.r3{
    top: 800px;
}

.r4{
    top: 1125px;
}

.r5{
    top: 1450px;
}

.r6{
    top: 1775px;
}

.box{

    color: rgb(48, 54, 83);
    width: 400px;
    height: auto;
    min-height: 150px;
    padding: 20px;
    border-radius: 25px;
    background-color: rgb(187, 192, 214);
    position: absolute;
    left: 50%;
    transform: translate(-50%);

}

.box h2{

    color: rgb(46, 40, 50);

}

.box-parcours{

    color: rgb(187, 192, 214);
    width: 775px;
    height: auto;
    min-height: 150px;
    padding: 20px;
    border-radius: 25px;
    background-color: rgb(46, 40, 50);
    position: absolute;
    left: 50%;
    transform: translate(-50%);

}

.box-parcours h2{

    color: rgb(253, 251, 231);
    
}

.box p{

    line-height: 20px;
    margin: 10px 0 10px 0;

}

.box-parcours p{

    line-height: 20px;
    margin: 10px 0 10px 0;

}

.b1{

    top: 150px;
    left: calc(50% - 300px);

}

.b2{

    top: 475px;
    left: calc(50% + 300px);

}

.b3{

    top: 800px;
    left: calc(50% - 300px);

}

.b4{

    top: 1125px;
    left: calc(50% + 300px);

}

.b5{

    top: 1450px;
    left: calc(50% - 300px);

}

.b6{

    top: 1775px;
    left: calc(50% + 300px);

}

.bc1{

    top: 150px;
    left: calc(50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 150px;
    background-color: rgb(46, 40, 50) ;
   
}


.bc2{

    top: 475px;
    left: calc(50%);

}

.bc3{

    top: 800px;
    left: calc(50%);

}

.bc4{

    top: 1125px;
    left: calc(50%);

}

.typo-bold{

    font-family: sans-serif;
    font-weight: bold;

}

.btn{

    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgb(39, 238, 171);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin: 10px;
}

.btn:hover{

    opacity: 50%;

}

.btn-img:hover{

    opacity: 50%;

}

.btn2{

    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgb(39, 238, 171);
    border-color: rgb(100, 255, 203);
    display: flex;
    justify-content: center;
    align-items: center;

}

.btn2:hover{

    opacity: 50%;

}

.viewer-3d{

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;

}

footer{

    display: flex;
    height: 35px;
    justify-content: center;
    align-items: center;
    color: whitesmoke;
    background-color: rgb(46, 40, 50);

}

footer p{

    font-size: small;
    font-family: sans-serif;

}


@media ALL and (max-width: 1040px){

    .p{
        size: 50%;
    }

    .box-timeline-parcours{

        height: 1700px;
    
    }

    .ligne-parcours{
    
        position: relative;
        right: 0px;

    }

    .rond-parcours{

        left: calc(50% - 0px)

    }

    .box-parcours{

        width: 400px;
        left: calc(50% + 0px);

    }

    .box p{

        line-height: 15px;
        margin: 5px 0 5px 0;
        font-size: 80%;
    
    }
    
    .box-parcours p{
    
        line-height: 15px;
        margin: 5px 0 5px 0;
        font-size: 80%;
    
    }

    .ligne{
    
        position: relative;
        right: 200px;

    }

    .rond{

        left: calc(50% - 200px)

    }

    .box{

        left: calc(50% + 50px);

    }

    .ligne-contact{

        position: relative;
        right: 200px;

    }

    .rond-contact{

        left: calc(50% - 200px)
        

    }

    .box-contact{

        left: calc(50% + 50px)
        
    }


}

@media ALL and (max-width: 525px){

    .box{

        left: calc(50% + 2.5px);

    }

    .box-contact{

        left: calc(50% + 2.5px)
        
    }

}