@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lexend+Exa:wght@100;200;300;400;500;600;700;800;900&family=Russo+One&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  padding-top: 80px;
  width: 100%;
}
.container {
  width: min(100% - 15px, 1300px);
  margin-inline: auto;
  
}
.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: auto;
}
.flex-col{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: auto;
  flex-direction: column;
}
.md-2,
.md-3,
.md-4,
.md-6,
.md-8,
.md-9,
.md-12 {
  padding-top: 7.5px;
  padding-bottom: 7.5px;
}
.md-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}
.md-3 {
  flex: 0 0 25%;
  max-width: 25%;
}
.md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}
.md-5 {
  flex: 0 0 41.66666%;
  max-width: 41.666666%;
}
.md-6 {
  flex: 0 0 50%;
  max-width: 50%;
}
.md-7 {
  flex: 0 0 58.33333%;
  max-width: 58.33333%;
}
.md-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}
.md-9 {
  flex: 0 0 75%;
  max-width: 75%;
}
.md-10 {
  flex: 0 0 83.333335%;
  max-width: 83.333335%;
}
.md-12 {
  flex: 0 0 100%;
  max-width: 100%;
}
.box {
  padding: 10px;
  margin: auto;
  position: relative;
}
a {
  color: unset;
  text-decoration: none;
}
img {
  width: 100%;
}
.hero-content {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
    background-color:#FFF;
  }
  .hero-content header {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 70vh;
    margin: auto;
  }
  .hero-content h1
  {
   position: absolute;
   top: 50%;
   left: 50%;
   margin-right: -50%;
   translate: -50% -50%;
   z-index: 1;
   font-weight: bolder;
   font-size: 100px;
   font-family: "Russo One", sans-serif;
   color: rgb(16, 127, 6);
   /* 1 pixel black shadow to left, top, right and bottom */
   text-shadow: -1px 0 white, 0 2px white, 2px 0 white, 0 -1px white;
 }
 .hero-content img{
 width: 100%;
   height: 100%;
   object-fit: cover;
 }
.align-items-center{
  align-items: center;
}

.grey-circle {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 200px solid black;
  position: absolute;
  bottom: -50%;
  right: -45%;
  z-index: -1;
  opacity: 0.05;
}
main{
  width: 100%;
  overflow: hidden;
}
.green-circle {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 200px solid rgb(2, 79, 37);
  position: absolute;
  bottom: -100%;
  left: -50%;
  z-index: -1;
  opacity: 0.1;
}
header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#about{
  padding-top: 60px;
}
.main-title {
  margin: 60px auto;
  display: block;
  text-align: center;
}
.main-title img {
  max-width: 200px;
}
header h1,
header h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  translate: -50% -50%;
  z-index: 1;
  font-weight: bolder;
  font-size: 100px;
  font-family: "Russo One", sans-serif;
  color: rgb(16, 127, 6);
  /* 1 pixel black shadow to left, top, right and bottom */
  text-shadow: -1px 0 white, 0 2px white, 2px 0 white, 0 -1px white;
}
section h2 {
  font-size: 44px;
  text-align: center;
  color: rgb(103, 103, 103);
  text-transform: uppercase;
  margin-bottom: 30px;
  font-weight: bolder;
  font-weight: 400;
}
header h1:after {
  background: url(./img/webheader.jpg);
  background-size: cover;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-font-smoothing: antialiased;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  content: "PETROLTERV";
  opacity: 0;
}

.navbar {
  position: fixed;
  left: 50%;
  top: 50px;
  transform: translate(-50%, 0%);
  margin-right: -50%;
  background: rgb(246, 246, 246);
  z-index: 1000;
  border: 1px solid rgb(248, 248, 248);
  border-radius: 30px;
}
/*.menu li {
  list-style: none;
  display: inline-block;
}
.menu li a {
  padding: 15px 12px;
  display: block;
  margin: 5px;
}*/

.principles {
  padding: 60px 20px 120px;
  box-sizing: border-box;
  height: 100vh;
  border: 1px solid red;
}

.principles__container {
  margin: 0 auto;
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}
.principles__title {
  font-weight: bold;
  font-size: 42px;
  line-height: 54px;
  color: #1c2f6b;
  margin-bottom: 32px;
}

.principles__counter {
  position: absolute;
  right: 0;
  top: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 24px;
  line-height: 36px;
  color: #30c5ff;
}

.principles__list {
  display: flex;
}

.principles__item {
  background-color: #f5f9ff;
  min-width: 370px;
  padding: 32px;
  margin-left: 30px;
  transition: 0.5s all ease;
  cursor: pointer;
  height: 290px;
  box-sizing: border-box;
}

.principles__item:first-of-type {
  margin-left: 0;
}

.principles__item:after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-color: #1c2f6b;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  z-index: -1;
}

