/* GENERAL */
*{
    box-sizing: border-box;
    outline: none;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;  
}
.wrapper{
    max-width: 1200px;
    margin:auto;
}
.orange {
    width: 10em;
    height: 9em;
    padding: 38px;
}
h1{
    font-family: sans-serif;
}
h1 span{
    font-family: sans-serif;
}
h1, h2, h3{
    text-transform: uppercase;
}
h1,h2 {
    font-size: xx-large;
    font-weight: bolder;
}
h2{
    padding-top: 90px;
}
span{
    color: #f7600e;
}
section{
    text-align: center;
}
a{
    text-decoration: none;
    text-transform: uppercase;
}
p{
    line-height: 25px;
}
::placeholder{
    color: #3b434c;
}

/* SECTION 1 WE DESIGN */
#weDesign{
    background-image: 
    linear-gradient(black,black),
    url("../../ressources/images/p1/macbook-925614.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: saturation;
    color: #ffffff;
}
#weDesign header{
    padding: 40px 15px 0 30px;
    font-size: 25px;
}
#weDesign header div{
    display: flex;
    justify-content: space-between;
}
#weDesign header div div p{
    padding-right: 10px;
}
#weDesign h1{
    padding: 120px 20px 0 20px;
    font-size: 70px;
    font-weight:bolder;
}
#weDesign h1+p{
    margin: auto;   
    font-size: 25px;
    padding:0 10px 60px 10px;
}
#weDesign #nav{
    height: 20px;
}
#weDesign #navBar{
    cursor:pointer;
}
#weDesign nav{
    display: none;
}
#weDesign nav a{
    padding: 0 10px;
}
#weDesign nav a:hover{
    transition-delay:0.2s;
    border-bottom: solid 2px #f7600e ;
}
#weDesign #headerA{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#weDesign a{
    color: #ffffff ;
}
#weDesign #headerA a{
    border-radius: 10px;
}
#weDesign #headerA a:nth-child(1){
    background-color: #f7600e; 
    padding: 10px 70px;
    margin-bottom: 20px;
}
#weDesign #headerA a:nth-child(1):hover{
    background-color: #f78a0e;
}
#weDesign #headerA a:nth-child(2){
    border: solid 1px #65696e;
    padding: 10px 50px;
}
#weDesign #headerA a:nth-child(2):hover{
    background-color: #a6abaf;
}
#arrowDown{
    padding-top: 180px; 
    padding-bottom: 20px;   
}

/* SECTION 2 SKILL */
#skill{  
    color: #3b434c;
}
#skill div{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 90px;
}
#skill div div{
    max-width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-top: 90px;
    margin-right: 30px;
    margin-bottom: 0;
    margin-left: 30px;
}
#skill div div:hover{
    transition-duration: 1s;
    margin-top: 60px;
}
#skill div div div{
    margin-top: 0px;
}
#skill div div div:hover{
    margin-top: 0;
}
#skill p{
    padding-top: 20px;
}
#skill h3{
    margin-top: 40px;
}
#skill div div div{
    margin: auto;
    width: 130px;
    height: 130px;
    border: solid 1px #65696e;   
    border-radius: 100%;  
}
#skill div div div img{
       margin: auto;
}
#skill #skill1{
    width: 60px;
}
#skill #skill2{
    width: 70px;
}
#skill #skill3{
    width: 40px;
}
#skill #skill4{
    width: 40px;
}

/* SECTION 3 NEWSLETTER */
#newsletter{
    background-image:
    linear-gradient(black,black),
     url("../../ressources/images/p1/tablet-791051.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 200px;
    background-blend-mode: saturation;
}
#newsletter div{
    display: flex;
    justify-content: center;
    margin-top: auto;
}
#newsletter div form{
    margin: 80px 10px 0 10px;
}
#newsletter div form input{
    width: 320px;
    line-height: 2;
    border-radius: 10px;
    border: 1px solid #3b434c;
    padding-left: 20px;
    margin-bottom: 20px;
}
#newsletter div form button{
    background-color: #f7600e; 
    padding: 10px 70px;
    border-radius: 10px;
    border: none;
    color: #ffffff;
    text-transform: uppercase;
}
#newsletter div form button:hover{
    background-color: #f78a0e;
}

