@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,800;1,400&family=Roboto:wght@100;300;400;500;700;900&display=swap');

:root{
    --background-color: rgb(255, 255, 255);
    --card-color: rgb(239, 239, 239);
    --main-color: rgb(69, 189, 255);
    --text-positive: rgb(255, 255, 255);
    --text-negative: rgb(0, 0, 0);

    --header-height: 90px;
    --min-width-art-double-image: 210px;
    --max-width-art-double-image: 500px;

    --fontsize-explain-article-title: clamp(2rem, 5vw ,2.5rem);
    --fontsize-explain-article-text: clamp(1.1rem, 3.5vw ,1.6rem);
    --fontsize-explain-article-one-image-text: clamp(1rem, 2.8vw ,1.6rem);

}

html *{
    margin: 0;
    padding: 0;
}

.wrapper{
    height: 100vh;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Roboto';
}

/*---------------- Peaks svg ----------------*/

.spacer{
    aspect-ratio: 900/250;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.peak1{
    margin-top: -20%;
    background-image: url("../Ressources/Svg/peaks_01.svg");
}
.peak2{
    background-image: url("../Ressources/Svg/peaks_02.svg");
}
.peak3{
    aspect-ratio: 900/450;
    background-image: url("../Ressources/Svg/peaks_03.svg");
}
.peak4{
    background-image: url("../Ressources/Svg/peaks_04.svg");
}


/*---------------- Background ----------------*/
#background{
    position: relative;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    height: 500px;
}

#title_container{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}

#title_separator{
    width: 100%;
    height: 20%;
}

#main_title{
    color: var(--main-color);
    text-align: center;
    font-size: clamp(2rem, 6.5vw ,5rem);
    font-weight: 800;
    align-self: center;
    white-space:nowrap;
    transition: 0.5s;
}
#main_subtitle{
    color: #303030;
    font-size: clamp(1.5rem, 3.5vw ,3rem);
    font-weight: 800;
    transition: 0.5s;
}

#background_image{
    object-fit: cover;
    width: clamp(100px, 20vw, 250px);
}

#backgroundPeak{
    position: relative;
    /*transform: rotate(180deg);*/
    z-index: -2;
}

/*---------------- Header ----------------*/
header{
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content:space-between;
}

header>*{
    height: 100%;
}

#header_left_part{
    width: 20%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    color: var(--main-color);
    font-weight: 400;
    font-size: 1.2rem;
}

nav{
    width: clamp(200px, 30vw, 300px);
    height: clamp(50px, 10vw, var(--header-height));
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
nav>a{
    width: 25%;
    height: clamp(40px, 100%, 55px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-color);
    border-radius: 8px;
    cursor: pointer;

    transition: all 0.1s;
}
nav>a>div>i{
    color: #303030;
    font-size: 1.5rem;
}
nav>a:hover>div>i{
    color: var(--main-color);
    font-size: 1.8rem;
}


/*---------------- Main ----------------*/

main{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    /*border: solid rgb(0, 229, 255) 1px;*/
}
.section_title{
    text-align: center;
    font-size: 2.5rem;
}

section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 30px;
}

/*---------------- Explain ----------------*/

#explain{
    background: #303030;
}

#explain_title{
    font-size: clamp(1.8rem, 4.5vw ,3rem);
    color: white;
    text-align: center;
    background: #303030;
}

.art-double-image{
    object-fit: cover;
    min-width: var(--min-width-art-double-image);
    max-width: var(--max-width-art-double-image);
}

/*---------------- Article 1 ----------------*/

#art1{
    min-height: 250px;
    margin-top: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}
#art1>h4{
    margin-bottom: 2%;
    font-size: var(--fontsize-explain-article-title);
}
#art1>p{
    width: 70%;
    font-size: var(--fontsize-explain-article-text);
}

/*---------------- Article 2 ----------------*/

#art2{
    min-height: 250px;
    margin-top: 10%;
    margin-bottom: 5%;
    padding-left: 10%;
    padding-right: 10%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    color: white;
}
#art2>div{
    height: 250px;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
#art2>div>h4{
    font-size: var(--fontsize-explain-article-title);
}
#art2>div>p{
    font-size: var(--fontsize-explain-article-one-image-text);
}
#art2>img{
    width: 40%;
}

/*---------------- Article 3 ----------------*/
#art3{
    margin-top: -15%;
    width: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: black;
}
#art3>h4{
    margin-bottom: 2%;
    font-size: var(--fontsize-explain-article-title);
}
#art3>p{
    width: 70%;
    font-size: var(--fontsize-explain-article-text);
}

/*---------------- Article 4 ----------------*/
#art4{
    padding-top: 10%;
    margin-bottom: -15%;
    width: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: black;
    z-index: 1;
}
#art4>h4{
    margin-bottom: 2%;
    font-size: var(--fontsize-explain-article-title);
}
#art4>p{
    width: 70%;
    font-size: var(--fontsize-explain-article-text);
}

/*---------------- Article 5 ----------------*/
#art5{
    padding-top: 10%;
    width: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #303030;
    color: white;
}
#art5>h4{
    margin-bottom: 2%;
    font-size: var(--fontsize-explain-article-title);
}
#art5>p{
    width: 70%;
    font-size: var(--fontsize-explain-article-text);
}

/*---------------- Footer ----------------*/

footer{
    height: 300px;
    padding-bottom: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    background-color: #303030;
    color: white;
}

footer>h5{
    font-size: 1rem;
    font-weight: 300;
}

#social_networks{
    width: 400px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 30px;
}
#social_networks>a{
    font-size: 4rem;
    cursor: pointer;
}

#social_networks>a:hover{
    color: rgb(146, 255, 121);
    cursor: pointer;
}



/*---------------- Proposition ----------------*/
#proposal{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    border: solid rgb(0, 106, 255) 1px;
}
#proposal_container{
    
}

#soon{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    border: solid rgb(0, 106, 255) 1px;
}
