@font-face {
    font-family: "Bodoni";
    src: url('../fonts/bodoni.ttf') format('truetype');
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #1e3d51;
    margin: 0;
    padding: 0;
}

header.confirmation {
    background-image: url("../img/samuel-header-confirmation.jpg");
    background-size: cover;
    background-position: center;
}

.site-content {
    display: flex;
}

.main-content-description, .main-content-tirage {
    width: 50%;
    padding: 4em 2em;
}

.main-content-description {
    background-image: url('../img/samuel-lp-bg-right-part.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 76px 32px 40px; 
}

.main-content-tirage {
    padding: 0 2em 4em;
    background-color: #e8e8e8;
}

.img-logo {
    text-align: center;
    margin-bottom: 65px;
}

.box-card {
    width: 450px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.box-content {
    background-color: #e8e8e8;  
    padding: 20px;
}

.img-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%;
}

.main-content-footer img {
    width: 100%;
}

.img-star {
    text-align: center;
}

.img-tree {
    text-align: center;
    margin-bottom: 0;
}

/*================== TIRAGE ==================*/

.heading-tirage {
    font-family: "Bodoni", sans-serif;
    font-size: 2.5em;
    color: #1e3d51;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 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;
    font-weight: 600;
    text-transform: uppercase;
}

.forme-part {
    height: 100%;
}

.form-firstPart-hide {
    display: none;
}

.carte-tirage {
    width: 600px;
    height: 200px;
    margin: 0 auto;
    position: relative;
}

.card {
    width: 80px;
    height: 126px;
    transition: all .5s ease-in-out;
    margin: 0px 2px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.carte-result {
    width: 100%;
    display: flex;
    margin-bottom: 90px;
    justify-content: center;
}

.carte-result img {
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition:  all .3s ease-in;
}

.carte-result .carte {
    width: 80px;
    height: 116px;
    background-color: #a7babf;
}

.carte:not(:last-child){
    margin-right: 1.5rem;
}

.form-main form {
    margin-bottom: 50px;
}

.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]:focus,
.form-group input[type=email]:focus,
.form-group input[type=date]:focus,
.form-group input[type=tel]:focus,
select.form-control:focus{
    outline: none!important;
    box-shadow: none;
}

.form-group input::placeholder{
    color: #2e2b3d;
}

.form-group input:focus{
    outline:none;
    background-color: #a7babf;
}

.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: #2e82b8;
}

.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: 0.7em 2em;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #ba8660;
    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/btn-submit-icon-left.png') left no-repeat;
    width: 42px;
    height: 49px;
    position: absolute;
    top: 0px;
    left: -35px;
}

.btn-submit:after,
button.btn.btn-primary:after{
    display: block;
    content: "";
    background: url('../img/btn-submit-icon-right.png') right no-repeat;
    width: 42px;
    height: 49px;
    position: absolute;
    top: 0px;
    right: -35px;
}

input[type=checkbox]{
    width: 18px;
    height: 18px;
    border: none !important;
    margin-right: 15px;
}

.btn-submit:hover,
button.btn.btn-primary:hover{
    box-shadow: 0 6px 6px 0 rgb(0 0 0 / 26%), 0 10px 20px 0 rgb(0 0 0 / 19%);
}


.confirmationForm .form-group input[type=tel],
.confirmationForm  select.form-control{
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(8, 8, 8, 0.623);
    color: #555454;
    font-size: 16px;
    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, 156.082172px) !important;
}

.d2 {
    transform:translate(-41.40px, 156.082172px) !important;
}

.d1 {
    transform: translate(-146.4px, 156.082172px) !important;
}


/*================== FOOTER ==================*/

.site-footer {
    background-color: #ffffff;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1em;
}

.site-footer p {
    font-size: 15px;
    color: #1e3d51;
    text-align: center;
    margin-bottom: 0;
}

.site-footer .footer-link {
    color: #1e3d51;
    font-weight: 400;
    text-decoration: none;
}

.site-footer .footer-link:hover {
    color: #ba8660;
}

/*================== RESPONSIVE ==================*/
@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(-187.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, 119.082172px) !important;
    }

    .d2 {
        transform: translate(-32.4px, 119.082172px) !important;
    }

    .d3 {
        transform: translate(52.4px, 119.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-bottom: 30px;
    }

    .box-card {
        width: 70%;
    }

    .img-tree {
        margin-top: 40px;
    }
}

@media screen and (max-width: 468px){
    .form-firstPart {
        width: 100%;
    }

    .carte-tirage {
        width: 90%;
        height: 120px;
    }

    .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, 96.082172px) !important;
    }

    .d2 {
        transform: translate(-24.4px, 96.082172px) !important;
    }

    .d3 {
        transform: translate(44.4px, 96.082172px) !important;
    }

    .heading-tirage {
        font-size: 2.5em;
    }

    .btn-submit {
        width: 250px;
        padding: 0.7em 0.5em;
    }

    .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, 95.082172px) !important;
    }

    .d2 {
        transform: translate(-23.4px, 95.082172px) !important;
    }

    .d3 {
        transform: translate(45.4px, 95.082172px) !important;
    }
}