@import url("./fonts.css");
:root {
  --clr-white: #ffffff;
  --clr-alabaster: #e8eddf;
  --clr-platinum: #f3f3f3;
  --clr-jet: #333533;
  --clr-eerie-black: #242423;
  --clr-black: #000009;
  --clr-orange-web: #fca311;
  --clr-firebrick: #b22222;

  --nav-height: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: Poppins, Helvetica, Arial, sans-serif;
  background: var(--clr-platinum);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Quicksand;
}

ul li {
  list-style: none;
}

ol {
  margin: 1em;
}
ol li {
  margin-left: 2em;
}

a {
  text-decoration: none;
  color: var(--clr-firebrick);
  font-weight: 500;
}

p {
  text-align: justify;
}

.container {
  width: 100%;
  max-width: min(90%, 986px);
  margin: auto;
}

a:hover {
  color: var(--clr-orange-web);
}

.btn {
  display: block;
  width: max-content;
  font-family: Lexend;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5em 1.5em;
  margin-top: 1em;
  margin-right: 1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-alabaster);
  background-color: var(--clr-firebrick);
  box-shadow: 2px 2px 5px var(--clr-jet);
  border: none;
  border-radius: 500px;
  transition: all 0.3s ease-in-out;
  transform-origin: left;
  cursor: pointer;
}

.btn:hover {
  color: var(--clr-alabaster);
  transform: scaleX(1.05) translateY(5%);
}

/* Top bar styles */
.top-bar {
  position: relative;
  z-index: 10;
}

.top-bar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--clr-jet);
  opacity: 0.95;
  z-index: -1;
}

.top-bar .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: calc(0.75 * var(--nav-height));
  align-items: center;
  justify-items: center;
  font-size: 0.75em;
  color: var(--clr-white);
}

.top-bar a {
  color: var(--clr-white);
}

.top-bar a:hover {
  color: var(--clr-orange-web);
}

@media only screen and (max-width: 600px) {
  .top-bar .container {
    grid-template-columns: 1fr;
  }
}

/* Navigation styles */

.navbar {
  position: sticky;
  top: 0;
  box-shadow: 0 3px 4px var(--clr-alabaster);
  z-index: 99;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--clr-orange-web);
  opacity: 0.95;
  z-index: -1;
}

.navbar .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  width: 100%;
}

.navbar__brand {
  height: 100%;
  transition: transform 0.3s ease-in;
}

.navbar__brand:hover {
  transform: scale(1.15);
}

.logo {
  height: 90%;
  width: auto;
  aspect-ratio: 1.5/1;
}

.navbar__nav .nav-item {
  font-family: Lexend;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0 0.5em 0.15em;
  text-align: center;
  transition: transform 0.2s ease-in;
  overflow: hidden;
}

.navbar__nav .nav-link {
  position: relative;
  color: var(--clr-white);
  letter-spacing: 1px;
}

.navbar__nav .nav-link::before {
  content: "";
  position: absolute;
  bottom: -0.15em;
  left: -0.15em;
  height: 0.12em;
  width: calc(100% + 0.15em);
  margin: 0.15em 0;
  background: var(--clr-firebrick);
  transform: scaleX(0);
  transition: transform 0.3s ease-in;
}

.navbar__nav .nav-item:where(:hover, .active) .nav-link::before {
  transform: scaleX(1);
}

.nav-item:hover {
  transform: scale(1.05);
}

.navbar__nav .nav-item.active .nav-link {
  color: var(--clr-firebrick);
}

.navbar__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-around;
  float: right;
}

.navbar__toggler {
  display: none;
  height: 100%;
  width: calc(0.95 * var(--nav-height));
  aspect-ratio: 0.95/1;
  z-index: 1000;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease-in, top 0.3s ease-in;
}

.navbar__toggler .container {
  position: relative;
  display: flex;
  align-items: center;
}

.navbar__toggler .line {
  display: block;
  background: var(--clr-white);
  height: 3px;
  width: 100%;
  transition: all 0.3s ease-in;
}

.navbar__toggler .line::before,
.navbar__toggler .line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--clr-white);
  transition: all 0.3s ease-in;
}

.navbar__toggler .line::after {
  bottom: 20%;
}

