html, body {
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none; /* Non-prefixed version, currently
                              supported by Chrome and Opera */
}

#renderCanvas {
    width: 100%;
    height: 100%;
    touch-action: none;

    border: 10px solid rgb(255, 255, 255);
}

/* Loader */
#loadingDiv {
    z-index: 200;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffacc5; /* Old browsers */
    background: -moz-linear-gradient(top, #003e8a 0%,#cdffb9 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #003e8a 0%,#cdffb9 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #447de6 0%,#fceea2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FB7BA2', endColorstr='#FCE043',GradientType=0 ); /* IE6-9 */

    border: 10px solid rgb(255, 255, 255);

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none; /* Non-prefixed version, currently
                              supported by Chrome and Opera */
    overflow: hidden;
    pointer-events: none;
}

#loadingText {
    position: absolute;
    color: rgb(39, 39, 39);
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    font-size: x-large;
    font-weight: 300;

    width: 100%;
    top: 50%;
    left: 50%;
    height: 40px;
    transform: translate(-50%, -50%);
    margin-top: 50px;
}

.loader {
    position: absolute;
    border: 2px solid #363636;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;

    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -50px;
    margin-left: -25px; /* Half the width */
}

.loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid;
    border-color: #3d71ff9f transparent;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

/* Info DIV */
.info-div {
    z-index: 102;
    position: absolute;
    width: 70%;
    min-width: 320px;
    max-width: 500px;
    bottom: 30px;
    left: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    transform: translateX(-50%);
    border-radius: 10px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, transform 0.4s ease-in-out;

    overflow: hidden;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    pointer-events: none;

    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    pointer-events: auto;
    transition: opacity 0.3s ease-in-out, transform 0.4s ease-in-out;
}

#info-price {
    color:  rgb(37, 37, 37);
    text-align: center;
    font-size: x-small;
}

#info-div-header {
    display: flex;
    flex-direction: column;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    /* gap: 10px;  */
    height: 30px;
}

#title {
    color:  rgb(37, 37, 37);
    text-align: center;
    font-size: large;
    line-height: 30px;
}

#description {
    color:  rgb(37, 37, 37);
    text-align: center;
    padding-top: 2px;
    font-size: small;
}

#price {
    color:  rgb(37, 37, 37);
    text-align: center;
    padding-top: 2px;
    font-size: medium;
    font-weight: bold;
}

.material-icon {
    width: 30px;
    height: 30px;
    border: 1px solid rgb(56, 56, 56);
    border-radius: 50px;
    margin-left: 5px;
    background-color: transparent;
}

button {
    border: none;
    background-color: transparent;
}

.trash-icon {
    position: absolute;
    width: 30px;
    text-align: right;
    right: 25px;
}

.icon {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    opacity: 0.7;
    transition: opacity 0.5s ease-out;
    border: none;
    background-color: transparent;
    -webkit-user-drag: none; /* Safari */
    -khtml-user-drag: none; /* Konqueror HTML */
    -moz-user-drag: none; /* Old versions of Firefox */
    -o-user-drag: none; /* Old versions of Opera */
    /* transition: opacity 0.3s ease-in-out; */
}

.icon img {
    padding: 2px;
    width: 50px;
    height: 50px;
}

.bts-container {
    position: absolute;
    top: 20px;
    width: 100%;
    height: 50px;
    padding-left: 20px;
    padding-right: 20px;
    /* border: 2px red solid; */
}

.bt-container-div1 {
    z-index: 199;
    pointer-events: auto;
    left: 20px;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out, transform 0.4s ease-in-out
}

#info-icon {
    width: 50px;
    height: 50px;
    top: 20px;
    right: 20px;
    opacity: 0.6;
}

#delete-icon {
    width: 50px;
    height: 50px;
    top: 20px;
    right: 20px;
    opacity: 0.6;
}

.bt-container-div {
    pointer-events: auto;
    position: absolute;
    right: 20px;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out, transform 0.4s ease-in-out
}

/* Estilos CSS para pantallas medianas y grandes */
@media screen and (min-width: 850px) {
    /* Agrega estilos aquí */
    .model-selector-div {
        z-index: 199;
        position: absolute;
        left: 20px;
        top: 80px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        -ms-grid-column-align: center;
        grid-gap: 5px;
        padding: 20px;
        border-radius: 10px;
    
        background-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    
        transition: opacity 0.3s ease-in-out;
    }

    /* .bt-container-div {
        pointer-events: auto;
        right: 20px;
        font-weight: bold;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        transition: opacity 0.3s ease-in-out, transform 0.4s ease-in-out
    }
 */
}

/* Estilos CSS para pantallas pequeñas */
@media screen and (max-width: 850px) {
    /* Agrega estilos aquí */

    .model-selector-div {
        z-index: 199;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        -ms-grid-column-align: center;
        grid-gap: 10px;
        padding: 20px;
        border-radius: 10px;
    
        background-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    
        transition: opacity 0.3s ease-in-out;
    }
    
    /* .bt-container-div {
        pointer-events: auto;
        position: absolute;
        right: 20px;
        font-weight: bold;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        transition: opacity 0.3s ease-in-out, transform 0.4s ease-in-out
    } */
}

.model-selector-div img {
    display: block;
    width: 100%;
    height: auto;
    width: 70px;
    border-radius: 10px;
    border: 1px rgb(37, 37, 37) solid;
    opacity: 0.6;
    

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none; /* Non-prefixed version, currently
                              supported by Chrome and Opera */
    overflow: hidden;
}

.confirm-delete-div {
    z-index: 199;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(1, 2fr);
    grid-gap: 15px;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 280px;

    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition: opacity 0.3s ease-in-out, transform 0.4s ease-in-out;
}

.eliminar {
    border-radius: 5px;
    border: 2px solid red;
    color: red;
}

.cancelar {
    border-radius: 5px;
    border: 2px solid black;
    color: black;
}

.welcome-div, .how-to-div {
    z-index: 199;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(1, 2fr);
    grid-gap: 15px;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 280px;

    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    pointer-events: none;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none; /* Non-prefixed version, currently
                              supported by Chrome and Opera */

    transition: opacity 0.3s ease-in-out, transform 0.4s ease-in-out;
}

.add-to-homescreen-div {
    z-index: 199;
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    width: 280px;

    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    pointer-events: none;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none; /* Non-prefixed version, currently
                              supported by Chrome and Opera */

    transition: opacity 0.3s ease-in-out, transform 0.4s ease-in-out;
}

.welcome-div img, .how-to-div img {
    width: 100%;
    border-radius: 50px;
}
  
.hidden {
    opacity: 0;
    /* transition: opacity 0.5s ease-in-out; */
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease-in-out, transform 0.4s ease-in-out;
    overflow: hidden;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    pointer-events: none;
}

.hidden2 {
    z-index: -1;
    opacity: 0;
    /* transition: opacity 0.5s ease-in-out; */
    transition: opacity 0.3s ease-in-out;
    overflow: hidden;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    pointer-events: none;
    display: none;
}

.logo {
    z-index: 101;
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 120px;
    transform: translateX(-50%);
}

.model-loader-div {
    z-index: 200;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#FPS-div {
    position: absolute;
    z-index: 199;
    bottom: 20px;
    left: 20px;
    font-size: small;
    color: white;
}