
html{
    font-size: 16px;
    scroll-behavior: smooth;
    overflow: scroll;
}
body {
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    font-family: "Inknut Antiqua", serif;
    font-style: normal;
    flex-direction: column;
    color: #f5f5f5;
    display: flex;
    overflow-x: hidden;
    scroll-behavior: auto;
    
    
  }
  ::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* make scrollbar transparent */
}
span{
    font-weight: 500;
}
h1{
    font-size: 8.5rem;
    text-align: center;
    font-weight: 300;
    color: #f5f5f5;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 10);
    cursor: auto; 
  
}
@media screen and (max-width: 1000px) {
    h1{
        font-size: 5rem;
    } 
 }

@media screen and (max-width: 600px) {
    h1{
        font-size: 3rem;
    } 
 }


h2{
    font-size: 6rem;
    font-family: Arial, Helvetica, sans-serif;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 10);
    cursor: auto; 
    font-weight: 700;
    display: flex;
    justify-content: center;
}
@media screen and (max-width: 1000px) {
    h2{
        font-size: 5rem;
    } 
 }

@media screen and (max-width: 600px) {
    h2{
        font-size: 3rem;
    } 
 }

h3{
    font-size: 3rem;
    font-family: Arial, Helvetica, sans-serif;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 10);
    cursor: auto; 
    font-weight: 700;
    justify-content: center;
    text-align: center;
}
@media screen and (max-width: 1000px) {
    h3{
        font-size: 2rem;
    } 
 }

@media screen and (max-width: 600px) {
    h3{
        font-size: 1rem;
    } 
 }
.logo{
    width: 4rem;
    height: 4rem;
    top: 0;
    left: 0;
    position: absolute;
    padding: 1rem;
    cursor: auto; 
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
    filter: drop-shadow(20px);
    
}

/* textova pole*/
.text-container-global{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    color: #f5f5f5;
    font-size: 2rem;
    text-align: justify;
    border-bottom: black solid 0.5rem;
    

    
}
/* textova pole responzivita*/
@media screen and (max-width: 1000px) {
    .text-container-global{
        font-size: 1.5rem;
    } 
 }

@media screen and (max-width: 600px) {
    .text-container-global{
        font-size: 1.5rem;
    } 
 }
.container-global {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    color: #f5f5f5;
    text-align: justify;
    border-bottom:  black solid 15px;
}
/* textova pole a jejich unikatni pozadi*/
.container1{
    background: url('../obrazky/hrad2.svg') no-repeat center/cover;
}
.container2{
    background: url('../obrazky/pozadi.svg') no-repeat center/cover;
}
.container3{
    background: url('../obrazky/hrad.svg') no-repeat center/cover;
}
.container4{
    background: url('../obrazky/hrad3.svg') no-repeat center/cover;
}
/* Centrovani hradu na obrazku*/
@media screen and (max-width: 1000px) {
    .container4{
        background-position:  20% center;
    } 
 }

@media screen and (max-width: 600px) {
    .container4{
        background-position:  15% center;
    } 
}
/* textova pole */
.text-box {
    max-width: 80%;
    padding: 1rem;
    border-radius: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 10);
    font-family: Arial, Helvetica, sans-serif;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 0.3; 

}
/* fixni menu */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    background-color: rgba(41, 29, 11, 0.9);
    display: flex;
    align-items: center;
    z-index: 1000;
    color: wheat;
    border-bottom: 7.5px black solid;
    justify-content:right;
    
    
  }
  /* logo v navbaru*/
  .logo img {
    height: 100%;
    padding-left: 2rem;
    display: flex;
    
  }
  @media (max-width: 768px) {
    .logo img {
      padding-left: 0rem;
    }
  
  }
  
  /* Navigace pro větší obrazovky */
  .nav-links {
    display: flex;
    gap: 4rem;
    padding-right: 4rem;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
   
  }
  
  .nav-links a:hover {
    text-decoration: underline;
  }
  /* Skryté výchozí menu */
