@font-face {
    font-family: Montserrat;
    src: url(fonts/Montserrat-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: Montserrat;
    src: url(fonts/Montserrat-SemiBold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: Montserrat;
    src: url(fonts/Montserrat-Bold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: Inter;
    src: url(fonts/Inter_24pt-Regular.ttf);
    font-weight: 400;
}

@media (max-width: 768px) {
    body {
      background-position: top center;
      background-size: cover;
      background-attachment: scroll;
    }
  
    .hero {
      height: auto;
      min-height: 100vh;
      overflow: auto;
    }
  }


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    
  }

body {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-weight: 400; 
    display: flex;
    flex-direction: column;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)), url(obrazky/wallpaper1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000;
  }

.wrapper {
    flex: 1 0 auto;
    min-height: calc(100vh - 60px); 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000000a1;
    color: #fffff9;
    text-align: center;
    padding: 18px 0;
    font-size: 0.75em;
    z-index: 999;
}



.centrovany {
    text-align: center;
}

.avatar {
    width: clamp(100px, 24vw, 180px);
    height: clamp(100px, 24vw, 180px);
    object-fit: cover;
    border-top: 4px solid #bda823;
    border-left: 4px solid #bda823;
    border-right: 4px solid black;
    border-bottom: 4px solid black;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px auto;
}

.hero {
    position: relative;
    text-align: center;
    z-index: 10;
    padding: 12vh 5vw 2vh 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;         /* místo min-height */
    overflow: hidden;      /* žádný posuvník */
    box-sizing: border-box;
  }

h1, h2 {
    color: #bda823;
}

h1 {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 auto;
}

h2 {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    margin-top: 0;
}

.tlacitka-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.personal-tlacitko {
    background: #363636;
    color: #bda823;
    font-size: clamp(0.8rem, 2.2vw, 1.05rem);
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px clamp(10px, 4vw, 24px);
    border-radius: 25px;
    font-weight: bold;
    transform: scale(0.9);
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.personal-tlacitko:hover {
    background: #bda823;
    color: #363636;
    font-weight: bold;
    transform: scale(0.8);
}

.personal-tlacitko.active {
    background: #bda823;
    color: #363636;
    transform: scale(0.9);
}

.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    min-height: 30vh;
}

.section {
    max-width: 960px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.textovy-blok {
    background-color: #000000a1;
    color: white;
    padding: clamp(10px, 3vw, 20px);
    border-radius: 30px;
    max-width: 700px;
    margin: 20px auto;
    text-align: justify;
    text-justify: inter-word;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.socialni-ikony {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.socialni-ikony img {
    width: clamp(24px, 5vw, 36px);
    height: clamp(24px, 5vw, 36px);
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.socialni-ikony img:hover {
    filter: brightness(0) saturate(100%) invert(64%) sepia(73%) saturate(475%) hue-rotate(11deg) brightness(95%) contrast(90%);
    transform: scale(1.1);
}

.barevne-jmeno {
    color: #bda823;
}


.jmeno {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; 
    color: #bda823;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: 0;
    text-align: center;
    
    padding-top: 10px;
}
  
.pozice {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; 
    color: #ffffff;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-top: 8px;
    text-align: center;
    letter-spacing: 0.5px;
    padding-top: 8px;
}