body {
    background-color: #1c65ab;
    padding: 0px;
    margin: 0px;
    padding-top: 60px;
    font-family: 'Sniglet', sans-serif;
    padding-bottom: 120px;
}

header {
    background-color: #70bfb8;
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    text-align: center;
    color: #1c65ab;
}

.bottom-nav {
    background-color: #fcc60f;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 10%;
}

.icon {
    width: 200%;
    image-rendering: pixelated;
}

.home-page {
    padding-top: 2%;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.edit-page {
    display: none;
    padding-top: 2%;
}

.edit-bg {
    width: 98%;
    height: 500px;
    background-color: #38a4d8;
    padding-top: 2%;
    margin: auto;
    border-radius: 5%;
}

.blob {
    image-rendering: pixelated;
}

.shape, .eyes, .hat {
    position: absolute;
    width: 100%;
    max-width: 500px;
    height: auto;

    margin-left: auto;
    margin-right: auto;
}

.blob-wrapper {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    height: 250px; /* gives blob real space */
}


@media (max-width: 600px){ /*phones*/
    .blob-customizer {
        display: flex;
        flex-direction: column;
        padding-top: 75%;
    }

}

@media (min-width: 601px){ /*computer*/
    .blob-customizer {
        display: flex;
        flex-direction: column;
        padding-top: 30%;
    }

    .edit-bg {
        height: 700px;
        margin-bottom: 10%;
    }
}

.shape-selector, .shape-color-selector, .eyes-selector, .hat-selector {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.next-arrow {
    image-rendering: pixelated;
    width: 64px;
    height: 64px;
    margin: auto;
}

.blob-wrapper-edit-mode {
    width: 75%;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

.info-card {
    background-color: #38a4d8;
    width: 98%;
    border-radius: 5%;
    margin: auto;
    position: static; 
    left: 0; 
    right: 0;
    bottom: 11%;
    margin-inline: auto;

    display: flex;
    flex-wrap: wrap; /* ← FIX */
    gap: 20px;       /* ← MUCH BETTER */
    object-fit: contain;
    flex-shrink: 0;

    margin-bottom: 20px;

    margin-top: 40px;
}


#name {
    max-width: 50%;        /* name can’t take over the whole row */
    white-space: normal;
    word-wrap: break-word;
    padding-left: 5px;
}


.need {
    position: relative;
    left: 10%;
}

.need-value {
    position: relative;
    top: 25%;
    text-align: right;
}

.name-container {
    display: flex;
    gap: 10px;
}

.name-container img {
    width: 32px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    image-rendering: pixelated;
}

.need-fill-buttons button {
    border-radius: 8px;
    background-color: #70bfb8;
    color: #1c65ab;
    border: none;
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin: 5px;
    width: 80%;
    font-family: 'Sniglet', sans-serif;
    font-size: 20px;
    position: relative;
}

.need-fill-buttons h3 {
    text-align: center;
}

.need-fill-buttons {
    display: flex;
    flex-direction: column;
    align-items: center; /* ← centers the buttons */
    justify-content: center;
    text-align: center;
}
