/*Global*/

html {
    scroll-behavior: smooth;
}

.heading-site {
    text-align: center;
    font-family: 'Pirata One', cursive;
}

/*header*/
.header {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    height: 70px;
    line-height: 70px;
    background-color: rgba (0, 0, 0,);
    position: fixed;
    top: 0;
    z-index: 999;
    
}

.header .header-logo {
    float: left;
    margin-left: 40px;
    height: 22px;
    line-height: 70px;
    margin-top: 24px;
    filter: drop-shadow(0px 0px 2px black);
}

.header .header-menu {
    float: right;
    margin-right: 32px;
    line-height: 70px;
    text-shadow: 0px 0px 10px black;
}

.header .header-menu a {
    margin-right: 15px;
    color: white;
    font-family: 'Questrial', sans-serif;
}

.header .header-menu a:hover {
    color: #466069;
}

/*Banner*/
.banner {
margin-top: -25px;
}

.banner .banner-image {
    position: relative;
}

.banner .banner-content {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 40%;
}

.banner .banner-content h1,
.banner .banner-content h2 {
    color: #ffffff;
    font-family: 'Questrial', sans-serif;

} 

/*Banner Contact Footer*/

.banner .banner-content a {
    color: #ffffff;
}

.banner .banner-content a {
    top: 140%;
    display: inline-block;
    margin : auto;
    position: absolute;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    font-family: 'Pirata One', cursive;
    box-sizing: border-box;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
    background-size: 400%;
    border-radius: 30px;
}

.banner .banner-content a:hover {
    animation: animate 8s linear infinite;
}
@keyframes animate
{
    0%
    {
        background-position: 0%;
    }
    100%
    {
        background-position: 400%;
    }
}
.banner .banner-content a:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
    background-size: 400%;
    border-radius: 40px;
    opacity: 0;
    transition: 0.5s;
}
.banner .banner-content a:hover:before {
    filter: blur(20px);
    opacity: 1;
    animation: animate 8s linear infinite;
}

/*About (A propos)*/

.block .heading-site {
    padding-top: 100px;
    font-size: 27px;
}


.about .about-single-element .icon {
    font-size: 60px;
    text-align: center;
}

.about .about-single-element {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 150px;
    font-family: 'Questrial', sans-serif;

    
}

.about .about-single-element .fiole {
    text-align: center;
    margin-left: 160px;
    width: 300px;   
}

.about .about-single-element .controller {
    text-align: center;
    margin-left: 150px;
    width: 350px;   
}

.about .about-single-element .loupe {
    text-align: center;
    width: 350px;   
}


/*Portfolio*/

#mes-travaux .heading-site {
    padding-bottom: 40px;
}

.fit-image {
    height: 100%;
    width: 100%;
}

#my-grid {
    margin-top: 50px;
}

.grid-padding {
    padding: 0 8px;
}

.grid-padding img {
    margin-bottom: 15px;
    transition: 0.8s ease;
}

.grid-padding img:hover {
    box-shadow: 0 10px 40px 10px rgba(0,0,0,0.5);
    transition: 0.8s ease;
}

.col-sm-4 {
    padding-right: 30px;
    
}


/*Footer*/

.footer .footer-contact-form {
    font-family: 'Questrial', sans-serif;
}

.footer .footer-contact-form .is-link {
    font-family: 'Questrial', sans-serif;
    background-color: #466069;
}

.footer .footer-contact-form .input{
    font-family: 'Questrial', sans-serif;
}

.footer .footer-informations {
    position: absolute;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    margin-left: 42%;
    padding-top: 60px;
}

.footer .footer-informations .btn {
    display: inline-block;
    width: 50px;
    height: 50px;
    float: left;
    background: #ffffff;
    margin: 10px;
    border-radius: 30%;
    box-shadow: 0 5px 15px -5px #00000070;
    color: #466069;
    overflow: hidden;
    position: relative;
}

.footer .footer-informations .btn i{
    line-height: 30px;
    font-size: 26px;
    transition: 0.2s linear;
    padding: center;
}
 
.btn:before {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    background: #466069;
    transform: rotate(45deg);
    left: -110%;
    top: 90%;
    opacity: 0.2;
}

.footer .footer-informations .btn:hover:before {
    animation: aaa 0.7s 1;
    top: -10%;
    left: -10%;

}
@keyframes aaa {
    0%{        
        left: -110%;
        top: 90%;
    }50%{
        left: 10%;
        top: -30%;
    }100%{
        top: -10%;
        left: -10%;
      
    }
}

@media (max-width:600px) {
    .header .header-logo {
        float: left;
        margin-left: 30px;
        height: 15px;
        line-height: 70px;
        margin-top: 24px;
        filter: drop-shadow(0px 0px 2px black);
    }
    .header .header-menu a {
        float: right;
        margin-right: 32px;
        line-height: 70px;
        margin-top: -40px;
        text-shadow: 0px 0px 10px black;
        
    }
    .banner .banner-content h1,
    .banner .banner-content h2 {
        padding-top: -500px;
        height: 30px;
        width: 100%;
    }
    .banner .banner-content a {
    top: -30%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 20px;
    font-size: 14px;
    background-size: 300%;
    border-radius: 30px;
    padding-bottom: 60px;
    }
}