*{
    --bg : #1C1C1C;
    --blue-by-design : #82E9FF;
    --red-by-design : #CE419A;
    
    font-family: "Darker Grotesque", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

body{
    background-color: var(--bg);

    margin: 0;
}

.wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.clickable{
    color: inherit;
    text-decoration: none;
    display: flex;
    cursor: pointer;
}









/*? styles de texte */

h1 {
    font-size: 80px;  
    font-weight: 800;
    line-height: 0.8em;
    margin: 0;
}

h2 {
    font-size: 64px;
    font-weight: 700;
    margin: 0;
}

h3 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    line-height: 0.8em;
}

h4 {
    font-size: 40px;
    line-height: 0.9em;
    font-weight: 800;
    margin: 0;
}

h5 {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
}

h6 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1em;
    margin: 0;
}

p {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1em;
}









/*? HEADER */

.website-header{
    z-index: 100;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    background-color: var(--bg);
    width: 100%;
    padding: 0 72px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--blue-by-design);
}




/** navbar */

header nav ul {
    padding: 0;
    margin: 0;

    display: flex;
    
}

header nav li{
    list-style-type: none;

    display: flex;
}

header nav li a{
    font-size: 24px;
    line-height: 24px;
    font-weight: 700;

    padding: 40px 24px;
    
    color: white;
    text-decoration: none;
}

header nav li a:hover{

    background-color: white;
    color: black;
    text-decoration: none;
}

#yellow{
    color: #E7F42C;
}

#yellow:hover{
    color: black;
}







/** search bar */

.searchbar{
    background-color: #515151;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 0 24px;
    gap: 20px;
    border-radius: 4px;

    width: 460px;
    height: 40px;
}

.searchbar input{
    background-color: #515151;
    border: none;
    width: 100%;

    color: #c6c6c6;

    text-align: end;
    margin: 0;
    padding: 0;

    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
}

.searchbar input::placeholder{
    color: #c6c6c6;
    opacity: 1;

    margin: 0;
    padding: 0;

    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
}

.searchbar input:focus{
    outline: none;

    margin: 0;
    padding: 0;
}

.header-right{
    display: flex;
    flex-direction: row;
    gap: 48px;
}



















/*? MAIN */

.index-main{
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metaphor-main{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}

.section2-main{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 72px 0;
    background-image: url(images/menujoueur.jpg);
    background-size: cover;
    background-attachment: fixed;
}

main h1, main h2, .metaphor-actu h4, .about-title h3, .button2{
    color: white;
}







/*! Page 1 - Homepage */

.actu-content, .guide-content{
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.actu-card, .guide-card{
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 32px;
    gap: 32px;
    border-radius: 8px;
}

.actu-card:hover{
    background-color: #BCBCBC;
}

.actu-card-blue{
    display: flex;
    flex-direction: column;
    background-color: var(--blue-by-design);
    padding: 32px;
    gap: 32px;
    border-radius: 8px;
    cursor: pointer;
}

.actu-card-blue:hover{
    background-color: #C4F1FB;
}

.actu-card-red{
    display: flex;
    flex-direction: column;
    background-color: var(--red-by-design);
    padding: 32px;
    gap: 32px;
    border-radius: 8px;
    cursor: pointer;
}

.actu-card-red:hover{
    background-color: #EBA6D2;
}

article div{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.actu{
    padding: 72px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.actu-content1{
    display: flex;
    gap: 48px;
}

.actu-content2{
    display: flex;
    gap: 48px;
}

.guide{
    padding: 72px 0 150px 0;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.guide-content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3,1fr);
}

.guide-card:hover .card-content {
    background-color: var(--blue-by-design);
}









/*! Page 2 - Soluce Metaphor */

.hero{
    background-image: url(images/hero.png);
    background-size: cover;

    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 72px 0;
}

.hero-inside{
    display: flex;
    flex-direction: column;
    width: 60%;
    gap: 48px;
}

.hero-title{
    width: 700px;
}


.hero h1, .hero h2{
    color: black;
}

.hero-details{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.metaphor-actu{
    width: 60%;
    padding: 72px 0;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.metaphor-actu h4{
    width: 700px;
}

.about{
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.about-content{
    display: flex;
    flex-direction: row;
    gap: 48px;
}

.soluce{
    width: 100%;
    padding: 72px 0;
    display: flex;
    justify-content: center;
    background-image: url(images/menubig.jpg);
    background-size: cover;
}

.soluce-inside{
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.soluce-title{
    width: fit-content;
    padding: 20px;
    background-color: white;
    border-radius: 4px;
}

.soluce-content{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 40px;
}

.soluce-card {
    display: flex;
    align-items: center;
    gap: 48px;

    background-color: rgba(130, 233, 255, 0.3); 
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid white;
    padding: 48px;
    color: #fff;
    width: 100%;
    box-sizing: border-box;

    transition: all 0.1s ease-in-out;
}

.soluce-card:hover{
    transform: scale(1.02);
}

.section-inside{
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.sc-title {
    display: flex;
    flex-direction: column;
    width: 30%;
    gap: 40px;
}

.sc-content {
    width: 30%;
}

.soluce-card img {
    border: 1px solid white;
    border-radius: 8px;
    object-fit: cover;
}









/*! Page 3 - Section 2 */

.header2{
    z-index: 101;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    background-color: var(--bg);
    width: 100%;
    padding: 20px 42px;
    gap: 15px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--blue-by-design);
}

.section-list{
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
}

.section-title{
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 48px;
    background-color: white;
    border-radius: 8px;
}

.section-content{
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.section-card{
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 48px;
    background-color: white;
    border-radius: 8px;
}






/*! Boutons */

.button1{
    display: flex;
    align-items: center;
    background-color: black;
    width: fit-content;
    color: white;
    border: 1px solid black;
    padding: 16px;
    text-decoration: none;
    border-radius: 8px;
}

.button1 h6{
    line-height: 0.6em;
}

.button1:hover{
    background-color: white;
    color: black;
    border: 1px solid black;
}

.button2{
    text-decoration: none;
    padding: 16px;
    width: fit-content;
}

.button2:hover{
    text-decoration: underline;
}

.button3{
    display: flex;
    align-items: center;
    background-color: rgb(255, 255, 255);
    width: fit-content;
    color: rgb(0, 0, 0);
    padding: 16px;
    text-decoration: none;
    border-radius: 8px;
}

.button3 h6{
    line-height: 0.6em;
}

.button3:hover{
    background-color: var(--red-by-design);
    color: rgb(255, 255, 255);
}














/*? FOOTER */


footer{
    background-color: var(--red-by-design);
    display: flex;
    justify-content: space-between;
    color: white; 
    width: 100%;
    box-sizing: border-box;


    padding: 72px 150px 100px 150px;
}

footer nav{
    display: flex;
    flex-direction: column;
}

footer p{
    font-size: 24px;
    font-weight: 600;
}

footer a{
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

footer a:hover{
    text-decoration: underline;
}

.plan-legal{
    display: flex;
    gap: 144px;
}

.plan-site{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info{
    display: flex;
    flex-direction: column;
    gap: 24px;
}











