/* Search-Bar */

.searchbox {
    display: flex;
    margin: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.search {
    display: flex;
    width: 300px;
    height: 40px;
    border: outset 7px rgba(186, 157, 255);
    border-radius: 15px;
}

.searchbar {
    display: block;
    width: 245px;
    background-color: rgb(199, 177, 255);
    color: rgb(127, 80, 255);
    font-size: 18px;
}

.searchbutton {
    display: block;
    width: 42px;
    color: white;
    background-color: rgba(143, 97, 249, 0.87)
}

/* Main Content Display */

.mainbox {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.nftitem {
    display: flex;
    border: inset 5px rgba(186, 157, 255);
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    width: 1100px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* NFT Layout */

.tokenbox {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Top NFT Layout */

.namebox {
    display: flex;
    width: 100%;
    height: 80px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.nftname {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: outset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background-color: rgba(143, 97, 249, 0.87);
    width: 400px;
    height: 70px;
    font-family: rbc;
    font-size: 38px;
}

/* Middle NFT Layout */

.databox1 {
    display: flex;
    flex-direction: column;
    width: 450px;
    min-height: 635px;
    align-items: center;
    flex-wrap: wrap;
}

.databox2 {
    display: flex;
    flex-direction: column;
    width: 450px;
    height: 635px;
    align-items: center;
    flex-wrap: wrap;
}

/* Left-Side NFT Layout */

.imgbox {
    display: flex;
    margin: 5px;
    width: 440px;
    height: 440px;
    border: outset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background-color: rgba(143, 97, 249, 0.87);
    justify-content: center;
    align-items: center;
}

.nftimg {
    display: block;
    width: 425px;
    height: 425px;
    border: inset 5px rgba(186, 157, 255);
    border-radius: 7px;
}

.nftimg1 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.tradebox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 5px;
    width: 440px;
    border: outset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background-color: rgba(143, 97, 249, 0.87);
}

.listingprice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 320px;
    height: 40px;
    border: inset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background: url('../a/Stars.png');
    background-attachment: fixed;
    background-size: 700px;
    background-color: black;
    font-weight: 700;
    font-size: 23px;
}

.bidprice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 320px;
    height: 40px;
    border: inset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background: url('../a/Stars.png');
    background-attachment: fixed;
    background-size: 700px;
    background-color: black;
    font-weight: 700;
    font-size: 23px;
}

.boxtitle {
    display: block;
    margin: 5px;
    width: 65px;
    border-right: solid 2px rgba(186, 157, 255);
}

.xlmlogo {
    display: block;
    margin: 5px;
    width: 25px;
    height: 25px;
    background: url('../a/xlm.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.nftprice {
    display: block;
    margin: 5px;
}

.nftprice:nth-last-child(1) {
    margin-left: auto;
}

.toolbox{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
    width: 270px;
    border: inset 5px rgba(186, 157, 255);
    border-radius: 7px;
}

.switchtool {
    display: block;
    margin: 3px;
}

.switch {
    display: block;
    color: white;
    background-color: rgba(143, 97, 249, 0.87);
    font-size: 18px;
    font-weight: 600;
    padding: 2px;
}

.buybox {
    display: flex;
    border: solid 2px rgba(186, 157, 255);
}

.priceinput {
    display: block;
    width: 130px;
}

.sell {
    display: block;
    color: white;
    background-color: rgba(143, 97, 249, 0.87);
    font-size: 12px;
    font-weight: 600;
    padding: 2px;
}

.error-message {
    display: flex;
    text-align: center;
    font-weight: 400;
}

/* Right-Side NFT Layout */

.desbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: outset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background-color: rgba(143, 97, 249, 0.87);
    margin: 5px;
}

.nftdes {
    display: block;
    font-size: 32px;
    font-family: rbc;
    width: 100%;
    border-bottom: solid 2px rgba(186, 157, 255);
}

.des {
    display: block;
    margin: 5px;
    font-weight: 600;
    
}

.conditionbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: outset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background-color: rgba(143, 97, 249, 0.87);
    margin: 5px;
}

.conditionT {
    display: block;
    font-size: 32px;
    font-family: rbc;
    width: 100%;
    border-bottom: solid 2px rgba(186, 157, 255);
}

.conditions {
    display: block;
    margin: 5px;
    font-weight: 600;
}

.typebox {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: outset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background-color: rgba(143, 97, 249, 0.87);
    width: 440px;
    margin: 5px;
}

.typeT {
    display: block;
    font-size: 32px;
    font-family: rbc;
    width: 100%;
    border-bottom: solid 2px rgba(186, 157, 255);
}

.TokenType {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    border: inset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background: url('../a/Stars.png');
    background-size: 700px;
    background-attachment: fixed;
    background-color: rgb(0, 0, 0);
    margin: 5px;
    width: 100%;
    height: 150px;
}

.cointype {
    display: block;
    font-weight: 600;
    border: outset 5px rgba(186, 157, 255);
    border-radius: 7px;
    padding: 2px;
    background-color: rgba(143, 97, 249, 0.87);
}

.nftdatabox {
    display: flex;
    flex-direction: column;
    border: outset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background-color: rgba(143, 97, 249, 0.87);
    width: 440px;
    margin: 5px;
}

.codebox {
    display: flex;
    border-bottom: solid 2px rgba(186, 157, 255);
}

.issuerbox {
    display: flex;
}

.unlockable {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-family: rbc;
    text-align: center;
    border: outset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background-color: rgba(143, 97, 249, 0.87);
    width: 440px;
    margin: 5px;
}

.unlockable:hover {
    border: outset 5px #00ff40;
    background-color: rgba(76, 0, 255, 0.87);
    font-size: 30px;
}

.nftdataT {
    display: block;
    font-size: 32px;
    font-family: rbc;
    margin-left: 10px;
    width: 120px;
    border-right: solid 2px rgba(186, 157, 255);
}

.nftdata {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    font-weight: 600;
    width: 310px;
    border: inset 5px rgba(186, 157, 255);
    background: url('../a/Stars.png');
    background-position: center;
    background-size: 700px;
    background-attachment: fixed;
    background-color: black;
}

/* Bottom NFT Layout */

.metadatabox {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.metadata {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: outset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background-color: rgba(143, 97, 249, 0.87);
    margin: 5px;
    flex-wrap: wrap;
}

.metadataT {
    display: block;
    font-size: 32px;
    font-family: rbc;
    width: 100%;
    border-bottom: solid 2px rgba(186, 157, 255);
}

.metabox {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: inset 5px rgba(186, 157, 255);
    border-radius: 7px;
    background: url('../a/Stars.png');
    background-size: 700px;
    background-attachment: fixed;
    background-color: rgb(0, 0, 0);
    margin: 5px;
    flex-wrap: wrap;
}

.trait {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: outset 5px rgba(186, 157, 255);
    border-radius: 7px;
    margin: 5px;
    width: 110px;
    height: 80px;
    background-color: rgba(143, 97, 249, 0.87);
}

.traitD {
    display: block;
    margin: 5px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    border-bottom: solid 2px rgba(186, 157, 255);
}

.traitdata {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
}

/* UC */

.leftBox {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-right: 10px;
}

.helpbox {
    display: flex;
    top: 0;
    left: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: outset 3px #00ff40;
    background-color: rgba(0, 0, 0, 0.733);
    width: 200px;
    padding: 5px;
    height: 170px;
    font-weight: 600;
}

.gameBox {
    display: flex;
    margin: 2px;
    border-radius: 15px;
    width: 450px;
    height: 200px;
    border: outset 5px rgba(186, 157, 255);
    text-align: center;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.753);
}

.gameBox:hover {
    border: inset 5px rgb(76, 0, 255);
    background-color: rgba(186, 157, 255, 0.514);
    padding: 3px;
    cursor: pointer;
}

.gameImg {
    display: block;
    width: 150px;
    height: 150px;
    margin: 10px;
    background: url('../a/GameDrive-1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    image-rendering: pixelated;
}

.gameCont {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 10px;
    width: 300px;
    height: 150px;
    font-size: large;
    font-weight: 500;
}

.extras {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 150px;
    border: #00ff40 solid 2px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.651);
}

.extraImg {
    display: block;
    margin: 10px;
    width: 100px;
    height: 100px;
    border: white outset 3px;
    border-radius: 15px;
    background: url('../t/RedRider.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: rgba(255, 255, 255, 0.616);
}

.extraCont {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 275px;
    font-weight: 600;
}

.epbox {
    display: flex;
    flex-direction: column;
    height: 500px;
    overflow-y: scroll;
    scrollbar-width: none;
}


@font-face {
    font-family: 'rbc';
    src: url('../f/Helicopta.otf') format('opentype');
}

/*Phone Size*/

@media screen and (max-width: 400px) {
    .tokenbox {
        width: 350px;
    }
    .nftname {
        width: 330px;
        height: auto;
        font-size: 22px;
    }
    
    .imgbox {
        width: 330px;
        height: 330px;
    }
    
    .nftimg {
        width: 320px;
        height: 320px;
    }
    
    .tradebox, .desbox, .conditionbox, .typebox, .nftdatabox, .metadata,  .unlockable {
        width: 330px;
        margin-left: auto;
        margin-right: auto;
    }
    
    
}