body {
    font-family: 'Roboto', sans-serif;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

body.loaded {
    opacity: 1;
}

main {
    padding: 20px 0;
}

section {
    margin-bottom: 40px;
}

h1 {
    font-size: 2em; /* Zmenšeno z 2.5em */
    margin: 20px 0 10px;
}

h5 {
    font-size: 1.2em; /* Zmenšeno z 1.5em */
    margin: 10px 0 20px;
}

.description {
    font-size: 0.9em; /* Zmenšeno z 1em */
}

footer {
    padding: 20px 0;
}

.collection-item {
    font-size: 1em; /* Zmenšeno z 1.2em */
}

.profile-pic {
    width: 150px;
    height: 150px;
    transition: transform 0.5s ease-in-out, opacity 1s ease-in-out;
    opacity: 0;
    transform: scale(0.5);
}

.profile-pic.loaded {
    opacity: 1;
    transform: scale(1);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hover-underline-animation {
    position: relative;
    color: #000;
    text-decoration: none;
}

.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    transition: transform 0.3s ease-in-out;
}

.icon:hover {
    transform: rotate(360deg);
}

/* Nové animace */
@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in {
    animation: slideIn 1s ease-out forwards;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 1s ease-out forwards;
}