.contact--section {
  width: 50vw;
  /* max-width: 130rem; */
  padding: 7rem 5rem 5rem 25rem;
  background-color: #fff;
  -webkit-box-shadow: 0px 8px 24px -19px rgba(66, 68, 90, 1);
  -moz-box-shadow: 0px 8px 24px -19px rgba(66, 68, 90, 1);
  box-shadow: 0px 8px 24px -19px rgba(66, 68, 90, 1);
}

.form--inputs {
  color: rgb(59, 59, 59);
}
.form--inputs h2 {
  margin-bottom: 1rem;
  font-size: 4rem;
}
.form--inputs p {
  margin-bottom: 5rem;
  font-size: 1.8rem;
}
.contact--section input,
.message-input {
  color: rgb(59, 59, 59);
  border: none;
  width: 100%;
  background-color: rgb(247, 247, 247);
  border-radius: 1rem;
  padding: 2rem;
  font-size: 1.8rem;
}

.contact--section input:focus,
.message-input:focus {
  outline-width: 1px;
  outline-color: var(--red--primary);
}

.message-input {
  min-height: 20rem;
  height: 30rem;
  resize: none;
}

.contact--fields li {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.form--contact-info {
  background-color: var(--red--primary);
  color: #fff;
  position: absolute;
  top: 10rem;
  left: -25rem;
  height: 65rem;
  /* transform: translateX(50%); */
  padding: 7rem 5rem;
  -webkit-box-shadow: 0px 0px 33px -13px rgba(63, 64, 70, 1);
  -moz-box-shadow: 0px 0px 33px -13px rgba(63, 64, 70, 1);
  box-shadow: 0px 0px 33px -13px rgba(63, 64, 70, 1);
}

.form--contact-info h2 {
  margin-bottom: 3rem;
}

.form-list {
  height: 90%;
}
.form--contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  justify-content: space-around;
}
.form--contact-info li {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 500;
  /* flex-direction: column; */
  /* margin-bottom: 5rem; */
  font-size: 2rem;
}

.li-header {
  font-weight: 600 !important;
  font-size: 3.5rem !important;
  margin: 3rem 0;
}

.li-item {
  margin-bottom: 0.8rem;
}

.contac--icon {
  font-size: 3rem;
}

.btn--submit-contact {
  /* width: 20rem;
  height: 5rem; */
  border: none;
  background-color: var(--red--primary);
  color: #fff;
  border-radius: 3rem;
  font-size: 2rem;
  font-weight: 600;
  padding: 2rem 8rem;
  margin-top: 3rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn--submit-contact:hover {
  background-color: rgb(249, 35, 24);
}

.message {
  position: fixed;
  top: 13rem;
  left: 50%;
  transform: translateX(-50%);
  height: 8rem;
  width: 30rem;
  /* background-color: rgb(127, 204, 82); */
  background-color: #41db6d;
  border: 1px solid #1d873ba4;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: opacity 0.6s ease-in-out;
  opacity: 1;
  /* display: block; */
}

.message {
  font-size: 2rem;
  font-weight: 600;
  color: rgb(255, 255, 255);
  /* display: inlin; */
}

.message-hidden {
  opacity: 0;
  /* display: none; */
}

.error {
  background-color: #d63737d5;
  border-color: #bc2727a4;
}

@media (1150px <= width <= 1400px) {
  .contact--section {
    width: 50vw;
    padding: 5rem 5rem 5rem 25rem;
    background-color: #fff;
  }
}
