/* ################## */
/* ##### NAVBAR ##### */
/* ################## */

/* main-header start */
[data-target="#mainMenu"] {
    position: relative;
    z-index: 999;
}

#mainMenu li>a {
    /* font-size: 12px; */
    letter-spacing: 1px;
    color: #fff;
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.main-header.fixed-nav #mainMenu li>a {
    color: #fff;
    text-decoration: none;
}

#mainMenu li:not(:last-of-type) {
    margin-right: 30px;
}

#mainMenu li>a::before {
    position: absolute;
    content: "";
    width: calc(100% - 1px);
    height: 3px;
    background: #0d6efd;
    bottom: -6px;
    left: 0;

    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    z-index: -1;

    -webkit-transition: transform 0.5s ease;
    transition: transform 0.5s ease;
}

#mainMenu li>a:hover::before,
#mainMenu li>a.active::before {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
}

.main-header.fixed-nav #mainMenu li>a::before {
    background: #000;
}

.main-header {
    position: absolute;
    /* position: fixed; */
    top: 25px;
    left: 0;
    z-index: 99;
    width: 100%;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.main-header.fixed-nav {
    top: 0;
    background: #fff;
    -webkit-box-shadow: 0 8px 12px -8px rgba(0, 0, 0, 0.09);
    box-shadow: 0 8px 12px -8px rgba(0, 0, 0, 0.09);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.main-header.fixed-nav .navbar-brand>img:last-of-type {
    display: block;
}

.main-header.fixed-nav .navbar-brand>img:first-of-type {
    display: none;
}

.navbar-brand {
    color: #fff;
}

.main-header .navbar-brand img {
    max-width: 40px;
    animation: fadeInLeft 0.4s both 0.4s;
}

/* main-header end */
@media (max-width: 991px) {
    /*header starts*/

    .collapse.in {
        display: block !important;
        padding: 0;
        clear: both;
    }

    .navbar-toggler {
        margin: 0;
        padding: 0;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 25px;
        right: 0;
        border: none;
        border-radius: 0;
        outline: none !important;
    }

    .main-header .navbar {
        float: none;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }

    .main-header .navbar-nav {
        margin-top: 70px;
    }

    .main-header .navbar-nav li .nav-link {
        text-align: center;
        padding: 20px 15px;
        border-radius: 0px;
    }

    /**/
    .main-header .navbar-toggler .icon-bar {
        background-color: #fff;
        margin: 0 auto 6px;
        border-radius: 0;
        width: 30px;
        height: 3px;
        position: absolute;
        right: 0;
        -webkit-transition: all 0.2s ease;
        transition: all 0.2s ease;
    }

    .main-header .navbar .navbar-toggler .icon-bar:first-child {
        margin-top: 3px;
    }

    .main-header .navbar-toggler .icon-bar-1 {
        width: 10px;
        top: 0px;
    }

    .main-header .navbar-toggler .icon-bar-2 {
        width: 16px;
        top: 12px;
    }

    .main-header .navbar-toggler .icon-bar-3 {
        width: 20px;
        top: 21px;
    }

    .main-header .current .icon-bar {
        margin-bottom: 5px;
        border-radius: 0;
        display: block;
    }

    .main-header .current .icon-bar-1 {
        width: 18px;
    }

    .main-header .current .icon-bar-2 {
        width: 30px;
    }

    .main-header .current .icon-bar-3 {
        width: 10px;
    }

    .main-header .navbar-toggler:hover .icon-bar {
        background-color: #fff;
    }

    .main-header .navbar-toggler:focus .icon-bar {
        background-color: #fff;
    }

    /*header ends*/
}




/* ######################## */
/* ##### HOME SECTION ##### */
/* ######################## */
.home-section {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('../images/home-background-1.1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100vh - 10vh);
    background-position: top center;
}

.container-lg {
    height: 100%;
    width: 100%;
}

.row-main {
    height: 800px;
    display: flex;
    height: 100%;
}

.flex-center {
    margin: auto !important;
}

.down {
    min-height: 30vh;
}

.button-prez {
    margin-left: 2vh !important;
    margin-right: 4vh !important;
    margin-top: 0.5vh !important;
    margin-bottom: 0.5vh !important;
}

.display-7 {
    font-size: larger;
}

.section-title {
    color: #0d6efd;
    margin-bottom: 5vh;
}

/* ########################### */
/* ##### PRODUCT SECTION ##### */
/* ########################### */
.product-section {
    padding-bottom: 8vh;
    padding-top: 8vh;
}

/* ################# */
/* ##### HOVER ##### */
.card {
    overflow: hidden;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
}

.card:hover {
    background: #fff;
    box-shadow: 0px 15px 26px rgba(0, 0, 0, 0.50);
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -ms-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;
    transform: scale(1.1);
}

.card img {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
}

.card:hover img {
    /* opacity: 0.8; */
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    -o-transform: scale(1.15);
    transform: scale(1.15);
}


/* ########################## */
/* ##### METHOD SECTION ##### */
/* ########################## */
.method-section {
    margin: 0;
    padding: 0;
    padding-bottom: 8vh;
    padding-top: 8vh;
    box-sizing: border-box;
    font-family: sans-serif;
    background: #f6f5f5;
}

.prez {
    padding-bottom: 2vh; 
    text-align: left;
    font-size: 1.3rem;
    line-height: 1.5rem;
}
/* .prez ul li::marker {
    color: #0d6efd;
    content: '\2714';
    font-size: 160%;
    font-size: 120%;
} */

.prez li {
    padding-left: 0.75em;
    padding-bottom: 0.5em;
    margin-left: 2em;
}

.prez li::marker {
    content: url('../images/icone-biere-bouteille-biozh.png');
}

/* ########################## */
/* ##### ROW MANAGEMENT ##### */
html {
    scroll-behavior: smooth;
}

.wrapper {
    max-width: 3840px;
    margin: auto;
    padding: 0 20px;
    position: relative;
}

.wrapper .center-line {
    position: absolute;
    height: 100%;
    width: 4px;
    background: #000;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
}

.wrapper .row {
    display: flex;
}

.wrapper .row-1 {
    justify-content: flex-start;
}

.wrapper .row-2 {
    justify-content: flex-end;
}

.wrapper .row section {
    border-radius: 15px;
    width: calc(50% - 40px);
    padding: 20px;
    padding-bottom: 30px;
    margin-top: 30px;
    position: relative;
    color: white;
}

#cueillette {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/ceuillette-2.1.jpg);
    background-size: cover;
    background-position: center;
}

#pressage {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/pressage-1.1.jpg);
    background-size: cover;
    background-position: center;
}

#fermentation {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/fermentation-1.0.jpg);
    background-size: cover;
    background-position: center;
}

