@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
body,
html {
  font-family: "Open Sans", "Arial";
  margin: 0;
  padding: 0;
  color: rgb(67, 67, 67);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
  margin: 0 auto;
  padding: 2rem;
  color: rgb(50, 50, 50);
}

.container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

section#hero {
  position: relative;
  display: grid;
  grid-template-rows: min-content auto;
  background-color: black;
  height: max(100vh, 500px);
  background-image: url("/bg.png");
  background-size: cover;
  background-position: center;
}
section#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.75;
  /* opacity: 0.8; */
  z-index: 1;
}
section#hero > * {
  z-index: 100;
}
section#hero .slogan-container {
  display: flex;
  align-items: center;
  padding: 2rem;
}
section#hero .slogan-container img {
  width: 80%;
  max-width: 30rem;
}

header {
  padding: 1rem;
  z-index: 200 !important;
}
header #header-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: white;
}
header #header-container .header-logo {
  max-width: 10rem;
}
header #menu-container .menu-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  color: black;
  padding: 1.5rem 3rem;
}
header #menu-container .menu-header #close {
  cursor: pointer;
}
header #menu-container .menu-header .menu-logo {
  max-height: 3.5rem;
}
header #menu-container .menu-header .close-menu {
  width: 2rem;
  height: 2rem;
}
header #menu-container .menu-button {
  display: none;
  cursor: pointer;
}
@media (max-width: 750px) {
  header #menu-container .menu-button.active {
    display: flex;
  }
}
header #menu-container .menu-button .open-menu {
  width: 2rem;
  height: 2rem;
  margin-top: 0.5rem;
  margin-right: 1rem;
}
header #menu-container #navmenu {
  display: none;
  align-items: center;
}
@media (min-width: 751px) {
  header #menu-container #navmenu {
    display: flex;
  }
}
header #menu-container #navmenu a {
  padding: 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
header #menu-container #navmenu a:hover {
  color: rgb(255, 255, 255);
}
header #menu-container.active {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: white;
  overflow-y: scroll;
}
header #menu-container.active .menu-header {
  display: flex;
}
header #menu-container.active #navmenu {
  display: flex;
  padding: 3rem;
  flex-direction: column;
}
header #menu-container.active #navmenu a {
  color: rgb(67, 67, 67);
  font-size: 1.5rem;
}
header #menu-container.active #navmenu a:hover {
  color: rgb(14, 16, 17);
}

section#logos .container {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: scroll;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border-bottom: 1px solid #eee;
}
section#logos .container::-webkit-scrollbar {
  display: none;
}
section#logos .container img {
  max-width: 100vw;
}
section#logos .container .mobile-logos {
  display: none;
}
@media (max-width: 830px) {
  section#logos .container .desktop-logos {
    display: none;
  }
  section#logos .container .mobile-logos {
    display: flex;
  }
}

section#services .alternate {
  background-color: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
