/* RESET CSS – Meyer reset v2.0 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');


body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ALAPSTÍLUSOK */
@charset "utf-8";

html {
  background: linear-gradient(145deg, #f5f5f5, #e8e8e8);
  background-attachment: fixed;
  background-size: cover;
  font-size: 16px;
}

@media(min-width:480px) {
	html {
		font-size: calc(1em + .5vw);
	}
}

body {
	max-width: 70vw;
	margin-left: auto;
	margin-right: auto;
	font-family: 'Inter', sans-serif;
	color: black;
}

/* CÍMSOROK */
h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  color: #7B3FB8;
  text-align: center;
  white-space: normal;       /* normális sor, de nem tördel szót */
  overflow-wrap: normal;     /* ne vágjon szavakat */
  word-break: keep-all;      /* szavak egyben maradnak */
  margin: 1.5rem auto;
  line-height: 1.2;
}

/* Automatikusan méretezett, nem túl nagy */
h1 { font-size: clamp(1.5rem, 5vw, 3rem); }
h2 { font-size: clamp(1.2rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1rem, 3vw, 1.8rem); }

/* Kisebb margó mobilon */
@media (max-width: 480px) {
  h1, h2, h3 {
    margin: 1rem 0.5rem;
  }
}


/* BEKEZDÉS */
p {
	font-size: 1rem;
	margin: 1rem;
	line-height: 1.5rem;
}

/* TARTALMI DOBOZ */
#container, .container {
	padding: 2rem;
	background-image: url("../img/szines_hatter.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 15px;
	margin-bottom: 2rem;
}


/* LINK STÍLUSOK */
a {
	text-decoration: none;
	color: black;
	margin: 2rem;
}

a:hover {
	color: #fff;
	text-shadow: 0 0 20px rgb(255,224,27),
				 0 0 20px rgb(255,224,27),
				 0 0 20px rgb(255,224,27);
}

.a {
	color: black;
	font-weight: 800;
	padding-bottom: 2rem;
	margin-bottom: 2rem;
}

/* GOMBOK */
.btn {
	float: left;
}

.avissza {
	margin: 2rem 0rem 2rem 2rem;
	padding: 20px;
}

/* IFRAME */
iframe {
	width: 100%;
	height: 10rem;
}

/* KÉPGALÉRIA - FLEX GRID */
.kepek, .image-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	margin-top: 0rem;
	padding: 1rem 0;
}

.kepek a img, .image-grid a img {
	width: 280px;
	height: auto;
	border-radius: 10px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* === Képkártyák stílusa és hover hatás === */

.kepek a img:hover, .image-grid a img:hover {
	transform: translateY(-6px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* KÉP HOVER EFFEKT ALAPÉRTELMEZETT */
img:hover {
	opacity: 0.9;
	transform: scale(1.02);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* VISSZAGOMB – MODERN ÉS RESZPONZÍV */
.vissza-gomb, .visszagomb {
	display: inline-block;
	background-color: #4b0082;
	color: white;
	padding: 12px 24px;
	border-radius: 25px;
	text-align: center;
	font-weight: bold;
	margin: 2rem auto;
	transition: background-color 0.3s ease, transform 0.2s ease;
	cursor: pointer;
	width: fit-content;
	display: block;
}

.vissza-gomb:hover, .visszagomb:hover {
	background-color: #6a0dad;
	transform: scale(1.05);
}



