* {
  padding: 0;
  margin: 0;
  position: relative;
  outline: none !important;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-appearance: none;
}

html, body {
  width: 100%;
  height: 100%;
}

sup {
  font-size: 22px;
}

body {
  color: rgb(11, 11, 11);
  background: rgb(255 255 255);
  font-family: 'Newsreader', 'Helvetica Neue', sans-serif;
  font-display: swap;
  font-size: 24px;
  line-height: 2em;
  letter-spacing: -0.03em;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
}

.content {
  max-width: 100%;
  min-width: 800px;
  padding-right: 30%;
  padding-left: 180px;
  padding-top: 60px;
}

h1 {
  font-size: 38px;
  font-weight: normal;
  margin: 0 0 1em;
}

h2 {
  font-size: 34px;
  font-weight: normal;
  margin: 0 0 1em;
}

a {
  color: #ababab;
  text-decoration: none;
  cursor: pointer;
  opacity: 1.0;
}

a:hover {
  opacity: 0.6;
}

.project-cards {
  top: 40px;
  left: 40px;
  position: fixed;
}

.project-card {
  width: 100%;
  height: 100%;
  text-align: center;
}

.project-card-container {
  display: flex;
}

.globe {
  opacity: 0.2;
  position: fixed;
  left: 55%;
  bottom: -300px;
  width: 918px;
  height: 943px;
  backface-visibility: hidden;
  transform: scale(1.0);
}

.globe-picture {
  width: 100%;
  height: auto;
  max-width: none;
  background-size: contain;
  position: absolute;
  left: 0%;
  top: 0%;
  transform-origin: right center 0px;
}

.project-desc {
  width: 50%;
  font-family: Menlo;
  font-size: medium;
}

.project-discover {
  font-size: 28px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-discover:hover {
  transform: translateX(6px);
}

.project-discover:hover .project-arrow {
  transform: translateX(8px);
}

.project-arrow {
  margin-left: 8px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media screen and (max-width: 800px) {
  .globe {
    opacity: 0;
  }

  .project-cards {
    position: absolute;
    top: 40px;
    margin-left: auto;
    margin-right: auto;
  }

  .stack {
    margin-right: 10%;
    margin-left: 10%;
  }

  .content {
    max-width: 100%;
    min-width: 140px;
    padding-right: 10%;
    padding-left: 10%;
    padding-top: 140px;
  }

  h2 {
    font-size: 30px;
    font-weight: normal;
    margin: 0 0 1em;
  }

  #intercom-container {
    display: none;
  }

  .project-desc {
    margin-top: 40px;
    width: 100%;
  }

  .project-discover {
    font-size: 18px;
  }
}

@keyframes descriptionAnimation {
  0%   { opacity: 0; }
  30%  { opacity: 1; }
  98%  { opacity: 1; }
  100% { opacity: 0; }
}
