@font-face {
    font-family: "Space Mono";
    src: url("../font/SpaceMono-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Viga";
    src: url("../font/VIGA-REGULAR.TTF") format("truetype");
    font-weight: 400;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
    background-color: #000;
}


/* +++++++++BASE.CSS+++++++++*/

* {
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
}

*:hover {
    transition: all 0.2s ease 0s;
}

body {
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
    line-height: 1.6;
}

#bg_main {
    /* background-image: url(../img/background_body.png); */
    background-size: cover;
    background-color: #090e10;
}

#logo1 {
    max-width: 620px;
    background-position: center;
    height: 600px;
    margin: 180px;
    background-size: 60%;
    background-image: url(../img/logoantoine.png);
    background-repeat: no-repeat;
}

#home {
    /* background-image: url(../img/background1.png); */
    background-position: center;
    background-repeat: repeat-x;
}

a,
a:hover,
a:visited,
a:active {
    text-decoration: none;
    /* color: inherit; */
}


/* ++++++++++++++++++++++++++*/


/* ++++++++ RESPONSIVE MENU +++++++ */

.nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-item2 {
    height: 45px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.nav-link
 {
    text-align: center;
    font-size: 14px;
    margin: 0 22px;
    color: #cabd1f;
}

.nav-link:hover,.nav-link2:hover {
    color: #fff;
}

#menu-icon {
    display: none;
    width: 36px;
    height: 36px;
    position: absolute;
    right: 38px;
    top: 10px;
}

#menu-icon span {
    display: block;
    position: relative;
    width: 36px;
    height: 4px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: .5s;
}

#menu-icon span:nth-child(1) {
    transform-origin: left;
}

#menu-icon span:nth-child(2) {
    transform-origin: center;
}

#menu-icon span:nth-child(3) {
    transform-origin: left;
}

#menu-icon.active span:nth-child(1) {
    transform: rotate(45deg);
    left: 0px;
}

#menu-icon.active span:nth-child(2) {
    transform: rotate(315deg);
    right: 5px;
    /* animation: transition_b 2s infinite;
    animation-direction: alternate; */
}


/* 
@keyframes transition_b {
    0% {
        transform: translate(100px, 0);
    }
    
    100% {
        transform: translate(260px, 0);
    }
} */

#menu-icon.active span:nth-child(3) {
    transform: scaleX(0);
}

#responsive_menu_logo {
    display: none;
}

#responsive-menu {
    display: none;
    position: fixed;
    height: 73vh;
    min-height: 405px;
    width: 120px;
    top: 50px;
    border-radius: 10px;
    /* background-color: hsla(0, 0%, 0%, 0.5); */
    right: 0;
    transition: right 0.3s;
    z-index: -999px;
}

#responsive-menu ul {
    position: absolute;
    right: 10px;
}

#menu2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: #fff 2px 2px 0 0 solid;
    border-radius: 0 0 8px 8px;
    background-color: #000;
    padding: 0 0 15px 0;
    box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.205);
}


/* ++++++++ RESPONSIVE MENU END +++++++ */

img {
    max-width: 100%;
    height: auto;
}

ul {
    padding: 0px;
    margin: 0px;
}

#logo {
    /* margin: 10px 20px 10px 10px; */
    max-width: 60px;
    /* height: 50px; */
    background-image: url(../img/healus\ testlogo\ 1.png);
    position: absolute;
    left: 20px;
    top: 10px;
}

nav {
    position: fixed;
    right: 0;
    z-index: 999;
    width: 100%;
    padding: 5px;
    background-color: #000;
    /* border-radius: 50px 0 0 50px; */
    box-shadow: 4px 2px 1px rgba(0, 0, 0, 0.205);
    color:  #cabd1f;
    font-size: 10px;
    font-family: "Space Mono";
    height: 50px;
}

nav a {
    padding: 10px 0 0 0;
}

.socialIcon {
    max-height: 30px;
    background-color: #fff;
    margin: 0 10px 0 10px;
}

#projectnav {
    /* position: fixed;
    left: 0px; */
    z-index: 999;
    width: 200px;
    padding: 30px 20px;
    height: 1200px;
    background-color: #152430;
    width: 250px;
}

#active_language {
    font-weight: bold;
}

ul li {
    list-style: none;
}

#top_image {
    height: 2160px;
    background-image: url(../img/background1.png);
    background-repeat: no-repeat;
}

.bgWhite {
    background-color: #fff;
    color: #000;
}

.bgBlack {
    background-color: #000;
    color: #fff;
}

.bold {
    font-weight: bold;
}

h1 {
    color: #cabd1f;
    font-family: "Space Mono";
}

