body {
  background-color: black;
  margin: 0;
}



.header {
  width: 100%;
  height: 100px;
  --background-color: blue;
}

.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-container video {
  width: 100%;
}

#bgVideo {
  width: 100%;

}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  color: white;
  font-family: 'Jost', sans-serif;
  text-align: center;
  font-size: 1.5rem;
  --background-color: red;
}

.about-us {
  padding-top: 5rem;
  padding-bottom: 10rem;
  --background-color: blue;
}


h1 {
    color: #fff;
    text-align: center;
    font-family: 'Jost', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */

}

hr {
  border: 1px solid white;
  opacity: 0.25;
  width: 50%;
}

.our-work {
  padding-top: 5rem;
  padding-bottom: 10rem;
  --background-color: green;
}


.portfolio{
  margin-top: 50px;
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.portfolio-item {
  position: relative;
  --background-color: blue;
  transition: 0.5s;
}

.portfolio-item-thumbnail {
  position: relative;
  width: 480px;
  height: 200px;
  border-radius: 1rem;
  overflow: hidden;
}

.category {
  position: absolute;
  inline-size: min-content;
  white-space: nowrap;
  margin-left: 1rem;
  margin-top: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-family: 'Jost', sans-serif;
  border-radius: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  background-color: white;
  z-index: 1;
}

.info {
  bottom: 0;
  width: 100%;
  height: 20%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  z-index: 1;
  text-align: center;
}

.info_heading {
  color: white;
  font-size: 1.25rem;
  font-family: 'Jost', sans-serif;
  font-weight: 800;
}

.info_desc {
  opacity: 0;
  color: white;
  font-size: 0.9rem;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
}

.portfolio-item-thumbnail img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
}

.thumbnail {
  transition: 0.3s;
  transform: scale();
  z-index: -1;
  object-fit: cover; /*keep image aspect ratio*/
  -webkit-filter: grayscale(100%);
  -moz-filter:    grayscale(100%);
  -ms-filter:     grayscale(100%);
  -o-filter:      grayscale(100%);
}

.thumbnail:hover {
  transition: 0.3s;
  transform: scale(1.1);
  z-index: -1;
  -webkit-filter: grayscale(0%);
  -moz-filter:    grayscale(0%);
  -ms-filter:     grayscale(0%);
  -o-filter:      grayscale(0%);
}



.contact-us {
  padding-top: 5rem;
  padding-bottom: 15rem;
}

.contact-us p {

  margin-top: 2rem;
  margin-bottom: 5rem;
}

button {
  background-color: white;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 150px;
  height: 50px;
  border: none;
  border-radius: 25px;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: 1s;
  transform: scale(1);
  transition-timing-function: cubic-bezier(0.8, 0.2, 0.2, 0.8);
}

a {
  text-decoration: none;
}
button:hover {
  background-color: white;
  transition: 0.2s;
  transform: scale(1.1);
  transition-timing-function: cubic-bezier(0.8, 0.2, 0.2, 0.8);
  cursor: pointer;
}


p {
  color: white;
  text-align: center;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
}

.footer {
  height: 150px;
  display: grid;
  grid-gap: 5rem;
  grid-template-columns: 350px 250px 350px;
  justify-content: center;
  vertical-align: center;
  color: white;
  text-align: center;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
}

.footer p {
  font-size: 1rem;
}

#left-contact {
  text-align: right;
}

#right-contact {
  text-align: left;
}
.grid-item {
  --background-color: blue;
}

span {
  font-weight:700;

}



h2 {
    color: #fff;
    text-align: center;
    font-family: 'Inter';
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 0.5;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

h3 {
    color: #fff;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}








/* Responsive layout - makes a one column layout instead of a two-column layout */
@media screen and (max-width: 1024px) and (orientation: portrait) {
  h1 {
    font-size: 6rem;
  }

  p {
    font-size: 3rem;
    width: 75%;
  }

  .header {
    height: 150px;
  }
  .video-overlay {
    width: 75%;
    font-size: 3rem;
    z-index: 1;
  }

  #bgVideo {
    width: 250%;
    transform: translate(-25%, 0);

  }
  .about-us p {
    width: 90%
  }

  .portfolio{
    grid-template-columns: auto;
    grid-gap: 4rem;
  }

  .portfolio-item {
    width: 100%;
  }

  .portfolio-item-thumbnail {
    width: 90vw;
    height: 38vw;
    border-radius: 2rem;
  }

  .category {
    font-size: 2rem;
    border-radius: 1rem;
  }

  .info_heading {
    font-size: 2.5rem;
  }

  button {
    width: 500px;
    height: 150px;
    border-radius: 75px;
    font-size: 3rem;
  }

  .footer {
    grid-template-columns: auto;
    height: 100%;
    margin-bottom: 10rem;
    font-size: 3rem;
    grid-gap: 10rem;
    --background-color: blue;
  }

  .footer p {
    font-size: 3rem;
  }
  .grid-item {
    width: 100vw;
    --background-color: blue;
  }

  #left-contact {
    text-align: center;
    order: 1;
  }

  #right-contact {
    text-align: center;
    order: 2;
  }

  #footer-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    order: 3;
    width: 50%;
  }
}
