@import "reset.css";
@import "lightbox.css";
/* STYLE */

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scrollbar-color: dark;
}

body {
    background-color: #171717;
    color: #fff;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 1.6rem;
    text-shadow: 0 .3em .4em rgba(0, 0, 0, .16);
}

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

a:hover {
    color: #E9C384;
}

a:active {
    color: #E9C384;
}

em {
    font-weight: bold;
}

i {
    font-style: italic;
}

h1 {
    font-family: 'Playfair Display', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 5.5rem;
    color: #fff;
    font-weight: bold;
}

h2 {
    font-family: 'Playfair Display', Arial, Helvetica, sans-serif;
    padding: 0;
    font-weight: bold;
    font-size: 4.8rem;
    color: #fff;
}

h3 {
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 1.5em;
    text-transform: uppercase;
    color: #a6a095;
}

.bouton, #form-bouton {
    background: none;
    border: solid .3rem #CAA462;
    padding: 1.5rem 7rem;
    color: #CAA462;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    text-shadow: 0 .2em .4em rgba(0, 0, 0, .1);
    box-shadow: 0 .2em .4em rgba(0, 0, 0, .1);
    cursor: pointer;
}

.bouton:hover, #form-bouton:hover {
    background: #CAA462;
    border: solid .3rem #CAA462;
    color: #fff;
    transition: all .3s;
}

/* HEADER */

header, footer {
    background: repeat url("../../assets/img/img1-noise-361x370.png") #171717;
    width: 100%;
}

header {
    border-top: solid .5rem #CAA462;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: 2;
}

#headerbis {
    position: relative !important;
}

#wrap-header {
    display: flex;
    justify-content: space-between;
    line-height: 7.5rem;
    max-width: 104rem;
    margin: 0 auto;
    padding: 0 2rem;
    height: calc(8rem - .5rem);
}

#logo {
    display: flex;
    flex-direction: row;
    position: relative;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 2.5rem;
    color: #fff;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    text-decoration: none;
    border: none;
}

#logo svg {
    height: 5.8rem;
    margin: .84rem .8rem 0 0;
}

.cls-1 {
    fill: #CAA462;
}

.cls-2 {
    fill: #EBD389;
}

#logo .svghover, #logo2 .svghover {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

#logo:hover .svghover, #logo2:hover .svghover {
    display: inline;
}

#logo a, #logo a:hover, #logo a:active, #logo2 a, #logo2 a:hover, #logo2 a:active {
    text-decoration: none;
    border: none;
}

#menu {
    list-style-type: none;
    float: right;
    font-size: 2rem;
}

#menu li {
    display: inline-block;
}

#menu li:before {
    content: " – ";
    color: #fff;
    font-weight: 900;
    margin: 0 1rem;
    vertical-align: middle;
}

#menu li:first-child:before {
    content: normal;
}

#menu li a {
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}

#menu li a:hover {
    border-bottom: solid .2rem #CAA462;
    transition: border .1s;
    color: #E9C384;
}

.selected {
    border-bottom: solid .2rem #CAA462;
    color: #E9C384 !important;
}

.wrapper {
    margin: auto;
    max-width: 104rem;
    padding: 0 2rem;
}

hr {
    border: none;
    margin: 2rem auto;
    padding: 0;
    background: no-repeat center url("../../assets/img/hr.svg");
    height: 1.3rem;
}

/* SECTION ACCUEIL */

section#accueil, section#apropos, section#portfolio, section#contact {
    width: 100%;
    padding-top: 6rem;
    scroll-margin-top: 4.95em;
}

section#apropos, section#contact, section#mentions {
    background-image: url("../../assets/img/img3-noise-361x370.png");
    background-color: #252526;
}

section#accueil {
    min-height: 100vh;
    background: radial-gradient(circle, rgba(233, 195, 132, .3) 0%, rgba(0, 0, 0, .3) 100%), no-repeat bottom center url("../../assets/img/fond.svg");
    background-size: cover;
    text-align: center;
    display: flex;
    align-items: center;
}

