/* General styles */

body {
    background: #374046fa;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0px;
    column-gap: 0px;
    /* margin-left: auto; */
}

.project-image {
    max-width: 100%;
}

/* flex container */

/*
┌─┬─┐
├─┼─┤
│
└─┴─┘
Header
Content │ Sidebar
Footer
┌─────┐
├───┬─┤
│    │ │
├───┴─┤
└─────┘
*/

.container {
    /* display: flex; */
}

.body-container {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 0px;
    column-gap: 0px;
}

.body-container-content {
    display: flex;
    flex-basis: 8rem;
    flex-wrap: wrap;
}

/* sidebar styling */

.body-container-sidebar {
    display: flex;
    margin-left: auto;
}

.sidebar-badges {
    align-self: end;
    display: grid;
    width: 176px;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0px;
    column-gap: 0px;
}

.sidebar-badges-header {
    grid-column: span 2;
}

.sidebar-badges-content {
    /* flex-grow: 2; */
}

.sidebar-content > div {
    display: inline;
}
.badge31-link {
    height: 31px;
    width: 88px;
}

.badge31:nth-child(even) {
    justify-self: end;
}

.badge15:nth-child(even) {
    justify-self: end;
}

/*cards*/

.card {
    --main-color: #000;
    --bg-color: #ebd18d;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        "Open Sans",
        "Helvetica Neue",
        sans-serif;
    width: 300px;
    padding: 25px;
    background: var(--bg-color);
    border-radius: 20px;
}

.card__wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.card___wrapper-acounts {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 1;
    cursor: pointer;
}

.card___wrapper-acounts > div:nth-child(2) {
    position: absolute;
    left: 25px;
    z-index: -1;
}

.card___wrapper-acounts > div:nth-child(3) {
    position: absolute;
    left: 50px;
    z-index: -2;
}

.card__score {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background: var(--main-color);
}

.card_image > img {
    max-width: 256px;
    max-height: 256px;
}

.card__acounts {
    width: 42px;
    height: 42px;
}

.card__acounts svg {
    width: 100%;
    height: 100%;
}

.card__menu {
    width: 40px;
    height: 40px;
    background: #f6db96;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.card__title {
    /**margin-top: px;**/
    font-weight: 900;
    font-size: 25px;
    color: var(--main-color);
}

.card__subtitle {
    margin-top: 15px;
    font-weight: 400;
    font-size: 15px;
    color: var(--main-color);
}

.card__indicator {
    margin-top: 50px;
    font-weight: 500;
    font-size: 14px;
    color: var(--main-color);
}

.card__progress progress {
    width: 100%;
    height: 4px;
    border-radius: 100px;
}

.card__progress progress::-webkit-progress-bar {
    background-color: #00000030;
    border-radius: 100px;
}

.card__progress progress::-webkit-progress-value {
    background-color: var(--main-color);
    border-radius: 100px;
}