.navbar__toggler .line::before {
  top: 20%;
}

.navbar__toggler:hover {
  transform: scale(1.1);
}

.navbar__toggler:hover .line,
.navbar__toggler:hover .line::before,
.navbar__toggler:hover .line::after {
  background: var(--clr-firebrick);
}

@media only screen and (max-width: 600px) {
  #navbarNav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--clr-eerie-black);
    opacity: 0.98;
    z-index: 2;
    padding: calc(2 * var(--nav-height)) 0;
    transform: scaleX(0);
    transition: transform 0.3s ease-in;
    transform-origin: right;
  }

  #navbarNav.active {
    transform: scaleX(1);
  }

  .navbar__nav {
    width: 100%;
    height: 100%;
    grid-template-columns: 1fr;
    align-items: center;
    font-size: 2em;
  }

  .navbar__toggler {
    display: initial;
  }

  #navbarNav.active + .navbar__toggler {
    position: fixed;
    top: calc(1.5 * var(--nav-height));
    right: 5%;
    height: var(--nav-height);
  }

  #navbarNav.active + .navbar__toggler .line {
    background: transparent;
  }

  #navbarNav.active + .navbar__toggler .line::after {
    transform: rotatez(45deg) translate(3px, 1.5px);
    bottom: 50%;
  }

  #navbarNav.active + .navbar__toggler .line::before {
    transform: rotatez(-45deg);
    top: 50%;
  }
}

/* Main styles */
.main {
  position: relative;
  background: inherit;
  padding: 1em 0;
  z-index: 2;
}

.main .btn {
  margin: auto;
}

/* footer styles */

.footer {
  position: sticky;
  bottom: 0;
  color: var(--clr-platinum);
  background: var(--clr-black);
  padding: 2em 3em 1em;
}

.footer .move-to-top {
  position: absolute;
  bottom: 4em;
  right: 1em;
  display: flex;
  justify-content: center;
  align-content: center;
  border-radius: 50%;
  box-shadow: 0 1px 3px var(--clr-white);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1em;
  margin: 2.5em 0;
}

.footer__content .lead {
  font-family: "Patrick Hand";
  letter-spacing: 0.075em;
  font-size: 1.5em;
  margin-bottom: 0.5em;
  color: var(--clr-orange-web);
}

.footer__content h5 {
  font-size: 1.1em;
  font-family: Quicksand;
  letter-spacing: 0.13em;
  margin-bottom: 0.5em;
}

.footer__content .btn {
  font-size: 1.1em;
  margin: 0;
  min-width: max-content;
  width: 70%;
  box-shadow: 2px 2px 5px var(--clr-alabaster);
}

.contacts .contact {
  display: flex;
  width: fit-content;
  color: var(--clr-firebrick);
  align-items: center;
  margin-bottom: 1em;
}

.contacts .contact small {
  display: inline-block;
  margin: 0 0.25em;
  font-weight: bold;
  color: var(--clr-firebrick);
}

.contacts i {
  display: inline-block;
  padding-right: 0.5em;
  font-size: 1.5em;
}

.contacts .contact a {
  display: inline-block;
  color: var(--clr-platinum);
  word-break: break-all;
  font-size: small;
}

.footer__content .social {
  margin-top: 2em;
}

.social__links {
  display: flex;
  flex-wrap: nowrap;
  font-size: 1.5em;
}

.social__links a {
  padding: 0.25em;
  min-width: max-content;
  width: 20%;
  transition: all 0.3s ease-in;
}

.social__links a:hover {
  transform: translateY(-0.25em);
}

.footer__content .external-links,
.footer__content .mentions {
  font-size: smaller;
}

.footer__content .external-links {
  display: flex;
  flex-direction: column;
}

.footer .copyright h5 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 100;
  font-size: x-small;
  opacity: 0.5;
}

@media only screen and (max-width: 900px) {
  .footer__content {
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 3em;
  }
}

