/* 
- Name: megamenu.js - style.css
- Version: 1.0
- Latest update: 29.01.2016.
- Author: Mario Loncarek
- Author web site: http://marioloncarek.com
*/


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Body - not related to megamenu
–––––––––––––––––––––––––––––––––––––––––––––––––– */


body {
    font-family: 'Times New Roman', Times, Verdana, Georgia,'Source Sans Pro', sans-serif;
     margin: 0;
     padding: 0;
} 
* {
    box-sizing: border-box;
}

a {
    color: #333;
}

.description {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
/*page index.html style's */

.hero, .adoration {
  width: 100%; 
  position: relative;

}
.adoration {
  height: 70vh; /* hauteur de la section hero */
 
}
.hero {
  height: 100vh; /* hauteur de la section hero */
 
}

.hero::before, .adoration::before {
 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    content: '';

 /* background-color: rgba(0, 0, 0, 0.5);  noir transparent */
  z-index: 1;
}

.hero .container, .adoration .container {
  position: relative;
  z-index: 2; /* pour que le texte soit au-dessus de l’overlay */
}

.hero::before{
     background: url('../images/bg2.png') center/cover no-repeat;
      filter: blur(3px);
      opacity: 1;
 }
 .adoration::before{
     background-color: rgba(0, 0, 0, 0.5); }

.hero h1, .hero p {
   
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}


/* Card hover effect */
.card {
  border: none;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card  .title{
    color: #030f4e;
}

/*
style pour le header et le footer 
*/

header {
    background-color: #030f4e;
    height: 90px;
}

header .nav-link {
    font-size: 1.2rem;
}

 .taille {
    font-size: 1.1rem;
  }

 .ado-message{
    color:#030f4e ;
 } 

 .button-mail{
    background-color:orange ;
    height: 50px;
    color: #fff;
    border: none;
    border-radius: 40px 40px;
    padding: 10px 20px;
    font-size: 1.2rem;
    text-decoration: none;
 }
 .button-mail:hover{
    background-color: #030f4e ;
   transition: all 0.3s ease;
 }
 .mise-garde{
    background-color: #ece9e3;
 }

/* ––––––––––––––––––––––––––––––––––––––––––––––––––
megamenu.js STYLE STARTS HERE
–––––––––––––––––––––––––––––––––––––––––––––––––– */


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Screen style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.menu-container {
    box-shadow: 0.2rem 0.2rem 0.2rem #47857d ouset;
    -moz-border-radius:0.5rem 0.5rem;
    -webkit-border-radius:0.5rem 0.5rem;
    border-radius:0.5rem 0.5rem;
    width: 77%;
    margin: 0 auto;
   /* background: url("image/bg.jpg") repeat-x;  */
  background-color: rgb(243, 227, 201, 0.1);
}

.menu-mobile {
    display: none;
    padding: 20px;
}

.menu-mobile:after {
    content: "\f394";
    font-family: "Ionicons";
    font-size: 2.5rem;
    padding: 0;
    float: right;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-25%);
    -ms-transform: translateY(-25%);
    transform: translateY(-25%);
}

.menu-dropdown-icon:before {
    content: "\f489";
    font-family: "Ionicons";
    display: none;
    cursor: pointer;
    float: right;
    padding: 1.5em 2em;
    background: #fff;
    color: #333;
}

.menu {
      background: url("image/bg.jpg");

}

.menu > ul {
     
     box-shadow: 0.3rem 0.3rem 0.3rem 0.3rem #47857d outset;
    -moz-border-radius:0.5rem 0.5rem;
    -webkit-border-radius:0.5rem 0.5rem;
    border-radius:0.5rem 0.5rem;
    margin: 0 auto;
    width: 90%;
    list-style: none;
    padding: 0;
    position: relative;
    /* IF .menu position=relative -> ul = container width, ELSE ul = 100% width */
    box-sizing: border-box;
}

.menu > ul:before,
.menu > ul:after {
    content: "";
    display: table;
}

.menu > ul:after {
    clear: both;
}

.menu > ul > li {
    width: 100%;
    background: url("image/bg.jpg") repeat;
    box-shadow: 0.3rem 0.3rem 0.3rem 0.3rem #47857d outset;
    -moz-border-radius:0.5rem 0.5rem;
    -webkit-border-radius:0.5rem 0.5rem;
    border-radius:0.5rem 0.5rem;
    font-size: 1.4em;
   /* float: left; */
    padding: 0 auto;
    margin: 0;
}

.menu > ul > li a { 
    background: #030f4e; 
    width: 41%;
    text-align: center;
  	font-family: Verdana, Georgia, Constantia, Helvetica, Arial, sans-serif;
    color: #FFF;
    font-size: 0.8em;
    text-decoration: none;
    padding-top: 0.5em; 
    padding-bottom: 0.5em;
    /*margin-left: 13em; */
    margin: 0 auto;
    display: block;
    border-radius: 20px;
    -moz-transition: all .5s; 
    -webkit-transition: all .5s; 
    -o-transition: all .5s; 
    transition: all .5s;
	box-shadow: 0.2em 0.3em 0 #8e8473;
	border: 1px solid #fff;
}


.menu > ul > li a:hover {
    color:#82746a;
}

.menu > ul > li:hover {
    /*background: #c6f3e2;*/
    color: #000;
}

.menu > ul > li > ul {
    border-radius: 20px;
    font-size: 0.6em;
    display: none;
    width: 100%;
    background: #f3e3c9;
    padding: 5px;
    padding-left: 35px;
    padding-bottom: 35px;
    position: absolute;
    z-index: 99;
    left: 0;
	margin-top: 5px;
    margin-left: 0;
    list-style: none;
    box-sizing: border-box;
}

.menu > ul > li > ul:before,
.menu > ul > li > ul:after {
    content: "";
    display: table;
}

.menu > ul > li > ul:after {
    clear: both;
}

.menu > ul > li > ul > li {
    margin: 0;
    padding-bottom: 0;
    list-style: none;
    width: 20%;
    background: none;
    float: left;
}

.menu > ul > li > ul > li a {
    color: #000000;
    padding: 0em 0;
    width: 85%;
    display: block;
    border-bottom: 1px solid #ccc;
}

.menu > ul > li > ul > li > ul {
    display: block;
    padding: 0;
    margin: 5px 0 0;
    list-style: none;
    box-sizing: border-box;
}

.menu > ul > li > ul > li > ul:before,
.menu > ul > li > ul > li > ul:after {
    content: "";
    display: table;
}

.menu > ul > li > ul > li > ul:after {
    clear: both;
}

.menu > ul > li > ul > li > ul > li {
    float: left;
    width: 85%;
    padding: 0.5em 0;
    margin: 0;
    font-size: 0.8em;	
    
}

.menu > ul > li > ul > li > ul > li a { 
    display: block;
    font-size: 1.6em;
    font-family: elephant, Verdana, Georgia, Constantia, Helvetica, Arial, sans-serif;
    margin: 0;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
	-o-transition: all .3s ease;
    -ms-transition: all .3s ease;
	transition: all .3s ease;
    border: 1px solid #fff;
    text-align: center;
    border-radius: 20px;
    padding: 0.3em 0.3em;
    background-color: #030f4e;
    color: #fff;
    /*font-weight: bold;  */
    box-shadow: 0.2em 0.3em 0 #8e8473; 
}

 .sub_button { 
    display: block;
	 float: left;
    font-size: 1.2em;
    font-family: elephant, Verdana, Georgia, Constantia, Helvetica, Arial, sans-serif;
    margin-left: 22em;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
	-o-transition: all .3s ease;
    -ms-transition: all .3s ease;
	transition: all .3s ease;
    border: 1px solid #fff;
    text-align: center;
    border-radius: 20px;
    padding: 0.2em 0.2em;
    background-color: #030f4e;
    color: #fff;
    /*font-weight: bold;  */
    box-shadow: 0.2em 0.3em 0 #8e8473;
	 width: 14%;
}

.sub_buttonChek { 
    display: block;
	float: left;
    font-size: 1.2em;
    font-family: elephant, Verdana, Georgia, Constantia, Helvetica, Arial, sans-serif;
    margin-left: 12em;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
	-o-transition: all .3s ease;
    -ms-transition: all .3s ease;
	transition: all .3s ease;
    border: 1px solid #fff;
    text-align: center;
    border-radius: 20px;
    padding: 0.2em 0.2em;
    background-color: #030f4e;
    color: #fff;
    /*font-weight: bold;  */
    box-shadow: 0.2em 0.3em 0 #8e8473;
	 width: 22%;
}

.sub_button1 { 
    display: block;
    font-size: 1.2em;
    font-family: elephant, Verdana, Georgia, Constantia, Helvetica, Arial, sans-serif;
    margin: 0 auto;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
	-o-transition: all .3s ease;
    -ms-transition: all .3s ease;
	transition: all .3s ease;
    border: 1px solid #fff;
    text-align: center;
    border-radius: 20px;
    padding: 0.2em 0.2em;
    background-color: #030f4e;
    color: #fff;
    /*font-weight: bold;  */
    box-shadow: 0.2em 0.3em 0 #8e8473;
	 width: 100%;
}

.sub_button2 { 
    display: block;
    font-size: 1.2em;
    font-family: elephant, Verdana, Georgia, Constantia, Helvetica, Arial, sans-serif;
    margin: 0 auto;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
	-o-transition: all .3s ease;
    -ms-transition: all .3s ease;
	transition: all .3s ease;
    border: 1px solid #fff;
    text-align: center;
    border-radius: 20px;
    padding: 0.2em 0.2em;
    background-color: #030f4e;
    color: #fff;
    /*font-weight: bold;  */
    box-shadow: 0.2em 0.3em 0 #8e8473;
	 width: 72%;
}

.sub_button3 { 
    display: block;
	float: right;
    font-size: 1.2em;
    font-family: elephant, Verdana, Georgia, Constantia, Helvetica, Arial, sans-serif;
    margin: 0 auto;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
	-o-transition: all .3s ease;
    -ms-transition: all .3s ease;
	transition: all .3s ease;
    border: 1px solid #fff;
    text-align: center;
    border-radius: 20px;
    padding: 0.2em 0.2em;
    background-color: #030f4e;
    color: #fff;
    /*font-weight: bold;  */
    box-shadow: 0.2em 0.3em 0 #8e8473;
	 width: 85%;
}

.menu > ul > li > ul > li > ul > li .recod {
    font-size: 1.3em;
     
}

.menu > ul > li > ul.normal-sub {
    width: 300px;
    left: auto;
    padding: 10px 20px;
}

.menu > ul > li > ul.normal-sub > li {
    width: 100%;
}

.menu > ul > li > ul.normal-sub > li a {
    border: 0;
    padding: 1em 0;
}

/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media only screen and (max-width: 959px) {
    .menu-container {
        width: 100%;
    }
    .menu-mobile {
        display: block;
    }
    .menu-dropdown-icon:before {
        display: block;
    }
    .menu > ul {
        display: none;
    }
    .menu > ul > li {
        width: 100%;
        float: none;
        display: block;
    }
    .menu > ul > li a {
        padding: 1.5em;
        width: 100%;
        display: block;
    }
    .menu > ul > li > ul {
        position: relative;
    }
    .menu > ul > li > ul.normal-sub {
        width: 100%;
    }
    .menu > ul > li > ul > li {
        float: none;
        width: 100%;
        margin-top: 20px;
    }
    .menu > ul > li > ul > li:first-child {
        margin: 0;
    }
    .menu > ul > li > ul > li > ul {
        position: relative;
    }
    .menu > ul > li > ul > li > ul > li {
        float: none;
    }
    .menu .show-on-mobile {
        display: block;
    }

    header  {
    /* background-color: #030f4e; */
    height: auto;
    display: flex;
    align-items: center; /* centrer verticalement */
    justify-content: space-between; /* espaces entre logo et menu sur desktop */
    padding: 0 20px;
}
   header ul , footer div{
        flex-direction: column; /* empile les liens verticalement */
        align-items: center;    /* centre horizontalement */
        gap: 10px;              /* espace entre les liens */
    }

    header nav ul li a , footer .text-warning {
        display: block; /* chaque lien prend toute la largeur du bloc */
        text-align: center;
        padding: 8px 0;
    }

}
/* –
