#overlay-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#overlay-container.mobile {
  align-items: flex-start;
}

#share-overlay {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,.75);
}

#share-modal {
  max-width: 1000px;
  padding: 40px;
  background-color: var(--yellow-hex);
  font-family: var(--fieldgothic73);
  text-align: left;
  position: relative;
}

#share-close {
  width: var(--control-buttons-height);
  height: var(--control-buttons-height);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 10px;
  right: 10px;
  rotate: 45deg;
  border: 1px solid #000;
  border-radius: var(--control-buttons-height);
  cursor: pointer;
}

#share-close::before {
  content: '';
  width: 60%;
  height: 2px;
  position: absolute;
  background-color: #000;
}

#share-close::after {
  content: '';
  width: 2px;
  height: 60%;
  position: absolute;
  background-color: #000;
}

#share-modal h3 {
  margin-bottom: 40px;
  font-family: var(--fieldgothic75);
  font-size: 1.75rem;
}

#share-steps {    
  display: grid;
  grid-template-rows: 1fr;
  grid-row-gap: 40px;
}

.share-step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 40px;
  position: relative;
}

.step-marker {
  width: var(--control-buttons-height);
  height: var(--control-buttons-height);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  border: 1px solid #000;
  border-radius: var(--control-buttons-height);
  background-color: #000;
  font-family: var(--fieldgothic75);
  font-size: 1.3rem;
  color: var(--yellow-hex);
}

.step-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.125rem;
}

.step-label > button {
  margin-top: 15px;
}

.step-connector {
  width: 2px;
  position: absolute;
  top: var(--control-buttons-height);
  left: calc(var(--control-buttons-height) / 2 - 1px);
  height: calc(100% + 8px);
  z-index: 1;
  background-color: #000;
}

.share-step.active ~ .share-step > .step-marker {
  background-color: var(--yellow-hex);
  color: #000;
}

.share-step.active > .step-connector,
.share-step.active ~ .share-step > .step-connector {
  background-color: rgba(0,0,0,.5);
}




