h1 {
    font-size: 90px;
    text-align: center;
    font-family: 'Great Vibes', cursive;
    background: linear-gradient(90deg, #ff6b6b, #ffb6b9, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    margin-bottom: 60px;
    padding-top: 80px;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 4px 4px 12px rgba(255, 255, 255, 0.2);
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translatey(-30px) scale(0.8);}
    100% { opacity: 1; transform: translateY(0) scale(1);}
}
html {
    background: linear-gradient(to bottom right, #0d2b46, #102a13);
    color: #f5f5f5;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
body {
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    
}
.jedna {
    color: #fff;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    margin: 30px auto;
    max-width: 500px;
    font-family: 'Poppins', sans-serif;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-left: 6px solid #00ffc3;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
    position: relative;
    margin-left: 20px;
}
p:before {
    content: "📘";
    position: absolute;
    left: -40px;
    top: 15px;
    font-size: 28px;
}
p:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 255, 200, 0.4);
}
.matika {
    color: black;
    margin: 20px 0;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    width: 80%;
    max-width: 800px;
    margin-bottom: 50px;
    font-family: 'Poppins';
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-left: 5px solid #ffb86c;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: 0,3s ease-in-out;
}
h2 {
    font-size: 70px;
    text-align: center;
    font-family: 'Great Vibes', cursive;
    background: linear-gradient(90deg, #ff6b6b, #ffb6b9, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    margin-bottom: 60px;
    padding-top: 80px;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 4px 4px 12px rgba(255, 255, 255, 0.2);

}
.cestina {
    color: black;
    margin: 20px 0;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    width: 80%;
    max-width: 800px;
    margin-bottom: 50px;
    font-family: 'Poppins';
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-left: 5px solid #ffb86c;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: 0,3s ease-in-out;
}
h3 {
    color: black;
    font-family: 'Great Vibes';
    margin: 5px;
    font-size: 80px;
    text-align: center;
    text-decoration: underline;
    margin-bottom: 50px;
    padding-top: 60px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ff6b6b, #ffb6b9, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    animation: fadeIn 2s ease-in-out;;
    border: 2px solid red; 
}
.button {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: blue;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    margin: 10px 5px;
    transition: background-color 0.3s
}
.button:hover {
    background-color: darkblue;
}
.menu {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px); 
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease-in-out;
    text-align: center;
}
.menu li {
    display: inline-block;
    margin: 0 15px;
}
.menu a {
    color: #ffe66d;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.1) 50%);
    background-size: 200%;
    background-position: right;
}
.menu a:hover {
    background-position: left;
    color: white;
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(255, 230, 109, 0.5);
}
h4 {
    text-align: center;
    font-family: 'Great Vibes';
    color: black;
    text-decoration: underline;
    font-size: 80px;
    margin-bottom: 20px;
    padding-top: 80px; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ff6b6b, #ffb6b9, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    animation: fadeIn 2s ease-in-out;;
    border: 2px solid red; 
}
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgb(2, 78, 78);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader::after {
    content: "";
    width: 50px;
    height: 50px;
    border: 5px solid white;
    border-top: 5px solid black;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.column {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}
.column:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 200, 0.2);
}
.item {
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    color: white;
    font-size: 17px;
}
.item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.02);
}
.item li {
    list-style: none;
}
.item a.button {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 14px;
    font-size: 14px;
    color: white;
    background: linear-gradient(to right, #007bff, #00c6ff);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}
.item a.button:hover {
    background: linear-gradient(to right, #00c6ff, #007bff);
    transform: scale(1.05);
}
.column .h2 {
    text-align: center;
    font-size: 36px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ff6b6b, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 10px;
}
#version {
    position: fixed; 
    bottom: 10px;     
    right: 10px;      
    font-size: 14px;  
    color: #fff;      
    background-color: rgba(0, 0, 0, 0.7); 
    padding: 5px 10px; 
    border-radius: 5px; 
}
.background-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;

}

.background-image {
    position: absolute;
    inset: 0;
    background-image: url("../galerie/funguj.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    transform: scale(1.05);
    z-index: 0;
    animation: fadeIn 2s ease-in-out;
}
/*Text který je umístěn v pozadí daného obrázku, má takzvaný pulse, tedy můžeme zajimavě měnit barvy, ještě lepší dojem udělá shadow nebo-li stínění*/
.headline {
    position: absolute; 
    top: 25%;            
    left: 50%;          
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 100px;
    font-family: 'Great Vibes', cursive;
    background: linear-gradient(45deg, #ff6b6b, #ffb6b9, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 4px;
    text-shadow:
      0 0 5px rgba(255, 255, 255, 0.7),
      0 0 20px rgba(255, 255, 255, 0.4),
      0 0 30px rgba(255, 255, 255, 0.2);
    animation: pulse 3s infinite;
    user-select: none;
    text-align: center;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1.05); }
}

@keyframes pulse {
    0%, 100% {
      text-shadow:
        0 0 5px rgba(255, 255, 255, 0.7),
        0 0 20px rgba(255, 107, 107, 0.7),
        0 0 40px rgba(255, 182, 185, 0.6);
    }
    50% {
      text-shadow:
        0 0 10px rgba(255, 255, 255, 1),
        0 0 25px rgba(255, 107, 107, 1),
        0 0 60px rgba(255, 182, 185, 0.9);
    }
}
.dva {
    color: #fff;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    margin: 30px auto;
    max-width: 500px;
    font-family: 'Poppins', sans-serif;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-left: 6px solid #00ffc3;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
    position: relative;
    margin-left: 20px;
}

@media (max-width: 1024px) {
  .headline {
    font-size: 60px;
    top: 30%;
  }

  .menu a {
    font-size: 14px;
    padding: 8px 12px;
  }

  .column {
    min-width: 90%;
    max-width: 95%;
  }

  .jedna, .dva {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  h2, h3, h4 {
    font-size: 48px;
    padding-top: 40px;
  }

  .item {
    font-size: 15px;
  }

  .item a.button {
    padding: 6px 10px;
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .headline {
    font-size: 42px;
    top: 35%;
    letter-spacing: 2px;
  }

  h2, h3, h4 {
    font-size: 38px;
  }

  .menu a {
    font-size: 13px;
    padding: 6px 8px;
  }

  .container {
    flex-direction: column;
    padding: 20px 10px;
  }

  .column {
    max-width: 100%;
    padding: 20px;
  }

  .item {
    font-size: 14px;
  }

  .item a.button {
    padding: 6px 10px;
    font-size: 12px;
  }
}


