
/*egesz*/
body {
  min-width: 400px;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  font-size: 0.85em;
  margin: 0;
  padding: 0;
}

.my-anchor{
  position:absolute;left:-9999px;
}

header {
  min-width: 400px;
	max-width: 1440px;
	margin-left: auto;		
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
	background-color: white;
}

figcaption {
  display: none;
}

.parallax {
  /* Set a specific height */
  height: 80vh; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  
  background-size: cover; 
  background-position: center;
  margin: 0;
  padding: 0;
}


.parallax2{
  background-image: url('../images/parallax2.jpg');
}

.parallax3{
  background-image: url('../images/parallax3.jpg');
}

/*content*/
.text_centered{
  text-align: center !important;
  margin: 40px 40px 40px 40px !important;
}

.content{
  max-width: 1440px;
  padding: 0 15px;
  margin: auto;
}


/*nagy monitor*/
@media (min-width: 1900px) {
  body{
    font-size: 1em;
  }
  .parallax{
    height: 60vh; 
  }
}

/*laptop*/
@media (max-width: 1900px) {
  .content {
    width: 80%;
  }
}

/*telefon-tablet*/
@media (max-width: 1024px) {
  .content {
      width: 95%;
  }

  .parallax{
    height: 55vh; 
  }

  .parallax3{
    background-image: url('../images/parallax3.1.jpg');
  }

  .text_centered{
    margin: 40px 10px 40px 10px !important;
  }
}

@media screen and (max-width: 600px) {
  .parallax{
    background-attachment:scroll;
  }
}


.content h1{
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: left;
  font-size: 2.5em;
  font-weight: 500;
}

.content h2{
  margin-top: 20px;
  text-align: left;
  font-size: 2.2em;
  font-weight: 500;
}

.content h3{
  margin-top: 20px;
  text-align: left;
  font-size: 2em;
  font-weight: 400;
}

.content h6{
  margin: 20px;
  text-align: center;
}

.content p{
  text-align:justify;
  line-height:1.6;
}

.edzo_kep{
  width: 50%;
  margin-bottom: 10px;
}

p.kapcs_p{
  text-align: center;
}

/*table-orarend*/
.hatter{
  background-image: url("../images/geometric_background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.table_cim{
  margin-top: 20px;
  text-align: center;
}

.table_padding{
  padding: 10px;
}

table {
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  width: 800px;
  border-collapse: collapse;
  margin-bottom: 50px;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 0px;
}

th,td{
  text-align: center;
  width: 100px;
}

thead{

  background-color: #293b87;
  color:white;
}

/*Gallery*/
.row {
  
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: 8px;
  cursor: pointer;
  transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

.column img:hover {
  transform: scale(1.02);
}

@media screen and (max-width: 767px) {
  table {
    width: 650px;
  }

  .column {
    flex: 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 480px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}

figure{
  margin: 0;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  cursor: pointer;
  transition: transform cubic-bezier(0.4, 0, 0.2, 1) 450ms;
}

.column img:hover {
  transform: scale(1.02);
}

.modal .prev, .modal .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.3s;
  user-select: none;
  text-decoration: none;
}

.modal .prev {
  left: 0;
}

.modal .next {
  right: 0;
}

.modal .prev:hover, .modal .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}



/*picture*/
.modal {
  display: none;
  position: fixed;
  z-index: 4;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: auto;
  max-width: 80vh;
  max-height: 80vh;
}

.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }to {
    transform: scale(1);
  }
}



/*X*/
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 2.85em;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px){
  .modal-content {
    width: 90%;
  }
}

.galeria{
  margin-bottom: 20px;
}

.image-counter {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  z-index: 10;
}
/*end*/



.index_photos{
  height: auto;
  width: 100%;
}

.index_divs{
  padding: 40px 0;
  align-items: center; 
  display: flex;
}



/*contact*/
.contact-container {
  max-width: 450px;
  min-width: 314px;
  width: 50%;
  margin: auto;
  padding: 10px;
}

.contact-inputs {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.my_label{
  padding-bottom: 8px;
}

.my_button{
  margin: 5%;
}

button[type="submit"], button[type="reset"] {
  width: 50%;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: #293b87;
  color: white;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
  display:inline-block;
}

button[type="submit"]:hover, button[type="reset"]:hover{
  background-color: #293b87;
  opacity: 0.8;
}

.iframe-container {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loading {
  display: none;
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #3498db;
  width: 20px;
  height: 20px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  position: absolute;
  margin-left: 5px;
  transform: translateY(-50%);
}
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}




/*footer*/
.mypage a{ 
  color: #f1f1f1;
}

.footer_kep{
  width:35px;
}

.icons{
  width:32px;
  height: auto;
  margin: 4px;
}

footer{
  min-width: 400px;
  background-color: #293b87;
  color:white;
}

.footer_div{
  padding-top: 4px;
  padding-bottom: 4px;
}

.footer_p{
  margin: 0;
  font-size: 0.9em;
  padding-top: 0px;
  padding-left: 0px;
}

.footer_center{
  max-width: 1440px;
}





/* Konténer és sor középre igazítása */
.row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.news-card-wrapper {
  width: 100%;
  max-width: 340px;
  margin: 10px;
}

/* Alapstílusok */
.news-card {
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
}

/* Fix méretű kártyák */
.card {
  width: 100%;
  height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}


.card-img-top {
  width: 100%;
  height: 240px;
  object-fit: cover;
}


/* Kártya tartalom elrendezése */
.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Szöveg formázás */
.card-title {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: left !important;
}

.card-text {
  font-size: 0.9rem;
  color: #666;
}


.flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}


