.contact {
  position: relative;
}

.contact-inner {
  padding: 8rem 0 16rem 0;
  position: relative;
}

.contact-bg {
  z-index: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 75.1rem;

  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

.contact-form {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-img {
  width: 100%;
  height: 100%;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.contact-form-right {
  padding: 5rem 3rem 5rem 0;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.contact-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
}

.contact-title-inner {
  display: flex;
  align-items: center;
  gap: 2.4rem;

  h3 {
    font-size: 4rem;
  }
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  img {
    width: 3.6rem;
    height: 3.6rem;
  }

  &:last-child {
    justify-self: flex-end;
  }
}

.contact-form-link {
  display: flex;
  align-items: center;
  gap: 3rem;
  justify-content: space-between;
}

.contact-form-link-left {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: #7d7d7d;
}

.contact-form-link-right {
  display: flex;
  gap: 2.4rem;
  align-items: center;
}

.contact-form-right-middle {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-form-right-bottom,
.input-blocks-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem;

  button {
    width: 100%;
    @include button-std(0.5rem, 2.4rem, true);
  }
}

.input-block {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;

  label {
    font-size: 1.8rem;
    font-weight: bold;
  }

  input,
  textarea {
    outline: none;
    color: #000;
    resize: none;
    padding: 1.6rem;
    border: 0.2rem solid #7d7d7d;
    border-radius: 0.5rem;
    @include transition-std;

    &:focus {
      @include transition-std;
      border: 0.2rem solid $base-green;
      color: $base-green;
    }
  }
}
