@import "https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css";
@import "https://js.arcgis.com/4.28/esri/themes/light/main.css";

:root {
  --primary-orange: #ff6600;
  --primary-blue: #0044aa;  
  --secondary-gray: #b7c4c8;
  --secondary-brown: #9B7653
}

.primary-orange {
  color: var(--primary-orange)
}

.primary-blue {
  color: var(--primary-blue)
}

.secondary-gray {
  color: var(--primary-gray)
}

.secondary-brown {
  color: var(--primary-brown)
}

html, body {
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden
}

#map-view {
  position: relative;
  height: 100vh;
  width: 100vw;
}

#panel {
  position: absolute;
  left: 20%;
  width: 60%;
  height: 100vh;
  z-index: 5;
  background-color: white;
  border-radius: 0;
  border-top: var(--primary-blue) 1px solid;
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  opacity: 1;
}
/* make the panel fill a wider area and keep it centered on smaller screens */
@media screen and (max-width: 768px) {
  #panel {
    left: 5%;
    width: 90%;
    height: 100vh;
  }
}

#panel.isfaded {
  opacity: 0
}

.tab-content {
  height: calc(100vh - 200px);
  overflow-y: auto;
}

.project-image {
  border-radius: 5%;
  width: 200px
}

#logo {
  width: 200px;
  margin-left: 10px;
  margin-top: 0
}

a.project-link {
  color: var(--primary-orange) !important
}

a {
  color: var(--primary-gray) !important
}
.tabs li.is-active a {
  border-bottom-color: var(--primary-orange) !important;
  color: var(--primary-orange) !important;
}

a#info-email {
  color: var(--primary-orange) !important
}

#platforms-container {
  margin-right: 10px;
  margin-top: 0;
}

.platform-icon {
  width: 24px;
  margin: 4px
}

.droplet {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  background-color: var(--primary-blue);
  border-radius: 10% 50% 50% 50%;
  transform: rotate(45deg);
  width: 10px;
  height: 10px;
}

.droplet.animate {
  opacity: 1;
}

.map-splash {
  width: 50px;
  height: 50px;
  position: absolute;
  z-index: 6;
  border-radius: 50%;
  background-color: #0044aa;
  transform: scale(0);
  transition: transform 2s, opacity 2s;
  pointer-events: none;
  opacity: 1;
}

.map-splash.animate {
  transform: scale(4);
  opacity: 0;
}