/*

--- 01 TYPOGRAPHY SYSTEM


- FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- font-weight:
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- line-height:
default: 1
small: 1.05
medium: 1.2
large: 1.8
paragraph default: 1.6

- letter-spacing:
-0.5px
0.75px

--- 02 PRIMARY COLOR


--- 05 SHADOWS
0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS
Default: 9px
11px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128 / 160 / 192 / 224 / 256

*/

/************************************************/
/* GENERAL */
/************************************************/

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /*does NOT work on safari*/
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1;
  overflow-x: hidden;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: zero;
}

h1,
h2 {
  font-family: "Merriweather", sans-serif;
}

.category-caption {
  text-transform: uppercase;
  color: #868e96;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
}

.heading-primary {
  color: #f8f9fa;
  font-size: 6.2rem;
  margin-bottom: 4.8rem;
  line-height: 1;
  padding-right: 5.6rem;
}

.heading-secondary {
  font-size: 4.4rem;
  color: #212529;
  font-weight: 400;
  line-height: 1.1;
}

/************************************************/
/* HEADER SECTION */
/************************************************/

.header-container {
  position: relative;
  overflow: hidden;
  width: 100vw;
}

.hero-image {
  max-width: none;
  max-height: none;
  width: 100vw;
  border: none;
  filter: brightness(50%) grayscale(100%);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 7.4rem;

  display: grid;
  grid-template-columns: 44fr 56fr;
  grid-template-rows: 1fr;
  align-items: center;

  border-bottom: 2px solid #f8f9fa;
}

.sticky {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 6.4rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: #f8f9fa;
  box-shadow: 2.4rem 2.4rem 4.8rem rgba(0, 0, 0, 0.05);
  z-index: 9999;
}

.header-logo {
  grid-column: 1/1;
  margin-left: 1.4rem;
}

.logo-image {
  height: 4.8rem;
  width: 8.4rem;
  fill: #f8f9fa;
}

.dark-mode {
  color: #212529 !important;
  fill: #212529 !important;
}

.navigation {
  grid-column: 2/-1;
}

