html {
    scroll-behavior: smooth;
}

h2 {
    padding-bottom: 20px;
}

h2.text-center {
    font-size: 38px;
    font-weight: bold;
}

p {
    font-size: 16px;
    font-family: Raleway, sans-serif;
}

/***** HEADER *****/
#mainNav{
    font-family:'Source Sans Pro', sans-serif;
    border:none;
    background: #393e46;
}

#mainNav a:focus{
    outline:0;
}

#mainNav .navbar-brand{
    font-size:1.1rem;
    color:#eeeeee;
}

#mainNav .navbar-brand.active,#mainNav .navbar-brand:active,#mainNav .navbar-brand:focus,#mainNav .navbar-brand:hover{
    color:#fff;
}

#mainNav .navbar-nav{
    letter-spacing:1px;
}

#mainNav .navbar-nav li.nav-item a.nav-link{
    color:#fff;
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover{
    color: #4ecca3;
    outline:0;
}

#mainNav .navbar-nav li.nav-item a.nav-link:active,#mainNav .navbar-nav li.nav-item a.nav-link:focus{
    color:#fff;
}

#mainNav .navbar-toggler{
    font-size:14px;
    padding:11px;
    text-transform:uppercase;
    color:white;
    border-color:#4ecca3;
}

#mainNav .navbar-toggler:focus,#mainNav .navbar-toggler:hover{
    color:#fff;
    border-color: #4ecca3;
    background-color: #4ecca3;
}

@media (min-width:992px) {
    #mainNav .navbar-brand{
        font-size:2em;
        -webkit-transition:all .3s;
        -moz-transition:all .3s;
        transition:all .3s;
    }

    #mainNav .navbar-nav>li.nav-item>a.nav-link.active{
        color:#fff;
        border-radius:3px;
        background: #4ecca3;
    }

    #mainNav .navbar-nav>li.nav-item>a.nav-link.active:active,#mainNav .navbar-nav>li.nav-item>a.nav-link.active:focus,#mainNav .navbar-nav>li.nav-item>a.nav-link.active:hover{
        color:#eeeeee;
        background: #4ecca3;
    }

    #mainNav.navbar-shrink{
        padding-top:10px;
        padding-bottom:10px;
    }

    #mainNav.navbar-shrink .navbar-brand{
        font-size:1.5em;
    }
}

/***** HEADER *****/
header.masthead{
    padding-top:100px;
    padding-bottom:70px;
    text-align:center;
    color:#fff;
    background: url("../images/jakob-owens-335000.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    margin-top: 50px;
}

header.masthead img{
    display:block;
    margin:0 auto 20px;
}

header.masthead .intro-text .name{
    font-size:2em;
    font-weight:700;
    display:block;
    text-transform:uppercase;
    color: #eeeeee;
}

header.masthead .intro-text .skills{
    font-size:1.25em;
    font-weight:300;
    color: #eeeeee;
}

@media (min-width:768px){
    header.masthead{
        padding-top:200px;
        padding-bottom:100px;
    }

    header.masthead .intro-text .name{
        font-size:4.75em;
    }

    header.masthead .intro-text .skills{
        font-size:1.75em;
    }
}


/***** A PROPOS ******/
#apropos {
    padding: 70px;
    background-color: #4ecca3;
    color: white;
}

#apropos > div > img {
    width: 25%;
    display: block;
    margin: auto;
    margin-bottom: 30px;
}
@media (max-width: 990px) {
    #apropos > div > img {
        width: 50%
    }
}

/***** PROJETS ******/
#projets {
    padding: 70px;
}

#projets > div > div > div {
    margin-bottom: 20px;
}

#projets > div > div > div:hover {
    transform: scale(1.04);
    transition: 0.7s ease;
}

#projets > div > div > div > div > div > div > div > button {
    height: 50px;
    width: 100%;
    border: none;
    background-color: #4ecca3;
    border-radius: 2px;
}

#projets > div > div > div > div > div > div > div > button > a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

#projets > div > div > div > div > div > div > div > button > a:hover {
    color: #fff;
    text-decoration: none;
}

#projets > div > div > div > div > div.card-body > p {
    font-weight: 500;
    font-style: italic;
}

    /**** image fhv ****/
#projets > div > div > div:nth-child(10) > div > div.img > img {
    width: 348px;
}

    /**** image fluid gradient ****/
#projets > div > div > div:nth-child(11) > div > div.img > img {
    height: 232px;
}

    /**** image photographie ****/
#projets > div > div > div:nth-child(12) > div > div.img > img {
    height: 232px;
}
/***** FOOTER *****/
footer {
    color: white;
    background-color: #232931;
    padding: 15px;
}
body > footer > div > div > div > div {
    padding-bottom: 20px;
    margin-top: 15px;
}

body > footer > div > div > div > div:nth-child(3) > p > a {
    color: #4ecca3;
}

body > footer > div > div > div > div:nth-child(2) > ul > li > a > i {
    font-size: 30px;
}

body > footer > div > div > div > div > ul > li:nth-child(2) > a > i {
    padding-right: 20px;
    padding-left: 20px;
}

body > footer > div > div > div > div:nth-child(1) > p {
    font-style: italic;
}

body > footer > div > div > div > div:nth-child(2) > ul > li:nth-child(1) > a > i {
    color: #3b5998;
}

body > footer > div > div > div > div:nth-child(2) > ul > li:nth-child(2) > a > i {
    color: #0e76a8;
}

body > footer > div > div > div > div:nth-child(2) > ul > li:nth-child(3) > a > i {
    color: #f07355;
}

/***** 50 ANS *****/
body > div.container-fluid {
    margin-top: 100px;
}

body > div > div > iframe {
    display: block;
    margin: auto;
    width: 80%;
    padding-bottom: 25px;
}

body > div > div.container > div > div.col-lg-9 {
    margin: auto;
    padding-bottom: 15px;
}

body > div > div.container > div.caption-content > button {
    height: 50px;
    width: 25%;
    border: none;
    background-color: #4ecca3;
    border-radius: 2px;
    display: block;
    margin: auto;
    margin-bottom: 30px;
}
@media (max-width:767px) {
    body > div > div.container > div.caption-content > button{
        width: 50%;
    }
}

body > div > div.container > div.caption-content > button > a {
    text-decoration: none;
    color: white;
}

/***** PERSO WORK *****/
body > div > div.azerty > div > div > div > img {
    padding-bottom: 25px;
    width: 100%;
}

/***** FRIGO *****/
body > div > div.img-frigo > img {
    width: 50%;
    display: block;
    margin: auto;
    padding-bottom: 25px;
}
@media (max-width: 650px) {
    body > div > div.img-frigo > img {
        width: 100%;
    }
}

body > div > div.video > iframe {
    height: 500px;
}

@media (max-width:625px) {
    body > div > div.video > iframe {
        height: 300px;
        width: 100%;
    }
}

