.core {
  position: fixed;
  top: 32.8vw;
  left: 12vw;
  z-index: 7;
  width: 27vw;
  opacity: 0;

  animation-name: fade-in-up;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

.core svg {
  width: 100%;
  height: auto;
}

rect#sponsor-bg {
  opacity: 0.6;
  mix-blend-mode: multiply;
}

.card-blue-wrapper {
  position: fixed;
  top: 35vw;
  left: 11vw;
  display: flex;
  z-index: 7;
}

.cards-wrapper {
  display: flex;
}

.card-blue {
  width: 6vw;
  height: 4vw;
  background: blue;
  border-radius: 0.7vw;
  margin: 1vw;
  padding: 1vw;
  box-sizing: border-box;
  font-size: 0.9vw;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.4vw solid red;
}

g#card-main {
  opacity: 0;
  cursor: pointer;
}

g#around-main-cards {
  opacity: 0;
  transition-delay: 0.1s;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}

g#card-main.now,
g#card-main.future {
  opacity: 1;
}

g#around-main-cards.future {
  opacity: 1;
}

#card-right-group:hover #card-right-to-hover {
  fill: #cfc5ff;
}

#card-right-group:hover #patient-matching {
  fill: #5e4fb2;
}

#card-left-group:hover #card-left-to-hover {
  fill: #cfc5ff;
}

#card-left-group:hover #trial-site-portal {
  fill: #5e4fb2;
}

g#card-1:hover #trial-designer-button {
  fill: #cfc5ff;
}

.modal-button.active {
  fill: #4f37c8;
  color: #dfd9ff;
}

.modal-button.inactive {
  fill: #cfc5ff;
  color: #9184cd;
}

g#card-2:hover #trial-selector-button {
  fill: #cfc5ff;
}

g#card-3:hover #trial-manager-button {
  fill: #cfc5ff;
}

g#card-1:hover #trial-designer {
  fill: #5e4fb2;
}

g#card-2:hover #trial-selector {
  fill: #5e4fb2;
}

g#card-3:hover #trial-manager {
  fill: #5e4fb2;
}

.arrow-wrapper {
  position: fixed;
  top: 24.8vw;
  z-index: 6;
  left: 13vw;
  width: 22.5vw;
  overflow: hidden;
}

.arrow-wrapper svg.before {
  width: 100%;
  height: auto;
  transform: translateX(-120%);
  fill: url(#grey-gradient);
  transition: fill 1s ease;

  animation-iteration-count: once;
  animation-name: arrow-in;
  animation-duration: 0.75s;
  animation-delay: 0.3s;
  animation-fill-mode: forwards;
}

.arrow-wrapper svg.before.future {
  fill: url(#purple-gradient);
}

@keyframes arrow-in {
  from {
    opacity: 0.8;
    transform: translateX(-120%);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.circle-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 36.9vw;
  left: 15.9vw;
  z-index: 8;
  width: 20vw;
  justify-content: center;
  text-align: center;
}

.circle-arrow-inside {
  opacity: 0;
  transition: all 1s ease;
}

.circle-arrow-outside {
  margin-top: -2.9vw;
  opacity: 0;
  transition: all 1.2s ease;
  transition-delay: 0.15s;
}

.circle-arrow-inside.future,
.circle-arrow-outside.future {
  opacity: 1;
}

svg#inside-arrow {
  width: 13.4vw;
  fill: #fff;
  transition: all 0.2s ease;
}

svg#inside-arrow.active {
  width: 13.4vw;
  fill: url(#inverted-purple);
  transition: all 0.2s ease;
}

svg#outer-arrow {
  width: 20vw;
  fill: #fff;
  transition: all 0.2s ease;
}

svg#outer-arrow.active {
  width: 20vw;
  fill: url(#inverted-purple);
  transition: all 0.2s ease;
}

svg#inside-arrow.whiteout {
  fill: url(#white-gradient);
}

svg#outer-arrow.whiteout {
  width: 20vw;
  fill: url(#white-gradient);
}
