body {
    background: linear-gradient(
        90deg,
        hotpink 0%,
        purple 25%,
        black 50%,
        deeppink 75%,
        hotpink 100%
    );
    background-size: 300% 300%;
    animation: glitchBg 3s linear infinite;

    color: white;
    text-align: center;
    overflow-x: hidden;
}


h1 {
    font-size: 40px;
    text-shadow: 2px 2px 0px pink, -2px -2px 0px purple;
}

nav a {
    color: white;
    margin: 10px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: hotpink;
}

/* glitch efekt */
h1:hover {
    animation: glitch 0.3s infinite;
    h1 {
        position: relative;
        animation: textGlitch 0.3s infinite;
    }
 
}
@keyframes textGlitch {
    0% { text-shadow: 2px 0 red, -2px 0 blue; }
    50% { text-shadow: -2px 0 red, 2px 0 blue; }
    100% { text-shadow: 2px 0 red, -2px 0 blue; }
}



@keyframes glitch {
    0% { transform: translate(2px, 2px); }
    25% { transform: translate(-2px, 0px); }
    50% { transform: translate(2px, -2px); }
    75% { transform: translate(-1px, 2px); }
    100% { transform: translate(0, 0); }
}
img {
    border: 4px solid hotpink;
    border-radius: 20px;
    margin-top: 20px;
    box-shadow: 0 0 20px pink;
}img:hover {
    transform: scale(1.1) rotate(2deg);
    transition: 0.3s;
}nav {
    background-color: rgba(255, 105, 180, 0.15);
    padding: 15px;
    border-radius: 20px;
    margin: 20px auto;
    width: fit-content;
    box-shadow: 0 0 15px hotpink;
}nav a {
    color: white;
    margin: 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

nav a:hover {
    color: hotpink;
    text-shadow: 0 0 10px pink;
}h1 {
    margin-bottom: 10px;
}

nav {
    margin-bottom: 25px;
}
body {
    background: linear-gradient(135deg, hotpink, purple, black);
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
}body {
    cursor: url("https://cur.cursors-4u.net/cursors/cur-9/cur817.cur"), auto;

}@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}
@keyframes bgGlitch {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 0% 100%; }
    75% { background-position: 100% 0%; }
    100% { background-position: 0% 50%; }
}
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(255,255,255,0.05) 0px,
        rgba(255,255,255,0.05) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    animation: glitchLines 0.2s infinite;
}
@keyframes glitchLines {
    0% { transform: translateY(0); }
    100% { transform: translateY(5px); }
}
body {
    background: linear-gradient(
        90deg,
        hotpink 0%,
        purple 25%,
        black 50%,
        deeppink 75%,
        hotpink 100%
    );
    background-size: 300% 300%;
    animation: glitchBg 3s linear infinite;

    color: white;
    text-align: center;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: -2px;
    width: 100%;
    height: 100%;
    background: red;
    opacity: 0.03;
    mix-blend-mode: screen;
    animation: glitchRGB 0.2s infinite;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 2px;
    width: 100%;
    height: 100%;
    background: blue;
    opacity: 0.03;
    mix-blend-mode: screen;
    animation: glitchRGB 0.15s infinite;
    pointer-events: none;
}


body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.2;

    pointer-events: none;
    z-index: 1;
}

@keyframes screenGlitch {
    0% { transform: translate(0,0); }
    20% { transform: translate(-2px,1px); }
    40% { transform: translate(2px,-1px); }
    60% { transform: translate(-1px,-2px); }
    80% { transform: translate(2px,1px); }
    100% { transform: translate(0,0); }
}
.gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;

    width: 100%;
    padding: 40px;
    box-sizing: border-box;
}

.gallery img {
    width: 18%;
    border-radius: 20px;
    border: 3px solid hotpink;
    box-shadow: 0 0 15px pink;
    transition: 0.3s;
}
.gallery img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 30px hotpink;
}
.gallery img:nth-child(2) {
    transform: rotate(-2deg);
}

.gallery img:nth-child(3) {
    transform: rotate(2deg);
}.gallery img:nth-child(1) {
    transform: rotate(-3deg);
}

.gallery img:nth-child(2) {
    transform: rotate(2deg);
}

