.agent {
  position: relative;
  height: 630px;
  width: 100vw;
}
@media (max-width: 1024px) {
  .agent {
    height: 100%;
  }
}

.agent__image-wrapper {
  position: absolute;
  height: 630px;
  width: 100vw;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .agent__image-wrapper {
    height: 100%;
    position: relative;
  }
}

.agent__image {
  position: absolute;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.agent__wrapper {
  position: relative;
  height: 100%;
  max-width: 1440px;
}
@media (min-width: 1025px) {
  .agent__wrapper {
    left: 50%;
    transform: translateX(-50%);
  }
}

.agent__box {
  padding: 50px;
  box-sizing: border-box;
  color: var(--color-white);
  background-color: var(--color-black);
}
@media (min-width: 1025px) {
  .agent__box {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 120px;
    max-width: 510px;
  }
}
@media (min-width: 651px) and (max-width: 1024px) {
  .agent__box {
    padding: 75px;
  }
}
@media (max-width: 1024px) {
  .agent__box {
    position: relative;
  }
}
@media screen and (max-width: 650px) {
  .agent__box {
    padding: 30px;
  }
}
.agent__box .button {
  font-size: 24px;
  font-weight: 500;
  font-family: var(--font-body);
  padding: 25px 30px;
}
@media screen and (max-width: 650px) {
  .agent__box .button {
    font-size: 18px;
    padding: 20px 25px;
  }
}

.agent__headline {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 54px;
  font-weight: normal;
  letter-spacing: -0.44px;
}
@media (min-width: 1025px) {
  .agent__headline {
    width: 85%;
  }
}
@media (min-width: 651px) {
  .agent__headline {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 650px) {
  .agent__headline {
    font-size: 22px;
  }
}

.agent__subline {
  width: 80%;
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 37px;
  font-weight: normal;
  margin-bottom: 40px;
}
@media (min-width: 1025px) {
  .agent__subline {
    width: 80%;
  }
}
@media screen and (max-width: 650px) {
  .agent__subline {
    font-size: 18px;
    margin-bottom: 20px;
  }
}