h2 {
    font-size: 40px;
    font-family: "Space Mono";
    color: #000;
}

h3 {
    font-size: 30px;
    font-family: "Space Mono";
    color: #cabd1f;
}

#white li {
    padding: 0px;
}

#white img {
    margin: 10px;
    border-radius: 10px;
    border: 3px solid black;
}

.site_title {
    padding: 60px 0;
    font-size: 50px;
}

#project28 {
    background-image: url(../img/thumbnails/redsunsociety.png);
    background-size: cover;
}

#project27 {
    background-image: url(../img/thumbnails/redsunsociety.png);
    background-size: cover;
}
#project26 {
    background-image: url(../img/thumbnails/redsunsociety.png);
    background-size: cover;
}
#project25 {
    background-image: url(../img/thumbnails/redsunsociety.png);
    background-size: cover;
}
#project24 {
    background-image: url(../img/thumbnails/redsunsociety.png);
    background-size: cover;
}
#project23 {
    background-image: url(../img/thumbnails/redsunsociety.png);
    background-size: cover;
}
#project22 {
    background-image: url(../img/thumbnails/redsunsociety.png);
    background-size: cover;
}
#project21 {
    background-image: url(../img/thumbnails/redsunsociety.png);
    background-size: cover;
}

#project20 {
    background-image: url(../img/thumbnails/cour_des_basses.png);
    background-size: cover;
}

#project19 {
    background-image: url(../img/thumbnails/redsunsociety.png);
    background-size: cover;
}

#project18 {
    background-image: url(../img/thumbnails/delaware.png);
    background-size: cover;
}

#project17 {
    background-image: url(../img/thumbnails/aera.png);
    background-size: cover;
}

#project16 {
    background-image: url(../img/thumbnails/kub.png);
    background-size: cover;
}

#project15 {
    background-image: url(../img/thumbnails/variousprints.png);
    background-size: cover;
}

#project14 {
    background-image: url(../img/thumbnails/abyssalhunter.png);
    background-size: cover;
}

#project13 {
    background-image: url(../img/thumbnails/rapharin.png);
    background-size: cover;
}

#project12 {
    background-image: url(../img/thumbnails/ville-morte.png);
    background-size: cover;
}

#project11 {
    background-image: url(../img/thumbnails/essaim_et_sauf.png);
    background-size: cover;
}

#project10 {
    background-image: url(../img/thumbnails/contact_festival.png);
    background-size: cover;
}

#project9 {
    background-image: url(../img/thumbnails/desobeissance_civile.png);
    background-size: cover;
}

#project8 {
    background-image: url(../img/thumbnails/anthropocene.png);
    background-size: cover;
}

#project7 {
    background-image: url(../img/thumbnails/supersounds.png);
    background-size: cover;
}

#project6 {
    background-image: url(../img/thumbnails/les_mains_sages.png);
    background-size: cover;
}

#project5 {
    background-image: url(../img/thumbnails/apicare.png);
    background-size: cover;
    background-color: rgb(28, 29, 32);
}

#project4 {
    background-image: url(../img/thumbnails/quick_rpg.png);
    background-size: cover;
}

#project3 {
    background-image: url(../img/1opti/bonus2.jpg);
    background-size: cover;
}

#project2 {
    background-image: url(../img/thumbnails/p-a-strasbourg.png);
    background-size: cover;
}

#project1 {
    background-image: url(../img/thumbnails/shifumi.png);
    background-size: cover;
}

#works_list {
    flex-wrap: wrap;
}

.projectbackground {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 480px;
    height: 360px;
    /* margin: 20px; */
    border-color: #000;
    color: #152430;
    padding: 0;
    margin: 8px;
}

p {
    font-family: "Viga";
}
/* .project:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    border-color: white;
    color: black;
    box-shadow: 4px 2px 2px rgba(0, 0, 0, 0.205);
    background-size: 20%;
} */

.project {
    width: 500px;
    height: 360px;
    background-color: rgba(0, 0, 0, 0);
}

.project:hover {
    background-color: hsla(0, 0%, 0%, 0.39);
}

.project_title {
    color: #fff;
    font-family: "Space Mono";
    font-size: 28px;
    position: absolute;
    top: 120px;
    margin: 0 20px;
    visibility: hidden;
}

.project_description {
    color: #cacaca;
    font-family: "Viga";
    font-size: 18px;
    position: absolute;
    top: 180px;
    margin: 0 20px;
    visibility: hidden;
}

.project:hover .project_title {
    visibility: visible;
    opacity: 1;
}

.project:hover .project_description {
    visibility: visible;
    opacity: 1;
}

