
/* ! Version Mobil */

@media (max-width: 767px) {
  .card-nav-desktop,
  .left > div,
  .inscription,
  .widget > div,
  #introCarousel,
  #phonebook,
  #cardactu,
  #carouselExampleIndicators{
    display: none;   
  }
  .carousel-item {
    display: none;
  }
  .boxPhoneBook
  {
    width: 100%;
  }
  .wrapper>.right{
    width: 100%;

  }
  .left {
    position: absolute;
    left: -999em;
  }
  #pagePhoneBook{
    flex-flow: wrap;
    justify-content:space-around;
  }
  .card-phoneBook{
    width: 40%;
    margin: 1rem 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
    border-radius: 0;  
  }
  .card-phoneBook>a>div{
    padding: 10px 10px;
  }
  .card-phoneBook>a>div>h5{
    font-size: 1rem;
  }
  
  .boxPhoneBook > h1{
    align-self: center;
  }
  #navmobil{
    margin: 0px;
  }
  #navmobil>nav>a{
    color: aliceblue;
  }
  #introCarousel,
  .carousel-inner,
  .carousel-item,
  .carousel-item.active {
    height: 90%;
    margin-bottom: 20%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    box-shadow: 0px 21px 25px -26px #080c21;
  }
  .no-mobil{
    display: none;
  }
  .mob-background {
      position: relative;
      background-image: url('https://images.unsplash.com/photo-1611612793815-eed1294fcbeb?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80');
      background-position: center;
      background-size: cover;
      width: 100%;
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
  }
  .mob-background h1 {
    color: #080c21;
    font-size: 3em;
    margin-top: 1em;
    text-align: center;
  }
  .name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .mob-background span {
  
    margin: 0 auto;
    text-align: center;
  }
  .mob-background .access {
    display: flex;
    flex-direction: column;
    margin-bottom: 2em;
  }
  .mob-background .access a {
    padding: .5em;
    border-radius: 15px;
    margin: .5em;
    color: white;
    text-decoration: none;
    text-align: center;
  }
  .mob-background .access button {
    width: 95px;
    background-color: #b524b2;
    padding: .2em;
    border-radius: 15px;
    margin: .5em 1em;
    color: white;
    text-decoration: none;
    border: 0;
  }
  .blue {
    background-color: #2c48d7;
  }
  .green {
    background-color: #26ab3f;
  }

  footer {
    display: none;
  }
  .right {
    display: none;
  }
  .none {
    display: none;
  }
  .information {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    background-color: #080c21aa;
  }
  .information .close {
    width: 10px;
    border: 0;
    background-color: none;
    margin-top: .5em;
    margin-left: auto;
    margin-right: 1em;
    color: white;
  }
  .information p {
    height: 80%;
    margin-top: 5em;
    padding: .5em;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
  }
  .start {
    display: flex;
  }
  .desk-background {
    display: none;
  }
}

#citycard>h3{
  align-self: center;
  color: aliceblue;
}

.phoneBook{
  width: 35%;
}

/* Code scroll-tinder */

#mobilcontainer{
  display: flex;
  overflow-x: scroll;
  width: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 24px;
  border-radius: 8px;
  gap: 12px;
  margin-bottom: 4rem;
  text-align: center;
}
#mobilcontainer>.card{
  flex: 0 0 100%;
  border-radius: 8px;
  scroll-snap-align: start;
}



/* Code pour le carousel  */
.cards-wrapper {
  display: flex;
  justify-content: center;
}

.cards-wrapper-actu {
  display: flex;
  justify-content: center;
}
.card img {
  max-width: 100%;
  max-height: 100%;
}
.card {
  margin: 15px 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
  border-radius: 0;
}

.carousel-inner {
  padding: 1em;
}
.carousel-control-prev,
.carousel-control-next {
  background-color: #e1e1e1;
  width: 5vh;
  height: 5vh;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}


