* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: rgb(109, 2, 172);
    color: white;
}

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

main {
    display: grid;
    place-items: center;
    flex: 1;
    padding: 10px;
}

nav {
    position: fixed;
    display: flex;
    padding: 0px 30px 0px 0px;
    top: 0;
    width: 100%;
    height: 70px;
    align-items: center;
    justify-content: flex-end;
    background-color: rgba(100, 0, 100, 0.651);
}

nav a {
    background-color: #f801ecf8;
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

nav a:hover {
    background-color: #0000009d;
}

footer {
    position: fixed;
    display: flex;
    padding: 5px;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: rgba(27, 27, 27, 0.651);
    font-size: 15px;
    align-items: center;
    justify-content: center;
}

footer a {
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background-color: #9100e6;
}
::-webkit-scrollbar-thumb {
    background: #e100ff;
    border-radius: 10px;
}


article {
    padding: 80px 0px;
    width: 100%;
    place-items: center;
    text-align: center; /* Vycentruje text na šířku */
}

/* Popover styling */
div[popover] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: black;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
  }

div[popover][data-show] {
    display: block;
  }

  /* Close button styling */
div[popover] .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
  }

div[popover] .close-btn:hover {
    color: white;
  }

.home-p {
  max-width: 600px; /* nebo 40ch / 80% / atd. */
  margin-left: auto;
  margin-right: auto;
}
.bot-p {
  max-width: 600px; /* nebo 40ch / 80% / atd. */
  margin-left: auto;
  margin-right: auto;
  color: white;
}
.bot-p a {
    color: #ffffff;
}