@font-face {
    font-family: "Avenir";
    src: url(../fonts/Avenir-Medium.ttf);
}

@font-face {
    font-family: "Asap";
    src: url(../fonts/Asap_Medium.ttf);
}

@font-face {
    font-family: "Britannic Bold";
    src: url(../fonts/Britannic-Bold-Regular.ttf);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: "Avenir", Arial, Helvetica, sans-serif;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.header {
    background-color: #550001;
}

.logo-container {
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
}

.site-main {
    flex: 1;
    background-image: url(../img/bg-patricia.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container-main {
    background-color: rgba(255,255,255,0.9);
    margin: 40px auto 120px;
    padding: 60px;
}

.info-voyant {
    display: flex;
    margin-bottom: 50px;
}

.module-image {
    text-align: center;
    width: 50%;
}

.logo {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo h1 {
    font-family: "Britannic Bold", sans-serif;
    font-size: 40px;
    line-height: 1em;
    color: #800426;
}

.logo h1 span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
}

.module-text p {
    font-size: 18px;
}

.footer {
    height: 80px;
    background-color: #550001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.footer p {
    color: #ffffff;
    text-align: center;
    margin-bottom: 0;
}

.footer p a {
    text-decoration: none;
    color: #ffffff;
}

.footer a:hover {
    color: #000000;
}

.theme {
    font-family: 'Asap', sans-serif;
    text-align: center;
    color: #800426;
    margin-bottom: 50px;
}

.theme h2 {
    font-size: 1.7rem;
    text-decoration: underline;
    margin-bottom: 0;
}

.themes {
    margin-top: 10px;
}

.themes-container {
    width: 70%;
    margin: 85px auto 50px;
}

.themes-container h2 {
    font-family: 'Asap', sans-serif;
    font-size: 1.7rem;
    text-transform: uppercase;
    text-decoration: underline;
    color: #ff2a00;
    text-align: center;
}

.text-bleu {
    color: #00aeff;
    text-decoration: none;
}

.text-bleu:hover {
    color: #000000;
}

.box-tarifs {
    width: 100%;
    margin: 0 auto;
    padding: 30px 50px 0px;
    border-radius: 0 0 5px 5px;
}

.box-tarifs .title {
    font-family: 'LibreBaskerville', sans-serif;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: underline;
    margin-bottom: 30px;
}

.box-content {
    width: 520px;
    margin: 0 auto;
}

.telCartouche {
    display: flex;
    align-items: center;
    height: 30px;
}

.telCartouche span {
    margin-right: 10px;
}

.telCartouche span, .box-content p {
    font-size: 17px;
    font-style: italic;
}

.box-content p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.text-big {
    font-size: 20px;
}

/*============ Mentions légales========= */
.intro {
    padding: 2rem 3rem;
}

.intro p,  .intro address{
    font-size: 17px;
    line-height: 1.4em;
}

.legacies-h1 {
    font-family: 'Asap', sans-serif;
    font-size: 40px;
    color: #550001;
    margin: 0px;
    line-height: 1;
    text-align: center;
    text-decoration: underline;
    margin-bottom: 50px;
}

.intro h2, .intro h3 {
    font-family: 'Asap', sans-serif;
    color: #550001;
}

.intro h2 {
    font-size: 23px;
}

.intro h3 {
    font-size: 20px;
}

.intro ul {
    list-style-type: none;
    padding-left: 0px;
}

.intro ul li {
    font-size: 17px;
    text-align: left;
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
}

.intro ul li:before {
    position: absolute;
    content: " ";
    display: inline-block;
    width: 7px;
    height: 7px;
    left: 0;
    top: 7px;
    background-color: #550001;
    border-radius: 5px;
}


/*************RESPONSIVE****************/

@media screen and (min-width: 1400px) {
    .logo-container {
        width: 1320px;
    }

    .container-main {
        width: 1320px;
    }
}

@media screen and (max-width: 1300px) {
    .themes-container {
        width: 80%;
    }
}

@media screen and (min-width: 1200px) {
    .logo-container {
        width: 1160px;
    }

    .container-main {
        width: 1140px;
    }
}

@media screen and (max-width: 1199px) {
    .logo-container {
        width: 80%;
    }

    .container-main {
        width: 80%;
    }
}

@media (max-width: 980px) {
    .themes-container h2 {
        font-size: 30px;
    }

    .img-cartouche {
        width: 210px;
    }

    .themes-container, .box-content {
        width: 100%;
    }

    .box-tarifs {
        padding: 0;
    }

    .box-content {
        text-align: center;
    }

    .telCartouche {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .themes-container h2 {
        font-size: 27px;
    }

    .container-main {
        flex-direction: column;
    }

    .telCartouche span, .box-content p {
        font-size: 18px;
    }

    .module-image {
        margin-bottom: 30px;
    }

    .module-image, .logo {
        width: 100%;
    }

    .logo {
        justify-content: center;
    }

    .logo h1 {
        text-align: center;
    }

    .info-voyant {
        flex-direction: column;
    }

    .box-tarifs {
        padding: 20px 0px;
    }

    .img-cartouche {
        width: 210px;
    }

    .telCartouche {
        flex-direction: column;
        height: auto;
    }

    .intro {
        padding: 2rem 0rem;
    }
}

@media screen and (max-width: 480px) {
    .box-tarifs .title {
        font-size: 17px;
        margin-top: 0;
    }

    .theme {
        margin-bottom: 30px;
    }

    .text-big, .text-bleu {
        font-size: 17px;
    }

    .theme h2 {
        font-size: 18px;
    }

    .themes {
        font-size: 15px;
    }

    .content p {
        font-size: 16px;
    }

    .intro {
        padding: 1rem 0;
    }
    
    .intro h2, .intro h3 {
        font-size: 20px;
    }

    .intro p, .intro address {
        font-size: 16px;
    }
}

@media (max-width: 540px) {
    .container-main {
        padding: 30px 20px;
    }

    .container-main.legacies {
        width: 90%;
    }

    .box-tarifs .title {
        font-size: 18px;
    }

    .telCartouche span {
        margin-bottom: 5px;
    }

    .box-content p {
        text-align: center;
    }

    .text-big, .text-bleu {
        display: block;
        margin-top: 5px;
    }

    .themes-container h2 {
        font-size: 1.4rem;
    }

    .site-footer p {
        font-size: 15px;
    }

    .legacies-h1 {
        font-size: 30px;
    }
}

