@view-transition {
  navigation: auto;
}

::view-transition-group(header) {
  animation: none;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.logo {
  color: black;
  text-decoration: none;
}

.logo:hover {
  color: #228be6;
}

.map-container {
  height: calc(100vh - 70px);
  margin: -16px;
}

.place-card-section {
  display: flex;
  padding: 12px;
}

.place-card-section:hover .place-card-controls {
  display: flex;
}

.place-card-left {
  display: flex;
  flex-direction: column;
}

.place-card-controls {
  display: none;
  flex: 1;
  align-items: flex-end;
}

.highlighted {
  animation: colorfade 1.5s;
}

.challenge-header {
  display: flex;
  position: relative;
  height: 200px;
  align-items: flex-end;
}

.challenge-header-overlay {
  position: absolute;
  border-radius: 4px;
  top: 20%;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.85) 90%
  );
}

@keyframes colorfade {
  from {
    background: yellow;
  }
  to {
    background: transparent;
  }
}
