@font-face {
    font-family: macicky1;
    src: url(fonts/Cattie-Regular.ttf);
}

@font-face {
    font-family: cute;
    src: url(fonts/CuteBold.ttf);
}

.content {
    opacity: 0;
    transform: translateY(100px);
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
}

nav {
    background-color: pink;
    padding: 10px;
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
    justify-content: center;
}
nav ul li {
    display: inline;
}
nav ul li a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    background-color: #ff66b2;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s;
}
nav ul li a:hover {
    background-color: #ff3399;
}
section {
    padding: 20px;
    text-align: center;
}

body {
    height: 100vh;
}

html {
    user-select: none;
}

h1 {
    font-family: macicky1;
    font-weight: normal;
    font-style: normal;
    font-size: 100px;
    text-align: center;
    display: flex;
    justify-content: center; 
    align-items: center;
}

h2 {
    font-family: macicky1;
    font-weight: normal;
    font-style: normal;
    font-size: 80px;
    text-align: center;
    display: flex;
    justify-content: center; 
    align-items: center;
}

p {
    padding-left: 25px;
    font-size: 20px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.textcute {
    font-family: cute;
    font-weight: normal;
    font-style: normal;
    font-size: 80px;
    text-align: center;
    display: flex;
    justify-content: center; 
    align-items: center;
}

.kittytext {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    margin-right: 0%;
    margin-top: 15%;
}

.osusko {
    width: 24%;
    height: 50%;
    display: block;
}

.mnau1 {
    width: 250px;
    height: auto;
    display: block;
}

.flex-box01 {
    display: flex;
    flex-direction: initial;
}

.catgif {
    display: block;
    margin: 0 auto;
    right: 50%;
    left: 50%;
    bottom: 5%;
    max-width: 80%;
}

.littlekitty {
    position: absolute;
    max-width: 5.0%;
    max-height: 6.4%;
    right: 25.5%;
    bottom: 87.5%;
    pointer-events: none;
}

.walkingcat {
    position: absolute;
    max-width: 25%;
    max-height: 8.9%;
    right: 45.3%;
    bottom: 71.1%;
    object-fit: cover;
    animation: slideIn 6s ease-in-out;
}

.cat-info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #fff5f8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.cat-img {
    width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cat-details {
    max-width: 600px;
}

.cat-details h2 {
    color: #b30059;
}

.cat-details p {
    color: #4d004d;
    line-height: 1.6;
    margin-bottom: 10px;
}

.cat-details p strong {
    color: #ff66b2;
}

.behavior-section {
    margin: 20px;
    padding: 15px;
    border: 2px solid #e91e63;
    border-radius: 8px;
    background-color: #ffe6f2;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-image {
    width: 300px;
    margin-left: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Automatická mriežka */
    gap: 10px; /* Medzera medzi obrázkami */
    padding: 10px;
}

.gallery-item {
    width: 100%; /* Šírka obrázkov na 100% */
    border-radius: 8px; /* Zaoblené rohy */
    transition: transform 0.2s; /* Efekt pri hover */
}

.gallery-item:hover {
    transform: scale(1.05); /* Zvýraznenie pri hover */
}

/* Štýl pre modálne okno */
.modal {
    display: none; /* Skryté z predvoleného stavu */
    position: fixed; /* Fixované na obrazovke */
    z-index: 1; /* Z-index, aby bolo navrchu */
    left: 0;
    top: 0;
    width: 100%; /* Celá šírka */
    height: 100%; /* Celá výška */
    overflow: auto; /* Povoliť posúvanie */
    background-color: rgb(0,0,0); /* Čierne pozadie */
    background-color: rgba(0,0,0,0.9); /* Polovičná priehľadnosť */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px; /* Veľkosť popisu */
}

@keyframes slideIn {
    from {
        transform: translateX(670%);
    }
    to {
        transform: translateX(0);
    }
}

@media (max-width: 828px) {
    h1 {
        font-size: 16vw;
    }

    h2 {
        font-size: 10vw;
    }

    .catgif {
        bottom: 10%;
        max-width: 80%;
        max-height: 80%;
    }

    .littlekitty {
        position: absolute;
        max-width: 13%;
        max-height: 13%;
        right: 2.9%;
        bottom: 83.6%;
        pointer-events: none;
    }
    
    .walkingcat {
        position: absolute;
        max-width: 20%;
        max-height: 20%;
        right: 38%;
        bottom: 71%;
        object-fit: cover;
        animation: slideIn 3s ease-in-out;
    }
}

@media (min-width: 1080px) and (min-height: 1920px) {

    h1 {
        font-family: macicky1;
        font-weight: normal;
        font-style: normal;
        font-size: 100px;
        text-align: center;
        display: flex;
        justify-content: center; 
        align-items: center;
    }
    
    h2 {
        font-family: macicky1;
        font-weight: normal;
        font-style: normal;
        font-size: 80px;
        text-align: center;
        display: flex;
        justify-content: center; 
        align-items: center;
    }
    
    .catgif {
        display: block;
        margin: 0 auto;
        right: 50%;
        left: 50%;
        bottom: 5%;
        max-width: 80%;
    }
    
    .littlekitty {
        position: absolute;
        max-width: 5%;
        max-height: 5%;
        right: 4.2%;
        bottom: 94.2%;
        pointer-events: none;
    }
    
    .walkingcat {
        position: absolute;
        max-width: 13%;
        max-height: 10%;
        right: 41.5%;
        bottom: 87%;
        object-fit: cover;
        animation: slideIn 6s ease-in-out;
    }
}

@media (min-width: 1920px) and (min-height: 1080px) {

    h1 {
        font-family: macicky1;
        font-weight: normal;
        font-style: normal;
        font-size: 100px;
        text-align: center;
        display: flex;
        justify-content: center; 
        align-items: center;
    }
    
    h2 {
        font-family: macicky1;
        font-weight: normal;
        font-style: normal;
        font-size: 80px;
        text-align: center;
        display: flex;
        justify-content: center; 
        align-items: center;
    }
    
    .catgif {
        display: block;
        margin: 0 auto;
        right: 50%;
        left: 50%;
        bottom: 5%;
        max-width: 80%;
    }
    
    .littlekitty {
        position: absolute;
        max-width: 5%;
        max-height: 5%;
        right: 25.6%;
        bottom: 84.4%;
        pointer-events: none;
    }
    
    .walkingcat {
        position: absolute;
        max-width: 25%;
        max-height: 8%;
        right: 44.5%;
        bottom: 69%;
        object-fit: cover;
        animation: slideIn 6s ease-in-out;
    }
}

@media (min-width: 2560px) and (min-height: 1600px) and (max-width: 2560px) and (max-height: 1600px) {

    h1 {
        font-family: macicky1;
        font-weight: normal;
        font-style: normal;
        font-size: 100px;
        text-align: center;
        display: flex;
        justify-content: center; 
        align-items: center;
    }
    
    h2 {
        font-family: macicky1;
        font-weight: normal;
        font-style: normal;
        font-size: 80px;
        text-align: center;
        display: flex;
        justify-content: center; 
        align-items: center;
    }
    
    .catgif {
        display: block;
        margin: 0 auto;
        right: 50%;
        left: 50%;
        bottom: 5%;
        max-width: 80%;
    }
    
    .littlekitty {
        position: absolute;
        max-width: 6%;
        max-height: 3.6%;
        right: 30.4%;
        bottom: 93.0%;
        pointer-events: none;
    }
    
    .walkingcat {
        position: absolute;
        max-width: 25%;
        max-height: 5.9%;
        right: 45.9%;
        bottom: 84%;
        object-fit: cover;
        animation: slideIn 6s ease-in-out;
    }
}
