/* General Reset */
body, h1, h2, h3, p, ul, li, figcaption {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and General Layout */
body {
    font-family: 'Lora', serif;
    color: #333;
    background-color: #f7f7f7;
    line-height: 1.8;
    padding: 20px 280px; /* Nagyobb margók széles képernyőn */
}

/* Header */
header {
    background: #2b5d34;
    color: white;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

header h1 {
    font-size: 2.8rem;
    margin: 10px 0;
}

header .tagline {
    font-size: 1.2rem;
    color: #d9ead3;
    text-align: center;
}

/* Navigation Menu */
nav {
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Automatikus sortörés kisebb képernyőkön */
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #4e8a55;
}

/* Main Content */
main {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.author-photo {
    float: left; /* Kép bal oldalra igazítása */
    margin-right: 20px; /* Jobb oldali térköz a szöveg és a kép között */
    margin-bottom: 10px; /* Alsó térköz */
    width: 150px; /* Kép szélessége (módosítható) */
    height: auto; /* Megőrzi az eredeti arányokat */
    border-radius: 8px; /* Lekerekített sarkok (opcionális) */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Enyhe árnyék a kiemeléshez */
}

.author-photo-in-article {
    float: left; /* Kép bal oldalra igazítása */
    margin-right: 20px; /* Jobb oldali térköz a szöveg és a kép között */
    margin-bottom: 10px; /* Alsó térköz */
    width: 100px; /* Kép szélessége (módosítható) */
    height: auto; /* Megőrzi az eredeti arányokat */
    border-radius: 8px; /* Lekerekített sarkok (opcionális) */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Enyhe árnyék a kiemeléshez */
}

.flag-container {
    position: absolute;
    top: 25px; /* Felső margó */
    right: 10px; /* Jobb margó */
    display: flex;
    gap: 8px; /* Távolság a zászlók között */
  }

.flag-container img {
    width: 33px; /* Egységes szélesség */
    height: 22px; /* Egységes magasság */
    object-fit: cover; /* Kitölti az adott méretet, levágás nélkül */
    border-radius: 4px; /* Enyhe lekerekítés (opcionális) */
    cursor: pointer; /* Mutatóvá változtatja az egeret */
    border: 1px solid #ccc; /* Finom keret a szebbé tételhez */
  }
  
    /* HowTo Útmutató Blokk - Ikonokkal és animációval */
.howto-box {
    background-color: #e6f4ea;
    border-left: 5px solid #2b5d34;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(43, 93, 52, 0.1);
    animation: fadeInUp 0.8s ease;
}

.howto-box h2 {
    color: #2b5d34;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.howto-box p {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 15px;
}

.howto-box ol {
    list-style: none;
    counter-reset: howto-counter;
    padding-left: 10px;
    margin: 0;
}

.howto-box ol li {
    counter-increment: howto-counter;
    position: relative;
    margin-bottom: 16px;
    padding-left: 38px;
    font-size: 1.3rem;
    color: #333;
    line-height: 1.6;
}

.howto-box ol li::before {
    content: counter(howto-counter) "🌱";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 1.2rem;
    color: #2b5d34;
    background-color: #d1e7cb;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Linkek a howto blokkban */
.howto-box a {
    color: #c16f9a;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: bold;
}

.howto-box a:hover {
    color: #0b2f3e;
    text-decoration: none;
}

/* Animáció */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Középre igazítás */
.button-container {
  text-align: center;
  margin: 20px 0; /* Opcionális: kis térköz a gomb körül */
}

.download-button {
  display: inline-block;
  background-color: #2b5d34; /* OldalzÃ¶ld */
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(43, 93, 52, 0.2);
}

.download-button:hover {
  background-color: #4e8a55;
  transform: translateY(-2px);
}

/* Featured Articles */
.featured-articles h2 {
    font-size: 2.2rem;
    color: #2b5d34;
    margin-bottom: 20px;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Rácsos elrendezés */
    gap: 20px;
}

.featured-articles article {
    background: #f7f7f7;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.featured-articles article img {
    width: 100%;
    height: 200px;
	object-fit: cover;
}

.featured-articles article h3 {
    font-size: 1.5rem;
    color: #2b5d34;
    margin: 15px;
}

.featured-articles article p {
    font-size: 1.2rem;
    margin: 15px;
    color: #555;
}

.featured-articles .read-more {
    display: inline-block;
    margin: 15px;
    color: #2b5d34;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-articles .read-more:hover {
    color: #4e8a55;
}

.featured-articles .main-link {
    text-decoration: none;
}

.featured-articles .main-link:hover {
    text-decoration: none;
}

/* Table of Contents */
.toc {
    margin: 20px 0;
    text-align: left;
}

.toc h2 {
    font-size: 1.6rem;
    color: #2b5d34;
    margin-bottom: 10px;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc li {
    margin: 10px 0;
    font-size: 1.2rem;
    text-align: left;
}

.toc li a {
    text-decoration: none;
    color: #2b5d34;
    transition: color 0.3s ease;
}

.toc li a:hover {
    color: #4e8a55;
}

/* Special List Design */
.special-list ul {
    list-style: none;
    padding-left: 20px;
}

.special-list li {
    margin-bottom: 15px;
    font-size: 1.6rem;
    padding-left: 30px; /* Space for icon */
}

.special-list li::before {
    content: '🌿'; /* Adding a leaf icon */
   
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #2b5d34;
}

.special-list li a {
   
    color: #c16f9a;
    transition: color 0.3s ease, text-shadow 0.3s ease;
	font-weight: bold;
}

.special-list li a:hover {
    color: #0b2f3e;
	font-weight: bold;
}


/* Section Titles */
h2 {
    font-size: 2.2rem;
    color: #2b5d34;
    margin: 20px 0 10px;
    text-align: left;
}

h3 {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50; /* Sötétkék szín, ami illik az oldal természetes tónusához */
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #88c999; /* Természetközeli zöld vonal alatta */
    text-transform: uppercase; /* Nagybetűk kiemeléshez */
}

/* Paragraphs */
p {
    margin: 10px 0;
    font-size: 1.4rem;
    color: #555;
    max-width: 100%;
    text-align: left;
}

/* Address */
address {
    margin: 10px 0;
    font-size: 1.4rem;
    color: #555;
    max-width: 100%;
    text-align: left;
}

/* Lists */
ul {
    margin: 10px 0 20px;
    padding-left: 20px;
    text-align: left;
}

li {
    margin-bottom: 8px;
    font-size: 1.4rem;
    text-align: left;
}

/* Special List for Seasonal Links */
.seasonal-list ul {
    list-style: none;
    padding-left: 20px;
}

.seasonal-list li {
    margin-bottom: 15px;
    font-size: 1.2rem;
    position: relative;
    padding-left: 30px;
}

.seasonal-list li::before {
    content: '🌿';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #2b5d34;
}

.seasonal-list li a {
    text-decoration: underline;
    color: #2b5d34;
    background-color: #e6f4ea;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, text-decoration 0.3s ease;
}

.seasonal-list li a:hover {
    background-color: #4e8a55;
    color: white;
    text-decoration: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 5px;
}

/* Videos */
.beagyazott_video {
  position: relative;
  border: 1px solid #CCCCCC;
  height: 0;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 20px;
  overflow: hidden;
  padding-bottom: 56.25%;
  padding-top: 30px;
  }
  
.beagyazott_video iframe, .beagyazott_video object, .beagyazott_video embed {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  }

/* Figcaption */
figcaption {
    font-size: 1rem;
    text-align: center;
    color: #666;
    margin-top: 5px;
}

/* Footer */
footer p{
    background: #88c999;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    font-size: 1.2rem;
}

footer a{
	text-decoration: none;
	color: #34495e;
}


/* Responsive Design */
@media (max-width: 1024px) {
    body {
        padding: 10px;
    }

    nav ul {
    
        gap: 10px;
    }

    nav ul li a {
    
        padding: 10px;
    }

    .articles-grid {
        grid-template-columns: 1fr; /* Egymás alatti cikkek kisebb képernyőn */
    }

    header h1 {
        font-size: 2rem;
    }

    header .tagline {
        font-size: 1rem;
    }
	
	.subtitle {
		padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    p, li {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
	
	 h3 {
        font-size: 18px; /* Kisebb képernyőn kicsit csökkentett méret */
        padding-bottom: 4px;
        border-bottom: 1px solid #88c999;
    }
}

/* Reset and Base Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    padding: 0;
}

/* Header and Navigation */
header {
    background-color: #88c999; /* Nature-inspired green */
    padding: 0px 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.simple-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.subtitle {
    font-size: 14px;
    color: #34495e;
    margin: 0 0 10px 0;
    font-style: italic;
}

.logo {
    font-size: 18px;
    font-weight: bold;
    color: #34495e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 10px 20px;
}

.menu-links li {
    font-size: 14px;
}

.menu-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px;
}

.menu-links a:hover {
    color: #d1e7cb; /* Softer green on hover */
}

/* Article Title */
.article-title {
    margin-top: 15px;
    padding: 10px 0;
    color: #034630;
    font-size: 20px;
    font-weight: bold;
    border-top: 2px solid #d1e7cb;
    border-bottom: 2px solid #d1e7cb;
	margin-right: 40px;
}

.article-title h1 {
    margin: 0;
    
    line-height: 1.4;
}
.article-title h2 {
    margin: 0;
    line-height: 1;
}
.subtitle2 {
    font-size: 20px;
    color: #34495e;
    font-style: italic;
    margin-top: 10px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .simple-menu {
        flex-direction: column;
        align-items: flex-start;
    }
	
	 .subtitle {
        font-size: 12px;
    }

    .menu-links {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
		padding: 10px 20px;
    }

    .menu-links a {
        font-size: 16px;
        padding: 4px;
    }

    .logo {
        font-size: 18px;
    }
	
	.article-title {
	margin-right: 0px;
	
	 .article-title h1 {
        font-size: 20px;
    }
	
	.subtitle2 {
    font-size: 16px;
    color: #34495e;
    font-style: italic;
    margin-top: 10px;
    text-align: center;
}
}
