.main {
  flex-grow: 1;
}

.popup{
  position: fixed;
  top:0;
  left:0;
  z-index: 1000;

  display: none;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100dvh;
  padding: 15px;

  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
}

.popup_active{
  display: flex;
}

.popup__iframe{
  max-width: 750px;
  width: 100%;
  aspect-ratio: 16/9;
}

/*------------------ Best-way ------------------*/

.best-way {
  background-image: url("../img/bg-pc.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}

.best-way__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding-top: 147px;
  padding-bottom: 80px;
}

.best-way__info {
  max-width: 625px;
}

.best-way__title {
  margin-bottom: 40px;
}

.best-way__video-wrapper {
  width: 100%;
  aspect-ratio: 625/350;
  padding: 13px 127px 108px 130px;

  background-image: url("../img/comp.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* .best-way__video {
  position: relative;

  width: 100%;
  height: 100%;

  background-image:url("../img/bg.jpg");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
} */

/* .best-way__play{
  position: absolute;
  top:50%;
  left:50%;

  width: 100px;
  height: 100px;

  transform: translate(-50%,-50%);
  border:10px solid #000;
  border-radius: 50%;
  background-image:url("../img/play.png");
  background-repeat:no-repeat;
  background-size:28px 54px;
  background-position:right 20px center;
  cursor: pointer;
} */

.best-way__form {
  max-width: 440px;
  margin-right: 64px;
  padding: 36px 55px 30px;
}

@media (max-width: 1150px) {
  .best-way__info {
    width: 500px;
  }

  .best-way__video-wrapper {
    padding: 13px 101px 84px 104px;
  }

  .best-way__form {
    margin-right: 0;
  }
}

@media (max-width: 992px) {
  .best-way__container {
    flex-direction: column;
  }

  .best-way__info {
    width: auto;
  }

  .best-way__video-wrapper {
    position: relative;

    aspect-ratio: 332/188;
    padding: 0;

    overflow: hidden;
    border-radius: 13px;
    /* background: none; */
  }

  .best-way__video {
    position: absolute;
    top: 0;
    left: 0;
  }

  .best-way__form {
    max-width: 625px;
  }
}

@media (max-width: 768px) {
  .best-way__container {
    padding-top: 120px;
  }
}

@media (max-width: 576px) {
  .best-way__container {
    padding-top: 95px;

    gap: 40px;
  }

  .best-way__form {
    padding: 27px 27px 23px;
  }

  .best-way__play{
    width: 80px;
    height: 80px;

    background-size: 26px 38px;
    background-position: right 13px center;
  }
}

/*------------------ Ceo ------------------*/

.ceo {
  color: var(--text-black);
  background-image: url("../img/bg-pc1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.ceo__container {
  display: flex;
  justify-content: right;
  align-items: center;

  padding-top: 30px;
  padding-bottom: 30px;
}

.ceo__img {
  position: relative;
  bottom: -30px;

  align-self: end;

  max-width: 488px;
  width: 100%;
  aspect-ratio: 488/533;

  margin-right: 107px;
}

.ceo__img img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.ceo__info {
  max-width: 450px;
}

.ceo__name {
  margin-bottom: 6px;

  font-size: 1.625rem;
  font-weight: 900;
  line-height: 138.023%; /* 35.886px */
}

.ceo__job-title {
  position: relative;

  margin-bottom: 40px;

  font-size: 1.125rem;
  line-height: 138.023%; /* 24.844px */
}

.ceo__job-title:after {
  content: "";

  position: absolute;

  bottom: -16px;
  left: 0;
  max-width: 200px;
  width: 100%;
  border: 1px solid var(--border-black);
}

.ceo__text {
  margin-bottom: 22px;

  font-size: 1.125rem;
  line-height: 138.023%; /* 24.844px */
}

.ceo__text_last {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .ceo {
    background-position: right center;
  }

  .ceo__container {
    justify-content: space-between;
  }

  .ceo__img {
    min-width: 300px;
    max-width: 350px;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .ceo__img {
    display: none;
  }

  .ceo__container {
    justify-content: end;
  }

  .ceo__info {
    max-width: 520px;
  }
}

@media (max-width: 576px) {
  .ceo {
    background-image: url("../img/bg-phone.png");
  }

  .ceo__container {
    flex-direction: column-reverse;
    align-items: stretch;
    justify-content: stretch;
  }

  .ceo__img {
    left: auto;
    right: -125px;

    display: block;
    min-width: 420px;
    max-width: 504px;
    aspect-ratio: 504/601;
  }

  .ceo__info {
    max-width: 500px;
  }

  .ceo__name {
    font-size: 1.375rem;
  }

  .ceo__job-title {
    margin-bottom: 36px;

    font-size: 1rem;
  }

  .ceo__job-title:after {
    max-width: 175px;
  }

  .ceo__text {
    font-size: 0.875rem;
  }
}

/*------------------ Earn ------------------*/

.earn__container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;

  padding-top: 130px;
  padding-bottom: 100px;
}

.earn__title {
  margin-bottom: 50px;
}

.earn__info {
  max-width: 530px;
}

.earn__text_first {
  margin-bottom: 20px;
}

.earn__img {
  position: relative;

  flex-shrink: 0;

  max-width: 506px;
  width: 100%;
  aspect-ratio: 506/508;

  background-image: url("../img/circle.png");
  background-repeat: no-repeat;
  background-position: center center;
}

.earn__company {
  position: absolute;

  opacity: 0;
  transition: opacity 0.4s;
}

.earn__company_active {
  opacity: 1;
}

.earn__amazon {
  width: 70px;
  height: 70px;

  top: 40px;
  left: 160px;
}

.earn__microsoft {
  width: 100px;
  height: 100px;

  top: 20px;
  right: 130px;
}

.earn__ibm {
  width: 70px;
  height: 30px;

  top: 150px;
  right: 60px;
}

.earn__bmw {
  width: 70px;
  height: 70px;

  bottom: 180px;
  right: 40px;
}

.earn__audi {
  width: 90px;
  height: 60px;

  bottom: 70px;
  right: 100px;
}

.earn__tesla {
  width: 60px;
  height: 78px;

  bottom: 25px;
  left: 200px;
}

.earn__lenovo {
  width: 88px;
  height: 40px;

  bottom: 120px;
  left: 56px;
}

.earn__hp {
  width: 60px;
  height: 60px;

  bottom: 210px;
  left: 30px;
}

.earn__dell {
  width: 60px;
  height: 60px;

  top: 115px;
  left: 60px;
}

@media (max-width: 992px) {
  .earn__container {
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
    gap: 40px;

    padding-top: 50px;
    padding-bottom: 50px;
  }

  .earn__info {
    max-width: none;
  }
}

@media (max-width: 576px) {
  .earn__title {
    margin-bottom: 20px;
  }

  .earn__text {
    font-size: 0.875rem;
  }

  .earn__img {
    max-width: 290px;
    background-size: 100% 100%;
  }

  .earn__amazon {
    width: 46px;
    height: 46px;

    top: 18px;
    left: 90px;
  }

  .earn__microsoft {
    width: 65px;
    height: 65px;

    top: 10px;
    right: 74px;
  }

  .earn__ibm {
    width: 47px;
    height: 18px;

    top: 80px;
    right: 30px;
  }

  .earn__bmw {
    width: 48px;
    height: 48px;

    bottom: 100px;
    right: 20px;
  }

  .earn__audi {
    width: 58px;
    height: 37px;

    bottom: 35px;
    right: 55px;
  }

  .earn__tesla {
    width: 39px;
    height: 51px;

    bottom: 12px;
    left: 108px;
  }

  .earn__lenovo {
    width: 57px;
    height: 26px;

    bottom: 65px;
    left: 30px;
  }

  .earn__hp {
    width: 40px;
    height: 40px;

    bottom: 120px;
    left: 10px;
  }

  .earn__dell {
    width: 40px;
    height: 40px;

    top: 65px;
    left: 30px;
  }
}

/*------------------ No-commission ------------------*/

.no-commission__container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  row-gap: 44px;

  padding-top: 50px;
  padding-bottom: 50px;
}

.no-commission__img {
  grid-row: 1 / -1;
  grid-column: 1 / span 5;

  position: relative;

  max-width: 500px;
  width: 100%;
  aspect-ratio: 500/600;
}

.no-commission__img img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: bottom;
}

.no-commission__info {
  grid-column: 7 / -1;
  grid-row: 1 / 2;
}

.no-commission__title {
  margin-bottom: 17px;
}

.no-commission__text {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 183.023%; /* 32.944px */
}

.no-commission__list {
  grid-column: 7 / -1;
  grid-row: 2 / 3;

  display: flex;
  flex-direction: column;
  gap: 18px;

  list-style: none;
}

.no-commission__item {
  display: flex;
  align-items: center;
  gap: 18px;

  color: var(--text-light-gray);
  font-size: 1rem;
  font-weight: 500;
  line-height: 127.523%;
}

.no-commission__item::before {
  content: "";

  flex-shrink: 0;

  width: 35px;
  height: 35px;

  background-image: url("../img/marker.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
}

@media (max-width: 992px) {
  .no-commission__container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    justify-items: center;
    row-gap: 0;
  }

  .no-commission__info {
    grid-column: 1/2;
    grid-row: 1/2;

    margin-bottom: 30px;
  }

  .no-commission__img {
    grid-column: 1/2;
    grid-row: 2/3;

    margin-bottom: 50px;
  }

  .no-commission__list {
    grid-column: 1/2;
    grid-row: 3/4;
  }
}

@media (max-width: 576px) {
  .no-commission__container {
    justify-items: stretch;
  }

  .no-commission__img {
    justify-self: center;
  }

  .no-commission__text {
    font-size: 0.875rem;
  }

  .no-commission__item {
    font-size: 0.875rem;
  }

  .no-commission__item::before {
    width: 23px;
    height: 23px;
  }
}

/*------------------ Steps ------------------*/

.steps__container {
  padding-top: 30px;
  padding-bottom: 100px;
}

.steps__title {
  margin-bottom: 80px;

  text-align: center;
}

.steps__wrapper {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(3, 1fr);
  column-gap: 30px;

  margin-bottom: 95px;
}

.steps__vertical-line {
  grid-column: 2/3;
  grid-row: 1/-1;
  justify-self: center;

  height: 554px;

  overflow: hidden;
}

.steps__vertical-line img {
  height: 100%;

  transform: translateY(-100%);

  transition: transform 1s;
}

.steps__img {
  position: relative;

  grid-column: 2/3;
  justify-self: center;

  width: 78px;
  height: 78px;

  opacity: 0;
  transition: 0.5s opacity;
}

.steps__img img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
}

