#nft-request-loading {
    display: inline-flex;
    align-self: center;
}

#nft-request-loading .spinner-border{
    height:1.3em;
    width:1.3em;
    top: .125em;
    left:.5em;
    position: relative;
}

.appear{
    display:block;
}

.disappear{
    display:none;
}


#product-general-container a, #product-general-container a:hover {
    text-decoration: none;
    color: black;
}

#product-general-container {
    padding: 5vh 0 10vh 0;
}

#show-account {
    font-weight: 800;
    margin-bottom: 2%;
    overflow-wrap: break-word;
}

#redeemed-stamp {
    width: 200px;
    height: 200px;
    position: absolute;
    top: -75px;
    right: -75px;
    background-image: url("../images/redeemed_480.png");
    background-size: cover;
    background-repeat: no-repeat;
}


.product-show-background {
    border-radius: 15px;
    background-color: rgba(255,255,255, 0.7);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.20), 0 1px 4px rgba(0, 0, 0, 0.40);
}

.product-show-container{
    padding: 25px;
    position: relative;
}

.product-image-img-container{
    width: 100%;
}



.brand-image{
    max-width: 50%;
    margin: auto;
}

.brand-image-container {
    max-width: 70%;
    margin: 5% auto 10% auto;
}

#product-brand{
    width: 100%;
}

#input-form {
    margin: 0 auto 3vh auto;
    resize: none;
    overflow: hidden;
    text-align: center;
    display: flex;
    max-width: 700px;
    height: 55px;
    border: 3px solid var(--borders-color);
    border-radius: 10px;
    background-color: white;
    color: black;
    font-size: 15px;
    width: 100%;
}

#input-form::placeholder {
    padding-top: 10px;
    display: block;
    font-weight: bold;
    text-align: center;
    opacity: .5;
    color: var(--borders-color);
    transform:scale(0.90)
}

#connect-button-container{
    position: relative;
    max-width: 480px;
    margin: auto;
}


.button-74 {
    background-color: white;
    border: 2px solid var(--borders-color);
    border-radius: 10px;
    box-shadow: var(--borders-color) 4px 4px 0 0;
    color: white;
    text-shadow: 2px 0 var(--borders-color), -2px 0 var(--borders-color), 0 2px var(--borders-color), 0 -2px var(--borders-color),
    1px 1px var(--borders-color), -1px -1px var(--borders-color), 1px -1px var(--borders-color), -1px 1px var(--borders-color);
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    font-size: 18px;
    padding: 0 18px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-74:hover {
    background-color: var(--main-color);
}

.button-74:active {
    box-shadow: var(--borders-color) 2px 2px 0 0;
    transform: translate(2px, 2px);
}



#error-message-container{
    margin: 1.2% auto;
    position: relative;
    width: 600px;
    height: 35px;
    border: 2px solid black;
    border-radius: 10px;
    text-align: center;
    background-color: rgba(255, 0, 0, 0.51);
    font-weight: 600;
    font-size: min(max(11px, 3.8vw), 18px);
    line-height: 35px;
}


#template-logo-container {
    margin: 0 auto 10px auto;
    width: 200px;
}

#template-logo-container > img{
    width: 100%;
}


#product-name{
    font-weight: 600;
}

.product-description-container{
    width: 90%;
    overflow: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    margin: auto;
}

.product-description-container::-webkit-scrollbar {
    display: none;
}

#product-description{
    font-size: 1.2rem;
    padding-top: 15px;
}

.product-image-img-container > img {
    max-width:100%;
    max-height:100%;
}

.product-owner-container{
    margin-top: 15px;
    font-size: 1.1rem;
}
.product-owner-container > p{
    margin-bottom:0;
}

.product-owner {
    text-decoration: none;
    color:inherit;
}

#product-info-container{
    width: 100%;
}

.info-voice{
    font-weight: 700;
}

.product-owner:hover {
    text-decoration: none;
    color:inherit;
}

.product-buttons-container{
    width: 90%;
    bottom: 0;
    display:flex;
    padding: 5% 0;
    margin: auto;
}

.product-button{
    margin: auto;
    height: 50px;
    width: 50px;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgb(0 0 0 / 20%), 0 1px 4px rgb(0 0 0 / 40%);
    border: solid 1px rgb(0 0 0 / 80%);
    background-color: rgba(255,255,255,0.8);
}

.product-button:hover{
    transform: scale(1.1);

}

.product-button > img{
    max-width: 80%;
    margin: auto;
    padding: 10% 0;
}

