/* Your global styles can go here */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif, Tahoma, Verdana;
}

#main {
  background-color: #fff;
  height: 900px;
}

/* Navigation styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  color: #000;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.logo img {
  max-height: 30px;
}

.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu li {
  margin-right: 20px;
}

.menu a {
  text-decoration: none;
  font-weight: 600;
  color: #000;
  padding: 0 5px 3px 5px;
  border-radius: 5px;
}

.menu a:hover {
  box-shadow: #ccc 0px 1px 1px 1px;
}

.map_and_infos {
  width: 800px;
  margin: 0 auto;
}

/* MAP styles */
.LeafletMap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px;
}

.LeafletMap-arrow {
  cursor: pointer;
  display: none;
}

/* Add hover animation for .LeafletMap and .LeafletMap-arrow */
.LeafletMap-arrow:hover {
  transform: scale(1.1);
  /* Adjust the scale factor as needed */
  transition: transform 0.3s ease-in-out;
}

.LeafletMap-arrow:hover .LeafletMap-arrow {
  transform: scale(1.2);
  /* Adjust the scale factor as needed */
  transition: transform 0.3s ease-in-out;
}

#map {
  border: 1px solid #000;
}

/* SEARCHBAR styles */
.search-bar {
  display: flex;
  flex-direction: column;
  margin: 5px 100px;
}
.search-bar input {
  width: 300px;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
}
.search-bar button {
  margin: -11px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

/* InlineList styles */
.inline-list {
  width: 750px;
  max-width: 750px;
  display: flex;
  align-items: center;
  margin: 10px 0 0 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

/* ELEMENT styles */
.element-with-image-and-text {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  margin-right: 5px;
  min-width: 200px;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
}
.element-with-image-and-text .element-image {
  max-width: 100px;
  border-radius: 50%;
  margin-right: 20px;
  border: 1px dashed #ccc;
}
.element-with-image-and-text .element-text {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin: 0;
}
.element-with-image-and-text:hover {
  box-shadow: #ccc 0px 1px 1px 1px;
}
.element-with-image-and-text.selected {
  box-shadow: inset #ccc 0px 1px 1px 1px;
  background: rgba(255, 255, 119, 0.5333333333);
}

.infos {
  display: block;
  position: relative;
}

/* Indicator title styles */
.indicator-list .Indicator {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  max-width: 200px;
  padding: 5px;
  font-size: 15px;
}
.indicator-list .Indicator .element-image {
  min-width: 50px;
  width: 50px;
  min-height: 50px;
  height: 50px;
  margin-right: 20px;
}
.indicator-list .Indicator .element-text {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  margin: 0;
  text-align: start;
}
.indicator-list .Indicator .statValue {
  font-weight: bold;
  font-size: large;
}
.indicator-list .Indicator .some_infos {
  font-size: 9px;
}
.indicator-list .gares_title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 0;
}

/* Indicator content styles */
.indicator-list-content {
  margin-top: 40px;
}
.indicator-list-content .Indicator {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  max-width: 250px;
  padding: 5px;
  font-size: 12px;
}
.indicator-list-content .Indicator .element-image {
  min-width: 50px;
  width: 50px;
  margin-right: 20px;
}
.indicator-list-content .Indicator .element-text {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  margin: 0;
  text-align: start;
}
.indicator-list-content .Indicator .statZone {
  font-size: 10px;
  color: red;
}
.indicator-list-content .Indicator .statValue {
  font-weight: bold;
  font-size: large;
}

.menu-toggle {
  display: none;
  text-decoration: none;
  font-weight: 600;
  color: #000;
  padding: 0 5px 3px 5px;
  border-radius: 5px;
  box-shadow: #ccc 0px 1px 1px 1px;
}
.menu-toggle:hover {
  box-shadow: #000 0px 1px 1px 1px;
}

.hide {
  display: none;
}

@media screen and (max-width: 800px) {
  nav ul li, .search-bar, .infos, .indicator {
    display: none;
  }
  #map {
    margin: 0px auto;
  }
  .inline-list {
    width: 90%;
  }
  .menu-toggle {
    display: block;
  }
  .LeafletMap-arrow {
    display: block;
  }
  .map_and_infos {
    width: 80%;
  }
}