@font-face {
    font-family: Monteserra;
    src: url(font/Montserrat-Regular.ttf);
}





/*
* BASE
*/

* {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
}

body {
    background-image: url(images/fond-body.jpg);
    background-size: 100vw;
    background-repeat: repeat;
}

h1, p {
    color: white;
    font-family: Monteserra, 'Open Sans';
}

a {
    font-family: Monteserra, 'Open Sans';
}

#navbar {
    position: fixed;
    top: 0;
    height: auto;
    transform: translateY(-100%);
    width: calc(100% - 50px);
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;

    background-color: rgb(34, 34, 34);
    z-index: 4;

    transition: 200ms;
}

#navbar img {
    width: 25px;

    filter: invert(100%);
}

#navbar a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-family: Monteserra, 'Open Sans'
}

.navbar__settings, .navbar__contact {
    display: flex;
    gap: 25px;
}

.header {
    position: relative;
    overflow-y: visible;
}

.header * {
    z-index: 2;
}

.header__bar {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 50px);
    padding: 25px;
}

.header__bar__element {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
}

.header__bar__element img {
    width: 40px;
    height: auto;

    filter: invert(100%);
}

.header__pictures {
    width: 100%;

    position: static;
    top: 0;
    left: 0;
    z-index: 1;
}

.header__pictures__pate {
     position: absolute;
     width: 8%;
}

.header__pictures__pate:first-child {
    top: -35%;
    left: 26vw;
}

.header__pictures__pate:nth-of-type(2) {
    top: 40%;
    right: 27vw;
    transform: rotate(60deg);
}

.header__picture__fond, .header__picture__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

.header__picture__fond {
    object-fit: contain;
}

.header__picture__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5vw;
    top: 26vw;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.header__picture__id, .header__contact__interaction {
    width: 45%;
}

.header__contact__interaction {
    display: flex;
    justify-content: center;
    gap: 10%;
}

.header__contact__interaction__button {
    display: flex;
    padding: 10px 15px;
    gap: 10px;
    background-color: #d49e3a;
    color: black;
    text-decoration: none;
    width: auto;
    align-items: center;
    border-radius: 5px;
    transition: 0.2s;
}

.header__contact__interaction__button:hover {
    background-color: #a59d9d;
}

.header__contact__interaction__button img {
    width: 25px;
}

.body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 75vw;/*800px;*/
    padding: 0 3%;
    gap: 260px;
    z-index: 3;
}

.body__funny {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 150px;
}