section#services h1 {
  color: rgb(14, 16, 17);
}
section#services .service-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
section#services .service-content {
  display: grid;
  grid-template-columns: 4fr 2fr;
  column-gap: 4rem;
  row-gap: 2rem;
  padding: 4rem 3rem;
  justify-content: start;
  align-items: center;
  grid-template-rows: min-content auto;
}
section#services .service-content h1 {
  width: 100%;
  text-align: left;
  padding: 0;
}
section#services .service-content .service-text h2 {
  text-align: left;
  padding: 0.5rem 0 2rem;
}
section#services .service-content .service-text p {
  margin-top: 0;
  margin-bottom: 2rem;
}
section#services .service-content .service-images {
  display: grid;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 1/span 2;
}
section#services .service-content .service-images img {
  max-width: 100%;
  width: 100%;
}
section#services .service-content#rail img {
  border-radius: 0.5rem;
}
@media (max-width: 1200px) {
  section#services .service-content#rail {
    grid-template-columns: 4fr 3fr;
  }
}
@media (max-width: 850px) {
  section#services .service-content#rail {
    grid-template-columns: 1fr;
    /* row-gap: 3rem; */
  }
  section#services .service-content#rail .service-images {
    grid-column: auto;
    grid-row: 2;
    justify-content: start;
  }
  section#services .service-content#rail .service-images img {
    max-width: 400px;
  }
}
section#services .service-content#masonary {
  grid-template-columns: 1fr 2fr;
}
section#services .service-content#masonary .service-images {
  grid-column: 1;
  grid-row: 1/span 2;
}
section#services .service-content#masonary .service-images img:first-of-type {
  border-radius: 0.5rem 0.5rem 0 0;
}
section#services .service-content#masonary .service-images img:last-of-type {
  border-radius: 0 0 0.5rem 0.5rem;
}
@media (max-width: 1080px) {
  section#services .service-content#masonary {
    align-items: start;
    grid-template-columns: 2fr 3fr;
  }
  section#services .service-content#masonary h1 {
    grid-column: 1/span 2;
  }
  section#services .service-content#masonary .service-images {
    grid-row: 2;
  }
}
@media (max-width: 800px) {
  section#services .service-content#masonary {
    grid-template-columns: 1fr;
  }
  section#services .service-content#masonary h1 {
    grid-column: auto;
  }
  section#services .service-content#masonary .service-images {
    grid-column: auto;
    grid-row: 2;
    grid-template-columns: 1fr 1fr;
  }
  section#services .service-content#masonary .service-images img:first-of-type {
    border-radius: 0.5rem 0 0 0.5rem;
  }
  section#services .service-content#masonary .service-images img:last-of-type {
    border-radius: 0 0.5rem 0.5rem 0;
  }
}
@media (max-width: 450px) {
  section#services .service-content#masonary .service-images {
    gap: 0.5rem;
  }
}
section#services .service-content#internal {
  grid-template-columns: 2fr 1fr;
  align-items: start;
}
section#services .service-content#internal h1 {
  grid-column: 1/span 2;
  margin-bottom: 1rem;
}
section#services .service-content#internal .service-images {
  grid-column: 2;
  grid-row: 2;
}
section#services .service-content#internal .service-images img:first-of-type {
  border-radius: 0.5rem 0.5rem 0 0;
}
section#services .service-content#internal .service-images img:last-of-type {
  border-radius: 0 0 0.5rem 0.5rem;
}
@media (max-width: 1080px) {
  section#services .service-content#internal {
    grid-template-columns: 3fr 2fr;
  }
  section#services .service-content#internal .service-images {
    grid-row: 2;
  }
}
@media (max-width: 850px) {
  section#services .service-content#internal {
    grid-template-columns: 1fr;
  }
  section#services .service-content#internal h1 {
    grid-column: auto;
  }
  section#services .service-content#internal .service-images {
    grid-column: auto;
    grid-row: 2;
    grid-template-columns: 1fr 1fr;
  }
  section#services .service-content#internal .service-images img:first-of-type {
    border-radius: 0.5rem 0 0 0.5rem;
  }
  section#services .service-content#internal .service-images img:last-of-type {
    border-radius: 0 0.5rem 0.5rem 0;
  }
}
@media (max-width: 450px) {
  section#services .service-content#internal .service-images {
    gap: 0.5rem;
  }
}

section#about {
  background-color: #fafafa;
  padding: 2rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
section#about .about-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
section#about h1 {
  /* text-transform: uppercase; */
  color: rgb(14, 16, 17);
}
section#about .about-content {
  display: grid;
  grid-template-columns: 4fr 2fr;
  gap: 5rem;
  padding-bottom: 2rem;
}
@media (max-width: 1100px) {
  section#about .about-content {
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
  }
}
@media (max-width: 830px) {
  section#about .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
section#about .about-content .about-text {
  /* background-color: red; */
}
section#about .about-content .about-text p {
  margin-top: 0;
  margin-bottom: 2rem;
}
section#about .about-content .about-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
section#about .about-content .about-features .feature-title {
  color: rgb(14, 16, 17);
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

footer {
  padding: 2rem;
}
footer #footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
footer #footer-container .footer-logo {
  width: 100%;
  max-width: 13rem;
}
footer #footer-container .footer-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}
footer #footer-container .footer-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
footer #footer-container .footer-items a {
  color: rgba(101, 101, 101, 0.9);
  text-decoration: none;
}
footer #footer-container .footer-items a:hover {
  color: rgb(67, 67, 67);
}
@media (max-width: 800px) {
  footer #footer-container {
    grid-template-columns: 1fr 1fr;
  }
  footer #footer-container div:first-of-type {
    grid-column: span 2;
  }
}
@media (max-width: 500px) {
  footer #footer-container {
    grid-template-columns: 1fr;
  }
  footer #footer-container div:first-of-type {
    grid-column: span 1;
  }
}
