header {
  position: relative;
  background-color: black;
  height: 100vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

/* This will use a fallback image instead of a video for devices that commonly do not support the HTML5 video element*/ 

/*@media (pointer: coarse) and (hover: none) {*/
@media only screen and (max-width: 767px) {

  header {
    background: url('../images/fallback-bg.jpg') black no-repeat center center scroll;
    background-size: auto 100%;
  }

  header video {
    display: none;
  }
}


@font-face {
  font-family: dancing;
  src: url('../fonts/DancingScript-Regular.ttf');
}

.navbar-brand {
  font-family: dancing;
  font-size:2em;
}

.active {
  color:red!important;
}

@media only screen and (min-width: 992px) {
  .home { 
    height:100%;
    object-fit: cover;
  }
}

.logo {
  height:150px;
  margin:10px 0!important;
}

.social{
  font-size:1.5em;
  padding: 0 5px;
}

footer a, a:hover{
  color:red;
}

.text a{
  color:red;
}

.t1 {
  width:10%;
}

.t2 {
  width:45%;
}

.t3 {
  width:45%;
}

h2 {
  color: red;
}

h3 {
  font-size: 1.2rem;
  color: gray;
  font-weight:bold;
}

.card {
  height:100%;
}

@media only screen and (min-width: 768px) {
  .bio {
    height:100vh;
  }
}

/* Age Verification CSS */

#age-verify{position: fixed;z-index: 9998;top: 0;right: 0;left: 0;bottom: 0;width: 100%;height: 100%;background-color: #000;color:#fff;font-family:inherit;padding:20px;visibility:hidden}
#age-verify button{border:0;padding:10px;margin-top:15px;width:100%;}
@media only screen and (max-width:600px){#age-verify{max-width:100%;bottom:0;left:0;border-radius:0}}

/* Cookie Bar CSS */

.cookie-bar{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background: #111;
  color: #fff;
  box-shadow: 0 -10px 30px rgba(0,0,0,.25);
  margin-bottom: 0;
}

.cookie-inner{
  padding: 16px;  /* rovnaký padding hore/dole */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-text{ line-height: 1.35; }

.cookie-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

/* default (mobile/tablet): tlačidlá sa správajú flexibilne */
.cookie-btn{ flex: 1 1 0; }

/* Desktop: 3 tlačidlá vždy vedľa seba */
@media (min-width: 768px){
  .cookie-inner{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
  }
  .cookie-actions{
    width: auto;
    flex-wrap: nowrap;
  }
  .cookie-btn{ flex: 0 0 auto; }
}

/* Mobile layout do 468px:
   1. riadok: Viac informácií = 100%
   2. riadok: Odmietnuť + Súhlasím = 50/50
*/
@media (max-width: 468px){
  .cookie-actions{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  #cookieMoreLink.cookie-btn{
    flex: 0 0 100%;
    width: 100%;
    text-align: center;
  }
  #cookieDecline.cookie-btn,
  #cookieAccept.cookie-btn{
    flex: 0 0 calc(50% - 4px);
    width: calc(50% - 4px);
    min-width: 0;
    white-space: nowrap;
    text-align: center;
  }
}

/* iOS safe area */
@supports (padding: max(0px)){
  .cookie-bar{ padding-bottom: env(safe-area-inset-bottom); }
}

/* Gallery grid */

.gallery {
  display: grid;
  gap: 1rem;
}

/* spoločné pre všetky varianty: mobil/tablet */
.gallery {
  grid-template-columns: repeat(2, 1fr); /* mobil: 2 */
}

@media (min-width: 768px) { /* md */
  .gallery {
    grid-template-columns: repeat(3, 1fr); /* tablet: 3 */
  }
}

/* DESKTOP: tu prepíname podľa zvolenej varianty (3/4/5) */
@media (min-width: 992px) { /* lg */
  .gallery.gallery-lg-3 { grid-template-columns: repeat(3, 1fr); }
  .gallery.gallery-lg-4 { grid-template-columns: repeat(4, 1fr); }
  .gallery.gallery-lg-5 { grid-template-columns: repeat(5, 1fr); }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease, opacity .25s ease;
}

.gallery-item img:hover {
  transform: scale(1.04);
  opacity: .92;
}

@media (max-width: 767.98px) {
  .gallery > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}




