@import url('./reset.css');
@import url('./main.css');

/* Over Ride Header Styling For SW  */
.header__nav ul a:not(.header__nav__menu a) {
  text-decoration: none;
  color: var(--sec-text-color);
}
header.scrolled
  .header__nav:not(.header__nav.active)
  ul
  a:not(.header__nav__menu a) {
  text-decoration: none;
  color: var(--text-color);
}
/* End Over Ride Header Styling For SW  */

main {
  padding-top: calc(150rem / 16);
  --project-color: #ff5100;
  --project-sec-color: #ffeae0;
}

/* start intro */
.intro {
  position: relative;
  overflow: hidden;
}
@media (min-width: 1400px) {
  main {
    padding-top: calc(250rem / 16);
  }
  .intro__image img {
    position: absolute;
    max-width: 60%;
    top: -15vh;
  }
}
/* end intro */

/* start summary */
.summary {
  margin-top: calc(100rem / 16);
}
.summary .summary__content {
  background-color: #ff51000d;
}
/* end summary */

/* start functionality section */
.recovery .takeaway {
  background-color: var(--project-sec-color);
  padding: calc(30rem / 16) calc(40rem / 16);
  border-radius: calc(20rem / 16);
  box-shadow: 0px 5px 16.85px 6px #0000001a;
}
.recovery .takeaway span {
  display: inline-block;
  background-color: #fff5f1;
  padding: calc(10rem / 16);
  border-radius: 50%;
  margin-bottom: calc(10rem / 16);
}
.functionality .function__content p:first-of-type {
  font-weight: bold;
  margin-bottom: calc(10rem / 16);
}
@media (max-width: 992px) {
  .recovery {
    position: relative;
    z-index: -2;
    background-color: #1f2024;
    color: var(--text-color);
    padding: calc(50rem / 16) 0;
  }
  .recovery .takeaway p {
    color: var(--sec-text-color);
  }
}
/* end functionality section */

/* utility classes */
.c-primary {
  color: var(--project-color);
}

.circler {
  position: relative;
  display: inline-block;
}
.circler::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  background-image: url('../media/ac_project.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

.under-line {
  position: relative;
  width: fit-content;
}
.under-line::after {
  content: '';
  position: absolute;
  bottom: calc(-5rem / 16);
  left: 0;
  width: 100%;
  height: calc(30rem / 16);
  background-image: url('../media/ac_approach.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

.c-primary {
  color: var(--project-color);
}