/* SECTION 4 OUR WORKS */
#ourWorks{
    color: #3b434c;
}
#ourWorks h2+p{
    margin:30px 10px 90px 10px ;
}
#ourWorks div .showWork{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    margin-bottom: 120px;
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}
#ourWorks div div:nth-child(2) div{
    width: 80%;
    height: 360px;
    margin: 10px;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}
#ourWorks div div:nth-child(2) div:nth-child(1){
    background-image: url("../../ressources/images/p2/business-925900_1920.jpg");
}
#ourWorks div div:nth-child(2) div:nth-child(2){
    background-image: url("../../ressources/images/p2/imac-606765_1920.jpg");
}
#ourWorks div div:nth-child(2) div:nth-child(3){
    background-image: url("../../ressources/images/p2/ipad-606766_1920.jpg");
}
#ourWorks div div:nth-child(2) div:nth-child(4){
    background-image: url("../../ressources/images/p2/macbook-624707_1920.jpg");
}
#ourWorks div div:nth-child(2) div:nth-child(5){
    background-image: url("../../ressources/images/p2/office-605503_1920.jpg");
}
#ourWorks div div:nth-child(2) div:nth-child(6){
    background-image: url("../../ressources/images/p2/technology-792180_1920.jpg");
}
#ourWorks #showMore{
    border: solid 1px #65696e;
    color: #65696e;
    border-radius: 10px;
    padding: 10px 30px;
}
#ourWorks #showMore:hover{
    background-color: #d3d3d3;
}
#ourWorks article{
    display: none;
    margin: auto;
}
#ourWorks .showWork div:hover article{
    display: block;
}
#ourWorks .showWork div:hover{
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}
#ourWorks article h4{
    margin: 40px 0px;
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 25px;
}
#ourWorks article {
    max-width: 300px;
    color: black;
}
#ourWorks article p{
    margin-bottom: 40px;
}
#ourWorks article a{
    border: solid 1px #65696e;
    background-color: #65696e; 
    border-radius: 10px;
    padding: 10px 30px;
    color: #ffffff;
}
#ourWorks article a:hover{
    background-color: #d3d3d3;
}

/* SECTION 5 REPLY */
#reply{
    margin-top:120px;
    background-image: 
    linear-gradient(black,black),
    url("../../ressources/images/p3/woman-690036.jpg");
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    color: #ffffff;
    background-blend-mode: saturation;
}
#reply #avatar{
    border-radius: 100%;
    margin-bottom: 40px;
}
#reply div{
    padding-top: 100px;
}
#reply q{
    font-style: italic;
    line-height: 25px;
    font-size: 20px;
    margin:0 10px;
}
#reply footer{
    margin-top: 40px;
}