#distillation {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/distillation-1.0.jpg);
    background-size: cover;
    background-position: center;
}

.wrapper .row section:hover {
    box-shadow: 0px 15px 26px rgba(0, 0, 0, 0.50);
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.row-1 section::before {
    right: -7px;
}

.row-2 section::before {
    left: -7px;
}

.row section .icon,
.center-line .scroll-icon {
    position: absolute;
    background: #0d6efd;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ff7979;
    font-size: 17px;
}

.center-line .scroll-icon {
    bottom: 0px;
    left: 50%;
    font-size: 25px;
    transform: translateX(-50%);
}

.row-1 section .icon {
    top: 15px;
    right: -60px;
}

.row-2 section .icon {
    top: 15px;
    left: -60px;
}

.row section .details,
.row section .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.row section .details .title {
    font-size: 22px;
    font-weight: 600;
}

.row section p {
    margin: 10px 0 17px 0;
}

.row section .btn a {
    text-decoration: none;
    color: #fff;
    padding: 7px 15px;
    border-radius: 5px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.row section .btn a:hover {
    transform: scale(0.97);
}

@media(max-width: 790px) {
    .wrapper .center-line {
        left: 40px;
    }

    .wrapper .row {
        margin: 30px 0 3px 60px;
    }

    .wrapper .row section {
        width: 100%;
    }

    .row-1 section::before {
        left: -7px;
    }

    .row-1 section .icon {
        left: -60px;
    }
}

@media(max-width: 440px) {

    .wrapper .center-line,
    .row section::before,
    .row section .icon {
        display: none;
    }

    .wrapper .row {
        margin: 10px 0;
    }
}

.nice_btn {
    text-decoration: none;
    color: inherit;
    position: relative;
    margin: auto;
    padding: 13px 22px;
    transition: all .2s ease;
}

.nice_btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 28px;
    background: #0d6efd;
    width: 50px;
    height: 50px;
    transition: all .3s ease;
}

.nice_btn span {
    position: relative;
    font-size: 16px;
    line-height: 18px;
    font-weight: 900;
    letter-spacing: .25em;
    vertical-align: middle;
}

.nice_btn svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: white;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all .3s ease;
}