.flex-container img {
  padding: 20px;
  max-width: 120px;
  height: auto;
}

.parallax2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.plakat {
  max-height: 70vh;
  max-width: 100%;
  margin-top: 40px;
  border: 2px solid #293a873e;
}

.edzes-button {
  display: inline-block;
  width: 300px;
  padding: 5px 20px;
  background-color: #293b87;
  color: white;
  border-radius: 40px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 10px;
}

.edzes-button:hover {
  background-color: #293b87;
  opacity: 0.8;
}

.plakat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}

.orarend-link{
  font-size: 1.2em;
  font-weight: bolder;
  color: #293b87;
}

.orarend-link-feher{
  font-size: 1.2em;
  font-weight: bolder;
  color: #f3f3f3;
}



.gyik-container {
  margin-bottom: 40px;
}

.gyik-item {
  background-color: #293a8705;
  border-radius: 8px;
  max-width: 800px;
  margin: 10px auto;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

ul {
  margin: 0;
  padding-left: 1.5em;
  list-style-position: outside;
  margin-bottom: 10px;
}

.question {
  font-size: 1.4em;
  font-weight: 500;
  color: #272728;
}

.answer {
  font-style: italic;
  font-size: 1.1em;
  color: #333;
  border-left: 2px solid #293b87;
  padding-left: 20px;
  margin-left: 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Linkek */
.gyik-container a {
  color: #293b87;
  text-decoration: none;
  font-weight: bold;
}

.gyik-container a:hover {
  text-decoration: underline;
}

/* Reszponzív dizájn */
@media (max-width: 768px) {
  .gyik-container {
    padding: 15px;
  }

  .gyik-item {
    margin-bottom: 10px;
  }
}

.question-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 1.8em;
  font-weight: bolder;
  color: #293b87;
  margin-right: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.toggle-btn[aria-expanded="true"] {
  transform: rotate(45deg); /* Plusz jelből mínusz */
}





.kek{
  position: relative;
  height: 100%;
  width: 100%;
  z-index: 1;
}



.kek-container{
  margin-top: 60px;
  margin-bottom: 40px;
  position: relative;
  height: 600px;
}

.pdf{
  position: absolute;
  top: 0;
  left: 12%;
  height: 100%;
  width: 400px;
  z-index: 2;
}

.esemeny{
  position: absolute;
  top: 40%;
  right: 20%;
  z-index: 3;
}

.esemeny_mobile{
  display: none;
}

.ciip{
  font-size: 2em;
}

.ciip a{
  font-size: 1em;
}

.pdf-image, .pdf-link {
  display: none;
}

/*nagy monitor*/
@media (min-width: 1900px) {
  .pdf{
    left: 22%;
  }
}

@media (max-width: 1024px) {

  .kek-container {
    height: 400px;
    margin-top: 10px;
  }

  .kek {
    position: absolute;
  }

  .pdf {
    display: none;
    margin: 0 auto !important;
  }

  .esemeny{
    display: none;
  }
  .esemeny_mobile{
    display: block;
  }

  .pdf-image {
    position: relative;
    margin: 0 auto !important;
    display: block;
    border: 2px solid #cccccc;
    height: 100%;
    z-index: 2;
  }

  .pdf-link {
    display: block;
    font-size: 16px;
    margin: 40px auto 0 auto;
    color: #293b87;
    text-decoration: underline;
    text-align: center;
    width: fit-content;
  }
}

.mellette{
  margin-top: 20px;
  margin-bottom: 20px;
}

.logok{
  max-height: 160px;
}

.link{
  font-size: 16px;
  color: #293b87;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
}

.link:hover{
  text-decoration: underline;
}

.kekk{
  background-color: #293b87;
  color:#f1f1f1
}

.kekecske{
  background-color: #eef2ff;
}


/* Alapértelmezett scrollbar elrejtése (opcionális, ha teljesen egyedi megoldást szeretnél) */
body {
  scrollbar-width: thin;          /* Firefox */
  scrollbar-color: #293b87 #f7f9ff;    /* Firefox */
}

/* WebKit böngészők számára */
::-webkit-scrollbar {
  width: 12px;  /* Állítsd be a scrollbar szélességét */
}

::-webkit-scrollbar-track {
  background: #f7f9ff; /* A track (háttér) színe */
  border-radius: 10px; /* Lekerekített sarkok */
}

::-webkit-scrollbar-thumb {
  background-color: #293b87;    /* A görgetősáv "fogó" színe */
  border-radius: 10px;       /* Lekerekített sarkok */
  border: 2px solid #f7f9ff; /* Opcionális, ad egy kis padding hatást */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #293b87;    /* Hover állapot */
}
