:root {
    --bg-color: #31333dcb;
    --lightbg-color: #52524ae0;
    --text-color: #ffe77a;
    --text-shadow-color: #cf7c39;
    --detail-color: #adff2f;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--bg-color);
    box-shadow: 0px 0px 20px #1f1627;
    padding: 1%;
    margin-bottom: 5%;

}

h1 {
    font-size: 5vw;
    font-weight: bolder;
    display: inline;
}

h2 {
    font-size: 4vw;
    font-weight: bolder;
    display: inline;
}

h3 {
    font-size: 3vw;
    font-weight: bolder;
    display: inline;
}

p {
    font-size: 20px;
    font-weight: bolder;
    display: inline;
}

.diplomes:link {
    color:var(--text-color);
    margin-bottom: 2%;
    text-decoration: 1px underline;
}
.diplomes:visited {
    color:var(--text-color);
    text-decoration: 1px underline;
    margin-bottom: 2%;
}


#Contact {
    font-size: 1vw;
    font-weight: bolder;
    display: inline;
}

#BT {
    background-color: var(--text-color);
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    padding: 5px 15px;
    text-align: center;
    width: 40%;
    border: 0;
    font-size: 16px;
}

#BT:hover {
    outline: 0;
    color: var(--text-color);
    background: var(--bg-color);
    box-shadow: 0 0 0 2px var(--text-color);
}


@media (min-width: 768px) {
    .button-64 {
        font-size: 24px;
        min-width: 196px;
    }
}


body {
    font-weight: bold;
    font-size: 1vw;
    font-family: 'Share Tech Mono', monospace;
    color: var(--text-color);
    text-shadow: 0px 0px 5px var(--text-shadow-color);
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/BackGround.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;

}

#Section {
    padding: 2%;
    background-color: rgba(49, 51, 61, 0.795);
    box-shadow: 0px 0px 20px rgba(68, 58, 0, 0.795);
    margin-bottom: 5%;

}

#profil {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#Segment {
    padding-top: 2%;
    width: 34%;

}

.swiper {
    width: 100%;
    height: 50%;
}

swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

#Projets {
    background-color: rgba(49, 51, 61, 0.795);
    box-shadow: 0px 0px 20px rgba(68, 58, 0, 0.795);
}

.projet {
    font-family: 'Share Tech Mono', monospace;
    border-radius: 2%;
    background-color: var(--lightbg-color);
    box-shadow: 2px 2px 10px var(--lightbg-color);
    font-weight: bold;
    width: 70%;
    padding: 2% 5% 2%;
    margin-bottom: 15%;
    margin-top: 15%;
    text-align: center;
    transition-property: all;
    transition-duration: 0.3s;
}

.projet:hover {
    scale: 1.5;
}

.projet a:link {
    color: black;
    font-weight: bolder;
    text-decoration: none;
}

.projet a:visited {
    color: black;
    font-weight: bolder;
    text-decoration: none;
}

.preview {
    width: 100%;
}


vert {
    color: var(--detail-color)
}

.links {
    display: flex;
    justify-content: space-between;
}

.Link {
    margin-top: 15%;
    width: 4vw;
}






/*  ########################### SECTION Couleur alternative    ############################ */

.dark {
    color: #c9deff;
    text-shadow: 0px 0px 5px #397acf;
    background-image: url('images/Background.jpg');

}

.dark .diplomes:link {
    color: #c9deff;
    margin-bottom: 2%;
    text-decoration: 1px underline;
}
.dark .diplomes:visited {
    color: #c9deff;
    text-decoration: 1px underline;
    margin-bottom: 2%;
}


.dark .projet {
    color: #4872b6;
    text-shadow: 0px 0px 5px #5c7eac;
    background-color: rgba(255, 255, 255, 0.692);
    box-shadow: 2px 2px 10px rgb(255, 255, 255);
    margin-top: 10vh;
}

.dark #BT {
    background-color: #c9deff;
}

.dark #BT:hover {
    background: rgba(255, 255, 255, 0.979);
    box-shadow: 0px 0px 5px #1f1627;
    color:#1f1627
}




/*  ########################### SECTION control en fonction des tailles    ############################ */
@media screen and (min-width: 1280px) and (max-width: 1920px) {
    #Contact {
        font-size: 1.5vw;
        font-weight: bolder;
        display: inline;
    }

    #profil {
        flex-direction: row;
        justify-content: space-between;

    }
}

/* ###########################################""*/
@media screen and (min-width: 800px) and (max-width: 1280px) {
    #Contact {
        font-size: 15px;
        font-weight: bolder;
        display: inline;
    }

    #profil {
        text-align: center;
        flex-direction: column;
        width: 100%;
    }

    #Segment {
        text-align: center;
        margin-bottom: 5%;
        width: 100%;
    }

    p {

        font-size: 15px;
    }
}

/* ###########################################""*/
@media screen and (max-width: 800px) {
    #Contact {
        font-size: 12px;
        font-weight: bolder;
        display: inline;
    }

    #profil {
        flex-direction: column;
        width: 100%;
    }

    #Segment {
        text-align: center;
        margin-bottom: 5%;
        width: 100%;
    }

    .Link {
        margin-top: 15%;
        width: 20vw;
    }

    p {

        font-size: 15px;
    }

    #Box {
        padding: 2% 10% 2%;

        flex-direction: column;
        flex-wrap: wrap-reverse;

    }

    .projet {

        width: 100%;

    }

    #BT {
        width: 60%;
        font-size: 10px;
    }
}