/* DOCUMENT INFORMATION
Document : Savary
Version : 1
Auteur : Tim
*/

/* COLORS

couleur txt     #2F2E2E
txt:hover       rgb(222,80,33)

/*FICHIERS FONTS
==================================================================*/

@font-face {
    font-family: 'Inknut-Antiqua-black';
    src: url(../fonts/InknutAntiqua-Black.ttf);
}

@font-face {
    font-family: 'Inknut-Antiqua-light';
    src: url(../fonts/InknutAntiqua-Light.ttf);
}

@font-face {
    font-family: 'Raleway-semi-bold';
    src: url(../fonts/Raleway-SemiBold.ttf);
}

@font-face {
    font-family: 'Raleway-light';
    src: url(../fonts/Raleway-Light.ttf)
}


/* FONTS
====================================

h1      Inknut-Antiqua-black 85px
h2      Raleway-semi-bold 30px
h3      Inknut-Antiqua-light 60px
p       Raleway-light 17px
a       

/*GLOBAL
================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    max-width: 1920px;
    margin: auto;
}

h1 {
    font-family: 'Inknut-Antiqua-black';
    font-size: 85px;
    text-align: center;
    margin: 0;
    padding-top: 80px;
    background-image: url("../ressources/txt-hover.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 60px;
        line-height: 200%;

    }

}

h2 {
    font-family: 'Raleway-semi-bold';
    font-size: 30px;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #2F2E2E;
}


h3 {
    font-family: 'Inknut-Antiqua-light';
    font-size: 60px;
    text-align: center;
    color: #2F2E2E;
    margin: 0;
    padding: 0;
}


p {
    font-family: 'Raleway-light';
    font-size: 17px;
    color: #2F2E2E;
}

a {
    text-decoration: none;
}

label {
    font-family: 'Raleway-light';
    font-size: 17px;
    color: #2F2E2E;
}

::-webkit-input-placeholder {
    font-family: 'Raleway-light';
    font-size: 17px;
    color: #2f2e2e7a;
}

::-moz-placeholder {
    font-family: 'Raleway-light';
    font-size: 17px;
    color: #2f2e2e7a;
}

:-ms-input-placeholder {
    font-family: 'Raleway-light';
    font-size: 17px;
    color: #2f2e2e7a;
}

::-ms-input-placeholder {
    font-family: 'Raleway-light';
    font-size: 17px;
    color: #2f2e2e7a;
}

::placeholder {
    font-family: 'Raleway-light';
    font-size: 17px;
    color: #2f2e2e7a;
}

input {
    font-family: 'Raleway-light';
    font-size: 17px;
    color: #2F2E2E;
}

.btn {
    background-color: rgb(222, 80, 33);
    color: #fff;
    border-radius: 20px;
    padding: 10px 40px;
    font-family: 'Raleway-light';
    font-size: 20px;
    font-weight: bold;
    margin-top: 70px;
}

.btn:hover {
    background-color: #2F2E2E;
    color: rgb(222, 80, 33);
    transition: 0.5s;
}

@media only screen and (max-width: 768px) {
    .btn{
        font-size: 35px;
        padding: 20px 50px;
        border-radius: 40px;
    }
}

/* HEADER MENU BURGER
================================================================== */

body {
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../ressources/hero.jpg);
    padding: 50px 0;
}

@media only screen and (max-width: 768px) {
    header {
        display: block;
        display: flex;
        align-items: center;
    }
}

header .topnav {
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}

header .topnav a {
    color: #2F2E2E;
    font-family: 'Inknut-Antiqua-light';
    font-size: 40px;
    margin: 0 50px;
}

header .topnav a:hover {
    color: rgb(222, 80, 33);
}

@media only screen and (max-width: 768px) {
    header .topnav a {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    header .topnav a.icon {
        display: block;
    }
}

header .topnav .icon {
    display: none;
}

@media only screen and (max-width: 768px) {
    header .topnav .icon {
        display: block;
    }
}


@media only screen and (max-width: 768px) {
    header .topnav.responsive {
        display: flex;
        flex-direction: column;
    }

    header .topnav.responsive a {
        display: flex;
    }

    header .topnav.responsive a.icon {
        position: absolute;
        top: -5px;
        right: 0;
    }
}

/* FIN Menu burger
================================================================== */


/*HERO
================================================================== */

#hero {
    background-image: url(../ressources/hero.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
    width: 100%;
}

#hero .cta {
    display: flex;
    justify-content: center;
}

/*PROJETS
================================================================== */

#projets {
    margin-bottom: 40px;
}

#projets .photos-3 {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
}

#projets .photos-3 img {
    margin: 20px;
}

/* PASSER DESSUS LES PHOTOS DE PROJET*/

.photos-3 a:hover {
    opacity: 0.5;
}

@media only screen and (max-width: 768px) {
    #projets .photos-3 img {
        width: 80%;
        height: 80%;

    }

}



/*BLANK-1
================================================================== */

.blank-1 {
    height: 530px;
    background-image: url(../ressources/section.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* A PROPOS
================================================================== */
/*voir réglages p dans global*/

#a-propos {
    margin: auto;
    margin-bottom: 80px;
    width: 500px;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    #a-propos {
        width: 400px;
    }

}


/* BLANK-2
================================================================== */

.blank-2 {
    height: 820px;
    background-image: url(../ressources/footer.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* CONTACT
================================================================== */

#contact {
    margin-bottom: 100px;
}

.form {
    display: flex;
    justify-content: center;
}

.formulaire {
    width: 500px;
}

.formulaire label {
    text-align: left;
}

.formulaire input {
    width: 100%;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.formulaire textarea {
    width: 100%;
    height: 120px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.bouton {
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 768px) {
    .formulaire {
        width: 400px;
    }

}

/* FOOTER
================================================================== */

footer {
    background-color: rgb(204, 74, 30);
    padding: 40px 0;
}

footer .legal {
    display: flex;
    justify-content: center;
}

footer p {
    font-family: 'Raleway-semi-bold';
    color: #fff;
    margin: 0 60px;
}

footer a {
    font-family: 'Raleway-semi-bold';
    color: #fff;
    margin: 0 60px;
}

footer a:hover {
    color: #2F2E2E;
}

#copyright .lien {
    display: flex;
    justify-content: center;
    padding-top: 60px;
}

#copyright .site {
    font-family: 'Raleway-semi-bold';
    color: #fff;
    border: 2px solid #fff;
    padding: 5px 20px;
    border-radius: 10px;
}

#copyright .site:hover {
    color: #2F2E2E;
    border: 2px solid #2F2E2E;
}

@media only screen and (max-width: 768px) {
    footer .legal {
        display: flex;
        flex-direction: column;
    }

    footer .legal p {
        margin: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    footer .legal p a {
        margin: 0;
    }

}


/* go to top
================================================================== */

#myBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: 2px solid #fff;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: rgb(204, 74, 30);
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px;
    /* Some padding */
    border-radius: 10px;
    /* Rounded corners */
    font-size: 18px;
    /* Increase font size */
}

#myBtn:hover {
    background-color: #2F2E2E;
    /* Add a dark-grey background on hover */
}

/* page 404
================================================================== */

.message {
    background-image: url(../ressources/hero.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
    width: 100%;
}