body {
    align: center;
}

body,
html {
    background-color: transparent !important;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
}

.movie-card {
    display: flex;
    overflow: hidden;
    max-width: 1024px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    width: 100%;
    height: 100vh;
}

.movie-details h2 {
    margin: 0;
    font-size: 24px;
}

.movie-details {
    padding: 15px;
    background-color: #fff;
    width: calc(100% - 15px);
    flex: 1;
}

.movie-details .biline {
    font-style: italic;
    color: #666;
}

.movie-details .rating {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.movie-details .rating .star {
    color: gold;
    margin-right: 5px;
}

.movie-details .runtime {
    color: #666;
}

.plot {
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px;
    font-size: 15px;
}

.tomatoes,
.metacritic,
.imdb,
.metacritic {
    height: 20px;
    overflow: hidden;
}

.tomatoes {
    width: 20px;
}

.rate {
    margin-left: 5px;
    color: #576783;
    font-family: "Arial", "sans-serif";
    font-size: 16px;
}

.purelink {
    height: 25px;
    display: block;
    direction: rtl;
}

a {
    text-decoration: none;
}

.ratings {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.movie-card img.poster {
    max-width: 50%;
    max-height: 100vh;
}

.poster,
.movie-details {
    /* box-shadow: inset rgba(0,0,0,0.1) 0px 0px 5px; */
}

@media (prefers-color-scheme:dark) {
    html.dark .movie-details {
        background-color: black;
    }
}

@media (max-width: 600px) {
    .movie-card img.poster {
        max-width: 55%;
        object-fit: contain;
    }

    .movie-card {
        height: 200px;
    }

    .plot {
        display: none;
    }

    .movie-details h2 {
        font-size: 17px;
    }

    .movie-details .rating {
        margin: 2px 0;
    }

    .movie-details .biline {
        font-size: 12px;
        margin-top: 2px;
    }

    .ratings {
        flex-direction: column;
        gap: 5px;
        margin-top: 5px;
        font-size: 13px;
    }

    .ratings .rate {
        font-size: 13px;
    }

    .movie-details {
        padding: 10px;
        width: calc(45% - 10px);
        flex: 1;
    }

    .imdb {
        width: 20px;
    }

    .imdb svg {
        max-width: 20px;
        max-height: 20px;
    }
}