@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

html,
body,
* {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
}

body {
  display: flex;
  overflow: hidden;
}

h1 {
  font-size: 1.7rem;
  font-weight: 900;
}

p {
  opacity: 0.6;
}

#sidebar {
  text-align: center;
  width: 320px;
  height: 100vh;

  display: flex;
  flex-direction: column;

  padding: 2rem;
  box-sizing: border-box;

  overflow-y: auto;
}

#sidebar footer {
  padding-top: 2rem;
  margin-top: auto;
}

#map {
  flex: 1;
  height: 100vh;
}

main {
  display: flex;
}

.new-data {
  background-color: blueviolet;
  border: none;
  width: 100%;
  height: 50px;
  border-radius: 8px;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s all ease-in-out;
}

.new-data:hover {
  background-color: rgb(101, 26, 172);
}

.disable {
  background-color: gray;
  pointer-events: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

main .chart {
  width: 100%;
  height: 30vh;
  border: 1px solid gray;
  border-radius: 10px;
  padding: 0.5rem;
}

main #chart {
  width: 100% !important;
  height: 100% !important;
}

.road-result {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.road-distance {
  font-size: 1.5rem;
  font-weight: 600;
}

.more-information {
  border: none;
  background-color: white;
  color: blueviolet;
  font-size: 1.1rem;
  transition: 0.2s all ease-in-out;
  cursor: pointer;
}

.more-information:hover {
  color: rgb(101, 26, 172);
}