.nav-list {
  padding: 0 2.4rem;
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.nav-link {
  display: inline-block;
  transition: all 0.25s;
  font-family: "Merriweather", sans-serif;
}

.nav-link:link,
.nav-link:visited {
  font-size: 2rem;
  color: #f8f9fa;
  font-weight: 700;
  text-decoration: none;
  margin: 1rem 0;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link:active {
  transform: scale(1.1);
}

.nav-list:last-child {
  padding-right: 12.8rem;
}

/*MOBILE NAV*/
.btn-mobile-nav {
  border: none;
  background: transparent;
  cursor: pointer;
  grid-row: 1;
  grid-column: 3/-1;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #f8f9fa;
  background-color: none;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/*Hero section*/

.hero-container {
  position: absolute;
  width: 100vw;
  top: 20%;
  display: grid;
  grid-template-columns: 46fr 54fr;
}

.hero {
  grid-column: 2/-1;
}

.hero-text {
  color: #f8f9fa;
  font-size: 2.4rem;
  padding-right: 7.2rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 3.2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  column-gap: 1.4rem;
  font-weight: 700;
  font-size: 2.4rem;
}

.hero-button:link,
.hero-button:visited {
  display: inline-block;
  background-color: #f8f9fa;
  color: #212529;
  text-decoration: none;
  text-align: center;
  align-items: center;
  border-radius: 5px;
  font-weight: 700;

  padding: 2rem 1.2rem;
}

.hero-button:hover,
.hero-button:active {
  background-color: #ced4da;
}

.description {
  font-size: 1.8rem;
  line-height: 1.6;
  font-weight: 400;
  color: #495057;
  padding: 0 4.8rem;
}

/************************************************/
/* ABOUT US SECTION */
/************************************************/

.about-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-us-title {
  border-right: 1.5px solid #e9ecef;
  border-bottom: 1.5px solid #e9ecef;
  padding: 4.8rem 4.8rem 0 4.8rem;
}

.category-title {
  font-family: "Merriweather", sans-serif;
  color: #212529;
  font-size: 3.6rem;
  margin-bottom: 2.4rem;
  font-weight: 400;
}

.about-us-categories {
  padding-top: 4.8rem;
  display: grid;
  grid-column: 2;
}

.category {
  position: relative;
  padding: 4.8rem 0;
  border-bottom: 1.5px solid #e9ecef;
}

.about-us-text {
  font-size: 1.8rem;
  line-height: 1.6;
  font-weight: 400;
  color: #495057;
}

.category-title,
.about-us-text {
  padding: 0 12.8rem;
}

.icon {
  position: absolute;
  top: 2.8rem;
  left: 3.2rem;
  height: 6.4rem;
  width: 6.4rem;
  stroke: #fff;
  stroke-width: 3.5px;
}

.learn-more:link,
.learn-more:visited {
  font-size: 1.8rem;
  line-height: 1.6;
  font-weight: 400;
  color: #495057;
}

.learn-more:active,
.learn-more:hover {
  color: #212529;
}

/************************************************/
/* CAPABILITIES SECTION */
/************************************************/

.capabilities-title-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1.5px solid #e9ecef;
}

.cap-grid {
  display: grid;
  grid-template-rows: repeat(8, 1fr);
}

.capabilities-title {
  grid-column: 1/1;
  margin: 4.8rem 0 4.8rem 4.8rem;
}

.cap-gallery {
  justify-self: center;
  align-self: center;
}

.cap-category {
  display: flex;
  flex-direction: row;
  margin: 0 5% 0 10%;
}

.gallery-image {
  padding: 4.8rem;
  width: 50rem;
  height: auto;
}

#rounding-image {
  padding-top: 0;
  padding-bottom: 0;
}

.cap-text {
  grid-column: 2/2;
  justify-self: center;
  align-self: center;
}

.cap-title {
  font-family: "Merriweather", sans-serif;
  font-size: 4.4rem;
  font-weight: 400;
  padding: 4.8rem;
  color: #212529;
}

.cap-description {
  padding-right: 19.2rem;
}

.section-capabilities > .grid--column-2 {
  border-bottom: 1.5px solid #e9ecef;
  margin-bottom: 12.8rem;
}

/************************************************/
/* CTA SECTION */
/************************************************/

.section-cta {
  display: flex;
  justify-content: center;
  margin: 12.8rem 0;
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 60vw;
  margin-bottom: 4.8rem;
  background-color: #21252911;
  border-radius: 3px;
  box-shadow: 2.4rem 2.4rem 4.8rem rgba(0, 0, 0, 0.05);
}

.factory-img {
  width: 30vw;
  height: auto;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.cta-textbox {
  display: grid;
  grid-template-rows: 30fr 40fr 30fr;
}

.cta-title {
  align-self: center;
  margin-left: 10%;
  font-family: "Merriweather", sans-serif;
  color: #212529;
  font-size: 4.4rem;
  font-weight: 600;
}

.cta-text {
  align-self: center;
  color: #495057;
  font-size: 2rem;
  margin: 0 10%;
  line-height: 1.6;
  font-weight: 400;
}

.contact-us-button {
  text-align: center;
  align-self: center;
  padding: 2.4rem;
  display: inline-block;
  background-color: #212529;
  border-radius: 3px;
  font-size: 1.6rem;
  margin: 0 50% 0 10%;
  font-weight: 600;
}

.contact-us-button:link,
.contact-us-button:visited {
  text-decoration: none;
  color: #f8f9fa;
}

.contact-us-button:active,
.contact-us-button:hover {
  background-color: #343a40;
}

/************************************************/
/* FOOTER SECTION */
/************************************************/

.footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: #f1f3f5;
  padding: 2.4rem 1.6rem 0 1.6rem;
}

.footer-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #212529;
  padding: 2.4rem 0;
}

.footer-text,
.footer-link {
  display: block;
  font-size: 1.6rem;
  color: #495057;
  margin-bottom: 1.4rem;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:active {
  transition: all 0.25s;
  transform: scale(1.05);
  cursor: pointer;
}

.footer-box {
  grid-column: 2/2;
}

.footer-box-capabilities {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr;
  grid-template-rows: 2fr 4fr;
  column-gap: 1.6rem;
  grid-column: 3/3;
}

.footer-title-capabilities {
  grid-row: 1/1;
  font-size: 1.8rem;
  font-weight: 600;
  color: #212529;
  padding: 2.4rem 0;
}

.column-1,
.column-2,
.column-3 {
  grid-row: 2/2;
}
