@font-face {
    font-family: 'IowanOld Roman';
    src: url('../fonts/IowanOldStyleBT-Roman.otf');
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1e3d51;
}

.header-content {
    position: relative;
    margin-bottom: -4px;
}

.main-contain {
    background-image: url('../img/samuel-bg-main.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 700px;
    display: flex;
    justify-content: space-between;
    padding: 4em 0;
    position: relative;
    z-index: 2;
}

.box-image {
    position: absolute;
    width: 550px;
    margin-top: -25em;
}

.img-logo {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 46%;
}

.img-samuel {
    width: 100%;
}

.main-box-content {
    width: 49%;
    padding: 0px 60px 60px;
    margin: 0 3%;
    position: relative;
}

.main-box-picture {
    width: 45%;
    align-self: flex-start;
}

.img-bandeau {
    position: relative;
    z-index: 1;
    width: 100%;
    object-fit: cover;
}

.img-tarot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-cta {
    background-image: url('../img/samuel-bg-footer.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-box-content h1 {
    font-family: "IowanOld Roman", sans-serif;
    font-size: 40px;
    line-height: 1.2em;
    font-weight: 600;
    letter-spacing: 5px;
    color: #1e3d51;
    margin: 0 0 16px 0;
    margin-top: 140px;
}

.main-box-content p, .main-legales-notices {
    font-size: 17px;
    font-weight: 200;
    line-height: 1.4em;
    margin-bottom: 1em;
}

.section-cta-info h2 {
    font-family: "IowanOld Roman", sans-serif;
    font-size: 40px;
    letter-spacing: 2px;
    font-weight: 400;
    color: #ffe2e1;
    text-align: center;
}

.section-cta-info h2:after {
    display: block;
    content: "";
    background-color: #ffe2e1;
    width: 388px;
    height: 3px;
    margin: 0 auto;
}

.section-cta-info p{
    color: #ffe2e1;
    text-align: center;
    margin: 10px 0px 45px 0px;
}

.btn-cta {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #24ae77;
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin: 0 auto;
    width: 250px;
    text-align: center;
    padding: 0.3em 0.5em;
    text-decoration: none !important;
    transition: all .3s ease-in-out;
    position: relative;
}

.btn-cta:before{
    display: block;
    content: "";
    background: url('../img/cliquez-ici-icone.png') right bottom no-repeat;
    width: 35px;
    height: 35px;
    position: absolute;
    right: -21px;
    bottom: -21px;
}

.btn-cta:hover {
    background-color: #511e3d;
}

.text-right {
    text-align: right;
}

.text-right span{
    font-family: 'Photograph Signature', sans-serif;
    font-size: 67px;
}

.section-cta-info h2 {
    margin-bottom: 0;
}

.site-footer {
    height: 70px;
    display: flex;
    background-color: #1e3d51;
    align-items: center;
    justify-content: center;
}

.site-footer p, .site-footer a{
    text-align: center;
    color: #ffffff;
    margin-bottom: 0;
}

.site-footer a{
    text-decoration: none;
}

.site-footer a:hover{
    color: #ba8660;
}

.main-legacies {
    width: 100%;
    background-color: #f4eef3;
    padding: 4em 0;
}

.main-legales-notices {
    width: 1140px;
    margin: 0 auto;
}

.legacies-h1 {
    font-size: 40px;
    color: #1e3d51;
    text-align: center;
    margin-bottom: 40px; 
}

.main-legales-notices h2, .main-legales-notices h3 {
    color: #b6825f;
    margin-bottom: 1em;
}

.main-legales-notices p, .main-legales-notices address {
    margin-bottom: 1em;
}

.main-legales-notices ul {
    list-style-type: none;
    padding-left: 0px;
    margin-bottom: 1em;
}

.main-legales-notices ul li {
    font-size: 16px;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.main-legales-notices ul li:before {
    position: absolute;
    content: " ";
    display: inline-block;
    width: 7px;
    height: 7px;
    left: 0;
    top: 7px;
    background-color: #ba8660;
    border-radius: 5px;
}

/*======================= RESPONSIVE ================ */
@media screen and (min-width: 1601px) {
    .main-box-content {
        width: 50%;
        margin: 0 5%;
    }

    .main-box-picture {
        width: 40%;
    }

    .main-box-content {
        padding: 0px 60px 60px;
    }
}

@media screen and (max-width: 1600px) {
    .box-image {
        width: 500px;
        margin-top: -23em;
    }

    .main-box-content h1 {
        margin-top: 105px;
    }
}

@media screen and (max-width: 1400px) {
    .box-image {
        width: 480px;
        margin-top: -19em;
    }

    .img-logo {
        width: 300px;
        left: 50%;
    }

    .main-box-content h1 {
        margin-top: 130px;
    }
}

@media screen and (max-width: 1200px) {
    .main-legales-notices {
        width: 80%;
    }

    .box-image {
        width: 400px;
    }

    .main-box-content h1 {
        margin-top: 60px;
    }
}

@media screen and (max-width: 980px) {
    .main-contain {
        flex-direction: column;
        justify-content: flex-start;
    }

    .main-box-picture, .main-box-content {
        width: 90%;
        margin: 0 auto;
    }

    .box-image {
        width: 300px;
        margin-top: -14em;
    }

    .main-box-content {
        margin: 0 auto 30px;
        padding: 0px 0px 40px;
    }

    .main-box-picture {
        margin: 0 auto;
    }

    .img-logo {
        width: 200px;
        top: 30%;
        left: 50%;
    }
}

@media screen and (max-width: 768px) {
    .main-contain {
        padding: 2em 0;
    }

    .main-box-content h1 {
        font-size: 40px;
    }

    .main-box-content {
        padding: 15px;
    }

    .main-legales-notices {
        width: 90%;
    }

    .box-image {
        width: 300px;
        margin-top: -12em;
    }

    .main-box-content h1 {
        margin-top: 100px;
    }

    .img-logo {
        display: none;
    }

    .img-bandeau {
        height: 200px;
    }
}

@media screen and (max-width: 540px) {
    .section-cta-info h2 {
        font-size: 30px;
    }

    .box-image {
        position:relative;
        width: 100%;
    }

    .main-box-content h1 {
        margin-top: 29px;
    }

    .section-cta-info h2:after {
        width: 294px;
    }

    .main-box-content h1, .legacies-h1 {
        font-size: 27px;
    }

    .legacies-h1 {
        margin-bottom: 30px;
    }
}