.navbar.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
  }
  
  /* Viditelné menu (standardní pozice) */
  .navbar {
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
  }
  
  .hamburger {
    display: none;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    margin-left: auto;
    padding-right: 1rem;
  }
  
  /* Mobile menu */
  .mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #1a1a1a;
    position: fixed;
    top: 10vh;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 999;
  }
  
  .mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    
  }
  
  .mobile-menu.open {
    display: flex;
  }
  
  /* Media query pro menší obrazovky */
  @media (max-width: 1050px) {
    .nav-links {
      display: none;
      
    }
  
    .hamburger {
      display: block;
    }
   
  }


/*kviz*/
.container {
    width: 900px;
    padding: 20px;
    margin-top: 80px;
    background-color: #432A0B;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 2rem;
    border: black solid 10px;
    font-size: 1.5rem;
    
  }
  /* kviz responzivita*/
  @media screen and (max-width: 1000px) {
    .container{
    width: 500px;
    padding: 20px;
    } 
 }

@media screen and (max-width: 600px) {
    .container{
    width: 250px;
    font-size: 0.9rem;
    } 
 }
  
  .question {
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .options {
    margin-bottom: 20px;
    
  }
  
  .option {
    display: block;
    margin-bottom: 10px;
  }
  
  .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #432A0B;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
    margin-right: 10px;
    border: black solid 5px;
  }
  
  .button:hover {
    background-color: black;
  }
  
  .result {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
  }
  
  .hide{
    display: none;
  }

  /*Kontaktni formular*/
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #1e1e1e;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    width: 100%;
    max-width: 50%;
    max-height: 75%;
    margin: 2rem;
    border-radius: 30px;
    border: 10px solid black;
}
.contact-form h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #2c2c2c;
    color: #ffffff;
    resize: vertical;
    font-size: 1rem;

}

.contact-form button {
    padding: 0.75rem;
    background-color: #432A0B;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #432A0B;
}
  

  /*Kontaktni formular*/
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #1e1e1e;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    width: 100%;
    max-width: 50%;
    max-height: 75%;
    margin: 2rem;
    border-radius: 30px;
    border: 10px solid black;
}
.contact-form h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #2c2c2c;
    color: #ffffff;
    resize: vertical;
    font-size: 1rem;

}

.contact-form button {
    padding: 0.75rem;
    background-color: #432A0B;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: green;
}
/*Sitemap*/
.sitemap-horizontal {
    margin: 1vh auto;
    text-align: center;
    color: #f5f5f5;
    font-size: 1rem;
    font-weight: 300;
}
@media (max-width: 768px) {
    .sitemap-horizontal {
      font-size: 0.8rem;
    }
  
  }

.sitemap-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1vw;
    flex-direction: row;
    position: relative;
}

.sitemap-row > a,
.povesti-group > a {
    text-decoration: none;
    color: #f5f5f5;
    padding: 0.5rem;
    transition: color 0.3s;
    position: relative;
    z-index: 1;
}

.sitemap-row a:hover {
    color: white;
    transform: scale(1.1);
}

.povesti-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
/* Footer */
footer {
    width: 100%;
    background: #432A0B;
    color: #f5f5f5;
    text-align: center;
 
}
/* Kontejner pro ikony */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3vw;
    margin-top: 2rem;
}

/* Ikony sociálních sítí */
.icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}
.icon:hover{
    transform: scale(1.1); /* Slightly enlarges the image on hover */
    
}
.icon i {
    color: #f5f5f5;
    font-size: 2vw;
}

/* Logo*/
.skull-logo {
    width: 3rem;
    height: 3rem;
}

/* Copyright text */
.copyright {
    font-size: 1vw;
    margin-top: 5vh;
    opacity: 0.8;
}
@media (max-width: 768px) {
    .copyright {
      font-size: 0.8rem;
    }
  
  }