/* ************************* */
/*      Section Header       */
/* ************************* */

.header {
  height: 6.4rem;
  padding: 0 6.4rem;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  z-index: 1;
}

.main-nav-list {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 3.2rem;
  padding: 1.4rem;
  flex-wrap: nowrap;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  padding: 1.2rem 2.4rem;
  border-bottom: 1px solid #fff;
  outline: 1px solid #fff;
  background-color: #0f0f0f;
  transition: all 0.3s;
  position: relative;
  white-space: nowrap;
}

.main-nav-link:hover,
.main-nav-link:active {
  background-color: #fff;
  color: #0f0f0f;
}

.main-nav-link:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background-color: #fff;
}

/* ************************* */
/*      Section Contact       */
/* ************************* */
.section-contact {
  padding: 6.4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0f0f0f;
  gap: 3.2rem;
  position: relative;
  color: #fff;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-form label {
  display: block;
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 1.2rem;
}

.cta-form input,
.cta-form textarea {
  background-color: #0f0f0f;
  border: none;
  border-bottom: 2px solid #fff;
  color: #ffffff;
  width: 100%;
  font-family: "Archivo", sans-serif;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 7rem;
  border: 2px solid #fff;
  padding: 2.6rem 3.9rem;
}

.form-div {
  grid-column: 2;
  text-align: start;
}

.form-subheading {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.form-div p {
  font-size: 1.4rem;
  font-weight: 300;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
/* .cta-form *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(253, 242, 233, 0.5);
} */

.btn--form,
.btn--form:visited {
  border: none;
  background-color: #fff;
  color: #0f0f0f;
  padding: 1rem 2rem;
  border-radius: 9999px;
}

.btn--form:hover {
  background-color: #efecec;
}

#auto-resizing-textarea {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  resize: none; /* Prevents manual resizing */
}

/* ************************* */
/*      Section Footer       */
/* ************************* */

.footer {
  padding: 3.2rem 0;
  /* margin: 0 6.4rem; */
  z-index: 3;
  background-color: #fff;
  position: relative;
}

.footer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
}

.footer-btn {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 1.6rem;
  text-transform: uppercase;
  /* letter-spacing: 0.3px; */
}

.footer-icon-btn:link,
.footer-icon-btn:visited {
  color: #1a1a1a;
  font-size: 6rem;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-icon-btn:hover,
.footer-icon-btn:active {
  color: #545454;
}

.footer-content p:first-child {
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-content p:last-child {
  font-size: 20rem;
  color: #f0f0f0;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 3.2rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 0.9rem 1.8rem;
  border-radius: 99999px;
  text-transform: uppercase;
  border: 2px solid #1a1a1a;
}