@media only screen and (max-width: 600px) {
  .footer {
    position: relative;
  }
  .footer__content {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-height: 640px) and (max-width: 900px) {
  .footer {
    position: relative;
  }
}

@media only screen and (max-height: 420px) and (min-width: 900px) {
  .footer {
    position: relative;
  }
}

/* Let us chat styles */

.let-us-chat {
  position: fixed;
  right: 1rem;
  bottom: 0.5rem;
  z-index: 10;
}

.let-us-chat a {
  display: inline-block;
  line-height: 1em;
  transition: transform 0.3s ease-in;
}

.let-us-chat a:hover {
  transform: scale(1.15);
}

.let-us-chat a::before {
  content: "";
  position: absolute;
  top: 0.25em;
  bottom: 0.4em;
  left: 0.2em;
  right: 0.2em;
  inset: 0.25em 0.2em 0.4em;
  border-radius: 50%;
  border-bottom-left-radius: 0;
  background-color: #4fce5d;
  z-index: -1;
}

.let-us-chat i {
  color: #ffffff;
  font-size: 2.5rem;
}

/* landing styles */

.home__landing {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  background: inherit;
  isolation: isolate;
}

.home__landing .landing__overlay {
  position: absolute;
  top: calc(1.75 * var(--nav-height));
  left: 0;
  height: calc(100vh - 1.75 * var(--nav-height));
  width: 100%;
  box-shadow: 0 2px 4px var(--clr-eerie-black);
  background: #000009;
  mix-blend-mode: overlay;
  z-index: 2;
}

.home__landing img ~ .landing__overlay {
  opacity: 0.85;
}

.home__landing video,
.home__landing img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  object-fit: cover;
  opacity: 0.75;
  z-index: 1;
}

/* Home page Showcase styles */
.showcase {
  position: relative;
  z-index: 2;
}

.showcase .home {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100vh - 1.75 * var(--nav-height));
  z-index: 3;
}

.home .showcase__title,
.home .showcase__sub-title {
  font-weight: 800;
  font-size: 3.5em;
  text-transform: uppercase;
  color: var(--clr-orange-web);
}

.home .showcase__sub-title {
  font-family: "Patrick Hand";
  font-style: italic;
  font-weight: 600;
  font-size: 2.5em;
  margin-top: 0.25em;
  color: var(--clr-white);
}

.home .showcase__lead {
  color: var(--clr-white);
  margin-top: 3em;
}

.home .showcase__content .btn {
  box-shadow: 2px 2px 4px var(--clr-alabaster);
  margin-top: 1.5em;
}

@media only screen and (max-width: 600px) {
  .home .showcase__title {
    font-size: 3.25em;
  }
}

@media only screen and (max-width: 400px) {
  .home .showcase__title {
    font-size: 2.4em;
  }

  .home .showcase__sub-title {
    font-size: 2em;
  }

  .showcase .home {
    height: calc(100vh - 2.5 * var(--nav-height));
  }
}

/* Main General styles styles */

.title,
.sub-title {
  color: var(--clr-firebrick);
  text-transform: capitalize;
  margin-bottom: 0.75em;
  font-size: 1.25em;
}

/* Home page about styles */

.about {
  padding: 2.5em 0;
}

.about .sub-title {
  margin-top: 1.5em;
}

.about .about__content--what p:last-of-type {
  margin-bottom: 1em;
}

/* Home page highlights styles */
.highlights {
  position: relative;
  padding: 2.5em 0;
  background-image: url("../images/site/home_showcase.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-attachment: fixed;
}

.highlights::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(51, 53, 51, 0.15);
}

.highlights .container {
  position: relative;
  z-index: 1;
}

.highlights .sub-title {
  position: relative;
  padding: 0.15em;
  margin-top: 0;
}

.highlights__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 10rem;
  grid-gap: 1em;
  margin: 2em auto;
  align-self: center;
}

.highlights .highlight {
  text-align: center;
  position: relative;
}

.highlights .sub-title::before,
.highlights .highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 2px 2px 3px var(--clr-jet);
  background: var(--clr-platinum);
  opacity: 0.85;
  z-index: -1;
}

.highlights .highlight .icon {
  width: 4em;
  margin-top: 1em;
  filter: contrast(1) invert(0.1);
}

.highlights .highlight h6 {
  color: var(--clr-firebrick);
  font-size: 1.5rem;
}

@media only screen and (max-width: 624px) {
  .highlights__content {
    grid-template-columns: 1fr;
  }
  .highlights .highlight {
    width: max(250px, 60%);
    justify-self: center;
  }
}

