@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&display=swap');

#conteneur {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

* {
    font-family: 'Commissioner', sans-serif;
    margin: 0;
    box-sizing:border-box;
}

body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
}

/**
*   HEADER
*/

header {
    position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
    width: 100%;
    max-height: 76px;
    border-bottom: solid 1px #232F1E;
    padding: 20px;
}

.nom {
    font-family: "Commissioner",sans-serif;
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 24px;
    color: #232F1E;
}

.background {
    height: calc(100vh - 70px);
    width: 100%;
    background-image: url("./fond-site.jpg");
    background-size: cover;
}

#menu {
    position: absolute;
    height: 90vh;
    width: 300px;
    top: 0;
    right: 0;
    border-left: solid 1px #232F1E;
    background-color: #FDFDFD;
    transition: opacity 150ms ease-in-out, transform 400ms ease-in-out;
    transform: translateX(100%);
    opacity: 0;
}

#nav {
    padding: 30px;
}

#menu > .bar {
    position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
    width: 100%;
    max-height: 76px;
    border-bottom: solid 1px #232F1E;
    padding: 20px;
}

.nav {
    line-height: 150%;
    list-style: none;
    padding: 0;
}

.nav > li {
    font-weight: bolder;
    font-size: 24;
    margin-bottom: 30px;
}

.nav > li > a {
    text-decoration: none;
    color: #13110C;
}

/*
    Transition "Me découvrir"
*/

.medecouvrir {
    background-color: #89B38E;
    height: 260px;
    width: 100%;
    clip-path: polygon(0 30%, 100% 0, 100% 70%, 0 100%);
    margin-bottom: 42px;

    font-size: 36px;
    font-weight: bolder;
    line-height: normal;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-70%);

    cursor: pointer;
}

.medecouvrir > p {
    margin: 0;
}

.decouvrir {
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 70%;
    margin: 50px;
}

.box {
    min-width: 600px;
    background-color: #FDFDFD;
    padding: 30px;
    border-radius: 5px;
    border: solid 1px #B9CDB1;
    width: 45%;
    line-height: 140%;
}

.box-left {
    margin-right: auto;
}

.box-right {
    margin-left: auto;
}

.box > h3 {
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 110%;
}

.box > p {
    font-size: 20px;
}

.decouvrir > button {
    color: #FDFDFD;
    background-color: #89B38E;
    border-radius: 5px;
    border: none;
    width: 500px;
    height: 70px;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: bolder;
    margin-right: auto;
    margin-left: auto;
}

#voirproj {
    background-color: #232F1E;
}

.contacter {
    width: 100%;
    height: 413px;
    background-color: #232F1E;
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
    padding-top: 100px;

    display: flex;
    flex-direction: column;
    align-items: center;

    font-size: 36px;
    font-weight: bolder;
    line-height: normal;
    color: #B9CDB1;
}

.contacter > p {
    margin: 0;
    margin-bottom: 28px;
}

.contacter > .moyens {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    height: 60%;
}

.contacter > .moyens > button {
    color: #FDFDFD;
    background-color: #A48E70;
    border-radius: 5px;
    border: none;
    width: 234px;
    height: 48px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bolder;
    margin-right: auto;
    margin-left: auto;
}

.contacter > .moyens > button > a {
    text-decoration: none;
    width: 100%;
}

/***
*   FOOTER
*/

footer {
    color: #FDFDFC;
    width: 100%;
    height: 54px;
    background-color: #232F1E;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    margin-left: 104px;
}

.designpar {
    margin-right: 104px;
}

/**
*       MISC
*/

button {
    transition: ease-in-out 50ms;
    cursor: pointer;
}

button:hover {
    transform: scale(1.05);
    filter: saturate(1.5);
}

#menu_button,
#close_menu {
	cursor: pointer;
}
