@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');

* {
  margin: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  width: 100%;
  background-color: #262626;
  overflow: hidden;
}

/* Caption text */
.text {
  margin-top: 5%;
  color: white;
  text-align: center;
  align-items: center;
  justify-content: center;
}

h1 {
  font-size: 80px;
  font-weight: 800;
  animation: up 4s;
}

.center {
  margin-top: 10%;
}

h3 {
  font-size: 31px;
  font-weight: 600;
  animation: up 4s;
}

.rect {
  margin-top: 2%;
  height: 664px;
  width: 1396px;
  border: solid 2px white;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 50% 50%;
}

.format {
  width: 600px;
  height: 573px;
  margin-top: 7%;
  margin-left: 5%;
  animation: fade 1s;
}

h2 {
  line-height: 180%;
  margin-top: 7%;
  font-size: 30px;
}

span {
  margin-top: 10%;
}

.pres {
  margin-top: 5%;
}

.pres p {
  line-height: 30px;
  font-size: 18px;
}

.progrid {
  margin-top: 2%;
  display: grid;
  grid-template-columns: 50% 50%;
}

h4 {
  font-size: 20px;
}

.bolder {
  font-weight: 800;
}

.mt-4 {
  margin-top: 4%;
}

.locate {
  position: absolute;
  left: 55%;
  top: 26%;
  width: 2%;
}

.bcg {
  width: 100%;
  height: 100%;
  opacity: 40%;
  position: absolute;
  top: 0;
  z-index: 0;
}

.griding {
  display: grid;
  margin-top: 3%;
  grid-template-columns: repeat(4, 1fr);
}

.griding2 {
  display: grid;
  margin-top: 3%;
  grid-template-columns: repeat(5, 1fr);
  grid-row-gap: 20%;
}

.compte {
  height: 200px;
  width: 200px;
  margin-left: 15%;
  border-radius: 40px;
  align-items: center;

}

.comptimg {
  width: 100%;
  height: 100%;
}

.comptimg:hover {
  transform: scale(1.15);
}

.forme {
  display: flex;
  height: 400px;
  width: 400px;
  margin-left: 10%;
  border-radius: 40px;
  align-items: center;
}

.forme:hover {
  filter: brightness(70%);
}

a {
  text-decoration: none;
}

.inside {
  opacity: 100%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  height: 80%;
  width: 80%;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;
}

.finderpepper {
  background: linear-gradient(90deg, rgba(199, 77, 89, 1) 0%, rgba(137, 0, 36, 1) 100%);
}

.ticket {
  background-color: #002C53;
}

.compteur {
  background-color: #1E6BB4;
}

h5 {
  color: white;
  text-decoration: none;
  font-size: 35px;
}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: 0;
}

/* Hide the images by default */
.mySlides {
  display: none;
  width: 100%;
  height: 100%;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 45%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}



/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.btn {
  position: absolute;
  left: 45%;
  bottom: 3%;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

@keyframes up {
  0% {
    transform: translateY(-300%);
  }

  100% {
    transform: translateY(0%);
  }
}

/* RESPONSIVE GLOBALE*/
@media (max-width: 1024px) {
  body {
    overflow: visible;
  }

  /*Background image moi*/
  .bcg {
    height: 30%;
    position: static;
    /**/
  }

  /*Première Slide*/
  h1 {
    font-size:45px;
    /**/
  }

  .center {
    margin-top: 0%;
  }

  h3 {
    font-size: 18px;
    /**/
  }

  /*Fin Slide 1 */
  /*Slide 2 3 4*/
  .text{
    margin-top: 0%;
  }

  .responsive{
    position: absolute;
    top: -25%;
    z-index: 2;
  }

  .rect {
    margin-top: 0%;/**/
    height: 100%; /**/
    width: 100%; /**/
    border: none; /**/
    border-top: solid 2px white;/**/
    display: block; /**/
  }

  .format {
    width: 100%;/**/
    height: 35%; /**/
    margin-top: 0%;/**/
    margin-left: 0%;/**/
  }

  h2 {
    line-height: 150%; /**/
    margin-top: 5%; /**/
    font-size: 25px; /**/
  }

  .locate {
    position: relative; /**/
    z-index: 1; /**/
    left: 5; /**/
    top: -4;  /**/
    width: 80%; /**/
  }

  span{
    display: grid; /**/
    grid-template-columns: 10% 90%; /**/
    text-align: center; /**/
  }

  span p{
    font-size: 16px; /**/
  }
  .pres p {
    font-size: 16px; /**/
  }

  /*Fin slide 2 3 4*/
  /*Site créé*/
  .griding {
    width: 100%;/**/
    margin-top: 5%; /**/
    grid-template-columns: 50% 50%;/**/
  }

  .inside {
    width: 100%; /**/
  }

  .forme {
    display: block; /**/
    height: 150px; /**/
    width: 150px;/**/
    margin-left: 10%;/**/
  }
  h5 {
    font-size: 18px; /**/
  }

  /*Compétence*/
  .griding2 {
    display: grid;
    margin-top: 5%; /**/
    grid-template-columns: 50% 50%;  /**/
    grid-row-gap: 10%; /**/
  }

  .compte {
    height: 100px; /**/
    width: 100px; /**/
    margin-left: 24%;
  }

  .dot{
    display: none;
  }
}
/* RESPONSIVE PETIT TELEPHONE*/

/*RESPONSIVE TABLETTE*/
/*RESPONSIVE PETIT ORDI PORTABLE*/
@media (width: 1024px) {
  /*Background image moi*/
  .bcg {
    height: 60%;
    /**/
  }
  /*Première Slide*/
  h1 {
    font-size:60px;/**/
  }
  h3 {
    font-size: 24px;/**/
  }

  /*Fin Slide 1 */
  /*Slide 2 3 4*/
  .rect {
    margin-top: 37%;/**/
  }

  .format {
    height: 75%; /**/
  }

  h2 {
    line-height: 120%; /**/
    margin-top: 3%; /**/
    font-size: 40px; /**/
  }
  .locate {
    left: 160%; /**/
    width: 50%; /**/
  }

  span{
    margin-top: 2%;
    display: grid; /**/
    grid-template-columns: 10% 90%; /**/
    text-align: center; /**/
  }

  span p{
    font-size: 25px; /**/
  }

  .pres{
    margin-top: 2%;
  }
  .pres p {
    font-size: 20px; /**/
  }

  /*Fin slide 2 3 4*/
  /*Site créé*/
  .griding {
    margin-top: 40%; /**/
  }
  .forme {
    height: 300px; /**/
    width: 300px;/**/
    margin-left: 22%;/**/
  }
  h5 {
    font-size: 30px; /**/
  }

  /*Compétence*/
  .griding2 {
    display: grid;
    margin-top: 40%; /**/
  }

  .compte {
    height: 250px; /**/
    width: 250px; /**/
    margin-left: 24%;
  }

  .dot{
    display: none;
  }
}
/*RESPONSIVE ORDI PORTABLE*/
@media (width: 1440px) {
  .forme {
    height: 300px; /**/
    width: 300px;/**/
  }

  .locate {
    top: 29%;
  }
}