* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: white;
  color: #383838;
  font-family: "CircularStd", sans-serif;
}

.marker {
	padding: 20px;
	cursor: pointer;
}

.marker::before {
	content: " ";
	display: block;
	width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgb(60, 130, 160);
  box-shadow: 0 0 0 0 rgba(60, 130, 160, 0.5);
	transition: box-shadow 0.5s ease, opacity 0.25s ease !important;
}

.marker.earth-occluded {
  opacity: 0.5;
}

.marker.focus::before {
  box-shadow: 0 0 0 20px rgba(60, 130, 160, 0.5);
}

.collapsible {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.project.focus .collapsible {
  opacity: 1;
}

.wrapper {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  flex-wrap: wrap;

  height: 600px;
  margin: 0 auto;
  max-width: 1200px;
}

.earth {
  flex: 2;
  min-width: 600px;
  background: #f2f2f2;
  height: 100%;
  padding: 1em;
}

#earth-element {
  height: 100%;
}

.projects {
  flex: 1;
  min-width: 500px;
  background: #e4e4e4;
  padding: 2em 0em 0em 3em;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-list {
  overflow: auto;
  height: 100%;
  padding-right: 5em;
  padding-bottom: 2em;
}

.project {
  transition: color 0.2s ease;
  padding: 0.25em 0;
}

.project:hover h2 {
  color: #3c82a0;
}
.project:hover h3 {
  color: #8d8d8d;
}

.project.focus h2 {
  color: #21a9e3;
}

.project.focus h3 {
  color: #6d6d6d;
}

p {
	line-height: 140%;
	margin: 8px 0;
}

h2 {
  font-size: 1.1em;
  text-transform: uppercase;
  margin: 8px 0 0 0;
}

h3 {
  font-weight: bold;
  font-size: 1em;
  margin: 16px 0 8px 0;
  color: #616161;
}

h2,
h3 {
	cursor: pointer;
	transition: color 0.2s;
}

a {
  color: #3c82a0;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}

a:hover {
  color: #21a9e3;
}

@media (max-width: 900px) {
  .earth {
		height: auto;
		min-width: 100vw;
	}

	.projects {
		min-width: 100vw;
	}

  .wrapper {
    height: auto;
  }

  .project-list {
    overflow: visible;
  }
}

@font-face {
  font-family: "CircularStd";
  src: url("./fonts/lineto-circular-book.woff2") format("woff2");
}

@font-face {
  font-family: "CircularStd";
  font-weight: bold;
  src: url("./fonts/lineto-circular-bold.woff2") format("woff2");
}