.steps__img1 {
  grid-row: 1/2;
  align-self: start;
}

.steps__img2 {
  grid-row: 2/3;
  align-self: center;
}

.steps__img3 {
  grid-row: 3/4;
  align-self: end;
}

.step {
  display: flex;
  align-items: start;
  gap: 20px;

  opacity: 0;
  transition: opacity 0.5s;
}

.step__number {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 139.023%; /* 30.585px */
}

.step_first {
  grid-column: 3/4;
  grid-row: 1/2;

  align-self: start;
}

.step_second {
  grid-column: 1/2;
  grid-row: 2/3;

  align-self: center;

  flex-direction: row-reverse;

  text-align: right;
}

.step_third {
  grid-column: 3/4;
  grid-row: 3/4;

  align-self: end;
}

@media (max-width: 768px) {
  .steps__wrapper {
    grid-template-columns: repeat(2, auto);
  }

  .steps__vertical-line {
    grid-column: 1/2;
  }

  .steps__img {
    grid-column: 1/2;
  }

  .step {
    grid-column: 2/3;
  }

  .step_second {
    flex-direction: row;

    text-align: left;
  }
}

@media (max-width: 576px) {
  .steps__wrapper {
    gap: 18px;
    margin-bottom: 40px;
  }

  .steps__title {
    margin-bottom: 50px;
  }

  .steps__vertical-line {
    height: 315px;
  }

  .steps__img {
    width: 45px;
    height: 45px;
  }

  .step__number {
    font-size: 1rem;
  }

  .steps__button {
    max-width: none;
  }
}