.nice_btn:hover::before {
    width: 100%;
    background: #0d6efd;

}

.nice_btn svg:hover {
    transform: translateX(0);
}

.nice_btn:hover {
    color: white !important;
}


.nice_btn:active {
    transform: scale(0.96);
}


/* ########################### */
/* ##### CONTACT SECTION ##### */
/* ########################### */

.contact-section {
    margin: 0;
    padding: 0;
    padding-bottom: 8vh;
    padding-top: 8vh;
    box-sizing: border-box;
    font-family: sans-serif;
}

.container-ct {
    position: absolute;
    text-align: center;
}

.btn-contact {
    border: none;
    border-radius: 10px;
    /* text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.48); */
    overflow: hidden;
    padding: 20px 50px 20px 70px;
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    color: white;
    outline: none;
    cursor: pointer;
    width: 100%;
    /* -webkit-transition: background-position .7s, box-shadow .4s;
    transition: background-position .7s, box-shadow .4s;
    background-size: 110%; */
    font-family: 'Oswald', sans-serif;
}

.btn-contact:hover {
    background-position: 0% 30%;
}

.btn-contact:hover:after {
    right: -40px;
    -webkit-transition: right 1.5s, -webkit-transform 30s .2s ease;
    transition: right 1.5s, -webkit-transform 30s .2s ease;
    transition: right 1.5s, transform 30s .2s ease;
    transition: right 1.5s, transform 30s .2s ease, -webkit-transform 30s .2s ease;
}

.btn-contact:before,
.btn-contact:after {
    font-family: FontAwesome;
    display: block;
    position: absolute;
}

.btn-contact:before {
    -webkit-transition: all .3s;
    transition: all .3s;
    font-size: 50px;
    left: 25px;
    top: 0px;
}

.btn-contact:after {
    -webkit-transition: right 1.4s, -webkit-transform 1.2s;
    transition: right 1.4s, -webkit-transform 1.2s;
    transition: right 1.4s, transform 1.2s;
    transition: right 1.4s, transform 1.2s, -webkit-transform 1.2s;
    font-size: 100px;
    opacity: .5;
    right: -120px;
    top: -17px;
}

.btn-contact {
    background-color: #0d6efd;
}

.btn-contact:hover:after {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.btn-contact:hover:before {
    transform: translateX(15px);
    -webkit-transform: translateX(15px);
    /* transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg); */
}

.btn-contact:after {
    margin: auto;
    content: "📧";
}

.btn-contact:before {
    margin: auto;
    /* content: "📧"; */
    content: "📨";
}


/* ################## */
/* ##### FOOTER ##### */
/* ################## */

.footer {
    background-color: #0d6efd;
    padding-top: 3vh;
    padding-bottom: 2vh;
}




/* ################ */
/* ##### MODAL #### */
/* ################ */
.modal-body br {
    margin-bottom: 2%;
}

.modal_img {
    float: right;
    max-height: 150px;
    margin-left: 20px;
    border-radius: 5px;
}

.modal-footer a {
    display: block;
    margin-left: auto !important; 
    margin-right: auto !important;
}

.modal_img_next {
    max-height: 150px;
    border-radius: 5px;
    margin-top: 10px;
}