#project_sheet {
    padding: 40px;
    position: relative;
    top: 60px;
    text-align: center;
}

#project_sheet h1 {
    font-family: "Space Mono";
    color: #000;
    font-size: 60px;
    margin: 15px 0 40px 0;
}

.project_image {
    margin: 40px;
}

#more_works0 {
    padding: 120px 260px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#more_works1 {
    font-family: "Space Mono";
    color: #000;
    font-size: 60px;
    margin: 0;
}

#more_works2 {
    font-family: "Space Mono";
    color: #000;
    font-size: 24px;
}

#arrow {
    position: relative;
    bottom: 10px;
    width: 160px;
    height: 160px;
    right: 130px;
    /* background-image: url(../img/arrow.png); */
    background-position: center;
    background-repeat: no-repeat;
    animation: transition 2s infinite;
    animation-direction: alternate;
}

.video_container {
    margin: 50px 0 180px 0;
}

@keyframes transition {
    0% {
        transform: translate(100px, 0);
    }
    100% {
        transform: translate(260px, 0);
    }
}

#instagram_logo2 {
    background-image: url(../img/instagram2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 180px;
    height: 180px;
    position: relative;
    top: 55px;
    /* test */
    transform: rotateZ(100deg);
    animation: rotate1 2s infinite;
    animation-direction: alternate;
}

@keyframes rotate1 {
    0% {
        transform: rotateZ(0);
    }
    100% {
        transform: rotateZ(10deg);
    }
}

footer {
    height: auto;
    padding: 100px 0 0 0;
    background-color: #090e10;
    /* background-image: url(../img/background2.png); */
    background-repeat: repeat-x;
}

#footer_img {
    background-image: url(../img/logoblanc.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40%;
    background-position-y: 30px;
    height: 240px;
    width: 420px;
}

footer h3 {
    padding-bottom: 10px;
}

#plus {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 4px solid white;
    width: 160px;
    height: 160px;
    margin: 20px 0px;
    Background-color: rgba(255, 255, 255, 0.0);
    border-radius: 80px;
    color: white;
    position: relative;
    right: 150px;
    top: -40px;
    font-size: 50px;
    font-family: "Space Mono";
}

#plus:hover {
    background-color: white;
    color: black;
    border: 4px solid black;
}

#messageme input,
#newsletter input {
    flex-direction: row;
    border-radius: 20px;
    border-style: none;
    padding: 5px;
    text-align: center;
}

#messageme label,
#newsletter label,
#msg {
    font-weight: bold;
    font-size: 18px;
}

#wee {
    padding: 30px 0;
    border-bottom: 1px dotted #152430;
    border-top: 1px dotted #152430;
}

#dsgn {
    width: 300px;
    height: 300px;
}

#desc {
    background-color: black
}

#desc img {
    height: 500px;
    width: 500px;
}

#msg a {
    color: #cabd1f;
}

#msg li {
    display: flex;
    justify-content: space-between;
}

#msgme {
    text-align: center;
    width: 320px;
    border-radius: 20px;
    height: 120px;
    max-height: 160px;
    min-height: 80px;
    margin: 20px 5px;
}

.social {
    margin: 0;
}

.social:hover {
    color: white;
    /* border: solid #fff 2px; */
    border-radius: 15px;
    /* margin: 0px 15px 0 0; */
}

#sub1,
#sub2 {
    padding: 20px;
    display: flex;
    justify-content: center;
    font-weight: bold;
}

#substitute {
    width: 600px;
    height: 400px;
    background-color: white;
}

div li {
    padding: 2px;
}

#contact {
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.work {
    overflow: hidden;
}

.part1 {
    width: 300px;
    padding: 10px;
    margin: 2px;
    background-color: white;
    border-radius: 0px 20px 20px 20px;
    color: black;
    border: 3px black solid;
}

.part2 {
    width: 220px;
    padding: 10px;
    margin: 2px;
    background-color: white;
    border-radius: 0px 20px 20px 20px;
    color: black;
    border: 3px black solid;
}

#cur h3 {
    color: #152430;
}

#experiences h3 {
    color: #152430;
}

#compo {
    padding: 15px 2px 25px 2px;
    margin: 50px 2px;
    background-color: white;
    border: 1px solid black;
    border-radius: 20px 0 0 20px;
}

#prog {
    padding: 15px 2px 25px 2px;
    margin: 50px 2px;
    background-color: white;
    border: 1px solid black;
    border-radius: 0 20px 20px 0;
}

#compo h2,
#compo ul,
#prog h2,
#prog ul {
    padding: 0 10px;
    color: black;
}

