/*------ GENERAL ------*/
:root {
    --blue-color: #0892A5;
    --brown-color: #DBB68F;
    --black-color: #1f1e1e;
    --white-color: #ffffff;
    --red-color: #d2652d;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0 auto;
    padding: 0;
    color: var(--black-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1800px;
}

.container {
    padding: 2rem;
}

.contact-page, .a-propos-page {
    min-height: 100%;
    padding: 2rem 0;
    width: 90%;
    margin: auto;
}

h2 {
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
}

.upper-bold-blue {
    text-transform: uppercase;
    color: var(--blue-color);
    font-weight: 700;
    font-family: 'Dancing Script', cursive;
}

.upper-bold-red {
    text-transform: uppercase;
    color: var(--red-color);
    font-weight: 700;
    font-family: 'Dancing Script', cursive;
}

.text-center {
    text-align: center;
}

.button {
    border-radius: 5px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.button:hover {
    background-color: var(--brown-color);
    color: var(--white-color);
}

.button-blue {
    background-color: var(--blue-color);
    color: var(--white-color);
}

.button-white {
    background-color: var(--white-color);
    color: var(--blue-color);
}

/* START HEADER  */
header {
    padding: 1rem;
}

header a {
    text-decoration: none;
}

header .logo {
    height: 100px;
    width: auto;
}

header .logo-text {
    font-size: 1.5rem;
    line-height: 3.5rem;
    color: var(--red-color);
}

header .logo-text:hover {
    color: var(--blue-color);
}

header li {
    list-style: none;
    margin-right: 1rem;
    display: inline-block;
}

header ul {
    float: right;
}

header li a {
    background-color: var(--brown-color);
    color: var(--white-color);
    border-radius: 50%;
    height: 2rem;
    width: 2rem;
    text-align: center;
    line-height: 2rem;
    display: block;
}

header li a:hover {
    background-color: var(--blue-color);
}

@media (max-width: 540px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li{
        text-align: center;
    }
}

/* END HEADER */

/* START MENU */
nav {
    background-color: var(--blue-color);
}

nav ul {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;  
    width: 100%;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--white-color);
    display: block;
    padding: 1rem 0;
    border-bottom: 5px solid var(--blue-color);
}

nav ul li a:hover {
    color: var(--brown-color);
    border-bottom: 5px solid var(--brown-color);
}
/* END MENU */

/* START FOOTER */
footer {
    background-color: var(--black-color);
    padding: 0.5rem 0;
}

footer p {
    color: var(--white-color);
    text-align: center;
    font-size: 0.8rem;
}
/* END FOOTER */


/*------ ACCUEIL ------*/
/* START BIENVENUE SECTION */
.welcome {
    background-image: url('./images/header-background.jpeg');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    padding: 4rem;
}

.welcome .header-background {
    margin: 2rem auto;
    background-color: var(--white-color);
    opacity: 0.8;
    padding: 1rem;
    border-radius: 5px;
    display: inline-block;
}    

.welcome h1 {
    font-weight: 300;
}
/* END BIENVENUE SECTION */


/* START SERVICES SECTION */
.services .row { 
    margin-bottom: 2rem;
}

.service {
    display: inline-block;
    width: 24%;
    /* height: 60px; */
    vertical-align: middle;
}

.service h3 {
    border: 3px solid var(--blue-color);
    border-radius: 50%;
    display: block;
    height: 2rem;
    width: 2rem;
    line-height: 2rem;
    margin: auto;
}

@media (max-width: 480px) {
    .service {
        width: 100%;
        margin-bottom: 1rem;
    }
}
/* END SERVICES SECTION */

/* START TESTIMONIES SECTION */
.testimonies {
    background-color: var(--brown-color);
}

.testimonies h2 {
    color: var(--white-color);
}

.testimonies .row {
    width: 100%;
    display: flex;
    align-content: space-between;
}

.testimonies .testimony {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    color: #9e9e9e;
    margin: 35px 10px 10px;
    position: relative;
    text-align: center;
    width: 100%;
    background-color: #ffffff;
    border-radius: 5px;
    border-top: 5px solid var(--red-color);
}

.testimonies .testimony figcaption {
    padding: 2rem;
}

.testimonies .testimony figcaption:before {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    color: var(--red-color);
    content: "\f10e";
    font-family: 'FontAwesome';
    font-size: 32px;
    font-style: normal;
    left: 50%;
    line-height: 60px;
    position: absolute;
    top: -30px;
    width: 60px;
}

.testimonies .testimony h3 {
    color: #3c3c3c;
    font-weight: 300;
}

.testimonies .testimony blockquote {
    font-style: italic;
    margin: 0 0 20px;
}

.testimonies .button {
    text-align: center;
    margin: 2rem auto 0 auto;
    display: block;
    width: 100px;
}

.testimonies .button:hover {
    background-color: var(--red-color);
    color: var(--white-color);
}

@media (max-width: 780px) {
    .testimonies .row {
        flex-direction: column;
    }
}
/* END TESTIMONIES SECTION */

/* START CONTACT SECTION */
.contact {
    background-color: var(--blue-color);
    color: var(--white-color);
}
/* END CONTACT SECTION */


/*------ CONTACT ------*/
.contact-page h1, .contact-page p {
    text-align: center;
}

.contact-page .form-section {
    width: 90%;
    margin: auto auto 2rem auto;
}

.contact-page input, select, textarea {
    border-radius: 5px;
    min-height: 30px;
    width: 100%;
    max-width: 900px;
    border: 1px solid var(--black-color);
    padding: 5px;
}

.contact-page textarea {
    min-height: 150px;
}

/*------ A PROPOS DE MOI ------*/
.a-propos-page h1 {
    margin-bottom: 3rem;
}

.a-propos-page .row {
    display: flex;
}

.a-propos-page img {
    margin-right: 2rem;
    max-width: 400px;
}

.a-propos-page p {
    margin: 0;
    padding-left: 2rem;
    text-align: justify;
}

@media (max-width: 880px) {
    .a-propos-page .row {
        flex-direction: column;
    }

    .a-propos-page img {
        margin: auto auto 2rem auto;
        width: 100%;
    }

    .a-propos-page p {
        padding-left: 0;
    }
}

/*------ TARIFS ET PRESTATIONS ------*/
.tarifs-page h3 {
    margin-top: 2rem;  
}

/*------ AVIS ------*/
.testimonies-page, .testimonies-page .testimonies {
    background-color: #f0f0f0;
}

.testimonies-page .testimonies .testimony {
    margin: 4rem auto;
    text-align: left;
    width: 90%;
}

.testimonies-page .testimonies .testimony figcaption:before {
    text-align: center;
}

