.NFTbg {
    width: 80%;
    max-width: 350px;
    aspect-ratio: 3/4;

    padding: 12px;

    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #555;

    border: 2px solid black;
    border-radius: 9px;
}

.NFT {
    max-width: 100%;
    max-height: 100%;
}

.NFTimage {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;

    display: inline-block;

    border-radius: 9px;
    box-shadow: 0 0px 15px silver;
}

.NFTid {
    position: absolute;
    right: 0;
    top: 0;

    padding: 2px;

    background: black;
    color: silver;

    border-radius: 4px;
}

.NFTinfo {
    width: 100%;
    aspect-ratio: 1/0.28;

    margin-top: 5%;

    display: inline-block;
    text-align: center;

    background: #aaa;
    color: black;

    border-radius: 4px;
    box-shadow: 0 0px 15px silver;
}

.NFTinfo1 {
    margin-top: 10px; 
    display: block;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.NFTinfo2 {
    max-height: 60%;

    margin-top: 4px;

    display: block;
    overflow-y: scroll;

    scrollbar-gutter: stable;
    scrollbar-width: none;

    word-break: break-all;
}

.NFTbuttons {
    width: 80%;
    max-width: 350px;

    position: absolute;
    left: 50%;
    bottom: 3%;
    transform: translate(-50%, 0);

    display: flex;
    gap: 8px;
}

.NFTbuttons button {
    width: 100%;

    padding: 12px;
    font-size: 1.05rem;

    background-color: silver;
    color: black;

    border: 1px solid black;
    border-radius: 9px;
}

.NFTbuttons button:hover {
    background-color: black;
    color: silver;

    border: 1px solid silver;
}