html{
  scroll-behavior: smooth;
}

body{
  overflow-x: hidden;
  background-color: rgb(165,165,165);
  font-family: Arial, Helvetica, sans-serif;
}

header {
  background:linear-gradient(to top, rgb(0,5,30), rgb(0,20,70));
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 60px;
  min-height: 90px;
}

header ul{
  padding: 0;
  margin: 0;
}

header li{
  list-style-type: none;
  padding-left: 0;
}

.logo{
   position: relative;
   margin: 0;
   padding: 0;
   top: 1px;
   display: flex;
   align-items: center;
}

.logo-l{
   max-width: 200px;
   height: auto;
   padding: 0;
   margin-right: 10px;
   position: relative;
   top: 0;
   display: block;
}

.navigace{
   display: flex;
   align-items: center;
   justify-content: flex-start;
   gap: 40px;
}

.polozky{
    display: flex;
    gap: 40px;
    justify-content: flex-start;
}

.polozky li a{
    color: white;
    font-weight: 600;
    font-size: 22px;
    text-decoration: none;
}

a{
    text-decoration: none;
    color:White;
}

a:hover {
  color: Red;
}

.polozky li a:hover{
    color: red;
}

.post-header {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 85%, rgba(255,255,255,1) 100%), url(yaris.png) no-repeat center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 80vh;
    width: 100%;
    position: relative;
}

#jedna, #dva, #tri, #ctyri {
  scroll-margin-top: 100px;
}

.jedna>h2{
    background:linear-gradient(to top, rgb(0,5,30), rgb(0,20,70));
    margin-top: 0px;
    font-size: 35px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 4px;
    color: White;
}

.jedna>p{
   border: outset 5px white;
   background-color:ghostwhite;
}

.kurzy {
  padding: 2rem;
  background-color: #fff;
  font-family: 'Segoe UI', sans-serif;
  color: #111;
  text-align: center;
}

.nadpis {
  font-size: 2.5rem;
  letter-spacing: 0.1rem;
  margin-bottom: 2rem;
  color: #fff;
  background: linear-gradient(to right, #000927, #001133);
  padding: 1rem;
}

.kurzy-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 100px;
}

.sloupec {
  flex: 1 1 400px;
  max-width: 500px;
  padding: 1rem 2rem;
  border: 5px solid #e1e1e1;
  border-radius: 20px;
  background-color: white
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.skupina {
  font-size: 1.8rem;
  color: #d32f2f;
  margin-bottom: 1.5rem;
  text-align: center;
}

.kurz {
  text-align: left;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-left: 4px solid #000927;
  background-color: #fff;
  transition: background 0.3s;
  border-radius: 6px;
}

.kurz:hover {
  background-color: #f0f4ff;
}

.kurz h3 {
  margin: 0;
  font-size: 1.1rem;
  color: rgb(0,20,70);
  font-weight: bold;
}

.kurz h3 a {
  text-decoration: underline;
  color: #000927;
}

.kurz p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.dva>h2{
    background:linear-gradient(to top, rgb(0,5,30), rgb(0,20,70));
    margin-top: 0px;
    font-size: 35px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 4px;
    color: white;
}

.dva table{
    border: outset 5px white;
    background-color:ghostwhite;
    top: 200px;
}
.dva table2{
    border: outset 5px white;
    background-color:ghostwhite;
    top: 200px;
    margin-left: 600px;
}

.dokumenty-box {
    display: flex;
    justify-content: center;
    gap: 400px;
    flex-wrap: wrap;
    background-color:white;
}

.dokument {
    text-align: center;
    
}

.dokument img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    margin-top: 10px;
}

.dokument a {
    text-decoration: none;
    color: red;
    font-weight: bold;
    font-size: 16px;
}

.dokument a:hover {
    text-decoration: underline;
}

.tri>h2 {
    background:linear-gradient(to top, rgb(0,5,30), rgb(0,20,70));
    margin-top: 0px;
    font-size: 35px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 4px;
    color: white;
}

.table {
   width: 100%;
   min-width: 600px;
   border-collapse: collapse;
   background-color: white;
}

.table-container {
  width: 100%;
  overflow-x: auto;
  background-color: white;
}

.table-scroll-hint {
  position: relative;
  margin-top: 0,5rem;
  height: auto;
}

.table-scroll-hint::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 100%;
  background: linear-gradient(to left, rgba(165,165,165,1), rgba(165,165,165,0));
  pointer-events: none;
  display: none; /* defaultně schováno */
  z-index: 2; /* přidej z-index pro jistotu */
}

.table-scroll-hint.fade-active::after {
  display: block;
}
        
.th, td {
   border: 1px solid black;
   padding: 8px;
   text-align: center;
 }
        
.th {
   background-color: #e6e6e6;
   color: red;
}
        
.td:first-child {
   font-weight: bold;
   color: rgb(0,20,70);;
}
    
.special-row td {
   font-weight: bold;
   text-align: center;
   background-color: #e6e6e6;
}

.ctyri>h2 {
    background:linear-gradient(to top, rgb(0,5,30), rgb(0,20,70));
    margin-top: 0px;
    font-size: 35px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 4px;
    color: white;
}

.info-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 10px;
    background-color: white;
}

.info-box {
    text-align: center;
    width: 30%;
}

.info-box i {
    font-size: 40px;
    color: #b32d46;
    margin-bottom: 10px;
}
