html, body, div, span, p, a, img, ol, ul, li, article, section, h1, h2, h3, h4, h5 {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

ol, ul {
    list-style: none; 
}

textarea, input {
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}

a {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
}

a:visited {
    color: #FFFFFF;
}


textarea:focus, input:focus{
    outline: none;
}

button, input[type="submit"], input[type="reset"] {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

@font-face {
    font-family: "sen";
    src: url(../fonts/Sen-Regular.ttf);
}

@font-face {
    font-family: "notoserif";
    src: url(../fonts/NotoSerif-Regular.ttf);
}

body {
    font-family: "sen";
}

.focus-background {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 200;
}

.btns {
    display: flex;
}

.btns .btn + .btn {
    margin-left: 15px;
}

.btn {
    height: 54px;
    width: 205px;
    background-color: #8ed2fc;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: 0.5s;
    transition-timing-function: linear;
}

.btn a, .btn a:visited {
    color: #FFFFFF;
}

.btn:hover, .btn a:hover, .btn.active {
    color: #FFFFFF;
    background-color: #337cbd;
}

.btn--alt {
    background-color: #1C1C1C;
    text-transform: uppercase;
    align-self: center;
}

.btn--alt:hover {
    background-color: rgba(0, 0, 0, 0.45);
    color: #FFFFFF;
}

.btn--alt > a:hover {
    color: #FFFFFF;
}

.btn__icon {
    margin-right: 12px;
}

.icons {
    max-width: 30px;
}

.nav {
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 80px;
    font-size: 22px;
    color: #FFFFFF;
    background-color: #337cbd;
    z-index: 99;
}

.nav__menu {
    display: flex;
    justify-content: center;
    height: 100%;
    width: 80%;
}

.nav__menu--sn {
    position: absolute;
    display: flex;
    align-items: center;
    height: 100%;
    right: 0;
    margin-right: 70px;
}

.menu {
    display: flex;
    justify-content: space-around;
    background-color: #337cbd;
    color: #FFFFFF;
    max-height: 100%;
    width: 70%;
    text-align: center;
}

.menu__item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 33.33%;
    cursor: pointer;
}

.menu__item:hover {
    background-color: #FFFFFF;
    color: #337cbd;
    transition-duration: 0.5s;
    transition-timing-function: linear;
}

.menu__item > a:hover {
    color: #337cbd;
    transition-duration: 0.5s;
    transition-timing-function: linear;
}

.menu__item--alt:hover {
    background-color: #337cbd;
    color: #FFFFFF;
}

.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: #8ed2fc;
    color: #FFFFFF;
}

.header__content {
    width: 70%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header__text {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    max-width: 525px;
    height: 400px;
}

.header__title {
    font-size: 74px;
    font-weight: bold;
    line-height: 74px;
}

.header__subtitle {
    font-size: 27px;
    line-height: 32px;
}

.header__text-arrows {
    font-size: 19px;
}

.header__text-arrows.active {
    text-decoration: underline;
}

.header__text-arrows + .header__text-arrows {
    margin-left: 20px;
}

.header__text-links {
    text-transform: uppercase;
    color: #353535;
    display: flex;
    align-items: center;
    align-self: flex-end;
    width: 100%;
    height: 76px;
    padding-left: 264px;
    font-size: 15px;
    background-color: #FFFFFF;
    font-weight: bold;
    letter-spacing: 1.76px;
    line-height: 75px;
}

.header__text-links-title {
    margin-right: 59px;
}

.header__text-links-icon + .header__text-links-icon {
    margin-left: 32px;
}

.header__text-links-icon-box {
    height: 30px;
    width: 30px;
}

.header__text-links-icon--twitter {
    position: relative;
}

.header__text-links-icon--circle {
    position: relative;
}

.header__text-links-icon--twitter::before {
    position: absolute;
    content: url("../icons/Twitter.svg");
    top: -22px;
    left: 8px;
}

.header__text-links-icon--circle::before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    border-radius: 50%;
    border: 0.75px solid #353535;
    top: 0;
    left: 0;
}

.header__image {
    max-width: 500px;
    border-radius: 50%;
}

.body {
    width: 70%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
}

.body:last-child {
    margin-bottom: 0;
}

.background {
    width: 100%;
    height: auto;
    background-color: #F1F1F1;
}

.main {
    width: 100%;
    min-height: 1200px;
}

.main__title {
    position: relative;
    width: 100%;
}

.main__title::before {
    content:  '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    color: #000000;
    opacity: 0.5;
    background-color: #337cbd;
}

.main__title::after {
    content:  '';
    position: absolute;
    left: 0;
    top: 50px;
    height : 0;
    width : 0;
    opacity: 0.5;
    border-right : 25px solid #337cbd;
    border-bottom : 25px solid transparent;
    border-left : 25px solid #337cbd;
}

.projects__container {
    position: relative;
}