.principles__item.active:after {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

.principles__item:hover {
  background-color: #1c2f6b;
}
.principles__item:hover .principles__description,
.principles__item.active .principles__description {
  color: #fff;
}
.principles__number {
  color: #30c5ff;
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
}
.principles__description {
  color: #1c2f6b;
  font-size: 20px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  transition: 0.5s all ease;
}
.intro-text {
  max-width: 740px;
  font-size: 20px;
  font-weight: 600;
  margin: auto;
  color: rgb(103, 103, 103);
  letter-spacing: -1px;
  line-height: 1.5em;
}
.intro-text b {
  color: rgb(21, 183, 21);
  font-weight: 600;
}
section {
  position: relative;
  z-index: 1;
}

.circle-intro {
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  height: 260px;
  background: green;
  border-radius: 50%;
  overflow: hidden;
}
.circle-intro:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: url(img/blueprint.jpg);
  opacity: 0.5;
  background-size: cover;
}
#services {
  padding: 80px 0;
}
#services h2,
#tervezes h2, #it h2, #partners h2 {
  font-size: 40px;
  text-align: left;
  color: rgb(103, 103, 103)!important;
}
#services h2 span,
#tervezes h2 span, #it h2 span, #partners h2 span {
  display: block;
  font-size: 70px;
  color: rgb(21, 183, 21);
}
#minositesek h2 span, #contact h2 span{
  display: block;
  font-size: 32px;
  color: rgb(21, 183, 21);
}
.textCenter{
  text-align: center!important;
}
.service-box {
  margin: 40px 0;
}
.service-box h3 {
  font-weight: bolder;
  margin-bottom: 20px;
  font-size: 28px;
}
.service-box p {
  color: rgb(103, 103, 103);
  font-size: 18px;
}
.service-circle, .service-circle2 {
  width: 70%;
  aspect-ratio: 1;
  position: absolute;
  bottom: -25%;
  right: -35%;
  border-radius: 50%;
  z-index: -1;
}
.it-circle {
  width: 35%;
  aspect-ratio: 1;
  position: absolute;
  top: 0%;
  left: 100px;
  border-radius: 50%;
  z-index: -1;
}
.service-circle:after, .it-circle:after, .service-circle2:after, .hidroCircle:after {
  width: calc(100%);
  height: calc(100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:#FFF0;
  border: 60px solid rgb(21, 183, 21);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  margin-right: -50%;
  z-index:1;
}
.hidroCircle{
  width: 35%;
  aspect-ratio: 1;
  left: 100px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  z-index: -1;
  position: absolute;
}
.hirdoRight{
  left: unset;
  right: 100px;

}
.service-circle img, .service-circle2 img, .hidroCircle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.it-circle img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  margin-right: -50%;
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
}
#services {
  overflow: hidden;
}
#partners{
  margin-top: 80px;
}
#partners h2{
  margin-bottom: 0;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 2em 1em;
  align-items: center;
  margin: auto;
}
.partner-logo {
  padding: 30px;
}
.partner-logo img{
  filter: grayscale(100%);
}
.ai-center {
  align-items: center;
}
.ai-end{
  align-items: end;
}

.p-right {
  padding-right: 30px;
}
.szakterulet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1em;
}
.tervezoi-szakterulet-box {
  background: rgb(245, 245, 245);
  padding: 20px;
  transition: 0.2s;
}
.tervezoi-szakterulet-box:hover {
  background: rgb(229, 229, 229);
}
.tervezoi-list li {
  list-style: none;
  font-weight: 600;
  margin: 12px 0;
}
.grey-circle-2 {
  width: 60%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 180px solid rgb(21, 183, 21);
  position: absolute;
  bottom: -40%;
  left: -30%;
  z-index: -1;
}
.programs{
  font-size: 19px;
}

.logo {
  position: absolute;
  top: -15px;
  left: 5%;
  z-index: 100;
}
.logo img {
  max-width: 200px;
}
footer {
  background: rgb(29, 29, 29);
  text-transform: uppercase;
}
footer li {
  list-style: none;
  color: white;
  margin: 10px 0;
}
.logo-font {
  font-family: "Russo One", sans-serif;
  font-size: 40px;
}
.service-list li {
  list-style: none;
  margin: 8px 0;
  font-size: 22px;
  font-weight: bold;
  color: rgb(103, 103, 103);
}
.md-6-1{
  margin-top: 200px;
}
#termekeink {
  padding: 80px 0;
  z-index: 1;
  overflow: hidden;
}
#termekeink h3 {
  color: rgb(10, 130, 22);
}
.blueprint {
  background: url(img/blueprint.jpg);
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.3;
  z-index: -1;
}
.service-list h3 {
  font-size: 32px;
  color: rgb(103, 103, 103);
  margin-bottom: 40px;
}
#it{
  padding: 120px 0;
 
}
.programs {
  list-style: none;
  font-size: 20px;
  color: rgb(103, 103, 103);
  margin: 12px 0;
}
.szektor h2 {
  text-align: left;
}
.translate {
  margin-top: -200px;
}
li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}
#timeline {
  margin: 60px auto;
  width: 100%;
  padding: 0 3%;
  cursor: grab;
}
.timeline-box {
  background: rgb(240, 240, 240);
  padding: 12px;
  border-radius: 6px;
  display: inline-block;
  white-space: normal;
  height: 140px !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transition: 0.4s;
}

