@font-face {
    font-family: 'FontSPIMC';
    src: url(Polices/overglowfont-demo.otf);
}
@font-face {
    font-family: 'Montserrat';
    src: local("Montserrat-Bold") 
    url("Polices/Monserrat/Montserrat-Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: 'Montserrat';
    src: local("Montserrat-Black") 
    url("Polices/Monserrat/Montserrat-Black.ttf");
}
@font-face {
    font-family: 'Montserrat';
    src: local("Montserrat-BlackItalic")
    url("Polices/Monserrat/Montserrat-BlackItalic.ttf");
    font-style: italic;
}
html{
    scroll-behavior: smooth;
}

body{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: orange 0px solid;
}


header{
    width: 60%;
    background-color: rgb(255, 255, 255);
    display: flex;
    height: fit-content;
    justify-content: center;
    align-items: center;
    border: rgb(0, 0, 0) 0px solid;
    margin-top: 3vw;
    margin-bottom: 2vw;
}


h3{
    font-family: 'Montserrat',sans-serif;
    font-size: 8rem;
}
h4{
    font-size: 50%;
    font-family: 'Montserrat';
    font-weight: bold;
    margin: 0;
    padding: 0;
}

h5{
    font-size: 50%;
    font-family: 'Montserrat';
    margin: 0;
    padding: 0;
    line-height: 0;

}

.navbar{
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    border: rgb(136, 37, 37) 0px solid;
    width: 100%;
    height: fit-content;
    text-align: center;
    row-gap: 1vh;
}

.navbar a{
    color: rgb(48, 48, 48);
    text-decoration: none;
}

.navbar a:hover{
    color: rgb(6, 141, 51);
    opacity:0.5;
    transition: 0.3s ease-in-out;
    text-shadow: rgba(105, 211, 149, 0.37) 0.5rem 0.5rem 0;
}
.undernavbar{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-wrap: nowrap;
    width: 100%;
    border: #3f6cff solid 0px;
    margin-top: 1.5vw;
    column-gap: 10vw;
}

.headerelement{
    border: 0px solid rgb(47, 168, 98);
    width: fit-content;
    height: fit-content;
    text-wrap: wrap;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    padding: 0;
    margin: 0;
    font-size: 2vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

#AristotePham-Ba{
    width: 100%;
    font-size: 5vw;
    font-weight: bold;
    display: block;
    flex-wrap: nowrap;
}
#DOP{
    font-size: 2vw;
    font-weight: bold;
    margin-bottom: 0rem;
    font-style: italic;
    color:rgb(6, 141, 51);
}


hr{
    width: 85%;
    height: 0.2vw;
    background-color: rgb(58, 58, 58);
    margin-bottom: 1vw;
    margin-top: 1vw;
    border-radius: 0.2rem;
}

main{
    position: relative;
    display: flex;
    justify-content: center;
    border: 0px rgb(207, 34, 34) solid;
    width: 60%;
    height: fit-content;
}



.maincontainer{
    position: relative;
    border: 0px solid rgb(37, 196, 236);
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    align-items: center;
    justify-content: center;
    align-content: center;
    width: 100%;
    height: fit-content;
    margin:0;
    padding: 0; 
}

.mainelement{
    display: flex;
    width: 60%;
    height: fit-content;
    flex-direction: row;
    position: relative;
    justify-content: center;
    align-items: center;
    border: 0px solid white;
}
.mainelement img{
    width: 100%;
}

.CouleurSang{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: 100%
}

.ImageCouleurSang img{
    width:100%;
    padding: 0;
    margin:0;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;

}



.overlaycouleursang{
    position:absolute;
    width: 100%;
    height: 100%;
    top:0;
    flex-direction: column;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 2rem;
    opacity: 0;
    transition: 0.3s ease-in-out;
    background-color: hsla(0, 0%, 0%, 0.507);
    color: white;
    padding:0;
    margin:0;
    row-gap: 1.5rem;
}
.overlaycouleursang img{
    width: 70%;
    border:#3f6cff solid 0px;
}

.overlaycouleursang h5{
    font-size: 2vw;
}
.overlaycouleursang:hover{
    opacity:1;
}


.SoPretty{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 0px #3f6cff solid;
    height: fit-content;

}

.ImageSPIMC img{
    width:100%;
    padding: 0;
    margin:0;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: relative;

}


.overlaySPIMC{
    position:absolute;
    width: 100%;
    height: 100%;
    top:0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    opacity: 0;
    transition: 0.3s ease-in-out;
    background-color: hsla(0, 0%, 0%, 0.507);
    color: rgb(255, 0, 234);
    text-shadow: 0px 0px 10px rgb(0,153,235);
    padding:0;
    margin:0;
    row-gap: 1rem;
}