/*------------------ Why-nvidia ------------------*/

.why-nvidia {
  background: var(--bg-linear-gray-to-black);
}

.why-nvidia__container {
  padding-top: 70px;
  padding-bottom: 75px;
}

.why-nvidia__title {
  margin-bottom: 60px;

  text-align: center;
}

.why-nvidia__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nvidia-item {
  width: calc((100% - 36px) / 3);
  padding: 24px;

  border-radius: 11px;
  border: 1px solid var(--border-green);
}

.nvidia-item__info {
  display: flex;
  align-items: start;
  justify-content: space-between;

  margin-bottom: 32px;
}

.nvidia-item__title {
  padding-top: 26px;
}

.nvidia-item__img {
  position: relative;

  flex-shrink: 0;

  width: 112px;
  height: 112px;
}

.nvidia-item__img img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

.nvidia-item__text {
  font-size: 0.875rem;
  line-height: 149.523%; /* 20.933px */
}

.nvidia-item1 .nvidia-item__text:first-of-type, .nvidia-item3 .nvidia-item__text:first-of-type {
  margin-bottom: 20px;
}

@media (max-width: 1150px) {

  .nvidia-item1, .nvidia-item2 {
    width: calc((100% - 18px) / 2);
  }

  .nvidia-item3 {
    width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nvidia-item {
    width: 100%;
  }

  .nvidia-item3 {
    margin: 0;
  }
}

@media (max-width: 576px) {

  .why-nvidia__container{
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .why-nvidia__title{
    margin-bottom: 40px;
  }

  .nvidia-item {
    padding: 24px 16px;
  }

  .nvidia-item__info {
    margin-bottom: 23px;
  }

  .nvidia-item__img {
    width: 80px;
    height: 80px;
  }

  .nvidia-item1 .nvidia-item__text:first-of-type, .nvidia-item3 .nvidia-item__text:first-of-type {
    margin-bottom: 18px;
  }
}

/*------------------ Earn-with-us ------------------*/

.earn-with-us{
  background-image:url("../img/bg-pc.jpg");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
}

.earn-with-us__container{
  position: relative;

  padding-top: 60px;
  padding-bottom: 60px;
}

.earn-with-us__form{
  max-width: 530px;
  padding: 45px 65px 35px;
  margin-left: 230px;
}

.earn-with-us__img{
  position: absolute;
  bottom: 0;
  right: 0;

  max-width: 500px;
  width: 100%;
  aspect-ratio: 678/613;
}

.earn-with-us__img img{
  position:absolute;
  top:0;
  left:0;

  width:100%;
  height:100%;

  object-fit:contain;
}

@media (max-width: 992px) {
  .earn-with-us__form{
    margin:0 auto;
  }

  .earn-with-us__img{
    right: -150px;
  }
}

@media (max-width: 768px) {
  .earn-with-us__img{
    display: none;
  }
}

@media (max-width: 576px) {
  .earn-with-us{
    background-image: url("../img/bg-phone.jpg");
  }

  .earn-with-us__container{
    padding-top: 30px;
    padding-bottom: 330px;
  }

  .earn-with-us__form{
    padding: 27px 27px 23px;
  }

  .earn-with-us__img{
    right: -100px;

    display: block;

    max-width: 353px;
    aspect-ratio: 353/406;
  }
}