/* ! Version Tablette  */
@media (min-width: 768px) and (max-width: 1023px){
  .desk-background {
    display: none;
  }
  .mob-background {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1611612793815-eed1294fcbeb?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80');
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.mob-background h1 {
  color: #080c21;
  font-size: 3em;
  margin-top: .5em;
  text-align: center;
}
.name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mob-background span {

  margin: 0 auto;
}
.mob-background .access {
  display: flex;
  flex-direction: column;
  margin-bottom: 2em;
}
.mob-background .access a {
  padding: .5em;
  border-radius: 15px;
  margin: .5em;
  color: white;
  text-decoration: none;
  text-align: center;
}
.mob-background .access button {
  width: 95px;
  background-color: #b524b2;
  padding: .2em;
  border-radius: 15px;
  margin: .5em 1em;
  color: white;
  text-decoration: none;
  border: 0;
}
.blue {
  background-color: #2c48d7;
}
.green {
  background-color: #26ab3f;
}

footer {
  display: none;
}
.right {
  display: none;
}
.none {
  display: none;
}
.information {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  background-color: #080c21aa;
}
.information .close {
  width: 10px;
  border: 0;
  background-color: none;
  margin-top: .5em;
  margin-left: auto;
  margin-right: 1em;
  color: white;
}
.information p {
  height: 80%;
  margin-top: 5em;
  padding: .5em;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: large;
}
.start {
  display: flex;
}
  .card img {
    height: 11em;
  }
  #navmobil {
    display: none;
  }
  #citycard{
    display: none;
  }
  #carouselExampleControls{
    display: none;
  }

  #phonebookmobil{
    position: absolute;
    left: -999em;
  }
  .left {
    position: absolute;
    left: -999em;
  }
  .introCarousel{
    display: none;
  }
  #pagePhoneBook{
    flex-flow: wrap;
    justify-content: center;
    background-color: white;
  }
  .card-phoneBook{
    width: 30%;
    margin: 15px 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
    border-radius: 0;  
  }
  .boxPhoneBook > h1{
    align-self: center;
  }
  #mobilcontainer{
    display: none;
  }
  #mobilcontainer>.card{
    display: none;
  }
}


/* ! Version Deskop */

/* Condition de taille d'ecran */
@media (min-width: 1024px) {
  .mob-background {
    display: none;
  }
  .desk-background {
    display: flex;
    background-image: url('https://images.unsplash.com/photo-1482941059634-6bf5a670d7bf?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1172&q=80');
    background-position: center;
    background-size: cover;
    flex-direction: row;
    width: 100%;
    height: 100vh;
  }
  .desk-background .left-desk {
     flex:1;
     margin-top: 4em;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
  }
  .desk-background .left-desk a {
    padding: .5em;
    font-size: 2em;
    color: white;
    margin: 1em 0;
    border-radius: 15px;
    text-decoration: none;
  }

  .blue {
    background-color: #2c48d7;
  }
  .blue:hover {
    background-color: #4762e7;
  }
  .green {
    background-color: #26ab3f;
  }
  .green:hover {
    background-color: #3dcf57;
  }
  .desk-background .left-desk h1 {
    color:  #080c21;
    font-size: 3em;
  }
  .desk-background .left-desk h2 {

    font-size: 2em;
    
  }
  .desk-background .left-desk span {

    font-size: 1.6em;
    margin-bottom: 2em;
    text-align: center;
  }
  .desk-background .right {
    flex:2;
    
 }
 .desk-background .right p {
  width: 400px;
  height: 90vh;
  overflow-y: auto;
  font-size: 1.8em;
  text-align: right;
  margin-top: 3em;
  margin-right: 2em;
  margin-left: auto;
  text-shadow: #f2f2f2 1px 0 2px;
}
  .card img {
    height: 11em;
  }
  #navmobil {
    display: none;
  }
  #citycard{
    display: none;
  }
  #carouselExampleControls{
    display: none;
  }
  #phonebookmobil{
    display: none;
  }
  .boxPhoneBook{
    width: 75%;
    display: flex;
    flex-direction: column;
  }
  #pagePhoneBook{
    flex-flow: wrap;
    justify-content: space-around;
    background-color: white;
  }
  .card-phoneBook{
    width: 30%;
    margin: 15px 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
    border-radius: 0;  
  }

  #mobilcontainer{
    display: none;
  }
  #mobilcontainer>.card{
    display: none;
  } 
  

  /* Carousel styling */
  #introCarousel,
  .carousel-inner,
  .carousel-item,
  .carousel-item.active {
    height: 60vh;
    margin-bottom: 1rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    box-shadow: 0px 21px 25px -26px #080c21;
  }

  .no-desktop {
    display: none;
  }
  
}



