
body {
   
    font-family     : sans-serif;
    background-image: url("Weblaphatter.png");
    background-size      : cover;
    background-attachment: fixed;
    background-color     : #272822;
    
}

.h1{
    display: inherit;
    object-position: center;
    color: black;
}

.p2 {
    flex: 1;
    margin: 0;
    line-height: 1.6;
    text-align: justify;
}

img {
    opacity: 100%;
}
.img2{
    opacity: 100%;
    max-width: 210px;
    height: auto;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}
.carousel-inner img {
    width: auto; 
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.tartalom{
    background-color: rgba(255, 255, 255, 0.8);
    max-width: 900px; 
  margin: 40px auto;  
  padding: 20px;
  box-shadow: 5px 5px 10px black;;
  overflow: hidden;  
  box-sizing: border-box;
}
.tartalom h1,h2,h3{
  margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
    display: inherit;
}
.tartalom p{
text-align:start;
  font-size: 1rem;
  line-height: 1.5;
}
.tartalom img{
display:block;
margin-left: auto;
margin-right: auto;
}

iframe{
  border-radius: 12px;
  width: 100%;
  height: 352px;
  margin-top:100px;
  display:block;
  margin-left: auto;
  margin-right: auto;
}

.iframe-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.iframe-container iframe {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  border: 1px solid black;
}

video {
    object-position: center;
    display: block;
    visibility: visible;
}


.topgomb a {
    color: black;
    text-decoration: none;
}

.navbar{
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

.navbar-brand{
    width: 200px;
    object-position: center;
}

.carousel-item{
      height: 570px;
}

table {
    border-collapse:separate;
    margin: 10px auto;
  }


  td {
    padding: 20px;
    border: 1px solid black;
  }

  .footer {
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;  
    color: black;            
    text-align: center;      
    padding: 10px 0;         
    z-index: 1030;           
  }
  .kino-video{
    display: block;
    margin: 30px auto;
    max-width: 100%;
    width: 80%;
    border: 2px solid black;
    border-radius: 12px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}
  .footer p {
    margin: 5px 0;
  }
  .infobox{
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 20px 15px;
    flex-wrap: wrap; 
}

  .tartalom2{
    background-color: rgba( 255,255,255,0.8);
    line-height     : 2;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow      : 5px 5px 10px black;
    opacity         : 100%;
    margin-left: 300px;
    margin-right: 300px;
    color: black;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5%;
    
}
#darkmode:checked ~ .tartalom2 {
  background-color: rgba(30, 30, 30, 0.95);
  color: white;
  border-color: white;
  box-shadow: 5px 5px 10px rgba(255, 255, 255, 0.2);
}

#contrastmode:checked ~ .tartalom2 {
  background-color: black;
  color: yellow;
  border-color: black;
  box-shadow: 5px 5px 0 black;
}

#largefont:checked ~ .tartalom2 {
  font-size: 1.25em;
}
label{
    padding: 0.1%;
}

.custom-navbar {
    background-color: white;
    padding: 10px 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1030;
    border-bottom: 1px solid #ccc;
  }
  
  .nav-custom-link {
    color: #222 !important;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .nav-custom-link:hover {
    color: blue !important;
  }
  
  .navbar-nav .nav-item {
    list-style: none;
  }
  
  .dropdown-menu-custom {
    margin-top: 10px !important;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
  }
  
  .navbar-nav .dropdown-menu {
    position: absolute;
  }
  
  .container-fluid {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }
  .logo-img {
    padding-left: 300%;
    height: 30px;
  }

  .locat{
    padding-top: 80px;
    text-align: center;
  }

.album-table td {
  border: 1px solid black;
}

p{
  margin: 15px;
}
aside{
  font-size: 10em;
}
.h4aside{
  font-size:1em;
}

p a:link {
  color: #0056b3;
  text-decoration: underline;
  font-weight: bold;
}

p a:visited {
  color: #6c757d; 
  text-decoration: underline;
  font-weight: normal;
}

#darkmode:checked ~ .tartalom,
#darkmode:checked ~ .container,
#darkmode:checked ~ footer,
#darkmode:checked ~ nav {
  background-color: #121212 !important;
  color: white !important;
}

#darkmode:checked ~ nav a,
#darkmode:checked ~ footer {
  color: white !important;
}


#contrastmode:checked ~ .tartalom,
#contrastmode:checked ~ .container,
#contrastmode:checked ~ footer,
#contrastmode:checked ~ nav {
  background-color: black !important;
  color: yellow !important;
}