.projects {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px 0;
    opacity: 0;
    transform: translateX(-80%);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

.projects.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.projects--perso  {
    transform: translateX(80%);
}

.project, .project:visited {
    display: flex;
    width: 100%;
    max-width: 40%;
    margin: 10px;
    padding: 15px;
    cursor: pointer;
    color: #337cbd;
    background-color: #8ed2fc;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

.project:hover {
    color: #FFFFFF;
    background-color: #337cbd;
}

.project img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    overflow: hidden;
}

.project h4 {
    margin-top: 15px;
}

.main__title-text {
    color: #353535;
    font-size: 45px;
    font-weight: bold;
    padding: 30px 150px 60px 60px;
    line-height: 48px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallery__item {
    position: relative;
    display: flex;
    justify-content: center;
    width: 30%;
    height: 500px;
    margin: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery__item__text {
    position: absolute;
    bottom: 0;
    width: calc(100% - 40px);
    padding: 20px;
    color: #FFFFFF;
    background-color: #000000;
    opacity: 0.7;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.gallery__item__text h4, .fancybox__caption h4 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
}

.gallery__item:hover .gallery__item__text {
    transform: translateY(0);
}

.gallery__item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.side__col {
    width: 738px;
    height: 1100px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}

.side__article {
    width: 352px;
    box-shadow: 0 0 60px 0 rgba(0,0,0,0.08);
    color: #353535;
    margin-bottom: 26px;
    margin-right: 34px;
}

.side__article-head {
    display: flex;
    align-items: center;
    height: 84px;
    color: #262525;
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: underline;
}

.side__article-icon {
    width: 84px;
    height: 100%;
    background-color: #FA0E5A;
    display: flex;
    justify-content: center;
    align-items: center;
}

.side__article-icon--alt {
    background-color: #007DDB;
}

.side__article-title {
    color: #262525;
    margin-left: 17px;
}

.side__article-title::before {
    content: url("../icons/Icon_fleche (2).svg");
    color: #262525;
    margin-right: 4px;
}

.side__article-img {
    width: 100%;
}

.side__article-text {
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
    padding: 20px;
}

.side__article-btn {
    margin-top: 51px;
}

.side__article-btn:hover {
    background-color: #337cbd;
    color: #FFFFFF;
}

.contact {
    width: 100%;
    color: #353535;
}

.contact__img {
    width: 50%;
}

.contact__box {
    margin-top: 50px;
    width: 50%;
    background-color: #FFFFFF;
    box-shadow: 0 0 65px 0 rgba(0,0,0,0.15);
    padding: 68px 106px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__box-title {
    font-size: 45px;
    font-weight: bold;
    line-height: 24px;
    text-align: center;
    line-height: 45px;
}

.contact__box-subtitle {
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    width: 380px;
    margin-bottom: 23px;
}

.form {
    width: 100%;
}

.form__fields {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input {
    width: 100%;
}

.inputs {
    display: flex;
}

.input__box {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 60px;
    color: #C5C5C5;
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 16px;
}

.input__box--textarea {
    height: 120px;
}

.input__box--small {
    width: 50%;
    display: flex;
    flex-direction: column;
    height: 60px;
    color: #C5C5C5;
    font-size: 15px;
    line-height: 26px;
    margin-right: 22px;
}

.input__box--small:last-child {
    margin-right: 0;
}

.input__box-field {
    background-color: rgba(0, 0, 0, 0.03);
    outline: none;
    padding: 6px;
}

.input__box-field::placeholder {
    color: #c9c9c9;
}

.footer {
    background-color: #337cbd;
    color: #FFFFFF;
    font-size: 15px;
    padding-top: 86px;
}

.footer__box {
    width: 70%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.footer__logo {
    max-width: 106px;
    margin-bottom: 60px;
}

.footer__newsletter {
    font-size: 53px;
    font-weight: bold;
}

.footer__email {
    text-transform: uppercase;
    padding: 20px 0;
}

.footer__networks {
    height: auto;
    padding: 30px 0 67px 0;
    border-top: 1px solid #FFFFFF;
    width: 368px;
    display: flex;
    justify-content: center;
}

.footer__networks-icon + .footer__networks-icon {
    margin-left: 12px;
}

.footer__links {
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    padding-bottom: 25px;
    flex-wrap: wrap;
}

.footer__links-item::before {
    content: "";
    display: inline-block;
    height: 6px;
    width: 6px;
    border-radius: 3px;
    margin: 2px 20px;
    background-color: #FFFFFF;   
}

.footer__links-item:first-child::before {
    display: none;
}

.footer__terms {
    text-align: center;
    margin-bottom: 30px;
}

@media screen and (max-width: 850px) {
    .body {
        flex-direction: column;
        width: 100%;
    }

    .header__content {
        flex-direction: column;
    }

    .header__image {
        position: relative;
        width: 100%;
    }

    .header__text {
        padding-left: 0;
        margin-bottom: 50px;
    }

    .header__text-links {
        position: relative;
        padding: 0;
        justify-content: center;
    }

    .main {
        width: 100%;
    }

    .main__col {
        margin-top: 110px;
        margin-right: 0;
    }

    .side {
        flex-wrap: nowrap;
        width: 100%;
    }

    .side__col {
        flex-wrap: nowrap;
        justify-content: flex-start;
        height: auto;
    }

    .side__article {
        width: 100%;
    }

    .side__article-btn {
        display: none;
    }

    .contact {
        flex-direction: column;
    }

    .contact__img {
        width: 100%;
    }

    .contact__box {
        margin: 0;
        width: 100%;
    }
}