html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;  
}

body {
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    color: antiquewhite;

    background: linear-gradient(-45deg, #ff922c, #e73c7e, #000000, #000000, #23d5d5);
    background-size: 1000% 1000%;
    background-attachment: fixed;
    /*before - not fixed*/
    animation: gradient 30s ease infinite;
}

.header {
    opacity: 0;
    transform: opacity 2s ease;

    animation: headerAppear 2.5s ease forwards;

    font-size: 25px;
    text-align: center;
    margin-top: 20px;
    padding: 0%;
    margin-bottom: 40px;
}

@keyframes headerAppear {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.poems {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 20px;
}


.poem {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);

    padding: 40px;
    border-radius: 20px;

    opacity: 0;
    transition: opacity 3s ease;
    transform: opacity 3s ease;

    margin-bottom: 60px;
}

.poem.visible {
    opacity: 1;
    transform: translateY(0);
}

/* .poem:hover {
    opacity: 1;
} */

.poem h2 {
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 40px;
}


.poem-text {
    font-size: 18px;
    line-height: 1.8;
}


.poem p {
    margin-bottom: 40px;
}


.poem time {
    display: block;
    margin-top: 50px;
    opacity: 0.5;
    font-size: 14px;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}