.containerConseils {
  width: 100%;
  height: 100%;
  margin-top: 155px;
}

/* ********************************title conseils*************************** */
.title_conseils {
  font-size: 80px;
}
.title_conseils > #title_c {
  text-align: center;
}
/* ********************************title conseils*************************** */
/* ***************************section slider************************** */


#slider {
  position: relative;
  width: 900px;
  height: 465px;
  margin: 0;
  margin-top: 90px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
 
}
#slider ul {
  position: relative;
  list-style: none;
  height: 100%;
  width: 10000%;
  padding: 0;
  margin: 0;
  transition: all 750ms ease;
  left: 0;
}
#slider ul li {
  position: relative;
  height: 100%;
  float: left;
}

#slider ul li img {
  width: 900px;
  height: 465px;
  /* width: 500px;
    height: 265px; */
}
#slider #prev,
#slider #next {
  width: 50px;
  line-height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  text-align: center;
  color: white;
  text-decoration: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 150ms ease;
}
#slider #prev {
  left: 10px;
}
#slider #next {
  right: 10px;
}
#slider #prev:hover,
#slider #next:hover {
  background-color: rgba(0, 0, 0, 0.5);
  text-shadow: 0;
}

/* ***************************section slider************************** */

/* **************************section most popular************** */
.most_popular {
  display: flex;
  flex-grow: 4;
  justify-content: center;
  padding: 70px 45px 0 45px;
  align-content: center;
  margin-top: 65px;
  flex-wrap: nowrap;
  background: rgb(9, 79, 121);
  background: linear-gradient(
    0deg,
    rgba(9, 79, 121, 0.927608543417367) 0%,
    rgba(119, 195, 207, 1) 74%,
    rgba(255, 255, 255, 1) 100%
  );
}

.most_popular > div {
  width: 50%;
  height: 800px;
  text-align: center;
  color: white;
}
#most_title h4 {
  margin-top: 35px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  color: black;
}
#text_most {
  width: 100%;
  height: 60px;
  padding: 10px;
  margin-top: 45px;
}
#text_most p {
  font-size: 19px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-right-width: 60px;
  padding-left: 60px;
  padding-right: 60px;
}
.img_most {
  margin-top: 200px;
}
.img_most img {
  width: 370px;
  height: 250px;
  margin-top: 60px;
}
/* **************************section most popular************** */
/* **************************section CARDS************** */

.title_cons {
  width: 100%;
  height: 300px;
  /* background-color: #f5cb22;; */
  /* padding: 50px 50px 50px 50px; */
  text-align: center;
}

.section_link {
  padding: 80px 100px 100px;
  /* background-color: red; */
  justify-content: space-between;
  height: 1450px;
}
.section_link #text_link {
  background-color: aquamarine;
  position: relative;
  height: 30px;
  text-align: center;
}
/* .section_link #container_link{
    background-color: yellow;
    align-items: center; 
    height: 400px;
} */

#container_link {
  display: flex;
  flex-grow: 4;
  flex-wrap: nowrap;
  height: 100px;
  margin-left: 400px;
  margin-top: 170px;
}
#container_link2 {
  display: flex;
  flex-grow: 4;
  flex-wrap: nowrap;
  margin-left: 400px;
  margin-top: 470px;
}

