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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    position: relative;
    font-family: 'Oswald', sans-serif;
}
ol, ul, li {
	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;
}

a {
    color: white;
    text-decoration: none;
}


/* END OF CSS RESTE ---------------------------
-----------------------------------------------
----------------------------------------------- */

:root {
    --narancs : rgb(253, 98, 98);
    --kek: rgb(136,156,231);
    --szurke : #555;
    --vilagosszurke: #999;
    --fekete: #1b2b4b;
    --textszurke: #66717f;
    --backgroundszurke: #f7f7f7;
    --vilagosfekete:#232323;
}

.narancs {
    color: var(--narancs);
}

.circle {
    height: 24px;
    width: 24px;
    border-radius: 24px;
    background-color: black;
    position: fixed; 
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999999; /* so that it stays on top of all other elements */
  }

  .block {
    display: none;
  }

  @media (max-width:970px) {
    .circle {
        display: none;
    }
  }


  /* START OF blog  ---------------------------
-----------------------------------------------
----------------------------------------------- */
.hero {
    position: relative;
    text-align: center;
    color: white;
    height: 100px;
}
.hero img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--narancs);
    padding: 20px;
    border-radius: 10px;
}
.intro {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}
.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.blog-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 450px;
}
.blog-card .image-container {
    position: relative;
    height: 240px; /* csökkentve 20px-el */
    overflow: hidden;
}
.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card .image-title {
    position: absolute;
    bottom: 0;
    background-color: rgba(240,240,240,0.9);
    width: 100%;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    color: #333;
}
.blog-card .main-title {
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    flex: 0 0 auto;
}
.blog-card .description {
    padding: 0 15px;
    flex: 1 1 auto;
    overflow: auto;
}
.blog-card .read-more {
    text-align: center;
    margin: 15px;
}
.blog-card a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2C3E50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}
.blog-card a:hover {
    background-color: #1A252F;
}
@media (max-width: 900px) {
    .blog-container {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
}
