/* === Alap elrendezések === */

.outer {
  display: flex;
  justify-content: center;
  border: 0px solid black;
}

.hero {
  display: block;
  height: 300px;
  width: 100vw;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
opacity: 0;
  animation: fadeInHero 1.5s ease-in-out forwards;
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.bodyy {
  display: block;
  width: 840px;
  align-items: center;
  margin-top: 10px;
  border: 0px solid black;
}

.bodimg {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.breadcumbs {
  margin-bottom: 20px;
}

.breadcumbs a {
  color: black;
}

.container2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.box {
  width: calc(33.33% - 20px);
  margin: 10px;
  padding: 0px;
  box-sizing: border-box;
}

.tittle h2 {
  color: white;
  font-size: 26px;
  text-align: center;
  animation: slideInLeft 3s forwards; /* ez opcionális, ha a cím is mozog */
}

/* === Floatitle animáció balról beúszva === */

.floatitle {
  position: relative;
  left: -100%;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0px solid orange;
  height: 300px;
  width: 25%;
  background-color: rgba(16, 81, 178, 0.999);
  clip-path: ellipse(100% 140% at 0% 10%);
  animation: slideInLeft 1.5s ease-out forwards;
}

@keyframes slideInLeft {
  0% {
    left: -100%;
    opacity: 0;
  }
  100% {
    left: 0;
    opacity: 0.93;
  }
}

/* === Mobil és tablet reszponzív === */

@media (max-width: 1024px) {
  .hero {
    height: 300px;
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
  }

  .bodyy {
    margin-top: 0px;
    padding: 20px;
  }

  .floatitle {
    width: 35%;
  }

  .tittle h2 {
    padding: 15px;
    margin-right: 30px;
  }
}

@media (max-width: 767px) {
  .box {
    width: calc(100% - 20px);
  }

  .bodyy {
    padding: 10px;
  }

  .floatitle {
    width: 70%;
  }

  .tittle h2 {
    margin-right: 30px;
  }

  .hero {
    height: 300px;
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
  }
}        
   
.custom-accordion {
            width: 840px;
            margin: 0 auto;
            padding-bottom: 20px;
        }
        .accordion-button {
            color: #000 !important; /* Mindig fekete betűszín */
            background-color: #f3f3f3 !important; /* Fejlécek háttérszíne */
        }
        .accordion-button:focus {
            box-shadow: none;
        }
        .accordion-button:not(.collapsed) {
            background-color: #f3f3f3 !important; /* Aktív fejlécek háttérszíne */
        }
        
        .mt-5 {margin-top: 0px!important;
        }


.button {
  background-color: red;
  color: white;
  border: none;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: darkred;
}
