@font-face {
    font-family: 'power_groteskregular';
    src: url('font/CabinetGrotesk-Regular.woff2') format('woff2'),
         url('font/CabinetGrotesk-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'power_groteskbold';
    src: url('font/CabinetGrotesk-Bold.woff2') format('woff2'),
         url('font/CabinetGrotesk-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'power_grotesklight';
    src: url('font/CabinetGrotesk-Light.woff2') format('woff2'),
         url('font/CabinetGrotesk-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    background: #fff;
    background-image: url("../media/background.webp");
    font-family: "Poppins", sans-serif;
    font-size: 2.4vh;
    color: #363636;
    border: 11px inset #363636;
    margin: 0;
    padding: 68px 120px 25px;
    /*cursor: none !important;*/
}

h1 {
    font-size: calc(40px + (100 - 40) * ((100vw - 300px) / (1920 - 300)));
    letter-spacing: 0;
    font-weight: 600;
    margin: 15px 0;
    font-family: "power_groteskregular", sans-serif;
    text-transform: uppercase;
    line-height: 95px;
}

h2 {
    font-size: calc(30px + (100 - 50) * ((100vw - 300px) / (1920 - 300)));
    letter-spacing: 0;
    font-weight: 600;
    margin: 15px 0;
    font-family: "power_groteskbold", sans-serif;
    text-transform: uppercase;
}

h1 span {
    width: 100%;
    display: block;
    text-align: right;
}

b {
    font-family: "power_groteskbold", sans-serif;
}

h3 {
    font-size: calc(30px + (60 - 30) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
}

h4 {
    font-size: calc(15px + (30 - 15) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
}

a {
    color: #363636;
    text-decoration: none;
}

/*a:hover,
button:hover {
    cursor: none !important;
}*/

.left-10vw {
    display: inline-block;
    margin-left: 10vw;
}

.mtl {
    margin-top: 30px;
}

.mbl {
    margin-bottom: 80px;
}

.underline  {
    text-decoration: underline;
}

nav {
    display: flex;
    justify-content: space-between;
}

nav ul {
    list-style: none;
    text-transform: uppercase;
    font-size: 1.8vh;
    letter-spacing: 0.04em;
}

nav li {
    display: inline-block;
    margin: 0 40px;
}

nav li a::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #363636;
    display: none;
    border-radius: 50%;
    margin-left: 50%;
    transform: translateX(-50%);
}

nav li a:hover {
    font-weight: 800;
}

nav li a:hover::after,
nav li a:active::after {
    display: block;
}

nav li:nth-of-type(4) a:hover::after,
nav li:nth-of-type(4) a:active::after {
    display: none;
}

section {
    margin-bottom: 3rem;
}

#expertise {
    border : 11px solid #242424;
    padding: 2.5rem 5vw;
}

#expertise h2{
    text-align: center;
}

.prestations {
    display: flex;
    justify-content: center;
}

.icon-prestation{
    text-align: center;  
}

.prestaL {
    margin: 10px 5vw 10px;
}

.prestaR {
    margin: 10px 5vw 10px;
}

.icon-prestation h4{
    margin-top: 0;
}

.icon-prestation img {
    height: 70px;
}

.icon-prestation ul {
    text-align: left;
}

.icon-prestation li {
    font-size: calc(10px + (20 - 10) * ((100vw - 300px) / (1920 - 300)));
}

.links,
.links-projects {
    margin-top: 98px;
}

.links a {
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 2vh;
    font-weight: 500;
    margin: 0 15px;
}

.links-projects p {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 15px;
}

.links a:nth-of-type(1) {
    margin-left: 0;
}

.links a:nth-of-type(3) {
    margin-right: 0;
}

.description {
    margin-left: 55%;
}

.description-project {
    font-size: 2.5vh;
    margin-left: 15%;
    margin-right: 7%;
}

.link-project {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    margin: 100px 0;
}

.link-project::after {
    content: "";
    background-image: url("../media/arrow.png");
    display: inline-block;
    width: 43px;
    height: 19px;
    margin-left: 15px;
    transform: translateY(25%);
}

.me {
    width: 30vw;
    object-fit: cover;
}

.about-description {
    margin: auto 0;
    display: flex;
}

.about-description h3 {
    margin-left: -5vw;
    width: 60vw;
    margin-bottom: 10px;
}

.project-img {
    width: 75vw;
    height: auto;
    margin: 80px auto;
    display: block;
}

.project-img-container {
    display: flex;
    flex-wrap: wrap;
}

.project-img-grid {
    margin: 10px;
    width: calc(50% - 20px);
}

video {
    margin: 0 auto;
    display: block;
    width: 75vw;
}

#contact {
    display: flex;
}

#contact h3 {
    margin-left: 20vw;
}

#contact div {
    flex-basis: 50%;
}

#contact p {
    margin: 0;
}

#contact p {
    margin-left: 10vw;
}

#contact a div {
    margin-left: 0;
    margin-top: 2rem;
    display: inline-block;
}

button.arrow-up {
    transform: rotate(-90deg);
    position: fixed;
    bottom: 2rem;
    right: 3rem;
    width: auto!important;
}

button.arrow-up .circle:hover {
    width: 3rem;
}

button.arrow-up:hover .circle .icon.arrow {
    background: none;
    transform: none;
}

footer {
    position: relative;
    bottom: 0;
    text-align: center;
    margin-top: 10vh;
    font-size: 2vh;
}

.mtb0 {
    margin-top: 0;
    margin-bottom: 0;
}

/* RESPONSIVE  */

@media (max-width: 1040px) {
    .description {
        margin-left: 30%;
    }

    #about .about-description {
        flex-direction: column;
    }

    .me {
        width: 80%;
        object-fit: cover;
        margin: auto;
        height: 65vh;
    }

    .about-description h3 {
        width: 100%;
        margin-bottom: 0;
    }

    .prestations {
        flex-wrap: wrap;
    }

    #contact {
        flex-direction: column;
    }

    #contact p, #contact a {
        margin-left: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    body {
        border: 5px inset #363636;
        padding: 20px 25px 15px;
    }

    .description {
        margin-left: 20%;
    }

    .logo {
        width: 48px;
    }

    nav li {
        margin: 0 14px;
    }

    .links {
        margin-top: 35px;
    }

    .link-project {
        margin: 50px 0;
    }

    .me {
        height: 40vh;
    }

    .about-description h3 {
        margin-left: 0;
    }
}