/*! Code générique */

h1{
  background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;

}

/* widget */
#ww_36fdab06ccd2a{
  margin-top: 1rem
}
/* /widget */



.wrapper{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  background:#E9E4E1;
  padding-bottom: 4em;
  min-height: 93vh;
  
}

/* NavBar */
.card-nav-desktop{
  background-color: #35373B;
}
/* Buttons */
.card-nav-desktop>nav>a{
  cursor: pointer;
  color: white;
  border-radius: 10px;
}
.card-nav-desktop>nav>a:hover{
  background: transparent;
  -webkit-box-shadow: inset 3px 0px 12px 3px white; 
  box-shadow:  3px 0px 12px 3px gray;
  border-radius: 5px; 
}

.left{
  width: calc(25% - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#inscription{
  margin: 2em 4em 0 4em;
  width: 100%;
}


/*! Mega Div Right */
/*! Accueil */
.right{
  width: 75%;
  display: flex;
  flex-direction: column;
}
.right>h1,
.right>div>h1{
  align-self: center;
  color: #35373B;
}

.phoneBook{
  margin-top: 2rem;
  width: 95%;
}
#phonebook>div{
  transition: transform 0.8s;
}


#phonebook>div:hover{
  transform: scale(0.9);
}

#cardactu{
  justify-content:space-around;
  flex-wrap: wrap;
}

#cardactu>.card{
  transition: transform 0.8s;
}

#cardactu>.card:hover{
  transform: scale(0.9);
}



.carousel-item:nth-child(1) {
  background-image: url('https://images.unsplash.com/photo-1493564738392-d148cfbd6eda?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80');

}
.carousel-item:nth-child(2) {
  background-image: url('https://images.unsplash.com/photo-1595241292896-74fc11ce599f?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80');

}
.carousel-item:nth-child(3) {
  background-image: url('https://images.unsplash.com/photo-1586987177718-54e088c798b6?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80');

}

.carousel-item:nth-child(4) {
  background-image: url('https://images.unsplash.com/photo-1602574923828-853dbbc27277?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=735&q=80');

}
.carousel-item:nth-child(5) {
  background-image: url('https://images.unsplash.com/photo-1600384181340-b2a50808583f?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1633&q=80');

}





/* ! Profil */

#showProfile{
  height: 100%; 
}

#showProfile>a{
  width: 50%;
  align-self: center;
}
#showProfile>form{
  padding: 1rem;
}

#showProfile>form>button{
  text-align: center;
}

#showProfile>form>form{
  width: 50%;
}

/*! Page Phone Book */

.boxPhoneBook>h1{
  align-self: center;
  color: #35373B;
}

.card-phoneBook:hover{
  transform: scale(0.9);
}
.card-phoneBook{
  transition: transform .5s;
}

.card-phoneBook>a>div>h5{
  margin: 0%;
  font-size: 1rem;
}

/*! Dashboard Users */

#DashboardGrievance{
  height: 100%;
}
#DashboardGrievance>a{
  width: 50%;
  align-self: center;
}
 

html {
  scroll-behavior: smooth;
}

/* ! Grievance */
#NewGrievance{
  height: 100vh;
  padding: 1rem;
}

#NewGrievance>a{
  width: 50%;
  align-self: center;
}

#showGrievance{
  height: 100vh;
}




/* Footer */

.footer{
  display: flex;
  justify-content: space-evenly;
  color: #FCFAF8;
  background-color: #35373B;
}

.footer>li>a{
  color: #FCFAF8;
}