/*HTML honlapom stíluslapja*/
.header {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url('{{asset-url:img/header.jpg}}');
    background-size: cover;
    background-position: center;
    color: #008251;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Finom, világos overlay a jobb olvashatóságért */
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255,255,255,0.35);
    z-index: 1;
}

/* Szövegblokk – jól olvasható, középen */
.header-content {
    position: relative;
    z-index: 2;
    background-color: rgba(255,255,255,0.4);
    padding: 30px 40px;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Főcím és alcím */
.header-content h1 {
    font-size: 3vw;
    font-weight: bold;
    color: #008251;
    margin: 0 0 10px;
}

.header-content h2 {
    font-size: 1.8vw;
    font-weight: normal;
    color: #008251;
    margin: 0 0 20px;
}

/* CTA gomb */
.header-content a.btn {
    display: inline-block;
    background-color: #008251;
    color: white;
    padding: 15px 35px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.header-content a.btn:hover {
    background-color: #00663d;
}

/* Kiegészítő infósáv */
.header-content p.info {
    font-size: 14px;
    color: #00663d;
    margin-top: 10px;
}

.outer-container {
    width: 100vw;
    min-height: 100vh;
	background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/.header {
    width: 100vw; /* 100% a viewport szélessége */
    height: 100vh; /* 100% a viewport magassága */
    overflow: hidden;
    background-size: cover;
    background-position: center;
	color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Arial, sans-serif;
} 

.inner-container {
	display: flex;
    flex-direction: row; /* Elemek egymás mellé rendezése */
    width: 800px;
	justify-content: center;
	padding: 20px;
    margin-top: 0px;
    box-sizing: border-box;
    color: #333;
    align-self: center; /* Ez garantálja, hogy középre igazítódik az outer-containeren belül */
	gap: 10px; /* Megadja a távolságot az elemek között */
	align-items: flex-start; /* Beállítja, hogy az elemek felső szélét igazítsa */
}

.inner-container.ajanlas {
	display: flex;
    justify-content: center; /* Középre igazítja az elemeket */
	
}

	
.margo {
    margin: 20px;  /* 10px margó minden oldalon */
	padding: 20px;
}	

.inner-containerr {
	display: flex;
    flex-direction: row; /* Elemek egymás alá rendezése */
	border-radius: 0;
    width: 800px;
	justify-content: center;
	padding: 20px;
    margin-top: 0px;
    box-sizing: border-box;
    background-color: #f4f4f9;
    color: #333;
    align-self: center; /* Ez garantálja, hogy középre igazítódik az outer-containeren belül */
	gap: 10px; /* Megadja a távolságot az elemek között */
	align-items: flex-start; /* Beállítja, hogy az elemek felső szélét igazítsa */
}

blockquote {
    font-style: italic;
}

.highlight {
  color: #008251;
  font-weight: bold;
}
.btn {
  display: inline-block;
  background-color: #008251;
  color: white;
  padding: 15px 30px;
  font-size: 18px;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 20px 0;
  text-decoration: none;
}
.btn:hover {
  background-color: #00663d;
}
.warning {
  background-color: #fff3cd;
  border-left: 5px solid #ffa500;
  padding: 15px;
  margin: 20px 0;
}

.bg-gray {
    background-color: #edefeb; /* Világoskék */
}

.bg-white{
    background-color: #ffff; /* Világoskék */
}

.bg-pink {
    background-color: #f1e4e8; /* rózsaszín */
}

.bg-green {
    background-color: #c9e9e5; /* rózsaszín */
}

.bg-rose {
    background-color: #fbe4e8; /* halvány rózsaszín */
}

.bg-peach {
    background-color: #fde8d7; /* barack */
}

.bg-lilac {
    background-color: #e9e4f0; /* világoslila */
}

.bg-skyblue {
    background-color: #d7eff9; /* égkék */
}

.bg-mint {
    background-color: #dff5e5; /* mentazöld */
}

.bg-cream {
    background-color: #fff9e6; /* krém */
}

.bg-lavender {
    background-color: #f0ebf9; /* levendula */
}

.bg-sand {
    background-color: #f5f3e7; /* homok */
}	

/* Alapvető test formázás a háttér és szöveg színeinek beállítására */
body {
    font-family: Arial, sans-serif;
	text-align: justify;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    margin: 0 auto; /* Középre igazítja a body-t a szélesebb képernyőkön */
	box-sizing: border-box; /* A padding és border is beleszámít a szélességbe */
}

div.image-width {
    width: 35%;
	flex-shrink: 0;
	border-radius: 0;
}

div.text-width {
    width: 65%;
	border-radius: 0;
}

div.wide {
	width: 100%;
	border-radius: 0;
}	

/* A címsorok formázása */
h1, h2, h3, h4 {
    text-align: center;
    color: #2a2a72;
}

/* A fő tartalmi szöveg formázása */
p {
    margin: 20px 0;
}

/* Az 'mbr-text' osztályú elemek formázása */
.mbr-text {
    font-size: 16px;
    color: #555;
}

/* Képek formázása */
img {
    border-radius: 0;
    width: 100%; /* Alapértelmezett teljes szélesség, de nem nagyobb, mint az eredeti méret */
    height: auto; /* Automatikus magasság az arányok megőrzése érdekében */
}

/* Kisebb képek formázása */
img.ikon {
    width: 100px;
    height: 100px;
    float: left;
    margin-right: 10px;
}

/* Nagyobb képek formázása */
img.prtr {
    width: 150px;
    height: 150px;
    float: left;
    margin-right: 10px;
    padding-right: 10px;
}

img.konyvikon {
    width: 90px;
    height: 150px;
    float: left;
    margin-right: 10px;
    padding-right: 10px;
}

/* Linkek formázása */
a {
    color: #00aaff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.form-container {
            max-width: 600px;
            margin: auto;
            background-color: #f4f4f4; /* Háttérszín hozzáadása a láthatóság érdekében */
            padding: 20px;
}
.form-container iframe {
            width: 100%; /* Az iframe szélességét a tartályelemhez igazítja */
}

/* Médialekérdezések a különböző képernyőméretekhez */
@media (max-width: 768px) {
		.header {
		width: 100vw; /* 100% a viewport szélessége */
		height: 100vh; /* 100% a viewport magassága */
		background-size: cover;
		background-position: center;
		color: white;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		font-family: Arial, sans-serif;
	}
        .header-content {
        padding: 20px;
        max-width: 90vw;
  }

         .header-content h1,
       .header h1 {
        font-size: 8vw; /* arányos, nem fix */
 }

  .header-content h2,
  .header h2 {
    font-size: 5vw; /* arányos, nem fix */
  }
	
	.inner-container {
		display: flex;
		flex-direction: column;
		width: 100vw;
		padding: 20px;
		margin-top: 0px;
		box-sizing: border-box;
		color: #333;
		align-items: center; /*Középre igazítja az elemeket */
		align-self: center; /* Ez garantálja, hogy középre igazítódik az outer-containeren belül */
    }

	.inner-containerr {
		display: flex;
		flex-direction: column-reverse;
		width: 100vw;
		padding: 20px;
		margin-top: 0px;
		box-sizing: border-box;
		color: #333;
		align-self: center; /* Ez garantálja, hogy középre igazítódik az outer-containeren belül */
    }

	

	
	.inner-container.wide iframe {
        width: 800px; /* vagy bármilyen fix szélesség, amit szeretnél */
        height: 800px; /* vagy a kívánt magasság */
    }
	
	.form-container {
            max-width: 400px;
            margin: 0 auto;
            background-color: #f4f4f4; /* Háttérszín hozzáadása a láthatóság érdekében */
            padding: 20px;
	}
	.form-container iframe {
				width: 100%; /* Az iframe szélességét a tartályelemhez igazítja */
	}
		
	div.image-width {
		width: 100%;
	}

	div.text-width {
    width: 100%;
	}
	
    h1 {
        font-size: 28px; /* Kisebb betűméret a kisebb képernyőkön */
    }
	
	h2 {
        font-size: 24px; /* Kisebb betűméret a kisebb képernyőkön */
    }
	
	h3 {
        font-size: 20px; /* Kisebb betűméret a kisebb képernyőkön */
    }
	
	h4 {
        font-size: 16px; /* Kisebb betűméret a kisebb képernyőkön */
    }

    .mbr-text {
        font-size: 14px; /* Kisebb betűméret */
    }

    img + p {
        padding-left: 10px; /* Kisebb padding a szűkebb képernyőkhöz */
    }

    img.ikon {
        width: 80px;
        height: auto; /* Arányos magasság az új szélességhez */
    }
	img.konyv {
		width: 150px;
		height: 213px;
		float: right;
		margin-left: 10px;
		/* Képek ne lebegjenek kisebb képernyőkön */
	
   }
}
