:root {
  --red: #ec4438;
}

.sticky-nav {
  z-index: 1;
  background-color: #f4f4f4;
  padding: 20px;
  position: sticky;
  top: 0;
}

.nav-grid {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: auto;
  grid-template-columns: 1fr max-content max-content max-content;
  grid-auto-columns: max-content;
  grid-auto-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
}

.nav-logo-link {
  height: 60px;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  display: block;
}

.nav-logo {
  object-fit: contain;
  object-position: 0% 50%;
  width: auto;
  height: 100%;
}

.nav-link {
  color: #444;
  margin-left: 0;
  margin-right: 0;
  padding: 10px 0;
  text-decoration: none;
  display: block;
}

.nav-link:hover {
  text-decoration: underline;
}

.container-panel {
  width: 100%;
  max-width: 1200px;
  height: auto;
}

.navbar {
  width: 100%;
  max-width: 1640px;
}

.section {
  justify-content: center;
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.projects--grid {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.projects--container {
  height: 100%;
  padding-bottom: 100%;
  position: relative;
}

.projects--container--content {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
}

.projects--container--overlay {
  z-index: 2;
  background-color: #0006;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  position: absolute;
  inset: 0%;
}

.projects--seemorebtn {
  background-color: var(--red);
  border-radius: 4px;
  padding: 3px 10px;
}

.projects--btntext {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
}

.project--image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.placeholder100 {
  justify-content: center;
  align-items: center;
  height: 100px;
  display: flex;
}

.text1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 100%;
}

.section--panel {
  width: 100%;
  height: 100%;
}

.test1 {
  background-color: #f22;
  justify-content: center;
  align-items: center;
  height: 1200px;
  display: flex;
}

.test2 {
  background-color: #1eff74;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 1300px;
  display: flex;
}

.text-block {
  color: #fff;
  font-size: 250px;
  line-height: 100%;
}

.div {
  background-color: #629c7e;
  height: 500px;
}

.div._2 {
  background-color: #5c1414;
}

.div._1 {
  z-index: 4;
  background-color: #0000;
  overflow: hidden;
}

.background-video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: auto 0% 0% auto;
}

.background--video--contaienr {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.video--wrapper {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.video-foreground {
  z-index: 2;
  width: 100%;
  height: 100%;
  inset: 0%;
}

.video-foreground.hidden {
  display: none;
}

.video-background {
  z-index: 1;
  width: 100%;
  height: 100%;
}

.video-container {
  height: auto;
  padding-bottom: 100vh;
  position: relative;
}

.body-2 {
  height: 100vh;
  overflow: hidden;
}

.video--inner {
  justify-content: center;
  align-items: center;
  min-width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0%;
}

.video--1 {
  object-position: 50% 0%;
  flex: 1;
  align-self: stretch;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.video--1.hidden {
  display: none;
}

@media screen and (max-width: 991px) {
  .projects--grid {
    grid-row-gap: 20px;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-flow: row;
  }

  .projects--container {
    height: 100%;
    padding-bottom: 100%;
    position: relative;
  }

  .projects--container--content {
    z-index: 1;
    background-color: #b1b1b1;
    position: absolute;
    inset: 0%;
  }

  .projects--container--overlay {
    z-index: 2;
    background-color: #0006;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 20px;
    display: flex;
    position: absolute;
    inset: 0%;
  }

  .projects--seemorebtn {
    z-index: 4;
    background-color: var(--red);
    border-radius: 11px;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    padding-top: 5px;
    padding-bottom: 7px;
    position: relative;
  }

  .projects--arrow {
    flex-direction: row;
    height: 100%;
    font-size: 18px;
    line-height: 18px;
    display: inline-block;
  }

  .projects--btntext {
    font-size: 15px;
    display: inline-block;
  }

  .project--image {
    width: 100%;
    height: 100%;
  }

  .placeholder100 {
    height: 100px;
  }
}

@media screen and (max-width: 767px) {
  .sticky-nav {
    position: relative;
  }

  .nav-grid {
    text-align: center;
  }
}

@media screen and (max-width: 479px) {
  .sticky-nav {
    padding: 0;
  }

  .nav-grid {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-rows: 100px;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }

  .nav-logo-link {
    border-top: 1px solid #c4c4c4;
  }

  .nav-link {
    border-top: 1px solid #c4c4c4;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}