.overlaySPIMC h4{
    font-family: 'FontSPIMC';
    font-size: 4vw;
    text-wrap: wrap;
    
}
.overlaySPIMC h5{
    text-shadow: 0px 0px 10px rgb(0,153,235);
    font-family: 'FontSPIMC';
    font-size: 3vw;
}


.overlaySPIMC:hover{
    opacity:1;
}

.Passeport{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 0px white solid;
    height: fit-content;
}

.ImagePasseport img{
    width:100%;
    padding: 0;
    margin:0;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: relative;
}
.overlayPasseport{
    position:absolute;
    width: 100%;
    height: 100%;
    top:0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    opacity: 0;
    transition: 0.3s ease-in-out;
    background-color: hsla(0, 0%, 0%, 0.507);
    color: white;
    font-family: 'Montserrat', Courier, monospace;
    font-size: 6.25rem;
    row-gap: 1rem;
}
.overlayPasseport h4{
    font-size: 5vw;
}
.overlayPasseport h5{
    font-size: 2vw;
}
.overlayPasseport:hover{
    opacity:1;
}

.TTC{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 0px white solid;
    height: fit-content;
}

.ImageTTC img{
    width:100%;
    padding: 0;
    margin:0;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: relative;
}
.overlayTTC{
    position:absolute;
    width: 100%;
    height: 100%;
    top:0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    opacity: 0;
    transition: 0.3s ease-in-out;
    background-color: hsla(0, 0%, 0%, 0.507);
    color: white;
    row-gap: 1.5rem;
}
.overlayTTC:hover{
    opacity:1;
}

.overlayTTC h4{
    font-family: 'Libre Baskerville', sans-serif;
    font-size: 4.5vw;
}
.overlayTTC h5{
    font-family: 'Libre Baskerville', sans-serif;
    font-size: 2vw;
}

.SansCouleurs{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 0px white solid;
    height: fit-content;
}

.ImageSansCouleurs img{
    width:100%;
    padding: 0;
    margin:0;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: relative;
}
.overlaySansCouleurs{
    position:absolute;
    width: 100%;
    height: 100%;
    top:0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    opacity: 0;
    transition: 0.3s ease-in-out;
    background-color: hsla(0, 0%, 0%, 0.507);
    color: white;
    font-family: 'Courier New', Courier, monospace;
    row-gap: 1.5rem;

}
.overlaySansCouleurs h4{
    font-size: 4vw;
}
.overlaySansCouleurs h5{
    font-size: 2vw;
}
.overlaySansCouleurs:hover{
    opacity:1;
}

.SoyYo{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 0px white solid;
    height: fit-content;
}

.Image-soy-yo img{
    width:100%;
    padding: 0;
    margin:0;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: relative;
}
.overlay-soy-yo{
    position:absolute;
    width: 100%;
    height: 100%;
    top:0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    opacity: 0;
    transition: 0.3s ease-in-out;
    background-color: hsla(0, 0%, 0%, 0.507);
    color: white;
    row-gap: 1.5rem;
}
.overlay-soy-yo:hover{
    opacity:1;
}

.overlay-soy-yo h4{
    font-size: 6vw;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}
.overlay-soy-yo h5{
    font-size: 2vw;
    font-family: 'Montserrat', sans-serif;
}







  








footer{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border:0px rgb(0, 0, 0) solid;
    width: 60%;
    height: fit-content;
    margin-top:2vw;
    margin-bottom: 6.5rem;
}

footer a{
    text-decoration: none;
    color: rgb(58, 58, 58);
}

footer a:hover{
    color: rgb(5, 114, 41);
    opacity:0.5;
    transition: 0.3s ease-in-out;
    text-shadow: rgba(105, 211, 149, 0.37) 0.5rem 0.5rem 0;
}

.footercontainer{
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: fit-content;
    background-color: rgb(255, 255, 255);
    border: 0px solid orange;
    row-gap: 2.5vw;
}

.footerelement{
    position: relative;
    font-family: 'Montserrat',sans-serif;
    font-size: 1.75vw;
    color: rgb(58, 58, 58);
    border: 0px solid rgb(104, 26, 26);
    height: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    align-items: center;
}

.footerelement#Mail{
    display: flex;
    align-items: center;
    text-align: center;
    order: 2;
    justify-content: center;
    color: rgb(58, 58, 58);
    gap: 1vw;
}

.footerelement#Poste{
    order: 1;
    text-align: center;
    justify-content: center;
    color: rgb(58, 58, 58);
    font-size: 3vw;

}

.footerelement#Instagram{
    order: 3;
    justify-content: center;
    text-align: center;
    color: rgb(58, 58, 58);
    gap: 1vw;
}

.footerelement#InstagramPhoto{
    order: 4;
    justify-content: center;
    color: rgb(58, 58, 58);
    gap: 1vw;
}

