/*____________________Variables____________________*/

:root {
    --sweet_black: #474748;
    --quiet_black: #303031;
    --w: #F6F5F5;

    --bg_linear: linear-gradient(to bottom, #522500 10%, #EDA268);
    --bg_transparent: linear-gradient(to right, rgba(247, 178, 103, 0.3), rgba(242, 92, 84, 0.3));

    --dark_red: #D24F42;
    --red: #E8695E;
    --dark_yellow: #D7A03E;
    --yellow: #F1BE4F;
    --dark_green: #57AB41;
    --green: #61C554;

    --blue:#98AAF0;
}

@font-face {
    font-family: 'LucidaGrande';
    src: url('/fonts/LucidaGrande-Bold.woff2') format('woff2'),
        url('/fonts/LucidaGrande-Bold.woff') format('woff'),
        url('/fonts/LucidaGrande.woff') format('woff2'),
        url('/fonts/LucidaGrande.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SourceCodePro';
    src: url('/fonts/SourceCodePro-Light.otf.woff2') format('woff2'),
        url('/fonts/SourceCodePro-Bold.otf.woff2') format('woff2'),
        url('/fonts/SourceCodePro-ExtraLight.otf.woff2') format('woff'),
        url('/fonts/SourceCodeVF-Italic.otf.woff2') format('woff');
    font-weight: 400;
    font-style: normal;
}



/*____________________Reset____________________*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


h1 {
    font-size: 4rem;
    font-family: 'LucidaGrande', sans-serif;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
}

body {
    background: var(--bg_linear);
    min-height: 100%;
    position: relative;
}

/*____________________template____________________*/

.mac_template_top {
    height: 50px;
    display: flex;
    background-color: var(--w);
    padding: 1rem;
    border-radius: 10px 10px 0px 0px;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    box-shadow: 8px -1px 19px -2px rgba(0,0,0,0.44);
}

.mac_template_top button {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    color: transparent;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    margin-right: 1rem;
}

.mac_template_top button:nth-child(1) {
    background-color: var(--red);
    border: 1px solid var(--dark_red);
}

.mac_template_top button:nth-child(2) {
    background-color: var(--yellow);
    border: 1px solid var(--dark_yellow);
}

.mac_template_top button:nth-child(3) {
    background-color: var(--green);
    border: 1px solid var(--dark_green);
}

.mac_template_top p{
    font-size: 1rem;
    font-weight: 600;
    margin: 0px 2rem 0px 1rem;
}

.mac_template_top img {
    width: 1rem;
}

.mac_template_top .croix{
    position: absolute;
    right: 1rem;
}

.mac_template_bot {
    display: block;
    background: var(--bg_transparent);
    backdrop-filter: blur(2px);
    border-radius: 0px 0px 13px 13px;
    padding: 1rem;
    justify-content: center;
    box-shadow:  6px 9px 19px -2px rgba(0,0,0,0.44);
}

.mac_template {
    padding: 0px 5vw 0px 5vw;
    margin-bottom: 10vh;
    min-width: 350px;

}

/*____________________beginning____________________*/

.img_start {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.text_start {
    height: 60vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--w);
}

/*____________________galerie, video, competence____________________*/

.body_ui_mac{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.mac_1{
    grid-area: 1 / 1 / 2 / 2;
}

.mac_bot_1{
    height: 400px;

}

.mac_2{
    grid-area: 2 / 1 / 3 / 2;
}

.mac_bot_2{
    height: 300px;
}

.mac_3{
    grid-area: 1 / 2 / 3 / 3; 
}

.mac_bot_3{
    display: flex;
        flex-wrap: nowrap;
        overflow-y: auto;
        overflow-x: hidden;
        height: 800px;
        justify-content: flex-start;
        flex-direction: column;
}

.mac_template_bot img{
    max-height: 100%;
    height: auto;
    margin: 1rem;
}







/*____________________project____________________*/

.projects{
    position: relative;
    width: 100%;
    height: 100%;

}

.mac_project_1{
    
}

#id_projects {
    position: relative;
}

#id_projects::before {
    content: "";
    display: block;
    height: 50px; /* Ajustez la hauteur selon l'espace souhaité */
    margin-top: -50px; /* Réduit l'espace, mais garde l'effet d'espacement */
}

.mac_project_bot_1{
    position: relative;
    padding: 0;
    height: 70vh;
}

.mac_project_bot_1 img{
    position: absolute;
    top: 0;
    left: 0;
    margin: 0px;
    height: 100vh;
    width: 100%;
    object-fit: cover;
    border-radius: 0px 0px 13px 13px;
    z-index: -1;
}

.mac_button_project_1{
    position: absolute;
    top: 150px;
    right: 30px;
    height: 50px;
    padding: 0;
    margin: 0;
    min-width: 300px;
}

.mac_button_project_bot_1{
    background: var(--w);
    box-shadow: 10px 14px 20px -2px rgba(0, 0, 0, 0.24);
}

.mac_button_project_2{
    position: absolute;
    bottom: 20px;
    left: 20px;
    height: 50px;
    padding: 0;
    margin: 0;
    min-width: 300px;
}

.mac_button_project_bot_2{
    background: var(--w);
    box-shadow: 10px 14px 20px -2px rgba(0, 0, 0, 0.24);
}

.projects .mac_template .mac_template_bot button{
    background-color: var(--blue);
    color: var(--w);
    padding: 1rem;
    width: 100%;
    border-radius: 20px;
    border: 0;
    font-size: 1rem;
}

/*____________________Portrait_chinois____________________*/

.mac_4{
   
}

.mac_bot_4{

}

/*____________________inspiration____________________*/
.inspiration_generale{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.mac_5{
   
}

.mac_bot_5 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.mac_bot_5 img{
    height: 15rem;
    border-radius: 20px;
}

/*____________________console____________________*/

.mac_template_top_6{
   background-color: var(--sweet_black);
   color: var(--w);
}

.mac_bot_6{
    background: var(--quiet_black);
    color: var(--w);
    font-family: "SourceCodePro", sans-serif;

}

/*____________________footer____________________*/

footer{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.mac_7{
    grid-area: 1 / 1 / 2 / 2;
}

.mac_bot_7{

}

.mac_8{
    grid-area: 1 / 2 / 2 / 3;
}

.mac_bot_8{

}

.mac_9{
    grid-area: 2 / 1 / 3 / 3;
}

.mac_bot_9{

}



















/*____________________media screen____________________*/

@media screen and (min-width: 0px) and (max-width: 640px) { /*Media screen de 0xp a 640px*/
    h1{
        color: red;
    }
}

@media screen and (min-width: 640px) and (max-width: 1280px) { /*Media screen de 640xp a 12800px*/
    h1{
        color: blue;
    }
}