﻿html, body {
    /*height: 100%;*/ /* Asegúrate de que el body ocupe todo el viewport */
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: rgb(22, 20, 24);
    color: #eee;
    user-select: none;
}

main {
    /*height: 100vh;*/ /* Asegúrate de que el main ocupe toda la ventana */
    display: flex;
    justify-content: center;
    align-items: center;
}
.h2login{
    color:white;
}
.alinear {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    height: 100vh; /* Asegura que ocupe toda la altura de la ventana */
}
.colorinput {
    color: white;
    font-size: 20px;
}
.ico2{
    color:white;
}
.inp {
    background-color: #212121;
    /*max-width: 250px;*/
    height: 40px;
    padding: 10px;
    /* text-align: center; */
    border: 2px solid white;
    border-radius: 5px;
    font-size: 17px;
    /* box-shadow: 3px 3px 2px rgb(249, 255, 85); */
}

    .inp:focus {
        color: rgb(159, 62, 161); 
        background-color: #212121; 
        outline-color: rgb(159, 62, 161); /* Color de borde al enfocar */
        box-shadow: -3px -3px 15px rgb(159, 62, 161); 
        transition: .1s;
        transition-property: box-shadow;
        font-size: 17px;
    }
    /* Cambiar el fondo a blanco cuando hay texto y no está enfocado */
    .inp:valid {
        color: white; /* Texto blanco para mejor contraste */
        font-size: 17px;
    }

/* boton principal*/
.button-gradient {
    background: linear-gradient(45deg, #a70eb8, #eaaaf1);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100px;
    text-decoration: none;
}

    .button-gradient:hover {
        background: linear-gradient(45deg, #eaaaf1, #a70eb8);
        color: white;
    }

    .button-gradient:not(:last-child) {
        margin-right: 15px; /* Espacio entre los botones */
    }
.nft {
    user-select: none;
   /* max-width: 500px;*/
    height: auto;
    margin: 2rem auto;
    border: 1px solid #ffffff22;
    background-color: #282c34;
    background: linear-gradient(0deg, rgba(40, 44, 52, 1) 0%, rgba(17, 0, 32, 0.5) 100%);
    box-shadow: 0 7px 20px 5px #00000088;
    border-radius: 0.7rem;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    /*overflow: hidden;*/
    transition: 0.5s all;
    /*overflow-y: auto;*/
}

    .nft hr {
        width: 100%;
        border: none;
        border-bottom: 1px solid #88888855;
        margin-top: 0;
    }

    .nft ins {
        text-decoration: none;
    }

    .nft .main {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 1rem;
        box-sizing: border-box;
        /* justify-content: flex-end;*/
    }

        .nft .main .tokenImage {
            border-radius: 0.5rem;
            max-width: 100%;
            height: 250px;
            object-fit: cover;
            margin-right: 45px;
        }

        .nft .main .description {
            /*margin: 0.5rem 0;
            color: #ca6de0;*/
        /* text-align: center; */
        /*font-size: 18px;*/
        font-size: 18px;
        text-align: center;
        color: #fff;
        margin-bottom: 20px;
    }

        .nft .main .tokenInfo {
            /*display: flex;
            flex-direction: column;*/
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            margin: 15px 0;
        }

            .nft .main .tokenInfo .price {
                display: flex;
                align-items: center;
                color: #ee83e5;
                font-weight: 700;
            }

                .nft .main .tokenInfo .price ins {
                    margin-left: -0.3rem;
                    margin-right: 0.5rem;
                }

            .nft .main .tokenInfo .duration {
                display: flex;
                align-items: center;
                color: #a89ec9;
                margin-right: 0.2rem;
            }

                .nft .main .tokenInfo .duration ins {
                    margin: 0.5rem;
                    margin-bottom: 0.4rem;
                }

        .nft .main .creator {
            display: flex;
            align-items: center;
            margin-top: 0.2rem;
            margin-bottom: -0.3rem;
        }

            .nft .main .creator ins {
                color: #a89ec9;
                text-decoration: none;
            }

            .nft .main .creator .wrapper {
                display: flex;
                align-items: center;
                border: 1px solid #ffffff22;
                padding: 0.3rem;
                margin: 0;
                margin-right: 0.5rem;
                border-radius: 100%;
                box-shadow: inset 0 0 0 4px #000000aa;
            }

                .nft .main .creator .wrapper img {
                    border-radius: 100%;
                    border: 1px solid #ffffff22;
                    width: 2rem;
                    height: 2rem;
                    object-fit: cover;
                    margin: 0;
                }

    
/*@media (max-width: 400px) and (max-height: 861px){

}*/

/* Estilos generales existentes */

@media (max-width: 400px) and (max-height: 501px) { /* Para pantallas móviles */
    .colorinput {
        color: white;
        font-size: 50px;
    }
    .inp {
        background-color: #212121;
        /* max-width: 250px; */
        height: 60px;
        width: 400px;
        padding: 10px;
        /* text-align: center; */
        border: 2px solid white;
        border-radius: 5px;
        font-size: 25px;
        /* box-shadow: 3px 3px 2px rgb(249, 255, 85); */
    }
        .inp:focus {
            color: rgb(159, 62, 161);
            background-color: #212121;
            outline-color: rgb(159, 62, 161); /* Color de borde al enfocar */
            box-shadow: -3px -3px 15px rgb(159, 62, 161);
            transition: .1s;
            transition-property: box-shadow;
            font-size: 25px;
        }
        /* Cambiar el fondo a blanco cuando hay texto y no está enfocado */
        .inp:valid {
            color: white; /* Texto blanco para mejor contraste */
            font-size: 25px;
        }
    .tama{
        width:150px;
    }
    
    
    .nft .main {
        /* display: flex; */
        flex-direction: row;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 1rem;
        box-sizing: border-box;
        /* justify-content: flex-end; */
    }
    

}
@media (max-width: 768px){
    .nft .main .tokenImage {
        border-radius: 0.5rem;
        max-width: 100%;
        height: 350px;
        object-fit: cover;
        margin-right: 45px;
    }
    .h2login {
        color: white;
        font-size: 28px;
    }
    .colorinput {
        color: white;
        font-size: 27px;
    }
    .button-gradient {
        background: linear-gradient(45deg, #a70eb8, #eaaaf1);
        color: white;
        border: none;
        padding: 10px 25px;
        border-radius: 10px;
        font-size: 23px;
        cursor: pointer;
        transition: background 0.3s ease;
        width: auto;
        text-decoration: none;
    }
}

