@font-face {
    font-family: "Avenir";
    src: url('../fonts/AvenirLTStd-Roman.otf') format('opentype');
}

@font-face {
    font-family: "Myriad Regular";
    src: url('../fonts/Myriad-Pro-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "Playfair Bold";
    src: url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
}

body {
    font-family: "Avenir", Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #880838;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
} 

.header-hero {
    background-color: #880838;
}

.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
}

.flex-container {
    display: flex;
    flex: 1;
}

.flex-item-left {
    width: 50%;
    background-image: url('../img/catalya_lp.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.flex-item-right {
    width: 50%;
    background-image: url('../img/fond_lp_tirage_cartes.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.flex-item-content {
    width: 600px;
    min-height: 250px;
    background-color: rgba(244,238,235,0.9);
    padding: 20px 40px;
    margin-bottom: 30px;

}

.landing-h1 {
    font-family: "Playfair Bold", sans-serif;
    font-size: 60px;
    text-align: center;
    margin-bottom: 20px;
}

.text-voyance {
    font-size: 22px;
    display: block;
    text-transform: uppercase;
}


/* PARTIE DYNAMIQUE  */

.title-tirage-small, .form-title-small {
    display: block;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 900;
}

.forme-part h2 {
    text-align: center;
    margin-bottom: 30px;
}

.title-tirage, .form-title {
    font-size: 40px;
    background: -webkit-linear-gradient(#ca677b, #880838);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-text-description {
    color: #40578b;
}

.forme-part {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.form-firstPart-hide {
    display: none;
}

.carte-tirage {
    width: 600px;
    height: 200px;
    margin: 0 auto 60px;
    position: relative;
}

.card {
    width: 80px;
    height: 127px;
    transition: all .5s ease-in-out;
    margin: 0px 2px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    animation: 0s ease 0s 1 normal none running none;
    box-shadow: rgb(0 0 0 / 35%) 0px 2px 12px;
}

.carte-result {
    width: 100%;
    display: flex;
    margin-bottom: 50px;
    justify-content: center;
}

.carte-result img {
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition:  all .3s ease-in;
}

.carte-result .carte {
    width: 80px;
    height: 117px;
    background-color: #9b6769;
}

.carte:not(:last-child){
    margin-right: 1.5rem;
}

.btn-switch {
    font-size: 17px;
    letter-spacing: 1px;
    background: linear-gradient(to top, #880838, #ca677b);
    border: 0px !important;
    display: block;
    width: 250px;
    margin: 0 auto;
    padding: 0.5em 2em;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-align: center;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
}

.btn-switch:hover {
    background: linear-gradient(#40578b, #40578b);
}

.n1 {
    transform: translate(-302.17px, 0px);
    top: 20%;
}

.n2 {
    transform: translate(-197.91px, 0px);
    top: 20%;
}

.n3 {
    transform: translate(-91.65px, 0px);
    top: 20%;
}

.n4 {
    transform: translate(13.61px, 0px);
    top: 20%;
}

.n5 {
    transform: translate(117.87px, 0px);
    top: 20%;
}

.n6 {
    transform: translate(217.13px, 0px);
    top: 20%;
} 


/* form */ 

.form-main {
    width: 70%;
    margin: 20px auto;
}
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=date]{
    color: #40578b;
    font-size: 17px;
    font-style: italic;
    width: 100%;
    border: none;
    background: transparent;
    border-bottom: 1px solid #40578b;
    padding: 10px 0;
    transition: all .3s ease-in-out;
    margin-bottom: 10px;
    border-radius: 0;
}

.form-group input::placeholder,
select.form-control::placeholder{
    color: #40578b;
}
.form-group input[type=text]:focus,
.form-group input[type=email]:focus,
.form-group input[type=date]:focus,
.confirmationForm .form-group input[type=tel]:focus,
.confirmationForm  select.form-control:focus{
    outline:none;
    background-color: #f2f2f2;
    box-shadow: none;
}

.checkbox-group{
    display: flex;
    margin-bottom: 1rem;
}

.checkbox-group p,
.form-check-label {
    font-size: 14px;
    color: #40578b;
    padding-left: 15px;
    margin-bottom: 0;
}

.checkbox-group a,
.form-check-label  a,
.form-footer-text.small.text-muted a{
    text-decoration: none;
    color: #ca677b;
}

.spacing-top{
    margin-top: 3rem; 
}

.btn-submit,
button.btn.btn-primary{
    font-size: 17px;
    letter-spacing: 1px;
    background: linear-gradient(to top, #880838, #ca677b);
    border: 0px !important;
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0.5em 2em;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-align: center;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
}

.btn-submit:hover,
button.btn.btn-primary:hover{
    background: linear-gradient(#40578b, #40578b);
}

.align-center {
    text-align: center;
}
/* step */

.form-main{
    display: none;
}

.form-main-active{
    display: block;
}

.form-firstPart-hide{
    display: none;
}

.n1 {
    z-index: 10;
}

.n2 {
    z-index: 12;
}

.n3 {
    z-index: 13;
}

.n4 {
    z-index: 15;
}

.n5 {
    z-index: 17;
}

.n6 {
    z-index: 20;
}

/* n-direction*/

.d3{
    transform: translate(62.40px, 216.082172px) !important;
}
.d2{
    transform:translate(-41.40px, 216.082172px) !important;
}

.d1{
    transform: translate(-146.40px, 216.082172px) !important;
}


/* FOOTER */

.footer {
    background-color: #880838;
    padding: 1em;
}

.footer p{
    color: #ffffff;
    margin-bottom: 0px;
    text-align: center;
}

.footer .footer-link {
    text-decoration: none;
    color: #e6be5a;
}

.footer .footer-link:hover {
    color: #ca677b;
}


/* ================= RESPONSIVE ========================== */

@media screen and (max-width: 1279px){
    .carte-tirage {
        width: 460px;
    }

    .n1 {
        transform: translate(-233.17px, 0px);
    }

    .n2 {
        transform: translate(-163.91px, 0px);
    }

    .n3 {
        transform: translate(-89.65px, 0px);
    }

    .n4 {
        transform: translate(-11.39px, 0px);
    }

    .n5 {
        transform: translate(67.87px, 0px);
    }

    .n6 {
        transform: translate(147.13px, 0px);
    }

    .flex-item-content {
        width: 90%;
    }

}

@media screen and (max-width: 980px){
    .carte-tirage {
        width: 360px;
        height: 150px;
        margin-bottom: 0px;
    }

    .card {
        width: 60px;
        height: 95px;
    }

    .carte-result .carte {
        width: 60px;
        height: 95px;
    }

    .n1 {
        transform: translate(-181.17px, 0px);
    }

    .n2 {
        transform: translate(-125.91px, 0px);
    }

    .n3 {
        transform: translate(-65.65px, 0px);
    }

    .n4 {
        transform: translate(-5.39px, 0px);
    }

    .n5 {
        transform: translate(55.87px, 0px);
    }

    .n6 {
        transform: translate(116.13px, 0px);
    }

    .d1 {
        transform: translate(-116.4px, 120.082172px) !important;
    }

    .d2 {
        transform: translate(-32.4px, 120.082172px) !important;
    }

    .d3 {
        transform: translate(52.4px, 120.082172px) !important;
    }

    .form-main {
        width: 80%;
    }

    .title-tirage, .form-title {
        font-size: 35px;
    }

}

@media screen and (max-width: 768px){
    .flex-container {
        flex-direction: column;
    }

    .flex-item-left, .flex-item-right {
        width: 100%;
    }

    .flex-item-left {
        height: 600px;
    }

    .flex-item-right {
        padding: 2em 0em;
    }

    .landing-h1 {
        font-size: 40px;
    }

    .text-voyance {
        font-size: 18px;
    }

    .flex-item-content p {
        text-align: justify;
    }

    .title-tirage {
        font-size: 30px;
    }

    .title-tirage-small {
        font-size: 13px;
    }


}

@media screen and (max-width: 468px){
    .form-firstPart {
        width: 100%;
    }

    .header-container {
        flex-direction: column;
        justify-content: center;
    }

    .hero-item-one p {
        left: 0px;
    }

    .hero-item-one p:before {
        top: 0px;
    }

    .carte-tirage {
        width: 90%;
    }

    .form-main {
        width: 90%;
    }

    .card {
        width: 45px;
        height: 71px;
    }

    .carte-result .carte {
        width: 45px;
        height: 71px;
    }

    .n1 {
        transform: translate(-163.17px, 0px);
    }

    .n2 {
        transform: translate(-106.91px, 0px);
    }

    .n3 {
        transform: translate(-50.65px, 0px);
    }

    .n4 {
        transform: translate(3.61px, 0px);
    }

    .n5 {
        transform: translate(60.87px, 0px);
    }

    .n6 {
        transform: translate(116.13px, 0px);
    }

    .d1 {
        transform: translate(-92.4px, 120.082172px) !important;
    }

    .d2 {
        transform: translate(-23.4px, 120.082172px) !important;
    }

    .d3 {
        transform: translate(45.4px, 120.082172px) !important;
    }
}

@media screen and (max-width: 320px){
    .n1 {
        transform: translate(-148.17px, 0px);
    }

    .n2 {
        transform: translate(-98.91px, 0px);
    }

    .n3 {
        transform: translate(-49.65px, 0px);
    }

    .n4 {
        transform: translate(-1.39px, 0px);
    }

    .n5 {
        transform: translate(47.87px, 0px);
    }

    .n6 {
        transform: translate(98.13px, 0px);
    }

    .d1 {
        transform: translate(-92.4px, 120.082172px) !important;
    }

    .d2 {
        transform: translate(-23.4px, 120.082172px) !important;
    }

    .d3 {
        transform: translate(45.4px, 120.082172px) !important;
    }
}