.container {
max-width: 50rem;
margin: 0 auto;
}

.movie__header {
display: flex;
flex-direction: column;
margin-bottom: 2.5rem;
}

.header__row {
display: flex;
justify-content: space-between;
align-items: center;
}

.movie__name {
display: flex;
align-items: center;
font-size: 90%;
}

.movie__watched {
display: flex;
}

.watched__link {
color: inherit;
text-decoration: none;
font-weight: 600;
}

.watched__link:hover {
text-decoration: underline;
}

.movie__edit {
display: flex;
text-decoration: none;
align-items: center;
margin-left: 1rem;
color: inherit;

}

.movie__edit:hover {
text-decoration: underline;
}

.movie__eye {
text-decoration: none;
align-items: center;
margin-left: 1rem;
color: inherit;
}

.movie__eye:hover {
    text-decoration: underline;

}

.pencil {
width: 1em;
height: 1em;
margin-left: 3px;
}

.movie__tags {
list-style: none;
display: flex;
font-size: 90%;
}

.movie__tag {
    margin-top: 5%;
padding: 5px 8px;
background-color: var(--tag-colour);
border-radius: 4px;
}

.movie__tag:not(:first-of-type) {
margin-left: 1rem;
}

.movie__video {
width: 100%;
aspect-ratio: 16/9;
margin-bottom: 2.5rem;
box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.25),
    0 15px 35px 0 rgba(0, 0, 0, 0.25);
border-radius: 4px;
}

.movie__description {
margin-bottom: 2.5rem;
}

.movie__meta {
display: grid;
grid-template-columns: repeat(2, 1fr);
}

.list__item {
margin-top: 1rem;
}

.rating__link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: unset;
}

.star {
width: 1.5em;
height: 1.5em;
fill: #808080;
}

.rating__link:not(:first-of-type) {
margin-left: 8px;
}

.movie__rating {
    display: flex;
    margin-left: 2rem;
    margin-right: 2rem;
}

.star--filled {
    fill: #ffd02a;
}

.img---add_links {
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
}
