@font-face {
    font-family: "IowanOld BT Roman";
    src: url('../fonts/IowanOldStyleBT-Roman.otf') format('opentype');
}

@font-face {
    font-family: "Myriad Pro";
    src: url('../fonts/Myriad-Pro-Regular.ttf') format('truetype');
}

body {
    font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #9b6769;
    margin: 0;
    padding: 0;
}

.site-content {
    display: flex;
}

.main-content-description, .main-content-tirage {
    width: 50%;
    padding: 4em 2em;
}

.main-content-description {
    background-color: #2e2b3d;
    background-image: url('../img/bg-ariana-description.png');
    background-size: auto;
    background-position: center bottom 20px;
    background-repeat: no-repeat;
    padding: 2em; 
}

.main-content-tirage {
    padding: 0 2em 4em;
    background-color: #ffe2e1;
}

.img-ariana-logo {
    text-align: center;
    margin-bottom: 30px;
}

.box-card {
    width: 450px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.box-content {
    background-color: #ffe2e1;  
    padding: 20px;
}

.img-ariana-voyance {
    width: 100%;
}

.main-content-images {
    display: flex;
    justify-content: center;
} 

.image-item {
    width: 150px;
}

.image-item:not(:last-child) {
    margin-right: 20px;
}

.img-voyance {
    width: 100%;
}


/*================== TIRAGE ==================*/

.heading-tirage {
    font-family: "IowanOld BT Roman";
    font-size: 3.5em;
    color: #c18885;
    text-align: center;
    margin: 50px 0px 30px;
}

.form-firstPart h2 {
    text-align: center;
    color: #2e2b3d;
}

.title-tirage {
    font-size: 30px;
}

.form-text-description {
    color: #2e2b3d;
    text-align: center;
}

.title-tirage-small {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
}

.forme-part {
    background-image: url('../img/bg-carte.png');
    background-size: auto;
    background-position: top center;
    background-repeat: no-repeat;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.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: #c18885;
}

.carte:not(:last-child){
    margin-right: 1.5rem;
}

.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: #2e2b3d;
    font-size: 17px;
    font-style: italic;
    width: 100%;
    border: none;
    background: transparent;
    border-bottom: 1px solid #2e2b3d;
    padding: 10px 0;
    transition: all .3s ease-in-out;
    margin-bottom: 10px;
    border-radius: 0;
}

.form-group input[type=text]::placeholder,
.form-group input[type=email]::placeholder,
.form-group input[type=date]::placeholder{
    color: #2e2b3d;
}

.form-group input[type=text]:focus,
.form-group input[type=email]:focus,
.form-group input[type=date]: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: #2e2b3d;
    padding-left: 15px;
    margin-bottom: 0;
}

.checkbox-group a,
.form-check-label a,
.form-footer-text.small.text-muted a{
    text-decoration: none;
    color: #c18885;
}

.spacing-top{
    margin-top: 3rem; 
}

.btn-submit,
button.btn.btn-primary{
    font-size: 17px;
    letter-spacing: 1px;
    background-color: #2e2b3d;
    border: 0px !important;
    display: block;
    width: 300px;
    margin: 0 auto;
    padding: 1em 2em;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #ffe2e1;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
}

.btn-submit:before,
button.btn.btn-primary:before{
    display: block;
    content: "";
    background: url('../img/left-btn-submit.png') left no-repeat;
    width: 49px;
    height: 57px;
    position: absolute;
    top: 0px;
    left: -40px;
}

.btn-submit:after,
button.btn.btn-primary:after{
    display: block;
    content: "";
    background: url('../img/right-btn-submit.png') right no-repeat;
    width: 49px;
    height: 57px;
    position: absolute;
    top: 0px;
    right: -40px;
}

.btn-submit:hover,
button.btn.btn-primary:hover{
    background-color: #ffffff;
    color: #c18885;
    box-shadow:rgb(0 0 0 / 35%) 0px 2px 12px;
}

.confirmationForm .form-group input[type=tel],
.confirmationForm  select.form-control{
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(48, 47, 47, 0.623)!important;
    color: #555454;
    font-size: 17px;
    border-radius: 0;
}

.confirmationForm .form-group input[type=tel]::placeholder,
.confirmationForm  select.form-control::placeholder{
color: #555454;
}

.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 ==================*/

.site-footer {
    background-color: #313131;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1em;
}

.site-footer p {
    font-size: 15px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0;
}

.site-footer .footer-link {
    color: #c18885;
    text-decoration: none;
}

.site-footer .footer-link:hover {
    color: #24ae77;
}

/*================== RESPONSIVE ==================*/
@media screen and (max-width: 1600px) {
    .main-content-description {
        background-size: 95%;
    }
}

@media screen and (max-width: 1280px) {
    .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(131.13px, 0px);
    }

}

@media screen and (max-width: 1200px){
    .box-card {
        width: 80%;
    }
}

@media screen and (max-width: 980px){
    .main-content-tirage {
        padding: 0em 0em 4em;
    }

    .box-card {
        width: 100%;
    }

    .main-content-images{
        width: 70%;
        margin: 0 auto;
        justify-content: space-between;
    }

    .image-item {
        width: 32%;
        margin-right: 0px;
    }

    .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) {
    .site-content {
        flex-direction: column;
    }

    .main-content-description, .main-content-tirage {
        width: 100%;
    }

    .title-tirage {
        font-size: 30px;
    }

    .title-tirage-small {
        font-size: 13px;
    }

    .heading-tirage {
        margin: 80px 0px 30px;
    }

    .box-card {
        width: 70%;
    }

}

@media screen and (max-width: 468px){
    .form-firstPart {
        width: 100%;
    }

    .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(-93.4px, 120.082172px) !important;
    }

    .d2 {
        transform: translate(-24.4px, 120.082172px) !important;
    }

    .d3 {
        transform: translate(44.4px, 120.082172px) !important;
    }

    .heading-tirage {
        font-size: 2.5em;
    }

    .btn-submit {
        width: 90%;
    }

    .main-content-images {
        width: 90%;
    }

    .box-card {
        width: 100%;
    }

}

@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;
    }
}