.time::-webkit-scrollbar {
  display: none;
}
.swiper-slide {
  transition: 0.4s;
}
.date {
  font-size: 25px;
  font-weight: bolder;
  color: rgb(10, 130, 22);
  margin-bottom: 20px;
}
.swiper-slide-active {
  background: rgb(10, 130, 22);
  color: white;
  transition: 0.4s !important;
}
.swiper-slide-active .date {
  color: white;
}
.swiper-button-next,
.swiper-button-prev {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px !important;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 15px !important;
  color: white !important;
}
#gallery,
#referenciak {
  padding-top: 80px;
  position: relative;
}
#referenciak .grey-circle-2{
  bottom: unset;
  top: 20%;
}
.gallery-grid {
  column-count: 3;
  padding: 20px 3%;
}
.gallery-grid img {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;
}
.reference-content {
  width: min(100% - 15px, 1200px);
  margin: auto;
}
.reference-box {
  background: rgb(244, 244, 244);
  padding: 20px;
  border-radius: 12px;
  margin: 30px 0;
}
.reference-year {
  font-size: 64px;
  font-weight: bolder;
  color: rgb(10, 130, 22);
}
.iso img{
  max-width: 80%;
  height: unset;
  margin: auto;
}
.downloads li {
  font-weight: bolder;
  color: rgb(103, 103, 103);
  text-transform: uppercase;
  letter-spacing: -1px;
  font-size: 24px;
  text-transform: uppercase;
  list-style: none;
  margin: 10px 0;
  transition: 0.4s;
}
.downloads li:hover {
  transform: translateX(20px);
  color: rgb(21, 183, 21);
}
#szektorok{
  margin-top: 220px;
  position: relative;
  margin-right: auto;
}
.youtubeVideo{
  width: 100%;
  aspect-ratio: 16/9!important;
}
.object-cover img{
  object-fit: cover!important;
}
#hidrogen2, #hidrogen3, #hidrogen4, #hidrogen5, #hidrogen6, #hidrogen7{
  padding: 250px 0;
  margin-top: 60px;

}

#hidrogen3 h2, #hidrogen4 h2, #hidrogen5 h2, #hidrogen6 h2, #hidrogen7 h2, #hidrogen8 h2{
  font-size: 32px;
  text-align: left;

}
#impresszum{
  margin-top: 50px;
}
#hidroTitle{
  margin-bottom: 120px;
}
.impress li{
  list-style: none;
  margin: 12px 0;
  font-size: 18px;

}
.impress li h4{
  margin: 24px 0;
}
#contact{
  padding-top: 50px;
}
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 10000;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: rgb(21, 183, 21);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

#myBtn:hover {
  background-color: #555;
}
.select-language{
  display: inline-flex!important;
  border-radius: 28px;
  padding: 0px!important;
  align-items: center;
  overflow: hidden;
}
.select-language img{
  width: 28px;
  margin: 0;
}
.select-language a{
  padding: 3px 5px!important;
  margin: 0!important;
}
.active-language{
  background-color: #53af31;
}
@media (max-width: 1024px) {
    
     .hero-content h1{
          font-size: 24px;
        }
      
  
  
    .logo img{
    max-width: 130px;
  }
  .service-circle, .it-circle, .service-circle2{
    display: none;
  }
  #services{
    padding-top: 50px!important;
	padding-bottom:10px;  
  }
	#it{
		padding:12px;
	}
	#szektorok{
		margin-top:12px;
		margin-bottom:12px;	
	}
	#partners{
		margin-top:12px;
		margin-bottom:12px;
	}
	.textCenter span{
		margin-bottom:30px;
	}
  .md-6-1{
    margin-top:0;
  }
  .md-2,
  .md-3,
  .md-4,
  .md-6,
  .md-7,
  .md-8,
  .md-9,
  .md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .szakterulet-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .translate {
    margin-top: unset;
  }
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .partner-logo {
    padding: 5px;
  }
  .navbar {
    all: unset;
  }
 /* .menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 18rem;
    background: white;
    z-index: 100;
    padding-top: 80px;
    translate: 18rem 0;
  }
  .menu li {
    display: block;
  }*/
  
  h2,
  .service-list h3 {
    font-size: 25px !important;
  }
  h2 span {
    font-size: 32px !important;
  }

  .intro-text,
  #about h2 {
    padding: 15px;
    position: relative;
    z-index: 2;
  }
  .intro-text {
    font-size: 18px;
  }
  header h1 {
    font-size: 24px;
  }
  .logo-font {
    font-size: 32px;
  }
  .circle-intro {
    opacity: 0.3;
  }
  .service-circle {
    width: 200px;
    aspect-ratio: 1;
    position: absolute;
    bottom: unset;
    top: 10px;
    right: unset;
    left: 50%;
    margin-right: -50%;
    translate: -50% 0;
    border-radius: 50%;
    z-index: -1;
  }
  .service-circle:after {
    width: calc(100% + 80px);
    height: calc(100% + 80px);
  }
  #services {
    padding-top: 240px;
  }
}