/*
 * ──────────────────────────────────────────────────────────────────────────────── I ──────────
 *   :::::: I N D E X   P O R T F O L I O   P A G E : :  :   :    :     :        :          :
 * ──────────────────────────────────────────────────────────────────────────────────────────
 */

/*
 * ─── ROOT VARIABLES ─────────────────────────────────────────────────────────────
 */

:root {
    --left-nav-bar-width: 3cm;
    --top-nav-bar-height: 3cm;
    --blue: #4C7CDA;
    --background: rgb(239, 241, 245);
    --grey40: hsla(0, 0%, 60%, 1);
    --black80: hsla(0, 0%, 20%, 1);

}

/* ──────────────────────────────────────────────────────────────────────────────── */
*{
    font-family: 'Titillium Web', sans-serif;
}

.container {
    min-height: 100vh;
  }

main {
    margin-left: var(--left-nav-bar-width);
    /*overflow: auto;*/
}

/*
 * ─── TOP HORIZONTAL BAR ─────────────────────────────────────────────────────────
 */

#top-nav-bar {
    top: 0;
    left: 0;
    position: sticky;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    /* min-width: 100vw; */
    height: var(--top-nav-bar-height);
}

.circle-on-hover{
    position: absolute;
    left: calc(50% - 0.2em);

}

#top-nav-bar a:hover + div {
    border-radius: 50%;
    background-color: black;
    width: 0.4em;
    height: 0.4em;
}

/* #top-nav-bar a:focus + div {
    margin: 0 auto;
    border-radius: 50%;
    background-color: black;
    width: 0.4em;
    height: 0.4em;
} */

#top-nav-bar ul > li {
    position: relative;
    display: inline-block;
    text-align: center;
    margin-right: 1.0cm;
}

#logo{
    width: var(--left-nav-bar-width);
    text-align: center;
    font-size: 1.5cm;
    font-family: 'Titillium Web', sans-serif;
}

#top-nav-bar a{
    text-decoration: none;
}

/*
 * ─── LEFT VERTICAL BAR ──────────────────────────────────────────────────────────
 */

#left-nav-bar {
    top: 0;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: var(--left-nav-bar-width);
    text-align: center;
}

#social-btn-list{
    padding-left: 0;
    display: inline-block;
    margin-bottom: 1cm;
}

#social-btn-list li{
    margin-top: 0.6cm;
    list-style: none;
}

/*
 * ─── CANVAS ─────────────────────────────────────────────────────────────────────
 */

.scene {
	position: absolute;
}

.scene--left {
	width: 100vmin;
	height: 100vmin;
	transform: translate3d(-50vmin,0,0);
}

.scene--full {
	width: 100%;
	height: 100vh;
}

.scene--up {
	height: 150vmin;
	width: 150vmin;
	top: -50vh;
	left: 50%;
	margin-left: -75vmin;
}   

/*
 * ─── OTHER ──────────────────────────────────────────────────────────────────────
 */

.title {
    font-size: 3.9cm;
    margin-bottom: 1cm;
    font-family: 'Titillium Web', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200;300;400;600;700&display=swap');

.subtitle{
    color: rgb(139, 139, 139);
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
}

.link a,
.link a:hover,
.link a:active,
.link a:focus{
    color: black;
}

/*
 * ─── A PROPoS ───────────────────────────────────────────────────────────────────
 */

#apropos-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#horizontal-scroll-wrapper-parent{
    position: relative;
    height: 5.5rem;
    overflow-x: hidden;
}

#horizontal-scroll-wrapper{
    position: absolute;
    /* flex-wrap: nowrap; */
    overflow-x: hidden;
    white-space: nowrap;
    display: flex;
    
    /* overflow-y: auto;
    overflow-x: hidden;

    transform: rotate(-90deg);
    transform-origin: right top; */
}

#horizontal-scroll-wrapper > div{
    
    white-space: nowrap;
    display: flex;
    height: 5.5rem;
}

#horizontal-scroll-wrapper span{
    display: inline-block;
    height: 100%;
}

#horizontal-scroll-wrapper img{
    height: 100%;
}

#horizontal-scroll-wrapper > div{
    animation: infiniteScroll 20s linear infinite;
}


@keyframes infiniteScroll {
    100% {
        transform: translateX(-1018.78px);
    }
}

/*
 * ─── PROJET PPE STAGE ───────────────────────────────────────────────────────────
 */


.cards-wrapper{
    display: flex;
    flex-wrap: wrap;
}

.cards-wrapper .project-card{
    margin: 30px;
    margin-top: 10px;
}

 .project-card-subtitle{
    color: rgb(139, 139, 139);
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    display: flex;
    justify-content: space-between;
 }

 .project-card-subtitle p:nth-last-child(1){
    margin-right: 10px;
}

 .project-card-title{

 }

 .project-card{
    max-width: 500px;
 }

.image-wrapper {
    width: 100%;
} 


.image-wrapper img{
    width: 100%;
    height: auto;
} 


.row {
    display: flex;
    flex-direction: row;
    /* a tester sans  */
    flex-wrap: wrap;
    width: 100%;
  }
  
  .column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    margin: 20px;
  }

.agyle-title{
    display: flex;
    align-items: center;
}

.agyle-title span:nth-child(1){
    font-weight: 600;
    font-size: 60px;
}

.agyle-title span:nth-child(2){
    color: var(--blue);
    font-size: 37px;
    margin-left: 30px;
}

.agyle-subtitle{
    color: var(--blue);
    font-size: 32px;
}

.agyle-card{
    background-color: var(--background);
    padding-left: 50px;
    padding-right: 50px;
    margin: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.agyle-card-title{
    font-size: 36px;
    color: black;
    margin-bottom: 0px;
}

.agyle-card-subtitle{
    color: var(--blue);
    font-size: 24px;
    margin-top: 10px;
}

.agyle-card-text{
    color: var(--grey40);
    margin: 0px;
    margin-top: 28px;
}

.agyle-card-text *:nth-last-child(1){
    margin-bottom: 40px;
}

.agyle-card-content{
    margin-top: 40px;
    margin-bottom: 40px;
}

.agyle-button {
    background-color: var(--blue); 
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
  }