.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);
}
#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); }
}
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;
    
}
h2 {
    font-size: 50px;
    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);}
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translatey(-30px) scale(0.8);}
    100% { opacity: 1; transform: translateY(0) scale(1);}
}

.background-image {
    position: absolute;
    inset: 0;
    background-image: url("../galerie/onas1\ \(2\).png");  
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px);
    transform: scale(1.05); 
    z-index: 0;
    animation: fadeIn 2s ease-in-out;
}
.background-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.background-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); 
  z-index: 1;
}
.background-image:hover {
  transform: scale(1.05);
}


.background-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-image {
    position: absolute;
    inset: 0;
    background-image: url("../galerie/onas1\ \(2\).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;
}

.headline {
    position: relative;
    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);
    }
}


.content {
    padding: 20px;
    color: #f9f5e8;
}
.jedna {
    color: #fff;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    margin: 30px auto;
    max-width: 1185px;
    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);
}

.obrazek1 {
    width: 100%;
    max-width: 325px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 40px auto;
    float: left;
}

.obrazek1:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 230, 109, 0.5);
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
    display: block;
    border-radius: 5px;
    max-width: 80%;
    max-height: 80vh;
    margin: 5% auto;;
}
.modal-img {
    width: 80%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 0 auto
}
.close {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
.close:hover {
    color: red;
}
.popis {
    color: white;
    font-size: 18px;
    margin-top: 10px;
}
.zpet {
    background: white;
    color: black;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
}
.zpet:hover {
    background: #ddd;
}
.dva {
    color: #fff;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    margin: 30px auto;
    max-width: 1400px;
    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;
}
.hh3 {
    font-size: 45px;
    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: 20px;
    padding-top: 80px;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 4px 4px 12px rgba(255, 255, 255, 0.2);
    margin-left: 475px;
    margin-top: -70px;
}
.tri {
    color: #fff;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    margin: 30px auto;
    max-width: 1050px;
    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;
    float: right;
}
.obrazek2 {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 40px auto;
    float: right;
    margin-top: 100px;
}

.obrazek2:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 230, 109, 0.5);
}
.hh4 {
    font-size: 45px;
    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: 20px;
    padding-top: 80px;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 4px 4px 12px rgba(255, 255, 255, 0.2);
    margin-left: 350px;
    margin-top: 0px;
    float: left;
}
.ctyri {
    color: #fff;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    margin: 30px auto;
    max-width: 1000px;
    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-top: 50px;
    float: left;
}
.obrazek3 {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 40px auto;
    float: left;
    margin-top: 200px;
}

.obrazek3:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 230, 109, 0.5);
}
.hh5 {
    font-size: 45px;
    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: 20px;
    padding-top: 80px;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 4px 4px 12px rgba(255, 255, 255, 0.2);
    margin-left: 300px;
    float: left;
    margin-top: 0px;
}
.hh6 {
    font-size: 45px;
    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: 20px;
    padding-top: 80px;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 4px 4px 12px rgba(255, 255, 255, 0.2);
    margin-left: 300px;
    float: left;
    margin-top: 50px;
}
.pet {
    color: #fff;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    margin: 30px auto;
    max-width: 1500px;
    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;
    float: left;
    margin-top: 180px;
}
.sest {
    color: #fff;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    margin: 30px auto;
    max-width: 1000px;
    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;
    float: right;
    margin-top: 0px;
}
.sedm {
    color: #fff;
    font-size: 20px;
    text-align: left;
    line-height: 1.8;
    margin: 30px auto;
    max-width: 875px;
    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;
    float: left;
}
.obrazek4 {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 40px auto;
    float: right;
    margin-top: -400px;
}

.obrazek4:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 230, 109, 0.5);
}

.hh7 {
    font-size: 45px;
    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: 20px;
    padding-top: 80px;
    animation: fadeIn 2s ease-in-out;
    text-shadow: 4px 4px 12px rgba(255, 255, 255, 0.2);
    margin-left: 300px;
    float: left;
    margin-top: 100px;
}