.info-panel {
    padding: 20px 0 20px 0;
    margin: auto;
    width: 80%;
    border-radius: 15px;
    background-color: rgba(255,255,255, 0.7);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.20), 0 1px 4px rgba(0, 0, 0, 0.40);
}

#properties-info, #contract-info, #links-info {
    display: none;
}

.info-row{
    padding: 10px 0;
    width: 80%;
    margin: auto;
    text-align: left;
    font-size: 1.15rem;
}

.info{
    float: right;
}

.info-separator{
    margin: auto;
    width: 80%;
    border: none;
    height: 1px;
    color: rgba(0, 0, 0, 0.20);
    background-color: rgba(0, 0, 0, 0.20);
}


.property{
    margin: auto;
    color: white;
    text-shadow: 2px 0 var(--borders-color), -2px 0 var(--borders-color), 0 2px var(--borders-color), 0 -2px var(--borders-color),
    1px 1px var(--borders-color), -1px -1px var(--borders-color), 1px -1px var(--borders-color), -1px 1px var(--borders-color);
    font-weight: 900;
    height: 120px;
    border: 1px solid black;
    border-radius: 10px;
    background-color: #f0e9fb;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.20), 0 1px 4px rgba(0, 0, 0, 0.40);
}

.property-desc, .property-name, .property-value {
    display: block;
    padding: 0;
    margin: 0 auto;
}

.property-desc{
    color: rgba(0, 0, 0, 0.60);
    font-size: 18px;
}

.property-value {
    width: 85%;
    color: black;
    font-size: 18px;
    font-weight: 400;
    text-shadow: none;
}

.property-name {
    font-size: 15px;
    font-weight: 800;
}

.properties-grid-container {
    width: 85%;
    margin: auto;
}

.properties-grid-container .row{
    padding: 20px 0;
}


#input-text-container{
    width: 100%;
}

#perspective {
    width: 400px;
    height: 500px;
    position: absolute;
    background-image: url("https://i.imgur.com/foDEYpB.png");
    background-repeat: no-repeat;
    background-size: cover;
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -250px;
    transform: rotate3d(360, 120, -90, 60deg) rotateZ(-30deg);
    box-shadow: -15px 15px 20px rgba(0, 0, 0, 0.5);
}

/*   HORIZONTAL MENÙ    */

#menu {
    cursor: pointer;
    list-style: none;
    padding: 0;
    width: 40%;
    height: 60px;
    margin: 40px auto;
    position: relative;
    background-color: rgba(255, 255, 255, 0.69);
    z-index: 7;
    border-radius: 15px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.20), 0 1px 4px rgba(0, 0, 0, 0.40);
}

#menu li {
    float: left;
    width: 25%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#menu a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    color: #21252a;
    text-decoration: none;
    position: relative;
    font-size: 18px;
    font-weight: 600;
    z-index: 9;
    border-radius: 15px;
}
#menu a:hover {
    color: white;
}

#menu a.active {
    background-color: var(--main-color);
    border: 1px solid var(--borders-color);
    color: white;
    text-shadow: 2px 0 var(--borders-color), -2px 0 var(--borders-color), 0 2px var(--borders-color), 0 -2px var(--borders-color),
    1px 1px var(--borders-color), -1px -1px var(--borders-color), 1px -1px var(--borders-color), -1px 1px var(--borders-color);
}

li.slider {
    display:none;
    width: 25%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--main-color);
    border: 1px solid var(--borders-color);
    z-index: 8;
    transition: left 0.4s, background-color 0.4s;
    border-radius: 15px;
}

#menu li:nth-child(1):hover ~ .slider, .slider:hover{
    display: inline-block;
    left: 0;
    background-color: var(--main-color);
    border: 1px solid var(--borders-color);
}

#menu li:nth-child(2):hover ~ .slider, .slider:hover{
    display: inline-block;
    left: 25%;
    background-color: var(--main-color);
    border: 1px solid var(--borders-color);
}

#menu li:nth-child(3):hover  ~ .slider, .slider:hover{
    display: inline-block;
    left: 50%;
    background-color: var(--main-color);
    border: 1px solid var(--borders-color);
}

#menu li:nth-child(4):hover ~ .slider, .slider:hover{
    display: inline-block;
    left: 75%;
    background-color: var(--main-color);
    border: 1px solid var(--borders-color);
}

.progress-bar {
    position: relative;
    margin: 0.5rem auto;
    width: 80%;
    height: 1.8rem;
    background-color: #f8f6f3;
    border: 2px solid var(--borders-color);
    border-radius: 10px;
}

.progress-value {
    height: 1.8rem;
    background-color: var(--main-color);
    border: solid 2px var(--main-color);
}