#contrastmode:checked ~ nav a,
#contrastmode:checked ~ footer {
  color: yellow !important;
  font-weight: bold;
}


#largefont:checked ~ .tartalom,
#largefont:checked ~ .tartalom p,
#largefont:checked ~ .container,
#largefont:checked ~ .zeneszoveg,
#largefont:checked ~ .ismerteto,
#largefont:checked ~ .ismerteto p,
#largefont:checked ~ footer {
  font-size: 1.3em;
  line-height: 1.6;
}
#largefont:checked ~ .stilizalt-aside {
  width: 80%;
  font-size: 1.4rem;
  background-color: #f9f9f9;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
}
.stilizalt-aside {
  width: 40%;
  margin: 1rem auto;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.tartalomalbum{
      background-color: rgba(255, 255, 255, 0.8);
    line-height     : 2;
    border-radius   : 12px;
    border          : 2px solid black;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow      : 5px 5px 10px black;
    margin: 20px auto;
    grid-template-columns: 1fr;
    color: black;
    max-width: 1200px;
    width: 90%;
}
#darkmode:checked ~ .tartalomalbum {
  background-color: rgba(30, 30, 30, 0.95);
  color: white;
  border-color: white;
  box-shadow: 5px 5px 10px rgba(255, 255, 255, 0.2);
}
.tartalomalbum a{
  margin: 20px;
}

#contrastmode:checked ~ .tartalomalbum {
  background-color: black;
  color: yellow;
  border-color: black;
  box-shadow: 5px 5px 0 black;
}

#largefont:checked ~ .tartalomalbum {
  font-size: 1.25em;
}
.visually-hidden-focusable {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  left: auto;
  top: auto;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 1000;
}

@media (max-width: 768px) { 
  .dropdown-menu-custom {
    position: absolute !important;
    left: auto !important;
    right: 0 !important;
    transform: translateX(0) !important;
    min-width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }
  .container h1 {
    font-size: 1.5rem;
  }
  .image-row img {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .image-row img {
    flex: 1 1 100%;
  }
}
figure img{
 display: block;
 width: 80%;
 margin-left: auto;
 margin-right: auto;
}
figcaption {
  text-align: center;
}
.ismerteto p{
  margin-top: 50px;
  text-align: center;
  margin-bottom: 50px;
}
.ismerteto-kep{
  margin-top: 100px;
 
}
.print-only {
  display: none !important;
}
.container summary{
  margin-top: 30px;
    margin-bottom: 50px;
}
.container caption{
  margin-bottom: 40px;
}
.stilizalt-aside{
  width: 75%;
}
.stilizalt-aside h4{
  text-align: center;
  font-style: italic;
}
.stilizalt-aside p{
  text-align: center;
  width: 100%;
  margin-bottom: 40px;
}

@page {
  margin: 0;
}

@media print {
  iframe,
  video,
  nav,
  .navbar,
  .dropdown-menu-custom,
  .custom-navbar,
  .footer {
    display: none !important;
  }

  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
    box-shadow: none !important;
  }

  .tartalomalbum,
  .tartalom,
  .tartalom2,
  .iframe-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
    box-shadow: none !important;
  }

  .print-only {
    display: block !important;
  }
  .img{
    width: 50%;
  }

  .img2{
    width: 50%;
  }

  .img-fluid{
    width: 20%;
  }


  .collapse,
  .collapse-horizontal {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
  }

  .card-body {
    all: unset !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    font-size: 1.17em !important;
    color: black !important;
  }

  .zeneszoveg {
    display: block !important;
    color: black !important;
    font-size: 1.17em !important;
    line-height: 1.5;
  }


  body {
    background: white !important;
  }
  .btn-primary{
    display: none !important;
  }

.print-only-button-text {
    display: inline !important;
    color: black !important;
    font-size: 1.17em !important;
  }

  .topgomb{
    display: none !important;
  }

  .no-print {
    display: none !important;
  }

  * {
    box-shadow: none !important;
  }
}
.carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  margin-top: 20px;
}

.carousel img {
  flex-shrink: 0;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.image-row img {
  flex: 1 1 calc(33.33% - 20px);
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.topgomb {
  display: inline-block;
  padding: 10px 15px;
  background-color: #ccc;
  border: 1px solid #999;
  border-radius: 5px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  cursor: pointer;
}