section#accueil p {
    color: #fff;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    padding: 1rem 0 9rem;
}

section#accueil article {
    margin: auto;
}

/* SECTION A PROPOS */

section#apropos {
    min-height: 59.7rem;
    border-top: solid .5rem #5c5548;
}

section#apropos hr {
    border-bottom: solid .3rem #E9C384;
    background: none;
    margin: 0;
    padding: 2.5rem 0 0;
    height: .3rem;
    width: 14rem;
}

section#apropos div.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5rem 0;
}

section#apropos article {
    background: no-repeat top left url("../../assets/img/quotes.svg");
    background-size: 12.7rem;
    width: 58%;
}

.cls-3 {
    fill: #49443a !important;
}

section#apropos article p {
    margin: 3rem 0 2rem;
    font-size: 2.1rem;
    line-height: 2.5rem;
    color: #C7C7C7;
}

section#apropos article p+p {
    margin: 2rem 0 2rem;
    font-size: 2rem;
}

section#apropos article p+p+p {
    margin: 6rem 0 1rem;
    font-size: 2.5rem;
    color: #E2E2E2;
}

section#apropos article a {
    font-size: 2.2rem;
}

section#apropos img {
    width: 24.4rem;
    height: 24.4rem;
}

/* SECTION PORTFOLIO */

section#portfolio {
    min-height: 62.2rem;
    background-image: url("../../assets/img/img2-noise-361x370.png");
    background-color: #212121;
    text-align: center;
}

section#portfolio div.container {
    padding: 8rem 2rem;
    margin: auto;
    max-width: 104rem;
}

.grid {
    margin: auto;
    height: auto;
    display: grid;
    display: -ms-grid;
    grid-auto-flow: dense;
    grid-auto-rows: auto;
    grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
    row-gap: 4rem;
    column-gap: 2rem;
}

.img-link {
    margin: auto;
    display: inline-block;
    height: 23rem;
    width: 23rem;
    overflow: hidden;
}

.imgcadre {
    position: relative;
    width: 23rem;
    height: 23rem;
    margin: auto;
}

.imgoverlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(37, 37, 38, .6);
}

.imgborder {
    position: absolute;
    top: 2rem;
    bottom: 0;
    left: 2rem;
    right: 0;
    height: calc(100% - 4rem);
    width: calc(100% - 4rem);
    border: solid .1rem #CAA462;
}

.imgcadre:hover .caption {
    opacity: 1;
    transition: .5s ease;
}

.imgcadre:hover .img {
    transform: scale(1.15);
}

.imgcadre:hover .imgoverlay {
    background-color: rgba(37, 37, 38, .8);
}

.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    line-height: 2.5rem;
    text-shadow: .1em .1em 0 rgba(27, 28, 28, .8);
}

.caption p {
    font-size: 2rem;
    color: #fff;
}

.caption p+p {
    font-size: 1.8rem;
    color: #E9C384;
}

.captionlink {
    font-size: 1.8rem;
    line-height: 4rem;
}

.img {
    height: 23rem;
    width: 23rem;
    box-shadow: 0 .2em .4em rgba(0, 0, 0, .16);
    transition: transform .5s ease;
}

.linkspanner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* SECTION CONTACT */

section#contact {
    min-height: 71.2rem;
    text-align: right;
}

section#contact hr {
    border-bottom: solid .3rem #E9C384;
    background: none;
    margin: 0 0 0 auto;
    padding: 2.5rem 0 0;
    height: .3rem;
    width: 14rem;
    text-align: right;
}

section#contact div.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5rem 0;
}

section#contact article {
    width: 40%;
    text-align: left;
    font-size: 2rem;
    color: #C7C7C7;
}

section#contact article p {
    margin: 6rem 0 3rem;
}

section#contact article li {
    line-height: 5rem;
}

#form {
    background: no-repeat top right url("../../assets/img/mail.svg");
    background-size: 13rem;
    width: 50%;
    padding-top: 6rem;
}

