/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #5f8b4c;
  color: black;
  font-family: Courier;
  margin: 0px;
}
footer {
  /*height: 80px;*/
  padding: 20px;
  background-image: linear-gradient(#5f8b4c, #19282f);
  color: white;
  position: relative;
  left: 0;
  bottom: 0;
}
.btm {
  text-shadow: 0 0 5px red;
  text-decoration: underline;
  width: 15rem;
}
.titles {
  text-align: center;
  letter-spacing: 5px;
  font-weight: bold;
  text-shadow: 1px 1px 3px white, -1px -1px 3px white;
}
.content {
  background-color: #3B3B1A;
  color: white;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 120px;
  width: 90%;
  padding-top: 30px;
  padding-bottom: 20px;
  /*keret*/
  border-style: outset;
  border-width: 5px;
  border-color: #b33030;
  
}
.navbar {
  border-right-style: solid;
  width: 15%;
  text-align: center;
  vertical-align: top;
}
.nav-osztaly {
  text-decoration: underline double;
  
}
a:link {
  color: #e6e6e6;
  text-decoration: none;
}
a:visited {
  color: white;
  text-decoration-line: underline;
  text-decoration-style: dotted;
}
a:hover {
  color: hotpink;
  text-decoration-line: underline;
  text-decoration-style: dotted;
}
a:active {
  color: blue;
  text-decoration-line: underline;
  text-decoration-style: dotted;
}


.gallery {
  padding-left: 2%;
  padding-right: 2%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  /*max-width: 1000px;*/
  margin: 2rem auto;
}
.gallery a {
  display: block;
  border: 2px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  transition: 0.2s;
}
.gallery a:hover {
  transform: scale(1.08);
  border-color: #999;
}
.gallery img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.caption {
  padding: 0.5rem;
  font-size: 0.9rem;
  color: #b0b0a4;
}

.blog {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  background: white;
}
.post {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 2rem;
}
.post img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.vidGallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.video-container {
  flex: 1 1 350px; /* minimum 300px széles, de rugalmas */
  max-width: 60%;
  background: black;
  padding: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  margin-left: 1rem;
  margin-right: 1rem;
  margin-top: 1rem;
}

.video-container iframe {
  width: 100%;
  height: 315px;
  border: none;
  border-radius: 4px;
}
.vid-caption {
  
}