 * {
  box-sizing: border-box;
  }
  

 html {
    scroll-behavior: smooth;
  }

  body {
    font-family: Arial, sans-serif;
    padding: 20px 20px 0px 20px;
    display: grid;   
    place-items: center;
    background-color: black;
    color: white;
  }

  .cute-font-regular {
    font-family: "Cute Font", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: -100px;
    gap: 0px;
  } 


  img{
    max-width: 320px;
    margin-top: 40px;
  }

  li{
    font-size: 19px;
    margin-left: 10px;
    padding-bottom: 10px;
    list-style: disc;
    max-width: 660px;
  }

  h1{
    text-align: center;
    font-size: 30px;
    margin: 0px;
    margin-top: 50px;
    margin-bottom: 20px;
  }

  h2{
    font-family: "Cute Font";
    text-align: center;
    font-size: 50px;
    margin: 0px;
    margin-top: 20px;
  }

  h3{
    margin: 0px 0px 0px 0px;
    font-size: 21px;
    margin: 0px;
    margin-bottom: 5px;
    max-width: 700px;
  }

  p{
    max-width: 700px;
    font-size: 19px;
    margin: 0px 0 15px 0;
  }
  a{
    font-size: 19px;
    margin: 0px;
  }
  #qrcode {
    background-color: white;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: white;
    display: block;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  #qrcode.visible {
    opacity: 1;
  }
  
  button {
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 10px 20px;
    width: 200px;
    font-size: 18px;
    display: grid;
    border-radius: 8px;
    border-style: none;
    background-color: rgb(33, 240, 255);
    font-weight: 700;
  }

  input {
    width: 276px;
    padding: 10px;
    font-size: 18px;
    border-radius: 8px;
    border-style: none;
    display: grid;
    margin-top: 25px;
    margin-bottom: 0px;
  }

  .wrap{
      align-items: center;
      justify-content: center;
      place-items: center;
      max-width: 700px;
  }

  #downloadBtn {
  display: block;              /* tlačítko se chová jako blokový prvek */
  margin: 20px auto 0 auto;    /* automatické zarovnání na střed */
  opacity: 0;
  transition: opacity 0.6s ease;
  }

.page-container h3{
  text-align: center;
}

footer{
  margin-top: 20px;
  padding: 30px;
  text-align: center;
  width: 100%;
}

footer p{
  margin: 0;
  padding: 0px;
  max-width: 100%;
}

nav button{
  width: 70px;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 50px;
  padding: 5px;
  font-weight: 600;
  font-size: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: rgb(33, 240, 255);
}

.menu-toggle {
  display: none;
  font-size: 1.5em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

nav {
  padding: 0;
  margin: 0;
  width: 70px;       /* ⬅ zmenšená šířka */
  position: absolute;            /* ⬅ zarovná doprava */
  top: 0;
  border-radius: 0 0 8px 8px; /* ⬅ volitelné: zaoblení levého dolního rohu */
  z-index: 999; 
  background-color: #1a1a1a;
  margin-left: 600px;
}

.menu-toggle {
  display: block;
  margin: 0px;
}

.nav-links {
  flex-direction: column;
  background-color: #1a1a1af9;
  position: absolute;
  top: 40px;

  right: 0;
  gap: 0;
  border-radius: 5px;
  text-align: center;
  width: 190px;

  /* Animace */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 10px;
  transition:
    max-height 0.4s ease-in-out,
    opacity 0.3s ease-in-out,
    padding 0.3s ease-in-out,
    gap 0.3s ease-in-out;
}

.nav-links.active {
  max-height: 500px;
  opacity: 1;
  padding: 10px;
  gap: 15px;
}

@media screen and (max-width: 800px){
  nav{
    margin-right: 1%;
    margin-left: 80%;
  }

  img{
    width: 260px;
  }
  
}

