.backgroundbox2 {
  position: relative;
  background: rgb(140, 197, 195);
  height: auto;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
  background-image: url('../images/oxydtron_bg_elemenmt_logo_04.png');
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 60px;
  overflow: hidden;
  z-index: 1;
  color:#fff;
}

.backgroundbox2 p {
  font-size: 18px;
}
.backgroundbox2 h1 {
  font-family:Impact, 'Arial Narrow bold', sans-serif;
  font-size: 60px;
}

.backgroundbox2 h2 {
  font-size: 20px;
  font-weight: 700;
}

.videoheader h1 {
  color: rgb(140, 197, 195);
  font-size: 3em;
}

.videoheader p {
  font-size: 1.5em;
}

@media screen and (max-width: 600px) {
  .videoheader h1 {
    font-size: 2em;
  }

  .videoheader p {
    font-size: 1.2em;
  }
}

.userlogo {
  height: 50px;
  width: 50px;
  min-width: 50px;
  min-height: 50px;
  filter: invert(70%) sepia(50%) saturate(1500%) hue-rotate(165deg);
  margin-top: 30px;
}

.bg1 {
  background-color: rgb(13, 66, 64);
  border-radius: 50px;
  background-image: url('../images/contactus-background.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.bg2 {
  background-color: rgb(58, 123, 121);
  border-radius: 50px;
  background-image: url('../images/contactus-background.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.bg3 {
  background-color: rgb(105, 164, 162);
  border-radius: 50px;
  background-image: url('../images/contactus-background.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.bg1, .bg2, .bg3 {
  margin: 10px;
  height: 300px;
  width: 250px;
  color: white;
  font-size: 1em;
  font-weight: bold;
}

.bg1 h2, .bg2 h2, .bg3 h2 {
  font-size: 1em;
  color: rgb(210, 202, 186);
}

.aboutus-parent-container2 {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 55vw;
  margin-bottom: 30px;
}

.biggerh1 {
  font-size: 35px !important;
}

.aboutus-parent-container2::before {
  content: "";
  position: absolute;
  right: -5%;
  top: -43%;
  width: 100%;
  height: 150%;
  background: url('../images/aboutus2.png') no-repeat right top;
  background-size: 60vw auto;
  z-index: -2;
}

.oxylogo {
  width: 300px;
  height: auto;
  display: block;
  margin: auto;
  padding-bottom: 100px;
}

/* .aboutusheadercontent {
  padding-left: 230px;
} */

.aboutusheadercontent p {
  font-size: 26px;
}

.whoarewe {
  text-align: center !important;
  padding-left: 100px;
  font-size: 70px !important;
}

.nijvercraftlogocontent {
  padding-top: 50px;
  width: 500px;
  height: auto;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 600px) {
  .whoarewe {
    font-size: 50px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 70px !important;
    padding-left: 0 !important;
  }

  .aboutusheadercontent {
    font-size: 25px !important;
    word-wrap: break-word; 
    padding-left: 0;
  }

  .aboutusheadercontent p {
      font-size: 20px !important;
    }

  .nijvercraftlogocontent {
    width: 80%;
    height: auto;
  }
}

.whitecontainers {
  background-color: white;
  border-radius: 60px;
  margin: 10px;
  width: calc(100% - 20px);
  height: 400px;
  box-shadow: 0px 10px 30px rgb(140, 197, 195);
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
}
.whitecontainers h1 {
  margin-bottom: 20px;
  font-size: 1.8em;
  font-weight: 700;
}
.whitecontainers p {
  margin-left: 40px;
  margin-right: 40px;
  font-size: 1em;
  color: darkgrey;
}

.whiterow {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .whitecontainers {
      width: 100%;
      margin: 10px 0;
      padding: 20px;
      height: auto;
    }
  
    .whitecontainers p {
      margin-left: 20px;
      margin-right: 20px;
      font-size: 1.2em;
    }
}

.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden; /* Biztosítja, hogy a videó ne lógjon ki */
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover; /* A videó méretre igazítása */
  z-index: -1;
}

@media (max-width: 1024px) {
  .hero {
      background-position: center;
      background-size: contain; /* Kép teljes egészében látszódjon */
      height: auto; /* Automatikus magasság */
      min-height: 70vh; /* Minimum magasság biztosítása */
  }
}

@media (max-width: 768px) {
  .hero {
      height: auto;
      min-height: 80vh;
      padding: 10px;
      background-size: cover; /* Képernyő teljes szélességét kitölti */
      background-position: top center; /* Kép középre igazítva */
  }
}

@media (max-width: 480px) {
  .hero {
      height: auto;
      min-height: 70vh;
      background-size: cover;
      background-position: center;
  }
}

