.achievements {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.achievement {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 10px;
    width: calc(25% - 20px); /* 4 награды в ряд */
    padding: 20px;
    padding-bottom:10px;
    box-sizing: border-box;
    position: relative; /* Добавлено для позиционирования рейтинга */
}

.achievement.hidden{
    opacity: .7;
    background-color: #ffe4e4;
}

@media (max-width: 768px) {
    .achievement {
        width: calc(50% - 20px); /* По 2 награды в ряд на маленьких экранах */
    }
}

.badge {
    text-align: center;
}

.badge img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rating {
    position: absolute;
    top: 6px;
    right: 5px;
    background-color: rgb(162 255 205 / 80%);
    border-radius: 5px;
    padding: 5px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.info {
    text-align: center;
    margin-top: 10px;
}

.info h3 {
    margin-top: 0;
    text-align: center;
}

.description {
    margin-top: 5px;
    color: #888;
}

.date {
    color: #999;
    text-align: center;
    margin-top: 25px;
}
