.main {
  padding: 114px 100px;
  overflow: hidden;
  height: 100%;
}

.container {
  display: grid;
  grid-template-columns: 845px 644px;
  grid-template-rows: 1fr 104px;
  column-gap: 146px;
  height: 100%;
  max-height: 832px;
}

.videoContainer {
  grid-row: 1 /span 2;
  width: 100%;
  max-width: 100%;
  box-shadow: 0px 24px 44.6px 0px rgba(78, 63, 228, 0.25);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.video {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.content {
  padding-top: 50px;
  width: 100%;
  z-index: 1;
  position: relative;
}

.content::before {
  content: '';
  background-image: url('../icons/background-glow.png');
  background-repeat: no-repeat;
  background-size: cover;
  width: 1036px;
  height: 1036px;
  position: absolute;
  right: -180px;
  top: -30px;
  z-index: 0;
}

.title {
  display: flex;
  flex-direction: column;
  font-size: 72px;
  line-height: 86px;
  font-weight: 700;
  font-family: Unbounded;
  text-transform: uppercase;
  z-index: 1;
  position: relative;
}

.wrapper {
  display: flex;
  align-items: flex-start;
}

.name {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 22px;
}

.patronymic {
  position: relative;
  display: block;
  font-size: 20px;
  line-height: 24px;
  transition: color 0.3s ease;
  margin-top: 16px;
  cursor: pointer;
}

.patronymic:hover,
.cardboard:hover {
  color: #4A3BDF;
}

.tooltip {
  position: absolute;
  font-size: 13px;
  line-height: 15px;
  font-weight: 400;
  font-family: 'Ubuntu', sans-serif;
  border-radius: 8px;
  white-space: nowrap;
  text-transform: none;
  background: linear-gradient(180deg, #2D2B2B 0%, #1A1A1A 100%);
  color: rgba(130, 130, 135, 1);
  transition: all 0.25s ease;
  transform: translateX(30%);
  opacity: 0;
  left: 96px;
  bottom: -320%;
  padding: 12px;
  margin-bottom: 26px;
  z-index: 10;
  pointer-events: none;
}

.patronymic:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

.cardboard {
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
}

.cardboard-tooltip {
  margin-bottom: 20px;
}

.cardboard:hover .cardboard-tooltip {
  opacity: 1;
  transform: translateX(-14%);
}

.description {
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
  color: rgba(130, 130, 135, 1);
  max-width: 451px;
  margin-top: 25px;
}

.accent-text {
  color: #fff;
}

.wrapp {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 35px;
  z-index: 1;
}

.copyright {
  font-size: 12px;
  font-weight: 400;
  color: #828287;
}

.button {
  display: flex;
  justify-content: center;
  font-family: Ubuntu;
  font-weight: 400;
  font-size: 12px;
  color: #828287;
  cursor: pointer;
  background: transparent;
  border: none;
}

.button:hover {
  color: #4A3BDF;
}

@media (max-width: 1919px) {
  .main {
    padding: 96px 77px;
    background-position: right -20% top;
  }

  .container {
    grid-template-columns: 567px 1fr;
    grid-template-rows: 1fr 112px;
    column-gap: 91px;
  }

  .content {
    padding-top: 70px;
  }

  .content::before {
    right: -130px;
    top: -10px;
  }

  .tooltip {
    left: 0;
  }

  .cardboard:hover .cardboard-tooltip {
    transform: translateX(-8%);
  }

  .wrapp {
    padding-bottom: 20px;
  }
}

@media (max-width: 1439px) {
  .main {
    padding: 75px 80px;
  }

  .container {
    grid-template-columns: 447px 575px;
    grid-template-rows: 1fr 45px;
    column-gap: 96px;
    max-height: 569px;
  }

  .content {
    padding-top: 0;
  }

  .content::before {
    width: 760px;
    height: 760px;
    right: -30px;
    top: -100px;
  }

  .title {
    font-size: 59px;
    line-height: 74px;
  }

  .name {
    margin-right: 39px;
  }

  .patronymic {
    font-size: 16px;
    line-height: 20px;
    margin-top: 18px;
  }

  .patronymic-tooltip {
    bottom: -360%;
  }

  .cardboard-tooltip {
    left: 0;
    bottom: -64px;
  }

  .description {
    font-size: 14px;
    line-height: 21px;
    max-width: 315px;
    margin-top: 14px;
  }

  .wrapp {
    padding-bottom: 0;
    margin-top: auto;
  }
}

@media (max-width: 1279px) {
  .main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 69px 30px 33px;
  }

  .container {
    display: flex;
    flex-direction: column;
    column-gap: 0;
    max-height: 100%;
  }

  .videoContainer {
    order: 2;
    max-height: 404px;
    max-width: 900px;
    position: relative;
    padding-bottom: 0;
  }

  .video {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: top 20% left 0%;
  }


  .content {
    order: 1;
    max-width: 683px;
    padding-left: 43px;
  }

  .content::before {
    width: 800px;
    height: 800px;
    right: 30px;
    top: 30px;
  }

  .wrapp {
    order: 3;
    margin-top: 53px;
  }

  .title {
    font-size: 72px;
    line-height: 86px;
  }

  .name {
    margin-right: 23px;
  }

  .patronymic {
    font-size: 20px;
    line-height: 32px;
    margin-top: 13px;
  }

  .patronymic-tooltip {
    bottom: -280%;
    left: 0;
  }

  .patronymic:hover .patronymic-tooltip {
    transform: translateX(-10%);
  }

  .cardboard:hover .cardboard-tooltip {
    transform: translateX(-20%);
  }

  .description {
    font-size: 20px;
    line-height: 32px;
    max-width: 451px;
    margin-top: 27px;
  }
}

@media (max-width: 743px) {
  .main {
    padding: 47px 32px;
  }

  .videoContainer {
    max-height: 271px;
    max-width: 100%;
    border-radius: 12px;
  }

  .content {
    max-width: 100%;
    padding-left: 0;
  }

  .content::before {
    width: 500px;
    height: 500px;
    right: auto;
    left: -80px;
    top: 50px;
  }

  .title {
    font-size: 39px;
    line-height: 52px;
  }

  .name {
    margin-right: 21px;
  }

  .patronymic {
    font-size: 12px;
    margin-top: 3px;
  }

  .patronymic-tooltip {
    bottom: -280%;
    left: 0;
  }

  .patronymic:hover .patronymic-tooltip {
    transform: translateX(-63%);
  }

  .cardboard-tooltip {
    width: 290px;
    white-space: normal;
    bottom: -100px;
  }

  .cardboard:hover .cardboard-tooltip {
    transform: translateX(-60%);
  }

  .description {
    font-size: 13px;
    line-height: 17px;
    max-width: 295px;
    margin-top: 12px;
  }

  .wrapp {
    flex-direction: column-reverse;
    row-gap: 16px;
    align-items: flex-start;
    margin-top: 65px;
  }
}