.conseil1 {
  margin-top: 100px;
  width: 50%;
  height: 50px;
}
#list_2 {
  margin-left: 15px;
}
#button_conseil {
  width: 50%;
  margin-left: 50px;
  margin-top: 10px;
}
#button_conseil button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Roboto", sans-serif;
  border-radius: 6px;
  border: none;

  background: #6133be;
  box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1),
    inset 0px 0.5px 0.5px rgba(14, 51, 153, 0.5),
    0px 0px 0px 0.5px rgba(0, 0, 0, 0.12);
  color: #dfdedf;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#button_conseil button:focus {
  box-shadow: inset 0px 0.8px 0px -0.25px rgba(105, 128, 202, 0.2),
    0px 0.5px 1px rgba(157, 155, 219, 0.1),
    0px 0px 0px 3.5px rgba(58, 108, 217, 0.5);
  outline: 0;
}
#button_conseil span {
  color: white;
}
/*cart part*/
.card {
  position: relative;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 400px;
  background: #000;
  border-radius: 25%;
}
.card .image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10%;
}
.card .image img {
  width: 100%;
  transition: 0.5s;
}
.card:hover .image img {
  opacity: 0.5;
  transform: translateX(30%); /*100%*/
}
.card .details {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%; /*100%*/
  height: 100%;
  background: #234257be;
  transition: 0.5s;
  transform-origin: left;
  transform: perspective(2000px) rotateY(-90deg);
}
.card:hover .details {
  transform: perspective(2000px) rotateY(0deg);
}
.card .details .center {
  padding: 20px;
  text-align: center;
  background: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.card .details .center h1 {
  margin: 0;
  padding: 0;
  color: #ff3636;
  line-height: 20px;
  font-size: 20px;
  text-transform: uppercase;
}
.card .details .center h1 span {
  font-size: 14px;
  color: #262626;
}
.card .details .center p {
  margin: 10px 0;
  padding: 0;
  color: #262626;
}
.card .details .center ul {
  margin: 10px auto 0;
  padding: 0;
  display: table;
}
.card .details .center ul li {
  list-style: none;
  margin: 0 5px;
  float: left;
}
.card .details .center ul li a {
  display: block;
  background: #262626;
  color: #fff;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  transform: 0.5s;
}
.card .details .center ul li a:hover {
  background: #ff3636;
}
li {
  text-align: left;
}

/* **************************section CARDS************** */

/* **********************section logos **************************** */

.logo_1 #title_logo {
  background-color: white;
  margin-top: 160px;
}
.logo_1 h2 {
  width: 100%;
  height: 50px;
  font-size: 60px;
  align-items: center;
  text-align: center;
  font-family: "Titillium Web", sans-serif;
}
#title_logo h5 {
  width: 100%;
  height: 20px;
  font-size: 19px;
  margin-top: 30px;
  text-align: center;
  font-family: "Titillium Web", sans-serif;
}

.logos {
  height: 800px;
  overflow: hidden;
  background-color: #fff;
  background-image: linear-gradient(to right, #fff 10%, transparent 0),
    linear-gradient(#fff, #fff);
  background-size: 0.75em 100%, 100% 100%;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}

.wrapper_1 {
  position: relative;
  flex-grow: 1;
  margin: auto;
  margin-top: 100px;
  max-width: 1200px;
  max-height: 1200px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-gap: 2vmin;
  justify-items: center;
  align-items: center;
}

#logo {
  z-index: 1;
  grid-column: span 2;
  max-width: 100%;
  margin-bottom: -52%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: scale(1);
  transition: all 0.25s;
}
#logo:nth-child(7n + 1) {
  grid-column: 2 / span 2;
}

#logo:hover {
  z-index: 2;
  transform: scale(2);
}

/* **********************section conseils **************************** */
/***************************button links**********************/
.list {
  width: 100%;
  height: 250px;
}

.logo_list1 {
  margin-top: 15px;
  margin-left: 15px;
  display: flex;
  justify-content: center;
}
#but_list {
  display: block;
  width: 250px;
  height: 50px;
  line-height: 46px;
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
  border: 3px solid rgb(46, 52, 139);
  color: rgb(7, 7, 7);
  font-size: 20px;
  font-family: arial;
  position: relative;
  overflow: hidden;
  background: transparent;
  text-transform: uppercase;
  transition: all 0.35s;
}

#but_list:before,
#but_list:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: -100%;
  left: 0;
  background: rgb(63, 46, 139);
  z-index: -1;
  transition: all 0.35s;
}

#but_list:before {
  opacity: 0.5;
}

#but_list:after {
  transition-delay: 0.2s;
}

#but_list:hover {
  color: #fff;
}

#but_list:hover:before,
#but_list:hover:after {
  top: 0;
}

