﻿/* Først din body-styling (gælder for hele siden) */
body {
    margin: 0;
    padding: 0;
    background-color: #f7f7f9;
    color: #2c3e50;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

/* Derefter kommer alle dine nye klasser til forsiden */

.magic-showcase {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}

.poster-container {
    background: #ffffff;
    border-radius: 8px;
    width: 350px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .poster-container:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

.image-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    background-color: #f1f2f6;
    overflow: hidden;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    z-index: 1;
}

.dynamic-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    animation: slowZoom 15s infinite alternate ease-in-out;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.poster-info {
    padding: 20px;
    text-align: center;
}

    .poster-info h3 {
        margin: 0 0 10px 0;
        font-size: 1.2rem;
        color: #2c3e50;
    }

    .poster-info .price {
        margin: 0;
        font-weight: bold;
        color: #e74c3c;
        font-size: 1.1rem;
    }
