html,body{
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-style: normal;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  background-color: #0d1117 !important;
  overflow-x: hidden;
}

.custom-navbar{
  background-color: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid #ffc107;
  color: white;
  min-height: 70px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav-link {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent !important;
  transition: color 0.2s, border-bottom-color 0.2s;
}

.nav-link:hover{
  color: #ffc107 !important;
  border-bottom-color: #ffc107 !important;
  transition: 0.75s;
}

#lektor img{
  border: 2px solid #ffc107;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#lektor img:hover{
  overflow: hidden;
  transform: scale(1.03);
}

#lektor .card, #reference .card {
  border: 2px solid #ff9800;
  box-shadow: 0 4px 24px 0 rgba(255,193,7,0.15);
  background: linear-gradient(120deg, #1c1f26 80%, #ffc10711 100%);
}

#obsah ul li{
  margin-bottom: 1rem;
  font-size: 1.15rem;
  transition: transform 0.3s ease;
}

#obsah ul li:hover{
  transform: translateX(5px);
  color: #ffc107;
}

.btn-warning {
  box-shadow: 0 0 20px 0 #ffc10799;
  font-weight: 700;
}

.btn-warning:hover {
  box-shadow: 0 0 40px 10px #ffc107cc;
  transform: scale(1.08);
}

#lektor {
  position: relative;
  z-index: 1;
}

#lektor p{
  border-left: 4px solid #ffc107;
  padding-left: 1rem;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}

img{
  border-radius: 8px;
}

@media (max-width: 768px) {
  .hero-section {
    height: 40vh;
  }

  .hero-overlay h1 {
    font-size: 1.75rem;
  }

  .btn {
    width: 100%;
    margin-top: 1rem;
  }
}

.section-fade{
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(.4,2,.3,1);
}

.section-fade.visible{
  opacity: 1;
  transform: none;
}

#random-icons{
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.random-icon{
  position: absolute;
  width: 40px;
  opacity: 0.15;
  transition: transform 0.4s;
}

.custom-footer{
  background-color: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(6px);
  border-top: 2px solid #ffc107;
  color: white;
}