body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    margin: 0px;
    font-family: 'Jost', Arial, Helvetica, sans-serif;
}

/* Éléments header */

header {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100vw;
}

img.logo {
    max-width: 600px;
    margin-top: 20px;
}

nav {
    margin: 20px 40px;
    font-size: 1.5em;
    font-weight: bold;
}

a.current {
    color: #ecd500;
    text-decoration: none;
    margin: 10px;
}

a.neutral {
    color: #ffffff;
    text-decoration: none;
    margin: 10px;
}

a.neutralfield {
    color: #000000;
    text-decoration: underlined;
}

a:hover{
    color: #fff6a1;
    text-decoration: none;
}

/* Éléments body */

img.banner {
    width: 95vw;
}

.border-left {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    max-width: 30px;
}

.border-right {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    max-width: 30px;
}

div.imgbox {
    display: flex;
    justify-content: center;
    margin: 20px;
}

section.global {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    width: 100vw;
    font-size: 1.2em;
}

section.main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    background-color: white;
    max-width: 60vw;
}

div.content {
    margin: 20px;
}

div.avis {
    background-color: #1b1b1b;
    color: white;
    width: 60vw;
}

h2.marginavis {
    margin: 20px;   
}

div.contentavis {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}

b.clientname {
    font-weight: normal;
    color: #ecd500;
}

p.comment {
    text-align: left;
    margin: 0 30px 30px;
    max-width: 300px;
}

a.client {
    margin: 20px;
    font-weight: bold;
}

span.avisbottom {
    height: 20px;
}

footer {
    width: 100vw;
    max-height: 300px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    color: white;
}

img.footer {
    max-width: 300px;
    margin: 30px;
}

/* Terrassement */

h2.subtitle {
    font-size: 2em;
    margin-left: 20px;
}

.articlerow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 60vw;
    padding-bottom: 20px;
    border-bottom: solid 1px ;
    margin-top: 20px;
}

.article {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    width: 30vw;
    background: white;
    margin-left: 20px;
}

.photobox {
    width: 220px;
    margin-right: 20px;
}

.articlephoto {
    max-width: 220px;
    max-height: 220px;
}

/* Page contact */

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.radio-group {
    margin-bottom: 15px;
}

.radio-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    font-weight: normal;
}

.radio-group input {
    margin-right: 5px;
}

button {
    font-weight: bold;
    background-color: #000000;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

textarea {
    height: 120px;
    resize: vertical;
}

.hidden {
    display: none;
}


/* Adaptation écran */

@media screen and (max-width: 1600px) {
    section.main {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column; 
        background-color: white;
        max-width: 90vw;
    }

    div.avis {
        background-color: #1b1b1b;
        color: white;
        width: 90vw;
    }

    .articlerow {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        width: 90vw;
        padding-bottom: 20px;
        border-bottom: solid 1px ;
        margin-top: 20px;
    }

    .article {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: row;
        width: 45vw;
        background: white;
        margin-left: 20px;
    }
    
}

@media screen and (max-width: 950px) {
    .articlerow {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 90vw;
        padding-bottom: 0px;
        border-bottom: solid 0px ;
        margin-top: 0px;
    }
    .article {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        width: 90vw;
        background: white;
        margin-left: 20px;
        border-bottom: solid 1px ;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
}