h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f7f9fc;
  font-family: "Roboto", sans-serif;
}

:root {
  --main-shadow: rgba(85, 85, 85, 0.4) 0px 2px 4px, rgba(85, 85, 85, 0.3) 0px 7px 13px -3px, rgba(85, 85, 85, 0.2) 0px -3px 0px inset;
}

.main--wrapper {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 95vw;
  justify-content: center;
  /* align-items: center; */
}

.wrapper {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.container {
  display: flex;
  padding: 20px;
  background-color: white;
  border-radius: 20px;
  box-shadow: var(--main-shadow);
}

.nearbyEvents {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

table {
  border-spacing: 0px;
}

.data-wrapper {
  max-height: 350px;
  overflow: auto;
}

.mapView,
.chartView {
  display: flex;
  flex-direction: column;
  max-height: 420px;
  overflow: hidden;
}

.event-container {
  display: flex;
  font-size: 1.4rem;
  /* font-family: Arial, Helvetica, sans-serif; */
  gap: 1rem;
  /* justify-content: center;
  align-items: center; */
  border-bottom: 1px solid #aaa;
  border-top: 1px solid #aaa;
  padding: 10px 0;
}

.mag-circle {
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 50%;
  border-style: solid;
  border-width: 4px;
  pointer-events: none;
  text-align: center;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3da1e6;
  background-color: #3da1e633;
}

.mag-circle span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #777;
}

.cityName {
  font-weight: 700;
  font-size: 1.2rem;
}

.time_depth {
  font-weight: 600 !important;
  color: #b8b8b8;
  font-size: 1rem;
}

.event-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.row {
  display: grid;
  grid-template-columns: 1fr 3fr;
  width: 100%;
  gap: 2rem;
}

.top-navbar {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  border-radius: 20px;
  box-shadow: var(--main-shadow);
}

.top-navbar h1 {
  /* font-family: Arial, Helvetica, sans-serif; */
  color: #3da1e6;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo img {
  width: 50px;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(189, 189, 189);
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #919191;
}

@media screen and (max-width: 480px) {
  .row {
    grid-template-columns: 1fr;
  }

  .mapView {
    height: 400px;
  }

  .top-navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .top-navbar > h3 {
    font-size: 1rem;
  }

  .logo {
    align-items: flex-start;
    gap: 1rem;
  }

  .logo > h1 {
    font-size: 1.5rem;
  }

  .logo img {
    width: 30px;
  }
}
