@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

      /* Always set the map height explicitly to define the size of the div
       * element that contains the map. */
       gmp-map {
        height: 30%;
      }

      /* Optional: Makes the sample page fill the window. */
      html,
      body,
      footer {
        height: 100%;
        margin: 0;
        padding: 0;
      }

body {
  background-color: #353836;
  color: white;
  font-family: "Poppins", sans-serif;
}

header a {
  text-decoration: none;
}

header {
  padding: 0 20px;
  background-color: #1d1f1d;
  height: 50px;
  display: flex;
  justify-content: space-between;
}

#brand {
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
}

#brand a {
  color: #09c372;
}

ul {
  list-style: none;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

ul a {
  color: white;
}

ul li {
  padding: 5px;
  margin-left: 10px;
}

ul li:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

#login,
#support {
  border-radius: 5px;
  padding: 5px 8px;
}

#login {
  border: 1px solid #498afb;
}

#support {
  border: 1px solid #ff3860;
}

#support a {
  color: #ff3860;
}

#login a {
  color: #498afb;
}

#hamburger-icon {
  margin: auto 0;
  display: none;
  cursor: pointer;
}

#hamburger-icon div {
  width: 35px;
  height: 3px;
  background-color: white;
  margin: 6px 0;
  transition: 0.4s;
}

.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-6px, 6px);
  transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -8px);
  transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
  display: contents;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  height: calc(100vh - 50px);
  width: 100%;
}

.mobile-menu li {
  margin-bottom: 10px;
}

@media only screen and (max-width: 600px) {
  header nav {
    display: none;
  }

  #hamburger-icon {
    display: block;
  }
}

.footer{
  background:#000;
  padding:30px 0px;
  font-family: 'Play', sans-serif;
  text-align:center;
  }
  
  .footer .row{
  width:100%;
  margin:1% 0%;
  padding:0.6% 0%;
  color:gray;
  font-size:0.8em;
  }
  
  .footer .row a{
  text-decoration:none;
  color:gray;
  transition:0.5s;
  }
  
  .footer .row a:hover{
  color:#fff;
  }
  
  .footer .row ul{
  width:100%;
  }
  
  .footer .row ul li{
  display:inline-block;
  margin:0px 30px;
  }
  
  .footer .row a i{
  font-size:2em;
  margin:0% 1%;
  }

  .fa-circle-up{
    scale: 2;
    margin-left: 0.4vw;
    color: gray;
  }

  .fa-circle-up:hover{
    scale: 2;
    margin-left: 0.5vw;
    color: #fff;
  }
  
  @media (max-width:720px){
  .footer{
  text-align:left;
  padding:5%;
  }
  .footer .row ul li{
  display:block;
  margin:10px 0px;
  text-align:left;
  }
  .footer .row a i{
  margin:0% 3%;
  }
  }

  ::-webkit-scrollbar {
    width: 12px; /* Largeur de la barre de défilement */
}

::-webkit-scrollbar-thumb {
    background-color: #1d1f1d; /* Couleur de la poignée de défilement */
    border-radius: 13px; /* Coins arrondis de la poignée */
    border-top-left-radius: 0%;
    border-top-right-radius: 0%;
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #353836; /* Couleur de la piste de défilement */
    width: 8px;
}

/* Pour les navigateurs basés sur Gecko (Firefox) */
* {
    scrollbar-color: #1d1f1d #f1f1f1;
    scrollbar-width: thin;
    overflow: hidden;
    
}

.news-box {
  display: none;
  position: relative;
  top: 40;
  right: -100%; /* Définir la position initiale en dehors de l'écran */
 /* Largeur limitée en pourcentage de la largeur de la fenêtre */
  max-width: 33%; /* Largeur maximale de la boîte d'actualités */
  height: auto;
  width: auto;
  background: #382c22;
  color: #fff;
  overflow: auto;
  transition: right 0.6s ease-in-out;
}

.news-content {
  padding: 20px;
  text-align: center;
  max-width: 100%;
}

.news-content h2 {
  margin-bottom: 10px;
}

.news-content p {
  margin-bottom: 20px;
}

.news-content a {
  color: #fff;
  text-decoration: none;
}

.news-content button {
  background-color: #2c3e50;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.news-content button:hover {
  background-color: #0e61b4;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
}


.illustration{
  padding: 3px;
  scale: 0.3;
  position: fixed;
  margin-left: -27vh;
  margin-top: -18vh;
  border-radius: 25%;
}

.tester{
  background-color: #2c504b;
  color: #fff;
  border: none;
  padding: 7px;
  cursor: pointer;
  border-radius: 15px;
}

.tester:hover{
  background-color: #0fbea7;
  color: #fff;
  border: none;
  padding: 7px;
  cursor: pointer;
  border-radius: 15px;
}


.flèche-news{
  scale: 5;
  position: fixed;
  right: 5%;
  top: 20%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

@media (max-width: 768px) {
  .news-box {
      width: 100%; /* Pleine largeur sur les écrans plus petits */
      max-width: none; /* Aucune limite maximale sur la largeur */
  }
}

/* scroll bar */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #353836;
}

::-webkit-scrollbar-thumb {
  background: #1d1f1d;
}