.head {
    text-align: center;
    margin: 0;
    margin-top: 28px;
    font-size: 28px;
    animation: fadeIn 0.8s ease;
}

.head h2 {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 28px;
    text-align: left;
    font-size: 22px;
    animation: fadeIn 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(calc(-50% + 24px));
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.90);
    }
    to {
        transform: scale(1);
    }
}

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

@keyframes moveUp {
    from {
        transform: translateY(0);
        opacity: 0;
    }
    to {
        transform: translateY(calc(-100dvh - 10px));
        opacity: 0.5;
    }
}

#background {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#1D796F, #111e0b);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

#particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    opacity: 0.3;
    border-radius: 50%;
    animation: moveUp linear infinite;
}

.list-poem {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
    margin: 20px;
    margin-top: 20px;
}

.poem-class {
    display: flex;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(15,23,42,0.06);
    flex-direction: column;
    gap: 10px;
    animation: zoomIn 1s ease-out both;
}

.poem-class h2 {
    margin: 0;
    color: #64748b;
    font-size: 30px;
    text-align: center;
}

.poem-class h3 {
    margin: 0;
    font-size: 20px;
}

.poem-class .actions {
    display: flex;
    margin-top: auto;
    gap: 8px;
}

.btn {
    background: #0ea5a9;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn.secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.btn.tertiary {
    background: #e2e8f0;
    color: #0f172a;
}

footer {
    background: #000;
}

#footer-logo img {
    width: 50px;
    height: 50px;
}

#navVerticalLine {
  display: block !important;
}