/* **************************responsive********************************** */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) 
 {
  .containerConseils {
    width: 100%;
  }
  .title_conseils {
    width: 100%;
    display: flex;
    font-size: 65px;
    justify-content: center;
  }
  
  .most_popular {
    display: flex;
    height: 780px;
  }
  .most_popular #most_title h4 {
    font-size: 19px;
    margin-top: 0;
  }
  .most_popular #text_most {
    font-size: 10px;
    margin-top: 5px;
  }
  #text_most p {
    width: 100%;
    padding: 8px;
    text-align: justify;
  }
  .img_most {
    height: auto;
    margin-top: 315px;
  }
  .img_most img {
    max-width: 150px;
    max-height: 150px;
  }
  .container_link {
    width: 100%;
  }

  .section_link {
    height: 800px;
  }
  .image img {
    max-width: 150px;
    max-height: 150px;
  }

  #container_link {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-top: 25px;
  }
  #container_link .center {
    font-size: 5px;
  }
  #container_link2 .details {
    font-size: 5px;
  }

  #container_link2 .details button {
    font-size: 5px;
    justify-content: center;
  }

  #container_link2 {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-top: 85px;
  }
  #conseil1 {
    margin-left: 150px;
  }
  .card {
    width: 100px;
    height: 150px;
    background: #000;
    border-radius: 25%;
  }
  .card .image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10%;
  }
  .card .image img {
    width: 150%;
    transition: 0.5s;
  }
  .card:hover .image img {
    opacity: 0.5;
    transform: translateX(30%); /*100%*/
  }
  .card .details .center h1 {
    color: #ff3636;
    line-height: 20px;
    font-size: 10px;
    text-transform: uppercase;
  }
  .card .details .center ul li {
    list-style: none;
    margin: 0 55px;
    float: left;
  }

  .image img {
    max-width: 150px;
    max-height: 150px;
  }
  #back {
    margin-top: 0;
  }
  #footer {
    margin-top: 160px;
  }
  #title_logo h5 {
    margin-top: 120px;
  }
  .logos {
    display: none;
  }
  .list_2 {
    margin-top: 55px;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  .container1{
    width: 100%;
  }
  #menuitem li {
    text-align: center;
  }
 .active{
    margin-top: 10px;
  }
  .containerConseils {
    width: 100%;
    margin: 0;
  }
  .title_conseils {
    width: 100%;
    font-size: 65px;
  }
  #title_c{
    width: 100%;
    margin-top: 170px;
  }
  #slider {
    display: none;
  }
  .most {
    display: flex;
    flex-direction: row;
    height: 1200px;
  }
  .most_popular {
    width: 100%;
    height: 1200px;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    font-size: 8px;
  }
  #most_title {
    width: 30%;
    height: 35px;
    font-size: 8px;
  }
  .most_popular #most_title h4 {
    font-size: 13px;
    margin-top: 180px;
  }
  #text_most{
    margin-top: 40px;
  }
  #text_most p {
    width: 100%;
    padding: 4px;
    text-align: justify;
    font-size-adjust: initial;
    font-size: 16px;
  }
  .img_most {
    height: auto;
    margin-top: 580px;
  }
  .img_most img {
    max-width: 100px;
    max-height: 100px;
  }
  .links_{
    width: 100%;
    height: 900px;
  }
  .container_link {
    width: 100%;
    justify-content: center;
  }

  .section_link {
    width: 100%;
    height: 800px;
    display: flex;
    flex-direction: column;
    padding: 0;
    
  }
  .image img {
    max-width: 150px;
    max-height: 150px;
  }

  #container_link {
    display: flex;
    flex-direction: column;
    margin: 0;
  }
  #container_link .center {
    width: 200%;
    height:350px;
    margin-bottom: 0;
    margin-top: 55px;
    font-size: 10px;
  }
  #container_link2 .details {
    font-size: 5px;
  }

  #container_link2 .details button {
    font-size: 5px;
    justify-content: center;
  }

  #container_link2 {
    display: flex;
    flex-direction: column;
    margin-left: 0;
    margin: 0;
    margin-top: 1000px;
  }
  #container_link2 .details .center{
    width: 270%;
    height:350px;
    margin-bottom: 0;
    margin-top: 95px;
    font-size: 10px;
  }

  #conseil1 {
    width: 200px;
    margin-left: 140px;
    margin-top: 310px;
  }
  .card {
    width: 100px;
    height: 150px;
    background: #000;
    border-radius: 25%;
  }
  .card .image {
    width: 200%;
    height: 200%;
    overflow: hidden;
    border-radius: 10%;
    margin-top: 80px;
  }
  .card .image img {
    width: 150%;
    transition: 0.5s;
  }
  .card:hover .image img {
    opacity: 0.5;
    transform: translateX(30%);
  }
  .card .details .center h1 {
    color: #ff3636;
    line-height: 20px;
    font-size: 12px;
    text-transform: uppercase;
  }
  .card .details .center ul li {
    list-style: none;
    margin: 0 55px;
    float: left;
  }
  .image img {
    max-width: 400px;
    max-height: 400px;
  }
  #back {
    margin-top: 80px;
  }
  .logo_1 #title_logo {
    margin-top: 2000px;
  }
  #title_logo h5 {
    margin-top: 250px;
  }
  .logos {
    display: none;
  }
  .list_2 {
    margin-top: 85px;
  }
  .cont1{
    height: 1000px;
    margin: 0;
  }
  .cont2{
    height: 1000px;
    margin: 0;
  }
  .info{
    margin: 0;
  }
  #footer {
    margin: 0;
    margin-top: 60px;
  }
  
}
@media only screen and (min-device-width : 768px) and (max-device-width : 2035px) 
and (orientation : portrait) {

  header nav ul {
    top: 105px;
}

header nav ul li {
  text-align: center;
}


  .containerConseils {
    width: 100%;
  }
  .title_conseils {
    width: 100%;
    display: flex;
    font-size: 65px;
    justify-content: center;
  }
  #slider {
    display: none;
  }
  .most_popular {
    display: flex;
    height: 780px;
  }
  .most_popular #most_title h4 {
    font-size: 19px;
    margin-top: 0;
  }
  .most_popular #text_most {
    font-size: 10px;
    margin-top: 5px;
  }
  #text_most p {
    width: 100%;
    padding: 8px;
    text-align: justify;
  }
  .img_most {
    height: auto;
    margin-top: 315px;
  }
  .img_most img {
    max-width: 150px;
    max-height: 150px;
  }
  .container_link {
    width: 100%;
  }

  .section_link {
    height: 1800px;
  }
  .image img {
    max-width: 350px;
    max-height: 350px;
  }

  #container_link {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-top: 450px;
    margin-left: 140px;
 
  }
  #container_link .center {
    font-size: 5px;
  }
  #container_link2 .details {
    font-size: 5px;
  }

  #container_link2 .details button {
    font-size: 5px;
    justify-content: center;
  }

  #container_link2 {
    display: flex;
    justify-content: center;
    margin-left: 0;
   margin-top: 410px;
   margin-left: 140px;
  }
  #conseil1 {
    margin-left: 60px;
  }
  .card {
    width: 200px;
    height: 450px;
    background: #000;
    border-radius: 25%;
  }
  .card .image img{
    width: 50%;
    transition: 0.5s;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10%;
  }

  .card:hover .image img {
    opacity: 0.5;
    transform: translateX(30%); /*100%*/
  }
  
  .card .details .center h1 {
    color: #ff3636;
    line-height: 20px;
    font-size: 20px;
    text-transform: uppercase;
  }
  .card .details .center p{
    font-size: 12px;
  }
  .card .details .center ul li {
    list-style: none;
    margin: 0 55px;
    float: left;
  }

  .image img {
    max-width: 550px;
    max-height: 550px;
  }
  #back {
    margin-top: 0;
  }
  .logo_1 #title_logo{
    margin-top: 40px;
  }

  #title_logo h5 {
    margin-top: 120px;
  }
  .logos {
    display: none;
  }
  .list_2 {
    margin-top: 55px;
  }
  #footer {
    margin-top: 160px;
  }
}

