.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  margin: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  opacity: 1;
}

.wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  justify-content: center; 
}

.content {
  position: absolute;
  overflow: hidden;
  bottom: 60px;
  right: 20px;
  width: 570px;
  height: auto;
  background-color: #ffffff;
  border-radius: 6px; 
  box-sizing: border-box;
}

.popup:before {
  content: "";
  height: 10px;
  width: 10px;
  background-color: #ffffff;
  position: absolute;
  transform: rotate(135deg);
  bottom: 55px;
  right: 90px;
  z-index: 5;
} 

.images {
  display: flex;
}

.image {
  width: 235px;
  height: 158px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  flex-shrink: 0;
}

.image:last-child {
  width: 103px;
}

.container {
  padding: 40px 30px 40px 40px;
  position: relative;
}

.teamBlock {
  display: flex;
  margin-bottom: 35px;
}

.icon {
  font-size: 76px;
  position: absolute;
  top: 83px;
  right: 50px;
}

.teamName {
  font-size: 36px;
  font-weight: bold;
  color: #1b1c1f;
  margin-right: 12px;
  letter-spacing: -0.6px;
}

.team {
  opacity: 0.3;
  font-size: 36px;
  font-weight: 300;
  color: #1b1c1f;
  letter-spacing: 0.3px;
}

.quote {
  position: relative;
  font-family: Kaushan Script;
  font-size: 22px;
  color: #1b1c1f;
  letter-spacing: 0.46px;
  line-height: 1.5;
  padding-left: 4px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.actions {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  padding-left: 3px;
}

.action {
  display: flex;
  align-items: center;
  margin-right: 13px;
  cursor: pointer;
  color: #1b1c1f;
  &:hover {
    color: env(--color-primary);
  }
}

.social {
  font-size: 30px;
  margin-right: 14px;
}

.title {
  border-bottom: 1px solid env(--color-primary);
  padding-bottom: 5px;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
  height: 30px;
}

:global(.slideUp-enter-active), :global(.slideUp-leave-active) {
  transition: opacity .5s;
    .popup {
        transition: transform .5s;
        transform: translateY(0);
  }
}
:global(.slideUp-enter), :global(.slideUp-leave-to) {
    opacity: 0;
    .popup {
        transform: translateY(100vh);
    }
  
}

:global(.dir--rtl) { 
  .content {
    right: unset;
    left: 20px;
  }
  .popup:before {
    left: 90px;
    right: unset;
  } 
  .teamName {
    margin-right: 0;
    margin-left: 12px;
  }
  .icon {
    right: unset;
    left: 50px;
    transform: scale(-1, 1)
  }
  .action {
    margin-right: 0;
    margin-left: 13px;
  }
  .social {
    margin-right: 0;
    margin-left: 14px;
  }
}