/* Service styles */
.our-services {
  padding: 2.5em 0;
}

.services {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(2, 1fr);
  margin: 1em 0;
}

.service {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
}

.service.service__left {
  flex-direction: row;
  box-shadow: 2px 2px 4px var(--clr-jet);
  text-align: right;
  padding-right: 1em;
}

.service.service__right {
  flex-direction: row-reverse;
  box-shadow: -2px 2px 4px var(--clr-jet);
  text-align: left;
  padding-left: 1em;
}

.service .service__img {
  height: 180px;
  width: 180px;
  flex-basis: max-content;
  aspect-ratio: 1;
  margin: 1em 0;
  border-radius: 50%;
  box-shadow: 0 2px 8px var(--clr-jet);
  background-color: var(--clr-eerie-black);
}

.service .service__img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.8;
  mix-blend-mode: difference;
}

.service .service__info {
  margin: auto;
  overflow-x: hidden;
  padding: 0 0.5em;
}

.service__info .service__title {
  margin-bottom: 0.5em;
  font-size: 1.25em;
}

.service.service__left .service__info a {
  float: left;
}

.service.service__right .service__info a {
  float: right;
}

@media only screen and (max-width: 880px) {
  .our-services .services {
    padding: 0 1em;
  }

  .services {
    grid-template-columns: 1fr;
    margin: 1em 0;
  }

  .service.service__left,
  .service.service__right {
    box-shadow: 2px 2px 6px var(--clr-jet);
  }
}

@media only screen and (max-width: 560px) {
  .service.service__left,
  .service.service__right {
    flex-direction: column;
    text-align: center;
    padding: 0.5em;
  }

  .service.service__left .service__info a,
  .service.service__right .service__info a {
    float: none;
  }
}

@media only screen and (max-width: 300px) {
  .service .service__img {
    height: 160px;
  }
}

/* content break styles */

.span-break {
  position: relative;
  width: 100%;
  height: max(50vh, 220px);
  background-image: url("../images/site/home_showcase.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-attachment: fixed;
}

.span-break::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(36, 36, 35, 0.5);
}

/* projects section styles */

.projects {
  padding: 2.5em 0;
}

.projects__showcase {
  position: relative;
  background: transparent;
}

.projects__showcase .project {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  margin: 1.5rem 0.3em 0.25rem;
}

.projects .btn {
  margin-top: 2.5em;
}

.project > img {
  grid-row: 1/2;
  grid-column: 1/2;
  aspect-ratio: 29/24;
  box-shadow: 2px 2px 4px var(--clr-jet);
}

.project > .project__info {
  grid-row: 1/2;
  grid-column: 1/2;
  position: relative;
  align-self: end;
  display: flex;
  justify-content: space-between;
  color: var(--clr-white);
  padding: 0.25em 0.75em;
}

.project__info > .project__description i {
  color: var(--clr-firebrick);
}

.project__info > .project__location i {
  color: var(--clr-orange-web);
}

.owl-nav-prev,
.owl-nav-next {
  position: absolute;
  top: 50%;
  height: calc(100% - 2.8rem);
  display: flex;
  align-items: center;
  font-size: 3em;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1;
}

.owl-nav-prev {
  left: 0;
}

.owl-nav-next {
  right: 0;
}

.owl-nav-prev > i,
.owl-nav-next > i {
  color: var(--clr-white);
  padding: 0 4px;
  opacity: 0.4;
  transition: opacity 0.3s ease-in;
}

.owl-nav-prev:hover i,
.owl-nav-next:hover i {
  opacity: 1;
}

/* Landing styles */

.landing {
  position: relative;
  display: flex;
  align-content: center;
  text-align: center;
  text-transform: uppercase;
  font-size: 2em;
  height: 200px;
  color: var(--clr-orange-web);
  background-color: var(--clr-eerie-black);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-attachment: fixed;
  z-index: 1;
}

.landing::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--clr-eerie-black);
  opacity: 0.75;
}

.landing .container {
  z-index: 1;
}

.contact__landing {
  background-image: url("../images/site/building.jpg");
}

@media only screen and (max-width: 600px) {
  .landing .landing__title {
    font-size: 1.35em;
  }
}

