/* cover-about: */

.cover-about {
  display: grid;
  grid-template-rows: auto auto;
  width: 100%;
  height: auto;
  position: relative;
}
.cover-about > div {
  display: grid;
}
.cover-about > div > div {
  align-self: center;
  text-align: left;
}

.cover-about > div:nth-child(1) {
  padding: 210px 60px 60px 60px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #fff;
  position: relative;
}
.cover-about > div:nth-child(1) > div:nth-child(1) {
  position: relative;
  z-index: 2;
}
.cover-about > div:nth-child(1) > div:nth-child(2) {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0px 0px 250px #061d01;
  position: absolute;
  z-index: 1;
  opacity: 1;
}

.cover-about h1 {
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.75);
  font-size: 70px;
  line-height: 80px;
  color: #fff;
}

.cover-about-extras {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 40px;
  justify-items: start;
  align-items: center;
}

.cover-about-extras > div:nth-child(1) {
  order: 1;
}
.cover-about-extras > div:nth-child(2) {
  order: 2;
}

.cover-about-extras,
.cover-about-extras p {
  font-size: 20px;
  line-height: 30px;
  color: #fff;
}

@media screen and (min-width: 1367px) {
  .cover-about {
    max-width: 1366px;
    min-height: auto;
    margin: 0 auto;
    border-radius: 0 0 40px 40px;
  }
  .cover-about > div:nth-child(1) {
    border-radius: 0 0 40px 40px;
  }
  .cover-about > div:nth-child(1) > div:nth-child(2) {
    border-radius: 0 0 40px 40px;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .cover-about {
    grid-template-columns: auto;
    grid-template-rows: auto 0px;
  }
  .cover-about > div:nth-child(1) {
    padding: 220px 60px 60px 60px;
  }
}

@media screen and (max-width: 768px) {
  .cover-about {
    grid-template-columns: auto;
    grid-template-rows: auto 0px;
  }
  .cover-about > div:nth-child(1) {
    padding: 220px 60px 60px 60px;
  }
  .cover-about h1 {
    font-size: 40px;
    line-height: 50px;
  }
  .cover-about-extras {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .cover-about-extras > div:nth-child(1) {
    order: 2;
  }
  .cover-about-extras > div:nth-child(2) {
    order: 1;
  }
}

/* about: */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  width: 100%;
  height: auto;
  min-height: 100vh;
  padding: 40px 40px;
  background: #fff;
}
.about > div {
  display: grid;
  height: 100%;
}
.about > div > div {
  align-self: center;
  text-align: left;
}
.about > div:nth-child(2) > div {
  height: 100%;
}

.company-facts ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 20px;
  row-gap: 20px;
  items-align: center;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}
.company-facts ul li {
  align-self: center;
  height: 100%;
  padding: 40px;
  border-radius: 10px;
  background: #f5f5f5;
  box-shadow: none;
  transition: all 0.3s;
}
.company-facts ul li:hover {
  background: #fff;
  box-shadow: inset 0px 0px 40px sandybrown;
}

.company-facts h1,
.company-facts h2,
.company-facts h3,
.company-facts h4,
.company-facts h5,
.company-facts h6 {
  display: block;
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 40px;
  font-weight: 700;
  color: firebrick;
}

.about h2 {
  margin-bottom: 20px;
  color: #383432;
}

.about-photos {
  display: grid;
  grid-template-areas: "a a b" "c d b" "c e e";
  column-gap: 20px;
  row-gap: 20px;
  align-items: justify;
  height: 100%;
}
.about-photos > div {
  border-radius: 10px;
  background-color: #f5f5f5;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.about-photos > div:nth-child(1) {
  grid-area: a;
}
.about-photos > div:nth-child(2) {
  grid-area: d;
}
.about-photos > div:nth-child(3) {
  grid-area: c;
}
.about-photos > div:nth-child(4) {
  grid-area: b;
}
.about-photos > div:nth-child(5) {
  grid-area: e;
}

@media screen and (min-width: 1367px) {
  .about {
    max-width: 1366px;
    min-height: auto;
    margin: 0 auto;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .about {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
    min-height: auto;
  }
  .about > div {
    align-self: start;
    height: auto;
  }
  .about > div:nth-child(2) > div {
    height: auto;
  }
  .company-facts ul {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .about-photos {
    grid-template-areas: "a a" "b b" "c c" "d d" "e e";
  }
  .about-photos > div {
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
    row-gap: 40px;
    min-height: auto;
  }
  .company-facts ul {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .about-photos {
    height: 400px;
  }
}

/* why-we: */

.why-we {
  display: grid;
  width: 100%;
  height: auto;
  min-height: 100vh;
  padding: 40px 40px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.why-we > div {
  display: grid;
  height: 100%;
  position: relative;
  z-index: 2;
}
.why-we > div > div {
  align-self: center;
  text-align: left;
}

.why-we > div:nth-child(2) {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 1;
  opacity: 0.9;
  filter: blur(10px);
}

.why-we h2 {
  margin-bottom: 20px;
  color: #fff;
}

.reasons ul {
  display: grid;
  grid-template-columns: auto auto auto;
  column-gap: 40px;
  justify-items: stretch;
  align-items: center;
  margin: 0 0 40px 0;
  padding: 0;
  list-style: none;
}
.reasons ul li {
  height: 100%;
  align-self: center;
}

.reasons h1,
.reasons h2,
.reasons h3,
.reasons h4,
.reasons h5,
.reasons h6 {
  font-size: 30px;
  line-height: 40px;
  font-weight: 700;
  color: moccasin;
}

.founders {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 80px;
  align-items: left;
}
.founders > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  column-gap: 40px;
  align-items: justify;
  height: 100%;
}
.founders > div > div {
  align-self: start;
}

.founders > div > div:first-child img {
  width: 100%;
  height: auto;
}

p.founders-title {
  margin: 40px 0;
  font-weight: 700;
}

@media screen and (min-width: 1367px) {
  .why-we {
    max-width: 1366px;
    min-height: auto;
    margin: 0 auto;
    border-radius: 40px;
  }
  .why-we > div:nth-child(2) {
    border-radius: 40px;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .reasons h1,
  .reasons h2,
  .reasons h3,
  .reasons h4,
  .reasons h5,
  .reasons h6 {
    font-size: 22px;
    line-height: 32px;
  }
}

@media screen and (max-width: 768px) {
  .reasons ul {
    grid-template-columns: auto;
    row-gap: 20px;
  }
  .reasons h1,
  .reasons h2,
  .reasons h3,
  .reasons h4,
  .reasons h5,
  .reasons h6 {
    font-size: 22px;
    line-height: 32px;
  }
  .founders {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
}

/* 

services page:

*/