#about_title {
    font-size: 40px;
    margin: 50px 0;
}

#about_img {
    width: 600px;
    margin: 30px 0;
}

#works {
    margin: 0 0 100px 0;
}

#mentions-legales {
    margin: 20px 0;
}

.texte-grand {
    font-family: "Space Mono";
    font-size: 20px;
}

#legal {
    margin: 10px 0;
    padding: 0 10%;
    background-color: #000;
}

#legal a {
    color: gray;
    font-family: "Space Mono";
    font-size: 14px;
}

#legal a:hover {
    color: #fff;
}

.rgpd {
    text-align: left;
}


/* ============================ ADAPTATIVE DESIGN =================================  */

@media only screen and (min-width: 0px) and (max-width: 768px) {
    nav {
        max-height: 100%;
        max-width: 100%;
        justify-content: space-around;
        padding: 12px 0;
    }
    h2 {
        font-size: 20px;
    }
    .nav-link {
        display: none;
    }
    .nav-link2 {
        display: flex;
        font-size: 16px;
        margin: 0 4px;
        text-align: center;
        color: #fff;
    }
    #menu-icon {
        display: block;
        height: 50px;
    }
    #responsive-menu {
        display: none;
    }
    #responsive-menu.active {
        display: flex;
    }
    #menu2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 0 0 8px 8px;
        background-color: #000;
    }
    #responsive_menu_logo {
        display: block;
        height: 30px;
    }
    #logo1 {
        background-position: center;
        height: 400px;
        margin: 0px 0 0 0;
        background-size: 100%;
        background-image: url(../img/logoantoine.png);
        background-repeat: no-repeat;
        width: 240px;
    }
    .projectbackground,
    .project {
        max-height: 80vw;
    }
    #arrow {
        right: 140px;
        width: 120px;
        height: 120px;
    }
    #works {
        margin: 0 0 50px 0;
        width: 100vw;
    }
    #more_works0 {
        padding: 20px;
    }
    #more_works1 {
        font-size: 40px;
    }
    #more_works2 {
        font-size: 24px;
    }
    footer {
        height: auto;
        margin: 20px 0 0 0;
        background-color: #000;
    }
    #instagram_logo2 {
        right: 60px;
        top: 20px;
        width: 120px;
        height: 120px;
    }
    #footer_img {
        display: none;
    }
    #contact {
        flex-direction: column;
    }
    #msg {
        align-items: center;
        margin: 0 0 50px 0;
    }
    #more_works0 {
        display: none;
    }
    #white {
        margin: 0 0 20px 0;
    }
    #white img {
        margin: 0;
    }
}

@media only screen and (min-width: 0px) and (max-width: 768px) and (orientation: landscape) {
    #bg_main {
        background-size: cover;
    }
    #menu2 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        border-radius: 0 0 8px 8px;
        background-color: #000;
        height: 40px;
    }
    nav {
        height: 50px;
    }
    .nav-item2 {
        width: 10vw;
        max-height: 16px;
    }
    .nav-link {
        display: none;
    }
    .nav-link2 {
        font-size: 12px;
        color: #fff;
    }
    nav a {
        padding: 0;
    }
    #responsive-menu {
        height: 14vh;
        min-height: 77px;
        width: 94vw;
    }
    #responsive_menu_logo {
        display: block;
        height: 48px;
    }
    #contact {
        flex-direction: column;
    }
    #msg {
        align-items: center;
        margin: 0 0 50px 0;
    }
    #more_works0 {
        display: none;
    }
    #white img {
        margin: 2px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
    nav {
        max-width: 100%;
        justify-content: space-around;
        padding: 12px 0;
    }
    nav a {
        padding: 0;
    }
    .nav-link {
        display: none;
    }
    .nav-link2,
    .nav-link2:hover {
        display: flex;
        font-size: 16px;
        color: #fff;
    }
    #menu2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border: #fff 2px 2px 0 0 solid;
        border-radius: 0 0 8px 8px;
        background-color: #000;
    }
    #menu-icon {
        display: block;
    }
    #responsive-menu.active {
        display: flex;
    }
    #responsive_menu_logo {
        display: block;
        background-image: url(../img/Healus_logo1.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 50px;
        height: 50px;
    }
    #arrow {
        right: 180px;
    }
    #footer_img {
        display: none;
    }
    #works {
        margin: 0 0 80px 0;
    }
    #more_works0 {
        padding: 0;
    }
    #contact {
        flex-direction: column;
    }
    #msg {
        align-items: center;
        margin: 0 0 50px 0;
    }
}


/* Extra large devices (large laptops and desktops, 1200px and up) */