#form-nom, #form-mail, #form-objet {
    height: 3.5rem;
    background: #1B1C1C;
    border: .2rem solid #5c5548;
    border-radius: .5rem;
    color: #fdfaef;
}

#form-nom {
    float: left;
    width: 40%;
    padding-left: 1rem;
}

#form-mail {
    float: right;
    width: 40%;
    padding-left: 1rem;
}

#form-objet {
    float: right;
    width: 97%;
    padding-left: 1rem;
    margin: 2.5rem 0 0;
}

#form-text {
    width: calc(100% - 2.4rem);
    min-height: 20rem;
    margin: 2.5rem 0;
    padding: 1rem;
    background: #1B1C1C;
    border: .2rem solid #5c5548;
    border-radius: .5rem;
    color: #fdfaef;
    resize: none;
}

#form-text:hover, #form-nom:hover, #form-mail:hover {
    border: .2rem solid #a6a095;
}

input, textarea {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
}

/* MENTIONS */

section#mentions {
    min-height: 60rem;
    padding: 6rem;
}

section#mentions hr {
    border-bottom: solid .3rem #E9C384;
    background: none;
    margin: 0;
    padding: 2.5rem 0 0;
    height: .3rem;
    width: 14rem;
}

section#mentions div.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 5rem;
}

section#mentions article p {
    margin: 3rem 0 2rem;
    font-size: 1.8rem;
    line-height: 2.5rem;
    color: #C7C7C7;
}

section#mentions article li {
    color: #C7C7C7;
    line-height: 3rem;
}

/* FOOTER */

footer {
    border-top: solid .5rem #5c5548;
    height: 14.5rem;
    text-align: center;
    font-size: 1.8rem;
    overflow: hidden;
    line-height: 14rem;
    color: #C7C7C7;
    position: relative;
}

#wrap-footer {
    display: flex;
    justify-content: space-between;
    max-width: 104rem;
    margin: 0 auto;
    padding: 0 2rem;
}

#wrap-footer a {
    color: #C7C7C7;
}

#wrap-footer a:hover {
    color: #fff;
}

#wrap-footer i {
    font-size: 3.3rem;
    margin-left: 4rem;
}

#logo2 {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 8.394rem;
    height: 9.8rem;
    margin: auto;
}

#logo2 svg {
    height: 9.8rem;
}

#topbutton {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 99;
    font-size: 2.5rem;
    border: none;
    outline: none;
    background-color: #CAA462;
    color: #fff;
    cursor: pointer;
    padding: 0;
    border-radius: 3rem;
    width: 5rem;
    height: 5rem;
}

#topbutton:hover {
    background-color: #EBD389;
}

/* RESPONSIVE */

@media screen and (max-width: 768px) {
    #menu {
        font-size: 1.6rem;
    }
    #logo2 {
        bottom: 8rem;
    }
    footer {
        height: auto;
        font-size: 1.5rem;
        min-height: 14.5rem;
        overflow: visible;
    }
    #wrap-footer i {
        font-size: 2.4rem;
        margin-right: 2rem;
        margin-left: 2rem;
    }
    #wrap-footer {
        flex-direction: column;
        margin: auto;
    }
    #wrap-footer p {
        padding: 13rem 0 2rem;
        line-height: 2rem;
    }
    #wrap-footer p+p {
        padding: 0 0 2rem;
    }
    section#apropos div.container {
        flex-direction: column;
    }
    section#apropos article {
        width: 100%;
        padding-bottom: 4rem;
    }
    section#apropos img {
        width: 13.8rem;
        height: 13.8rem;
        margin: auto;
    }
    section#contact div.container {
        flex-direction: column;
    }
    section#contact article {
        width: 100%;
        max-width: 50rem;
        margin: auto;
    }
    #form {
        width: 100%;
        max-width: 50rem;
        margin: auto;
    }
}

@media screen and (max-width: 660px) {
    #logo {
        font-size: 2rem;
    }
    #menu {
        font-size: 1.3rem;
    }
    h2 {
        font-size: 4rem;
    }
}