@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:wght@100&display=swap');



body, html {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

.navbar {
    display: flex;
    justify-content: start;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 20px;
    z-index: 1000;
}

.back-button {
    margin-right: 20px;
    text-decoration: none;
    font-size: 20px;
    color: #333;
}

.page-title {
    text-align: center;
    flex-grow: 1;
}

.hero-image {
    width: 100%;
    height: 400px;
    background-image: url('../img/togazdasag.png');
    background-size: cover;
    background-position: 50% 35%;
}
.hero-image0 {
    width: 100%;
    height: 400px;
    background-image: url('../img/mahop.jpg');
    background-size: cover;
    background-position: 50% 95%;
}
.hero-image1 {
    width: 100%;
    height: 400px;
    background-image: url('../img/kisfilmek.jpg');
    background-size: cover;
    background-position: 50% 66%;
}

.hero-image2 {
    width: 100%;
    height: 400px;
    background-image: url('../img/intenzivgazdasag.png');
    background-size: cover;
    background-position: 50% 62%;
}

.hero-image3 {
    width: 100%;
    height: 400px;
    background-image: url('../img/halfeldolgozas.png');
    background-size: cover;
    background-position: 50% 55%;
}

.hero-image4 {
    width: 100%;
    height: 400px;
    background-image: url('../img/termeszetesvizi.jpg');
    background-size: cover;
    background-position: 50% 46%;
}

.hero-image5 {
    width: 100%;
    height: 400px;
    background-image: url('../img/kutatas.png');
    background-size: cover;
    background-position: 50% 40%;
}

.hero-image6 {
    width: 100%;
    height: 400px;
    background-image: url('../img/adatgyujtes.png');
    background-size: cover;
    background-position: 50% 50%;
}

.content {
    padding-top: 2rem;
    padding-left: 25rem;
    padding-right: 25rem;
    text-align: justify;
}

.title{
    padding-top: 35px;
    text-align: center;
   }
   
   .text{
     text-align: center;
     font-size: 16px;
   }
   .text2{
     text-align: center;
     font-size: 14px;
   }
iframe{
    position:relative;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    border-radius: 25px;
  }
.navigation-arrows {
    display: flex;
    justify-content: space-around; 
    align-items: flex-start; 
    margin: 40px auto;
    width: 100%;
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    text-decoration: none;
    min-height: 140px; 
}

.arrow svg {
    width: 57px; 
    height: auto; 
}

.arrow-title {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    text-align: center;
    max-width: 114px; 
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px; 
    margin: 50px auto;
}

video {
    width: 555px;
    height: 315px;
    border-radius: 25px;
}

.con_link{
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: black;
}

.con_link:hover{
    color: rgba(0, 155, 142, 0.7);
    transition: 0.5s ease;
}


@media screen and (max-width: 768px) {

  .video-container{
    width: 100%;
  }
  video {
    width: 100%;
    height: auto;
}}


@media (max-width: 1440px) {
    .hero-image {
        height: 200px;
    }

    .content {
        padding: 2rem 15rem;
    }
}


@media (max-width: 1024px) {
    .hero-image {
        height: 200px;
    }

    .content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-image {
        height: 200px;
    }

    .content {
        padding: 2rem;
    }
}


@media (max-width: 600px) {
    .hero-image {
        height: 200px;
    }

    .content {
        padding: 15px;
    }
    iframe{
        padding: 0;
        position: relative;
        left: 50%;
        transform: translate(-50%);
        width: 95%;
      }
}


