@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

* {
  box-sizing: border-box;
}

:root {
  --primary-color: #145374;
  --secondary-color: #052f46;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Nunito', sans-serif;
  margin: 0;
  height: 100vh;
  overflow: hidden;
}

p {
  line-height: 20px;
}

nav {
  background-color: var(--secondary-color);
  font-size: 14px;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  padding: 0 20px;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style-type: none;
  margin: 10px;
}

.main-container {
  display: flex;
  height: 100vh;
}

.sidebar-container {
  color: var(--secondary-color);
  flex: 1;
  overflow: auto;
  transition: flex 0.2s ease;
}

.sidebar-container.hidden {
  flex: 0;
}

.sidebar-container .placeholder {
  background-image: url('../../images/placeholder.png');
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 222px;
}
.sidebar-container img {
  width: 100%;
  height: 222px;
  object-fit: cover;
}
.project-data {
  padding: 20px;
}

.map-container {
  position: relative;
  flex: 2;
}

.project-info {
  position: absolute;
  left: 80px;
  top: 135px;
  background-color: black;
  opacity: 0.75;
  color: orange;
  font-size: 13pt;
  padding: 8px;
  visibility: hidden;
}

.reset-view-btn {
  position: absolute;
  z-index: 100;
  left: 15px;
  top: 100px;
}
/* .btn {
  justify-content: center;
  align-items: center;
} */

.see-project-btn {
  border: 1px solid black;
  /* background-color: #555; */
}

.see-project-btn:active {
  transform: scale(0.98);
}

.sidebar-btn {
  position: absolute;
  z-index: 100;
  left: 15px;
  top: 133px;
  transition: transform 0.5s ease;
}
.sidebar-btn .fas {
  transition: transform 0.5s ease;
}

.sidebar-btn .fas.flip {
  transform: scaleX(-1);
}

/* Scrollbar Styling*/
/* Width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Button Styling*/
.btn {
  background-color: #fff;
  color: #6e6e6e;
  font-size: 16px;
  border: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.btn:hover {
  background-color: #f3f3f3;
}
/* .btn {
  appearance: button;
  background-color: var(--secondary-color);
  border: solid transparent;
  border-radius: 16px;
  border-width: 0 0 4px;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: din-round, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 20px;
  margin: 0;
  outline: none;
  overflow: visible;
  padding: 13px 16px;
  text-align: center;
  text-transform: uppercase;
  touch-action: manipulation;
  transform: translateZ(0);
  transition: filter 0.2s;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}

.btn:after {
  background-clip: padding-box;
  background-color: var(--primary-color);
  border: solid transparent;
  border-radius: 16px;
  border-width: 0 0 4px;
  bottom: -4px;
  content: '';
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

.btn:main,
.btn:focus {
  user-select: auto;
}

.btn:hover:not(:disabled) {
  filter: brightness(1.1);
}

.btn:disabled {
  cursor: auto;
} */

@media (max-width: 960px) {
  .sidebar-container {
    flex: 0;
  }

  .sidebar-btn {
    display: none;
  }
}
