@font-face {
    font-family: "Myriad Pro Regular";
    src: url('../fonts/Myriad-Pro-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "Avenir";
    src: url('../fonts/AvenirLTStd-Roman.otf') format('opentype');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Avenir", sans-serif;
    font-size: 18px;
    color: #40578b;
}

.header {
    background: linear-gradient(to top, #880838, #ca677b);
}

.header-container {
    width: 95%;
    margin: 0 auto;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-item-one p, .hero-item-two p {
    font-size: 18px;
    margin-bottom: 0px; 
}

.hero-item-one p{
    position: relative;
    left: 70px;
}

.hero-item-one p:before {
    display: inline-block;
    content: " ";
    background: url('../img/catalya_papillon.png') top left no-repeat;
    width: 60px;
    height: 45px;
    position: absolute;
    top: -15px;
    left: -70px;
}

.hero-item-one p{
    color: #ffffff;
}

.hero-item-two p {
    color: #e6be5a
}

.main {
    background-image: url('../img/main-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero {
    position: relative;
    z-index: 2;
}

.middle {
    position: relative;
    z-index: 5;
    padding: 2em 0;
}

.img-hero {
    width: 100%;
}

.useful-content {
    width: 92%;
    margin: 0 0 0 auto;
    display: flex;
    justify-content: space-between;
}

.content-description {
    width: calc(92% - 600px);
}

.heading-h1 {
    font-family: "Myriad Pro Regular", sans-serif;
    font-size: 60px;
    letter-spacing: 2px;
    color: #880838;
    text-align: center;
    margin-bottom: 50px;
}

.heading-h1:after{
    display: block;
    content: '';
    height: 3px;
    width: 433px;
    margin: 0 auto;
    background-color: #880838;
}

.content-image {
    width: 600px;
    height: auto;
    display: flex;
    align-items: center;
}

.box-voyant {
    text-align: center;
    margin: -180px 0px 30px 0;
}

.bottom {
    background-image: url('../img/footer_bandeau.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;

}

.box-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.text-pink {
    font-family: 'Myriad Pro Regular', sans-serif;
    font-size: 40px;
    color: #ff90c4;
    letter-spacing: 1px;
}

.text-pink:after {
    display: block;
    content: '';
    height: 3px;
    width: 348px;
    margin: -8px auto 0px;
    background-color: #ff90c4;
}

.text-white {
    font-size: 16px;
    color: #ffffff;
    text-align: center;
}

.content-description {
    text-align: justify;
}

.button-cta {
    background: linear-gradient(to top, #880838, #ca677b);
    color: #ffffff !important;
    font-size: 17px;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out;
    padding: 0.75em 4em;
}

.button-cta:hover {
    background: linear-gradient(to top, #ca677b, #ca677b);
}

.footer {
    background: linear-gradient(to top, #880838, #ca677b);
    padding: 20px;
}

.footer p {
    font-size: 16px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 0px;
}

.footer .footer-link {
    text-decoration: none;
    color: #ffffff;
}

.footer-link:hover {
    color: #e6be5a;
}

/* Mentions légales */

.legacies-notices {
    width: 1200px;
    margin: 0 auto;
}

.legacies-h1 {
    font-family: "Myriad Pro Regular", sans-serif;
    font-size: 50px;
    letter-spacing: 2px;
    color: #880838;
    text-align: center;
    margin-bottom: 50px;
}

.legacies-h1:after {
    display: block;
    content: '';
    height: 3px;
    width: 384px;
    margin: 0 auto;
    background-color: #880838;
}

.legacies-notices h2, 
.legacies-notices h3, 
.legacies-notices h4 {
    background: -webkit-linear-gradient(#ca677b, #880838);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legacies-notices h2 {
    font-size: 24px;
}

.legacies-notices h3 {
    font-size: 22px;
}

.legacies-notices ul {
    list-style-type: none;
    padding-left: 0px;
}

.legacies-notices ul li {
    font-size: 18px;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.legacies-notices ul li:before {
    position: absolute;
    content: " ";
    display: inline-block;
    width: 7px;
    height: 7px;
    left: 0;
    top: 7px;
    background-color: #880838;
    border-radius: 5px
}

/*============================= RESPONSIVE ======================*/

@media screen and (max-width: 1280px){
    .content-image {
        width: 500px;
    }

    .content-description {
        width: calc(90% - 500px);
    }

    .heading-h1 {
        font-size: 50px;
    }

    .heading-h1:after {
        width: 366px;
    }

    .legacies-notices {
        width: 90%;
    }
}

@media screen and (max-width: 1086px){
    .content-image {
        width: 400px;
    }

    .content-description {
        width: calc(90% - 400px);
    }
}

@media screen and (max-width: 980px){
    .useful-content {
        width: 95%;
    }

    .img-catalya {
        width: 250px;
    }

    .box-voyant{
        margin-top: -120px;
    }

    .heading-h1 {
        font-size: 40px;
    }

    .heading-h1:after {
        width: 299px;
    }

}

@media screen and (max-width: 768px){
    .useful-content {
        width: 90%;
        margin: 0 auto 30px;
        flex-direction: column;
    }

    .content-description, .content-image  {
        width: 100%;
    }

    .content-description {
        margin-bottom: 30px;
    }

    .content-image {
        height: auto;
    }

    .box-voyant{
        margin-top: 0px;
    }

}

@media screen and (max-width: 468px){
    .header-container {
        flex-direction: column;
        justify-content: center;
    }

    .hero-item-one p {
        left: 0px;
    }

    .hero-item-one p:before {
        top: 0px;
    }

    .img-catalya {
        width: 200px;
    }

    .heading-h1 {
        font-size: 35px;
    }

    .heading-h1:after {
        width: 265px;
    }

    .text-pink {
        font-size: 30px;
    }

    .text-pink:after {
        width: 265px;
    }

    .legacies-h1 {
        font-size: 32px;
    }

    .legacies-h1:after {
        width: 257px;
    }

}