@media only screen and (max-width: 400px) {
  .landing .landing__title {
    font-size: 1.2em;
  }
}

/* Contact Page styles */

/* Contact section styles */

.contact__section {
  min-height: calc(100vh - 2.5 * var(--nav-height) - 210px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__section .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 2em;
  padding-bottom: 1em;
}

form {
  border-radius: 0.5em;
  background: rgba(0, 0, 9, 0.05);
  box-shadow: 0 0 3px var(--clr-jet);
  padding: 2em;
}

form .btn {
  margin-top: 0;
  margin-left: auto;
}

.form-control {
  position: relative;
  display: block;
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 1em;
}

.form-control label {
  position: relative;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25em 0;
  margin-bottom: 0.25em;
}

.form-control label > small {
  text-transform: capitalize;
}

.form-control input,
.form-control textarea {
  width: 100%;
  background: none;
  box-shadow: 0 0 1px 1px var(--clr-jet);
  border: none;
  border-radius: 4px;
  padding: 0.25em;
  font-family: inherit;
  font-size: 1.05rem;
}

.form-control:focus-within > :where(input, textarea):valid {
  outline-color: #009000;
}

.form-control:focus-within > :where(input, textarea):invalid {
  outline-color: #8b0000;
}

.form-control > :where(input, textarea):focus {
  background: var(--clr-white);
}

.form-control > :where(input, textarea):valid {
  background: var(--clr-white);
  border: 1px solid#009000;
}

.form-control input:required ~ label::before,
.form-control textarea:required ~ label::before {
  content: "*";
  position: absolute;
  top: 0.15em;
  left: -0.5em;
  color: #8b0000;
  font-size: 1.15em;
}

.form-control .validity {
  position: absolute;
  top: 0;
  right: 0;
  height: 50%;
  transform: translateY(100%);
  aspect-ratio: 2/3;
}

.form-control .validity:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Font Awesome 5 Free";
  font-size: 1.25em;
}

.form-control textarea + .validity {
  height: 20%;
}

@keyframes checkValid {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(-360deg);
  }
}

.form-control input:valid + span:after,
.form-control textarea:valid + span:after {
  content: "\f058";
  color: #009000;
  animation: checkValid 0.5s linear;
}

.contact__info {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  background: rgba(0, 0, 9, 0.05);
  box-shadow: 0 0 3px var(--clr-jet);
  border-radius: 0.5em;
}

.contact__info .contacts a {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: var(--clr-firebrick);
}

.contact__info .contacts strong {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: small;
}

.contact__info a small {
  color: var(--clr-firebrick);
}

.contact__info a:hover,
.contact__info a:hover small {
  color: var(--clr-orange-web);
}

.contact__info .lead {
  font-family: "Patrick Hand";
  font-size: 1.5em;
  letter-spacing: 0.075em;
  text-align: center;
  margin: 0.5em 0;
}

@media only screen and (max-width: 900px) {
  .contact__section .container {
    display: flex;
    flex-direction: column-reverse;
  }

  .contact__info .contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.5em;
    width: 100%;
    margin-bottom: 0.5em;
  }
}

@media only screen and (max-width: 600px) {
  .contact__info .contacts {
    grid-template-columns: 1fr;
  }
}

/* Gallery Page styles */

/* Gallery landing styles */

.gallery__landing {
  height: 200px;
}

.gallery__landing .landing__title {
  margin-bottom: 1.5rem;
}
/* Gallery section styles */

