body {
  display: flex;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  flex-direction: column;
  min-height: 100vh;
  background-color: #9f86c0;
}

nav {
  background-color: #000000;
  color: white;
  padding: 30px;
  position: relative; 
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 20px; 
}

input {
  padding: 12px 14px;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 8px;
}

main {
  flex: 1;
  margin-top: 50px;
}

.menu {
  background-color: #000000;
  overflow: hidden;
  display: flex;
  align-items: center; 
  padding: 0 30px;   
  gap: 20px;             
}
  
.menu a {
  display: block;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 17px;
}

.menu a:hover{
  color: #ccc;
}

.open-panel {
  background: none;
  color: white;
  font-size: 25px;
  cursor: pointer;
}

#myMenu {
  list-style: none;
  padding: 0;
}

.side-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #111;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
}

.side-panel a {
  color: white;
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  transition: 0.3s;
}

.side-panel a:hover {
  background-color: #333;
  padding-left: 30px;
}

footer {
  margin-top: 40px;
  padding: 60px 20px;
  text-align: center;
  background: #ede7f6;
  border-radius: 40px 40px 0 0;
}

footer h2 {
  font-size: 1.8rem;
  color: #333;
}

footer p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: #555;
}

footer a {
  color: #444;
  text-decoration: underline;
}

html{
  scroll-behavior: smooth;
}

#kontakt {
  scroll-margin-top: 80px;
}

.welcome {
  max-width: 650px;
  margin: 70px auto;
  padding: 40px;
  background: linear-gradient(135deg, #ede7f6, #ede7f6);
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
  border: 2px solid rgba(0,0,0,0.15);
}

.welcome h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #2c2c2c;
}

.welcome p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.welcome:hover {
  transform: translateY(-4px);
  transition: 0.3s ease;
}

#closePanel {
  background: black;
  color: white;
  border: 2px solid black;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
}

#closePanel:hover {
  background: white;
  color: #111;
  transition: 0.3s;
}
