/* CSS pour la page d'accueil d'Apple */

/* Réinitialisation des styles par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles pour la barre de navigation */
nav {
    background-color: #1d1d1f;
    color: white;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px;
}

nav li {
    margin: 10px 10px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav a:hover {
    color: #cd3434;
}

.carousel-item {
    position: relative;
    display: none;
    width: 100%;
    height: auto;
    }
    
    .carousel-item.active {
    display: block;
    }
    
    .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    }
    
    .carousel-caption h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    }
    
    .carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    }
    
    .carousel-caption a {
    font-size: 1.5rem;
    }
    
    .carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: inline-block;
    }
    
    .carousel-control-prev {
    left: 1rem;
    }
    
    .carousel-control-next {
    right: 1rem;
    }
    
    .carousel-control-prev-icon, .carousel-control-next-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    }
    
    .carousel-control-prev-icon {
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%201.6665L3.33333%208.33317L10%2015%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E%0A');
    }
    
    .carousel-control-next-icon {
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%201.6665L16.6667%208.33317L10%2015%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E%0A');
    }
    
    /* Pour les icônes de Font Awesome */
    .fa {
      font-size: 24px; /* taille de la police */
      display: inline-block; /* afficher les icônes en ligne */
      width: 24px; /* largeur de l'icône */
      height: 24px; /* hauteur de l'icône */
      line-height: 24px; /* hauteur de ligne */
      text-align: center; /* centrage horizontal du contenu */
      color:#333; /* couleur du texte */
    }
    
    /* Pour les liens contenant des icônes */
    a {
      text-decoration: none; /* supprimer la décoration de lien par défaut */
      color: #333; /* couleur du texte */
    }
    
    a:hover {
      color: #007bff; /* couleur du texte au survol */
    }
    /**styles slides marques */
    .brand-slide {
      overflow: hidden;
      width: 80%;
      height: 50px;
    }
    
    .brand-slide-wrapper {
      position: relative;
      left: 0;
      transition: left 0.5s ease-in-out;
    }
    
    .brand-slide-list {
      list-style: none;
      display: flex;
      margin: 0;
      padding: 0;
    }
    
    .brand-slide-list li {
      margin-right: 20px;
    }
    
    .brand-slide-list img {
      max-width: 100px;
      max-height: 50px;
      object-fit: contain;
    }
    
    .brand-slide:hover .brand-slide-wrapper {
      left: -100px;
    }
    
    .brand-slide:hover .brand-slide-list li:last-child {
      margin-right: 720px;
    }
    
    /***mobile  */
    @media (max-width: 768px) {
    .carousel-caption {
    position: absolute;
    max-width: 80%;
    height: auto;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    }
    
    .carousel-caption h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.1rem;
    }
    
    .carousel-caption p {
    font-size: 0.5rem;
    margin-bottom: 0.1rem;
    }
    
    .carousel-caption a {
    font-size: 0.5rem;
    }
    
    .carousel-control-prev {
    left: -5%;
    }
    
    .carousel-control-next {
    right: -5%;
    }
    /**marque */
    .brand-slide-list img {
      max-width: 50px;
      max-height: 25px;
      object-fit: contain;
    }
    }
    .newsletter {
      background-color: #f2f2f2;
      padding: 20px;
      text-align: center;
    }
    
    .newsletter h2 {
      font-size: 24px;
      margin-bottom: 10px;
    }
    
    .newsletter form {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      max-width: 600px;
      margin: 0 auto;
    }
    
    .newsletter form label {
      font-size: 18px;
      margin-right: 10px;
    }
    
    .newsletter form input[type="email"] {
      width: 60%;
      padding: 8px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 4px;
      margin-right: 10px;
    }
    
    .newsletter form button[type="submit"] {
      background-color: #007bff;
      color: #fff;
      border: none;
      border-radius: 4px;
      padding: 8px 20px;
      font-size: 16px;
      cursor: pointer;
    }
    
    /**modal sign up & sign in */

.tab-style{
font-size:20px;
width:50%;
background-color:#f2f2f2;
  text-align:center;
  

}
.nav-tabs > li > a {
    margin-right: 0px;
    color:grey;
}



.group2 { 
  position: relative; 
  margin-top: 16px; 
}

.btn-block{margin-top:20px;
margin-bottom:20px;
font-size:18px;}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {   background-color:#e5ecf4;
color:#4a89dc;}

.login-shadow{-webkit-box-shadow: 5px -5px 6px 0px rgba(82,82,82,0.52);
-moz-box-shadow: 5px -5px 6px 0px rgba(82,82,82,0.52);
box-shadow: 5px -5px 6px 0px rgba(82,82,82,0.52);
  z-index:1;
   
}

.signup-shadow{-webkit-box-shadow: -5px 0px 6px 0px rgba(82,82,82,0.52);
-moz-box-shadow: -5px -5px 6px 0px rgba(82,82,82,0.52);
box-shadow: -5px 0px 6px 0px rgba(82,82,82,0.52);
  
}


.modal-header{background-color:#e5ecf4;}

.group { 
  position: relative; 
  margin-top: 30px; 
}


.input {
  font-size: 18px;
  padding: 10px 10px 10px 5px;
  -webkit-appearance: none;
  display: block;
  background: none;
  color: #636363;
  width: 100%;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #757575;
}

.input:focus { outline: none; }


/* Label */

.label {
  color: #757575; 
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: -10px;
  top: 10px;
  transition: all 0.2s ease;
}


/* active */

.input:focus ~ .label, .input.used ~ .label {
  top: -20px;
  transform: scale(.75); left:-15px;
  /* font-size: 14px; */
  color: #4a89dc;
}


/* Underline */

.bar {
  position: relative;
  display: block;
  width: 100%;
}

.bar:before, .bar:after {
  content: '';
  height: 2px; 
  width: 0;
  bottom: 1px; 
  position: absolute;
  background: #4a89dc; 
  transition: all 0.2s ease;
}

.bar:before { left: 50%; }

.bar:after { right: 50%; }


/* active */

.input:focus ~ .bar:before, .input:focus ~ .bar:after { width: 50%; }


/* Highlight */

.highlight {
  position: absolute;
  height: 60%; 
  width: 100px; 
  top: 25%; 
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}


/* active */

.input:focus ~ .highlight {
  animation: inputHighlighter 0.3s ease;
}


@media  screen and (max-width: 767px) and (min-width: 576px){
  #myModal{margin-left:20%;
            margin-right:20%;}

  #forgot-password{margin-left:20%;
            margin-right:20%;}
} 


@media screen and (min-width: 768px) {
  
  #myModal .modal-dialog  {width:500px;}
  
  #forgot-password .modal-dialog{width:500px;}
  
  .modal-body{padding-left:50px;
              padding-right:50px;}
}


.modal-body{background-image:url('/img/7.jpg');
background-size:cover;
z-inedx:4;}

em{display:none;}



    