* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    background-color: #585858c4;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;    
}

.container {
    width: 100%;
    max-width: 420px;
}

.card {
    background-color: #656565;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.577);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    filter : brightness(80%);
}

.card-body {
    padding: 30px;
}

h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.adresse {
    font-size: 0.8rem;
    color: #e3e3e3;
    margin-bottom: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.description {
    font-size: 1rem;
    color: #e3e3e3;
    line-height: 1.5;
    margin-bottom: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rating-zone {
    margin-bottom: 20px;
}

.rating-label {
    font-size: 1rem;
    color: #e3e3e3;
    margin-bottom: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.05em;
    margin-left: 30px;
}


.stars {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    margin-left: 30px;
}


.star {
    font-size: 2rem;
    color: rgb(70, 70, 70);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    user-select: none;
    display: inline-block;
}

.star:hover {
        transform: scale(1.2);
}

.star.hovered {
    color: #e7b900;
}   

.rating-text {
    font-size: 1.2rem;
    color: #e1e1e1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 1.2rem;
    transition: color 0.3s;
    margin-left: 30px;
    font-weight: bold;
}

.rating-text.active {
    color: #e7b900;
}

.reset-button {
    background: none;
    border: 2px solid #00df30;
    color: #00df30;
    padding:  8px 18px;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s, color 0.3s;
    margin-left: 30px;
    margin-top: 10px;
}

.reset-button:hover {
    border-color: #ff0000;
    color: #ff0000;
    }