.gallery img:nth-child(3) {
    transform: rotate(-2deg);
}

.gallery img:nth-child(4) {
    transform: rotate(3deg);
}
.gallery img:hover {
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 0 30px hotpink;
}
.gallery img {
    width: 18%;
    height: auto;

    border-radius: 20px;
    border: 3px solid hotpink;
    box-shadow: 0 0 20px pink;

    transition: 0.4s;
}
.dog-text {
    font-size: 25px;
    color: white;
    text-shadow: 0 0 10px pink;
    margin-top: 20px;
}


.dog-gallery img {
    width: 300px;
    border-radius: 30px;

    border: 4px solid pink;
    box-shadow: 0 0 25px hotpink;

    transition: 0.4s;
}
.dog-gallery img:hover {
    transform: scale(1.08) rotate(2deg);

    box-shadow:
        0 0 30px hotpink,
        0 0 60px pink;
}
.love-text {
    font-size: 25px;
    color: white;
    text-shadow: 0 0 10px pink;
    margin-top: 20px;
}


.love-gallery img {
    width: 350px;
    height: auto;

    border-radius: 25px;

    border: 4px solid hotpink;
    box-shadow: 0 0 40px hotpink;

    transition: 0.4s;
}
.love-gallery img:hover {
    transform: scale(1.08);

    box-shadow:
        0 0 30px hotpink,
        0 0 60px pink;
}
.family-text {
    font-size: 25px;
    color: white;
    text-shadow: 0 0 10px pink;
    margin-top: 20px;
}
.family-gallery {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;

    padding: 40px;
}
.family-gallery img {
    width: 300px;
    height: auto;

    border-radius: 30px;

    border: 4px solid hotpink;
    box-shadow: 0 0 25px pink;

    transition: 0.4s;
}
.family-gallery img:hover {
    transform: scale(1.08);

    box-shadow:
        0 0 30px rgb(63, 212, 138),
        0 0 60px rgb(226, 63, 90);
}
.travel-text {
    font-size: 25px;
    color: white;
    text-shadow: 0 0 10px pink;
    margin-top: 20px;
}


.travel-gallery img {
    width: 300px;
    height: auto;

    border-radius: 30px;

    border: 4px solid hotpink;
    box-shadow: 0 0 25px pink;

    transition: 0.4s;
}
.travel-gallery img:hover {
    transform: scale(1.08);

    box-shadow:
        0 0 30px hotpink,
        0 0 60px pink;
}
.gallery {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 40px;
}

.gallery img {
    width: 300px;
    height: auto;

    border-radius: 30px;
    border: 4px solid hotpink;

    box-shadow: 0 0 25px hotpink;
    transition: 0.4s;
}

.gallery img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px hotpink, 0 0 60px pink;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 20px;

    padding: 20px;

    height: calc(100vh - 250px); /* aby se to vešlo na screen */
}

.gallery img {
    width: 22%;   /* 4 fotky vedle sebe */
    height: 100%; /* vyplní výšku */

    object-fit: cover; /* ořízne ale drží tvar */

    border-radius: 25px;
    border: 4px solid hotpink;

    box-shadow: 0 0 25px hotpink;
    transition: 0.4s;
}

.gallery img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px hotpink, 0 0 60px pink;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;

    background: linear-gradient(270deg, hotpink, purple, deeppink);
    background-size: 600% 600%;
    animation: bgMove 10s ease infinite;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
h1 {
    text-shadow:
        0 0 10px hotpink,
        0 0 20px pink,
        0 0 40px purple;
}
nav {
    margin: 20px auto;
    padding: 15px 25px;
    width: fit-content;

    background: rgba(255,255,255,0.1);
    border-radius: 30px;

    box-shadow:
        0 0 20px hotpink,
        0 0 40px purple;

    backdrop-filter: blur(10px);
}
.gallery img {
    width: 22%;
    height: 100%;
    object-fit: cover;

    border-radius: 25px;

    border: 4px solid hotpink;

    box-shadow:
        0 0 20px hotpink,
        0 0 40px purple;

    transition: 0.4s;
}
.gallery img:hover {
    transform: scale(1.1) rotate(-2deg);

    box-shadow:
        0 0 30px hotpink,
        0 0 60px purple,
        0 0 100px pink;
}





