/*------------------------------FONT------------------------------*/

@import url('https://use.fontawesome.com/releases/v5.5.0/css/all.css');

@font-face{
    font-family: "SourceSansPro";
    src: url("../fonts/SourceSansPro-Regular.otf");
}

/*------------------------------GLOBAL------------------------------*/

body, div, nav, section{
    margin: 0;
    color:#ffffff;
}

#main{
    overflow-x: hidden;

}

h1, h2, h3{
    letter-spacing: 3px;
    font-family: SourceSansPro, serif;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: solid 2px #ffffff33;
    padding-bottom: 0.4em;
    margin-bottom: 1em;
}

p, a{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: lighter;
    font-size: 0.95em;
}

/*------------------------------WRAPPER------------------------------*/

.wrapper .inner {
    padding: 2em 15% 3em 15% ;
    max-width: 100%;
    position: relative;
}

    @media screen and (max-width: 1250px) {
        .wrapper .inner {
            padding: 2em 14% 2em 14%;
        }
    }

    @media screen and (max-width: 500px) {
        .wrapper .inner {
            padding: 2em 10% 2em 10%;
        }
    }

.wrap-curved:after, .wrap-curved:before{
    background-size: 100% 100%;
    display: block;
    height: 6em;
    position: relative;
    width: 100%;
}

.wrap-curved:after{
    top:0.05em;
}

.wrap-curved:before{
    top:-0.05em;
}

.wrapper.bg-fixed{
    background-image: linear-gradient(to top, rgba(46, 49, 65, 0.8), rgba(46, 49, 65, 0.8)), url("../images/background.jpg");
    background-attachment: fixed;
    background-position: center, center;
    background-repeat: no-repeat;
    background-size: auto, cover;
}

.wrapper.style1{
    background-color: #ffffff00;
}

.wrap-curved.style1:after{
    background-image: url("data:image/svg+xml;utf8,<svg height='100' version='1.1' width='100' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><polyline points='0,100 100,0 100,100' fill='%234d60b3'/></svg>");
    content: '';
}



.wrapper.style2{
    background-color: #4d60b3;
}

.wrap-curved.style2:after{
    background-image: url("data:image/svg+xml;utf8,<svg height='100' version='1.1' width='100' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><polyline points='0,100 100,0 100,100' fill='%23444453'/></svg>");
    transform: scaleX(-1);
    content: '';
}

.wrapper.style3{
    background-color: #444453;
}

.wrapper.style4{
    background-color: #ffffff00;
}

.wrap-curved.style4:before{
    background-image: url("data:image/svg+xml;utf8,<svg height='100' version='1.1' width='100' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><polyline points='0,100 100,0 100,100' fill='%23444453'/></svg>");
    transform: scale(-1);
    content: '';
}

.wrapper.style5{
    background-color: #171727;
}

.wrapper.style5 .inner{
    padding-top: 1em;
    padding-bottom: 2em;
    color:#cacaca;
}

/*------------------------------ANIMATION------------------------------*/

.anim1{
    animation-duration: 1.5s;
    animation-name: slide1;
}

@keyframes slide1{
    from {
      margin-left: -100px;
      opacity: 0;
    }

    to {
      margin-left: 0px;
      opacity:1;
    }
}

.anim2{
    animation-duration: 1.5s;
    animation-name: slide2;
}

@keyframes slide2{
    from {
        margin-left: -200px;
        opacity: 0;
    }

    to {
        margin-left: 0px;
        opacity:1;
    }
}

/*------------------------------BANNIERE------------------------------*/

#banner .inner{
    height: 70vh;
    display:flex;
    flex-direction: column;
    justify-content: center;
    padding-top:0;
}

#banner h1{
    font-size: 3em;
}

#banner h2{
    font-size:1.3em;
    font-weight: lighter;
    border-bottom: none;
    color:#cacaca;
}

/*------------------------------PROFIL------------------------------*/

#profil{
    display: flex;
    flex-direction: row;
    align-items:center;
}

    @media screen and (max-width: 950px) {
        #profil{
            flex-direction: column;
        }
    }

#profil img{
    border-radius: 100px;
    margin-right: 2em;

}

#profil-txt{
    flex-direction: column;

}

/*------------------------------BOUTON------------------------------*/

.button{
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.7em 1.2em 0.7em 1.2em;
    margin-top: 0.7em;
    cursor: pointer;
    background-color: #00000000;
    color: #ffffff;
    border: 1px rgba(228, 228, 246, 0.4) solid;
    border-radius: 100px;
    font-family: SourceSansPro, serif;
    font-weight: bold;
    font-size: 1em;
    letter-spacing: 1px;

    transition: background-color 300ms, border 300ms;
}

.button:hover{
    border: 1px #E4E4F6 solid;
    background-color: rgba(228, 228, 246, 0.05);
}

.button-ul{
    padding-left: 0;
}

/*------------------------------PROJETS------------------------------*/

.tab{
    display:flex;
    background-color: rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    height:250px;
    overflow: hidden;
    margin-top:2.5em;
}

.tab-txt{
    flex:1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1em 3em 1.5em 3em;
    overflow: hidden;
}

.tab-img{
    background-image: radial-gradient(circle at center, grey, rgb(44, 44, 44));
    height: 250px;
    width: 350px;
    overflow: hidden;
    background-position: center center;
    background-size: 100% auto;
    background-repeat: no-repeat;
}

    @media screen and (max-width: 1200px) {
        .tab{
            height:auto;
            width:350px;
            margin: 20px auto;
        }

        #all-tab{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .tab-l{flex-direction: column;}

        .tab-r{flex-direction: column-reverse;}


    }

/*------------------------------FORMULAIRE------------------------------*/

#formDiv{
    display: flex;
    padding-top: 2em;
}

form{
    padding-right: 2em;
    border-right: 2px rgba(255, 255, 255, 0.2) solid;
    width:70%;
}

#info{
    list-style: none;
    margin: 0;
}

#info li h4{
    text-decoration: none;
    padding:0;
    margin:0;
}

.field{
    display:flex;
    flex-direction: column;
}

.field input, .field textarea{
    color:#ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px rgba(255, 255, 255, 0.2) solid;
    border-radius: 5px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: lighter;
    padding: 1em 1em 1em 1em;
    margin: 0.7em 0 2em 0;

}

.field label, #info h4{
    font-weight: bold;
    font-size: 1.1em;
    font-family: SourceSansPro, serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
}

#info p{
    padding-bottom: 1.5em;
}

textarea{
    resize: none;
}

.icons{
    text-decoration: none;
    list-style-type: none;
    padding: 1em 0 0 0;
    font-family: FontAwesome;

}

    @media screen and (max-width: 810px) {
        #formDiv{
            flex-direction: column;
            align-items: baseline;
        }
        form{
            width:100%;
            border-right: 0;
            border-bottom: 2px rgba(255, 255, 255, 0.2) solid;
            padding-bottom: 2em;
            padding-right: 0;
        }
        #info{
            padding-top: 2em;
            margin-left:0;
            padding-left:0;
        }
    }

#halfs{
    display:flex;
    justify-content: space-between;
}

#halfs .half{
    width: 48%;
}

    @media screen and (max-width: 550px) {
        #halfs{
            flex-direction: column;
        }
        #halfs .half{
            width: 100%;
        }
    }

/*-----------------------------------------------------------------------*/