/* SECTION 6 OUR TEAM */
#team{
    color: #3b434c;
}
#team h2+p{
    margin:30px 10px 60px 10px ;
}
#team .profil{
    display: flex;
    flex-direction: column;
    align-items: center;  
}
#team div .column{
    display: flex;
    flex-direction: column;
    margin: 30px;
    border-radius: 10px;
    padding: 20px 0;   
}
#team div .column .imgTeam{
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}
#team div .column:hover .imgTeam{
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}
#team div .column a:hover{
    -webkit-transform:scale(1.1); /* Safari et Chrome */
    -moz-transform:scale(1.1); /* Firefox */
    -ms-transform:scale(1.1); /* Internet Explorer 9 */
    -o-transform:scale(1.1); /* Opera */
    transform:scale(1.1);
}
#team .imgTeam{
    margin: auto;
    height: 280px ;
    width: 230px;
    border-radius: 10px;
    margin-bottom: 30px;
}
#team #t1{
    background-image: url("../../ressources/images/team/t1.jpg");
}
#team #t2{
    background-image: url("../../ressources/images/team/t2.jpg");
}
#team #t3{
    background-image: url("../../ressources/images/team/t3.jpg");
}
#team #t4{
    background-image: url("../../ressources/images/team/t4.jpg");
}
#team .teamMedia{
    display: flex;
    justify-content: center;
    padding: 20px 0;   
}
#team .teamMedia img{
    height: 30px;
    padding: 0 5px;   
}
#team #circle{
    margin-top: 50px;
    padding: 0 5px;
}
#team .column p{
    margin: 0 10px ;
    max-width: 300px;
}

/* SECTION 7 CONTACT */
#contact{
    background-image: 
    linear-gradient(black,black),
    url("../../ressources/images/p4/city-937541.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    margin-top: 120px;
    background-blend-mode: saturation;
}
#contact h2+p{
    margin:30px 10px 90px 10px ;
}
#contact div form{
    padding: 10px;
    max-width:820px ;
    margin: auto;
}
#contact div form input{
    width: 100%;
    line-height: 2;
    border-radius: 10px;
    border: 1px solid #3b434c;
    padding-left: 40px;
    margin: 20px 0;
}

#contact div form textarea{
    width: 100%;
    resize: none;
    border-radius: 10px;
    padding-left: 40px;
    padding-top: 10px;
    border: 1px solid #3b434c;
    height: 160px;
    color: #3b434c;
}
#contact div form button{
    background-color: #f7600e; 
    padding: 10px 70px;
    border-radius: 10px;
    border: none;
    color: #ffffff;
    text-transform: uppercase;
}
#contact #formHeader{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
#contact #formFooter{
    margin: 30px 0 90px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
#contact #formFooter button{
    max-width: 200px;
    margin-bottom: 40px;
}
#contact #formFooter button:hover{
    background-color: #f78a0e;
}

#contact #formFooter a img:hover{
    -webkit-transform:scale(1.1); /* Safari et Chrome */
    -moz-transform:scale(1.1); /* Firefox */
    -ms-transform:scale(1.1); /* Internet Explorer 9 */
    -o-transform:scale(1.1); /* Opera */
    transform:scale(1.1);
}


/* SECTION 8 FOOTER */
#footer{
    background-color: #3b434c;
}
#footer div{
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    margin:auto;
}
#footer p{
    padding: 10px;
    color: #ffffff;
    line-height: 100px;
}


@media screen and (min-width: 576px) {
    #newsletter div form button{
        margin-left: 20px;
    }
    #contact #formFooter{
        margin-top: 30px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    #contact #formFooter button{
        margin-bottom: 0;
    }

}

@media screen and (min-width: 768px) {
    #weDesign #headerA{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    #weDesign nav{
        margin: auto;
    }
    #weDesign #headerA a:nth-child(1){
        margin-bottom: 0;
        margin-right: 20px;
    }
    #skill div{
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    #newsletter div form button{
        margin-left: 40px;
    }
    #ourWorks div div:nth-child(2){
        flex-direction: row;
        justify-content: center;
    }
    #ourWorks div div:nth-child(2) div{
        width: 40%;
        height: 360px;
    }
    #team .profil{
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        justify-content:center;
    }    
}

@media screen and (min-width: 992px) {
    #weDesign{
        height: 800px;   
    }
    #skill div{
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;    
    }
    #newsletter div form input{
        width: 500px;
    }
    #contact div form input{
        width: 48%;
    }
    #contact #formHeader{
        flex-wrap: nowrap;
        flex-direction: row;/**/
    }
}

@media screen and (min-width: 1200px) {
    #team .profil{
        flex-wrap: nowrap;
    }
}