.gallery {
  position: relative;
  min-height: calc(100vh - 2.5 * var(--nav-height) - 230px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery::before,
.gallery::after {
  content: "";
  position: absolute;
  top: -2.5em;
  bottom: -2.5em;
  left: 0;
  right: 0;
  inset: -2.5em 0;
  z-index: -2;
}

.gallery::before {
  background-image: url("../images/site/showcase.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.gallery::after {
  background: rgba(0, 0, 9, 0.7);
}

.gallery__showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  grid-gap: 1em;
  align-items: center;
  justify-content: center;
}

.gallery__project {
  position: relative;
  width: 100%;
  max-height: fit-content; /* revise/remove this after consulting with phone*/
  aspect-ratio: 3/2;
  border: 1px solid var(--clr-platinum);
  box-shadow: 0 0 8px var(--clr-platinum);
}

.gallery__project .project__info {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  z-index: 2;
  color: var(--clr-platinum);
}

.gallery__project .project__info::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: var(--clr-black);
  opacity: 0.3;
}

.project__info .project__description {
  grid-row: 1/2;
  grid-column: 1/2;
  justify-self: center;
  align-self: center;
  padding: 0.5em;
  text-align: center;
}

.project__info .project__extras {
  grid-row: 1/2;
  grid-column: 1/2;
  align-self: flex-end;
  padding: 0.25em 0.5em;
  color: var(--clr-orange-web);
}

.gallery__project a {
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 0.5em 1em;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

.gallery__project a:first-of-type {
  z-index: 3;
}

.gallery__project img {
  width: 100%;
  aspect-ratio: 3/2;
}

/* About Page styles */

/* About landing styles */

.about__landing {
  background-image: url("../images/site/about.jpg");
}

.about__section .about__title,
.promise__section .promise__title,
.team__section .team__title {
  text-align: center;
  font-size: 1.75em;
}

/* About section styles */

.about__section p {
  margin-bottom: 1em;
  text-align: justify;
}

.about__section .about__img {
  float: right;
  width: 50%;
  margin-left: 1em;
}

.about__section blockquote {
  display: block;
  float: right;
  width: 40%;
  margin: 0.25em 5%;
  padding: 0.5em 2em;
  text-align: center;
  font-family: "Patrick Hand";
  font-size: 1.5em;
  color: var(--clr-white);
  background-color: var(--clr-firebrick);
}

.about__section blockquote i {
  display: inline-block;
  color: var(--clr-orange-web);
  font-size: 0.5em;
  margin: 0 0.5em;
  vertical-align: super;
}

.clear-fix {
  clear: both;
}

.about__section .about__img img {
  width: 100%;
}

@media only screen and (max-width: 824px) {
  .about__section .about__img {
    float: none;
    width: 100%;
    margin-left: 0;
  }
}

@media only screen and (max-width: 600px) {
  .about__section blockquote {
    float: none;
    width: 80%;
    margin: 0.5em auto;
  }
}

@media only screen and (max-width: 480px) {
  .about__landing .about__title {
    font-size: 1.25em;
  }
}

/* Promise section styles */

.promise__section {
  background: var(--clr-eerie-black);
  color: var(--clr-white);
  padding: 4em 0;
  margin: 2em 0;
}

.promise__section .promise__title {
  color: var(--clr-white);
  margin-bottom: 2em;
}

.promise__showcase p {
  position: relative;
  font-family: "Patrick Hand";
  letter-spacing: 2px;
  font-size: 1.75em;
  text-align: center;
  padding: 1em 0.5em;
}

.promise__showcase p::before,
.promise__showcase p::after {
  position: absolute;
  content: "";
  top: 4px;
  left: 25%;
  width: 50%;
  height: 90%;
  border-top: 3px solid var(--clr-firebrick);
  border-bottom: 3px solid var(--clr-firebrick);
}

.promise__showcase p::after {
  top: 0;
  left: 35%;
  width: 30%;
  height: calc(90% + 8px);
  border-top: 2px solid var(--clr-orange-web);
  border-bottom: 2px solid var(--clr-orange-web);
}

/* Team section styles */
.team__section {
  margin-bottom: 2em;
  padding: 2em 0;
}

.team__section .team__showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 2em;
  justify-items: center;
  font-family: Lexend;
  letter-spacing: 0.01em;
  padding-top: 2em;
}

.team__showcase .member h4 {
  font-size: 1.5em;
  margin-bottom: 0.75em;
}

.team__showcase .member__info p {
  display: inline-block;
  font-size: 1.15em;
}

.team__showcase .member__info span {
  display: inline-block;
  font-weight: 300;
  margin-top: 0.25em;
}

@media only screen and (max-width: 620px) {
  .team__section .team__showcase {
    grid-template-columns: 1fr;
    grid-row-gap: 2em;
  }

  .team__showcase .member {
    text-align: center;
    min-width: min(100%, 320px);
    width: 90%;
  }
}
