/* --- Z-Index --- */
.pixelio-hero-wrapper,
.pixelio-hero-button {
    z-index: 2;
}

/* --- Bloc principal --- */
.pixelio-hero-wrapper {
    position: absolute;
    top: 30%;
    left: 15%;
    margin: auto;
    padding: 30px;
    max-width: 500px;
    background: #fff;
    border-radius: 50px;
    opacity: 0.7;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.pixelio-hero-wrapper:hover {
    opacity: 1;
}

/* --- Contenu interne --- */
.pixelio-hero-content,
.pixelio-hero-box {
    height: 100%;
}

.pixelio-hero-box {
    margin: 25px;
}

.pixelio-hero-logo {
    width: 150px;
    margin: auto;
    display: block;
}

.pixelio-hero-title {
    color: #2f57a3;
    font-weight: bold;
    line-height: 1;
}

.pixelio-hero-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 50px;
}

.pixelio-hero-text h1 {
    font-size: 2em;
}

.pixelio-hero-description {
    font-size: 1.4em;
    margin-top: 5px;
}

/* --- Boutons CTA --- */
.pixelio-hero-button-1 {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15%;
    margin: auto;
    height: 75px;
    width: 500px;
}

.pixelio-hero-button-2 {
    display: none;
    height: 50px;
    margin-top: 50px;
}
.pixelio-hero-cta-btn.hero2-fixed {
    position: fixed;
    bottom: 50px;
    right: 40px;
    height: 63px;
    z-index: 9999;
    margin-right: 0;
    width: auto;
    padding: 25px;
}
.pixelio-hero-cta-btn {
    height: 100%;
    width: 100%;
    font-weight: 700;
    font-size: 1.4em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    background-color: #ea5a1b;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
}

.pixelio-hero-cta-btn:hover,
.pixelio-hero-cta-btn:focus {
    background-color: #bd591e;
    color: #fff;
    text-decoration: none;
}

/* --- Clic transparent --- */
.transparent-click {
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --- Header animation --- */
header {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}

.fl-builder-content-editing {
    opacity: 1 !important;
}

header.visible {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

/* --- Responsive --- */
@media screen and (max-width: 1700px) {
    .pixelio-hero-button-1 {
        right: 45px;
        height: 50px;
        width: 500px;
    }

    .pixelio-hero-cta-btn {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 1400px) {
    .pixelio-hero-wrapper {
        top: 60%;
        left: 0;
        right: 0;
        max-width: 90%;
        padding: 15px;
        border-radius: 10px;
    }

    .pixelio-hero-button {
        right: 15px;
    }

    .pixelio-hero-text {
        margin-top: 10px;
    }

    .pixelio-hero-description {
        font-size: 1em;
        font-weight: bold;
        margin-top: 10px;
    }

    .pixelio-hero-title {
        font-size: 1.2em;
        margin-top: 0;
    }

    .pixelio-hero-logo {
        display: none;
    }

    .pixelio-hero-button-1 {
        display: none;
    }

    .pixelio-hero-button-2 {
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .pixelio-hero-wrapper {
        position: relative;
        display: block;
        max-height: initial;
    }
}