.body__funny__description {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.body__funny__description h1 {
    font-size: 40px;
}

.body__funny__description p {
    font-size: 32px;
}

.body__funny__image {
    position: relative;
    width: 70%;
    height: auto;
}

.body__funny__pate {
    position: absolute;
    width: 5%;
    top: 18%;
    right: -10%;
    transform: rotate(50deg);
}

.body__funny__pate:nth-of-type(2) {
    top: 6%;
    transform: rotate(50deg);
}

.body__funny__pate:nth-of-type(2n) {
    right: -17%;
}

.body__funny__pate:nth-of-type(3) {
    top: -6%;
    transform: rotate(0);
}

.body__funny__pate:nth-of-type(4) {
    top: -18%;
    transform: rotate(40deg);
}

.body__funny__image img:last-child {
    width: 97.6%;
    padding: 2.4%;
    background: url(images/cadre-dore-photo1.png);
    background-size: 100% 100%;
}

.body__owner__description {
    width: 75%;
}

.body__owner__description p {
    font-size: 32px;
    text-align: center;
}

.body__concours {
    display: flex;
    justify-content: center;
    width: 80%;
}

.body__concours__image {
    position: relative;
    width: 35%;
    padding: 2%;
    background-color: hsla(38, 65%, 65%, 1);
}

.body__concours1__pate, .body__concours2__pate {
    width: 15%;
    position: absolute;
}

.body__concours1__pate {
    transform: rotate(67deg);
    left: -7%;
    top: 18%;
}

.body__concours1__pate:nth-child(2) {
    transform: rotate(51deg);
    top: 1%;
    left: -13%;
}

.body__concours1__pate:nth-child(3) {
    transform: rotate(67deg);
    top: -5.5%;
    left: 15%;
}

.body__concours2__pate {
    bottom: 4%;
    right: -1%;
    transform: rotate(60deg);
}

.body__concours2__pate:nth-child(2) {
    bottom: 22%;
    width: 13%;
    right: 6%;

    transform: rotate(15deg);
}

.body__concours2__pate:nth-child(3) {
    bottom: 34%;
    right: -8%;
    width: 13%;
    transform: rotate(70deg);
}

.body__concours__image img:last-child {
    width: 100%;
}

.body__concours__image:last-child {
    margin-left: auto;
}

.body__entreprise {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    gap: 50px;
}

.body__entreprise__description {
    width: 75%;
    font-size: 32px;
    text-align: center;
}

.body__entreprise__image {
    display: flex;
    justify-content: space-between;
    width: 90%;
}

.body__entreprise__image__element {
    height: 35vw;
    padding: 2%;
    background-color: hsla(38, 65%, 65%, 1);
    width: auto;
}

.body__entreprise__image__element img {
    height: 100%;
}

.footer {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(34, 34, 34);
    padding: 30px 0;
    z-index: 3;

    margin-top: 100px;
}

.footer__contact {
    display: flex;
    justify-content: center;
    gap: 15%;
    width: 100%;
}

.footer__contact__element:first-child {
    text-align: right;
}

.footer__contact__element { font-size: 16px; }

@media screen and (max-width: 800px) {
    
    .body__funny__description h1 {
        font-size: 34px;
    }

    .body__funny__description p {
        font-size: 28px;
    }

    .body__owner__description p {
        font-size: 28px;
        text-align: center;
    }

    #navbar {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .header__pictures__pate:first-child {
        top: calc(-35% + 5.25vw);
    }
    
    .header__pictures__pate:nth-of-type(2) {
        top: calc(40% - 6vw);
    }    

    .header__picture__content {
        gap: 20vw;
    }

    .header__contact__interaction {
        width: 90%;
    }
}

@media screen and (max-width: 650px) {

    #navbar {
        font-size: 11px;
        padding: 10px;
        width: calc(100% - 20px);
    }

    #navbar img {
        width: 15px;
    }

    .navbar__contact, .navbar__settings {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .header__bar {
        width: calc(100% - 20px);
        padding: 10px;
    }

    .header__bar__element img {
        width: 25px;
    }

    .header__bar__element p {
        font-size: 11px;
    }

    .body {
        gap: 100px;
    }

    .header__pictures__pate:first-child {
        top: calc(-35% + 6.5vw);
    }
    
    .header__pictures__pate:nth-of-type(2) {
        top: calc(40% - 7.5vw);
    } 

    .header__picture__content {
        gap: 25vw;
    }

    .header__contact__interaction__button {
        font-size: 11px;
    }

    .header__contact__interaction__button img {
        width: 15px;
    }

    .body__funny {
        gap: 100px;
    }

    .body__funny__description h1 {
        font-size: 32px;
    }

    .body__funny__description p, .body__owner__description p, .body__entreprise__description  {
        font-size: 22px;
    }

    .body__funny__description {
        width: 100%;
    }

    .body__funny__image {
        width: 90%;
    }

    .body__concours {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .body__concours__image:last-child {
        margin: 0;
    }

    .body__concours__image {
        width: 100%;
    }

    .body__entreprise__image {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .body__entreprise__image__element {
        width: 100%;
        height: auto;
    }

    .body__entreprise__image__element img {
        width: 100%;
    }

    .footer {
        margin-top: 50px;
    }

    .footer__contact {
        flex-direction: column;
        gap: 30px;
    }

    .footer__contact__element {
        text-align: center !important;
    }

    .footer__contact__element:first-child {
        order: 1;
    }

    .footer__contact__element {
        font-size: 11px;
    }
}