
@font-face {
  font-family: DOROST; /* set name */
  src: url(fonts/Rubik_Mono_One/RubikMonoOne-Regular.ttf); /* url of the font */
}
@font-face {
  font-family: H_NADPISY; /* set name */
  src: url(fonts/Oxanium/static/Oxanium-Medium.ttf); /* url of the font */
}
@font-face {
  font-family: pirate; /* set name */
  src: url(fonts/hilda_sonnenschein/Hilds___.ttf); /* url of the font */
}

h1, h2, h3, h4, h5, h6, p {
  font-family: H_NADPISY;
}/*
body {
  background-color: #b0cfd0;
  body {
  background-color: #b0cfd0;
  background-image:
    radial-gradient(#000000 1px, transparent 1px);
  background-size: 10px 10px;
}*/
body {
  margin: 0;
  background-color: #0f1e1c;
  background-image: url("images/sea1.png");
  background-repeat: repeat;
}
.content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
.active {
  display: block;
  opacity: 1;
  visibility: visible;
}
button {
  font-size: 1vw;
  font-family: H_NADPISY;
  margin: 25px;
  padding: 30px 50px;
  cursor: pointer;
  border: none;
  background-color: #43bc12;
  color: white;
  border-radius: 13px;
  transition: background-color 0.3s;
}

.primestak_nadpis,
.dorost_nadpis {
  background-size: cover;       /* scales image to fill width */
  background-position: center;  /* cuts evenly from top/bottom */
  background-repeat: no-repeat;
  padding: 60px 20px;           /* height depends on content */
  color: white;
  text-align: center;
  display: block;
  box-sizing: border-box;
  margin-left: calc(50% - 50vw);
  margin-top: 30px;
  margin-bottom: 20px;
  text-transform: uppercase;

  /* responsive size to prevent overflow when zoomed */
  font-size: clamp(2rem, 8vw + 1rem, 12rem);
  line-height: 1.05;

  /* allow wrapping and breaks so very large text doesn't overflow */
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

/* specifické vlastnosti pro každý nadpis */
.primestak_nadpis {
  background-image: url("images/pirate_ship_small.png");
  font-family: pirate;
    width: 100vw;

}

.dorost_nadpis {

  background-image: url("images/MCA00166.JPG");
  font-family: DOROST;
  color: #2f61b8;
  font-size: 100vw;
  width: 100vw;
  font-size: clamp(1.8rem, 6.5vw + 0.5rem, 8rem);
}
.toolbar{
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  background-color: #007bff;
  border-radius: 10px;
}
.toolbar .buttons{
  display: flex;
  gap: 0px;
  height: fit-content;
  margin: 0;  
  padding: 0;
}
.buttons button {
  padding-left: 3vw;
  padding-right: 3vw;
  padding-top: 2px;
  padding-bottom: 2px;

  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 1vw;
  margin-right: 0px;
}
.toolbar .asd {
  flex-grow: 1;
}
.toolbar span {
  display: inline-block;
  margin-right: 10px;
  margin-top: 5px;
}

iframe {
    width: 90vw;
    margin: auto;
    
  }
@media (max-width: 800px) {
  .nadpis {
    font-size: 50%;
    
  }
  .primestak_nadpis {
    font-size: 10vw;
  }
  .dorost_nadpis {
    font-size: 100px;
  }
  button {
    padding: 20px 30px;
    margin: 15px;
    font-size: 14px;
  }
  
}

/*.gallery {
  width: 50vw;
  height: 50vw;
  position: relative;
  overflow: hidden;
}*/

.gallery {
  width: 100%;
  height: 60vh;
  margin: 0 auto;   /* horizontální střed */
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

/* šipky */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

.arrow:hover {
  background: rgba(0,0,0,0.8);
}