.Logo{
    width: 2vw;
    padding-right: 1vw;
    color:white;
    background-color: rgb(255, 255, 255);
    border: 0px solid white ;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.Logo img{
    width: 100%;
    filter: invert(1);
}

.LogoPhoto{
    width: 2vw;
    padding-right: 1vw;
    background-color: rgb(255, 255, 255);
    border: 0px solid white ;
    display: flex;
    justify-content: center;
    align-items: center;
}
.LogoPhoto img{   
    filter: invert(1);
    width: 100%;
}
.MailCopy{
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 1rem;
}
/*===========================Phone====================================*/

@media (max-width: 1000px) {
    body{
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;      
    }
    header{
    width: 92%;
    background-color: rgb(255, 255, 255);
    display: flex;
    height: fit-content;
    justify-content: center;
    align-items: center;
    border: rgb(255, 255, 255) 0px solid;
    margin-top: 3rem;
    margin-bottom: 1rem;
    }
    hr{
        height: 0.4vw;
        border: none;
    }
    .navbar{
        row-gap: 2vw;
        width: 100%;
    }
    .undernavbar{
        flex-direction: column;
        row-gap: 0.5rem;
    }
    #AristotePham-Ba{
        font-size: 9vw;
        width: 100%;
        text-wrap: nowrap;
        font-weight: bolder;
        line-height: 10vw;
        border: solid black 0px;

    }
    #Projets{
        font-size: 5vw;
        margin: 0vw;
    }
    #DOP{
        font-size: 5vw;
        font-style: italic;
        line-height:0;
        margin-bottom: 5vw;
    }
    #ListeMatériel{
        font-size: 5vw;
        margin: 0vw;
    }
    #Contact{
        font-size: 5vw;
        margin: 0vw;
    }
    #About{
        font-size: 5vw;
        margin: 0vw;
    }
    .maincontainer{
        row-gap: 0.5rem;
        width: 100%;
    }
    .mainelement{
        width: 92%;
    }
    .overlaycouleursang{
        row-gap: 2vw;
    }
    .overlaycouleursang h4{
        font-size:2.5rem;
        text-wrap: nowrap;
    }
    .overlaycouleursang h5{
        font-size: 2vw;
    }
    .overlaySPIMC{
        row-gap: 5vw;
    }
    .overlaySPIMC h4{
        font-size: 6vw;
    }
    .overlaySPIMC h5{
        font-size: 4vw;
        height: fit-content;
    }
    .overlayPasseport{
        row-gap: 0.5vh;
    }
    .overlayPasseport h4{
        font-size:7vw;
        text-wrap: nowrap;
    }
    .overlayPasseport h5{
        font-size: 2vw;
    }
    .overlayTTC{
        row-gap: 0.5vh;
    }
    .overlayTTC h4{
        font-size:6.5vw;
        text-wrap: nowrap;
    }
    .overlayTTC h5{
        font-size: 3vw;
    }
    .overlaySansCouleurs{
        row-gap: 0.7vh;
    }
    .overlaySansCouleurs h4{
        font-size: 6vw;
        text-wrap: nowrap;
    }
    .overlaySansCouleurs h5{
        font-size: 2vw;
    }
    .overlay-soy-yo{
        row-gap: 0.5vh;
    }
    .overlay-soy-yo h4{
        font-size:7.5vw;
        text-wrap: wrap;
    }
    .overlay-soy-yo h5{
        font-size: 2vw;
    }
    footer{
        margin-top:1rem;
        margin-bottom: 3rem;
        width: 100%;
    }
    .footercontainer{
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        height: fit-content;
        width: 100%;
        gap: 2rem;

    }
    .footerelement{
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .footerelement#Mail{
    display: flex;
    align-items: center;
    text-align: right;
    order: 2;
    justify-content: center;
    color: rgb(58, 58, 58);
    gap: 1rem;
    width: 100%;
    font-size: 5vw;
    }

    .footerelement#Poste{
        order: 1;
        text-align: center;
        color: rgb(58, 58, 58);
        font-size: 5vw;
        margin: 0;
        padding: 0;
        width: 100%;

    }

    .footerelement#Instagram{
        order: 3;
        justify-content: center;
        color: rgb(58, 58, 58);
        gap: 1rem;
        width: 100%;
        font-size: 5vw;
    }

    .footerelement#InstagramPhoto{
        order: 4;
        justify-content: center;
        color: rgb(58, 58, 58);
        gap: 1rem;
        width: 100%;
        font-size: 5vw;
    }

    .Logo{
        width: 6vw;
        color:white;
        background-color: rgb(255, 255, 255);
        border: 0px solid white ;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 10px;
    }

    .Logo img{
        width: 100%;
        filter: invert(1);
    }

    .LogoPhoto{
        width: 6vw;
        background-color: rgb(255, 255, 255);
        border: 0px solid white ;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 10px;
    }
    .LogoPhoto img{
        width: 100%;
        filter: invert(1);
    }
    .MailCopy{
        display: flex;
        flex-direction: row;
        align-items: center;
        column-gap: 1rem;
    }
}