/* Reseteo básico */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #001f3f;
    background-image:
        radial-gradient(at 15% 85%, rgba(0, 200, 255, 0.75) 0px, transparent 60%),
        radial-gradient(at 70% 20%, rgba(0, 100, 255, 0.75) 0px, transparent 60%),
        radial-gradient(at 30% 30%, rgba(0, 150, 255, 0.75) 0px, transparent 60%),
        radial-gradient(at 50% 70%, rgba(0, 175, 255, 0.75) 0px, transparent 60%),
        radial-gradient(at 85% 50%, rgba(51, 153, 255, 0.75) 0px, transparent 60%),
        radial-gradient(at 60% 40%, rgba(0, 80, 204, 0.75) 0px, transparent 60%),
        linear-gradient(45deg, rgba(0, 40, 70, 0.5), rgba(0, 30, 60, 0.5)),
        linear-gradient(-45deg, rgba(0, 50, 80, 0.5), rgba(0, 20, 50, 0.5));
    min-height: 100vh;
    
}

::selection {
    background-color: #fee122   ; /* Cambia el color de resaltado a amarillo */
    color: #000000; /* Cambia el color del texto seleccionado */
}

/* Estilo para ocultar las flechas de incremento y decremento en inputs de tipo number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="text"],
input[type="number"],
input[list],
select{
    color: white;
    background-color: #17171741;
    border: 1px solid #ffffff73;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    font-size: 15px;
    width: 120px;
}

input[type="number"]:hover,
input[type="text"]:hover,
input[list]:hover,
select:hover{
    background-color: #ffffff15;
}

input[list]:hover,
select:hover{
    cursor: pointer;
    
    
}

select option{
    background-color: #474747;
}

#titulo{
    text-align: center;
}


.section1 {
    
 /*   background: linear-gradient( #0d0f14, #2c2569,#372569 ,#0d0f14 80%); */
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 100PX;
    color: WHITE;
}

/* CONTENEDORES GENERAL PRINCIPALES */
.calculadora{
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    
}

.calculadora-resultados{
    display: flex;
    gap: 10px;
}

.calculadora-main{
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* CONTENEDOR DEL ITEM Y SU FAMA */
.calculadora-info{
    background-color: rgba(0, 0, 0, 0.685);
   
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.61);
    border-radius: 20px;
    
}

.fame{
    width: 250px;
    border-radius: 10px;
    
}

.fame{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.fame input[type="text"]{
    width: 120px;
    border: none;
}

.buscador-position h1{
    margin: 0;
    padding-top: 10px;
    color: #d3d3d3;
    font-weight: 500;
    text-align: center;
    
}

.fame p{
    font-size: 12px;
    color: gray;
    text-align: center;
}

#item-render-fame{
    width: 100px;
}
/* CONTENEDOR DEL ITEM Y SU FAMA */


/* CONTENEDOR DE LOS RESULTADOS */
.resultados{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    height: 627px;
    gap: 10px;
    
}

.resultados p{
    margin: 2px;
    color: #fee122;
}

.primero,
.segundo,
.tercero,
.cuarto,
.quinto,
.sexto{
    height: 202px;
    width: 250px;
    padding: 20px;
    
    
    
}

/* CONTENEDOR DE LOS RESULTADOS */
.calculator-inputs{
    background-color: rgba(0, 0, 0, 0.685);
    box-shadow: 0px 2px 4px rgba(219, 219, 219, 0.253);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.61);
}

.calculator-inputs label{
    width: 120px;
    display: inline-block;
}

.calculadora label {
    font-size: 14px;
    color: white;
    font-weight: bold;
}


.buscador-position{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    border-radius: 20px;
    padding: 10px;
    gap: 10px;
    text-transform: uppercase;
}
.buscador-position label{
    font-weight: 600;
}

#item-name{
    width: 200px;
}




.buscador-item,
.buscador-select{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}



.primero,
.segundo,
.tercero,
.cuarto,
.quinto,
.sexto,
.septimo{
    background-color: rgba(27, 24, 27, 0.8);
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.61);
    border-radius: 20px;
}



.calculator1{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.calculator1 label{
    width: 200px;
}




.material-container,
.material-container2,
.material-container3{
    display: flex;
    align-items: center;
  
    
}

.calculator-percents{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}


.calculator2,
.calculator3{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    
}


#Material1, #Material2{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}


#item-render,
#item-render2, 
#material1-render,
#material1-render2,
#material1-render3,
#material2-render,
#material2-render2,
#material2-render3,
#artifact-render,
#artifact-render2,
#artifact-render3
{
    width: 50px;
}



.container-hero2{
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.section2 h2{
    font-size: 50px;
    color: #000000;
    letter-spacing: -2px;
    text-transform: uppercase;
    font-weight: 800;
}

.section2 p{
    font-family: italic;
    color: rgb(255, 255, 255);
    font-size: 35px;
    padding: 20px;
    font-weight: 400;
}   



#card-1,
#card-2,
#card-3{
    border-radius: 20px;
    box-shadow: rgb(240, 240, 240) 20px 0px 100px -10px;
    width: 60%;
    border: 5px solid rgb(255, 255, 255);
}

.card-box{
    padding: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}



/* BOTON PARA CAMBIAR EL LENGUAJE */
.lenguage{
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: start;
}


#en-icon{
    width: 30px;
    margin: 0;
    margin-right: 10px;
}

#es-icon{
    width: 30px;
    margin-left: 10px;
}

.check{
    position:relative;
    width: 50px;
    
}
.check:before{
    content: '';
    position:absolute;
    width: 50px;
    height: 25px;
    background: #333;
    border-radius: 25px;
}

.check::after{
    content: '';
    position:absolute;
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 25px;
    transition: 0.25s;
    border: 1px solid #333;
    box-sizing: border-box;
}

.check:checked::after{
    left: 25px;
    border: 2px solid #ffffff;
}

.check.check::after{
    background: #ffffff;
}
/* BOTON PARA CAMBIAR EL LENGUAJE */



/* RESPONSIVE PARA MOBILE */

@media (max-width: 1100px){
    .calculadora-resultados{
        
    }
    .calculadora{
        flex-direction: column
    }
    .calculadora-main{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .fame{
        margin: auto;
        width: 100%;
        border-radius: 0px;
    }
    .buscador-position{
        width: 860px;
    }
}

@media (max-width:850px){
    .calculadora-main{
        align-items: normal;
    }
    .buscador-position{
        flex-direction: column;
        width: 100%;
    }
    .calculadora-resultados{
        flex-direction: column;
    }
    .resultados{
     height: auto;
     gap: 0;
     width: 100%;
    }
    .primero,
    .segundo,
    .tercero,
    .cuarto,
    .quinto,
    .sexto{
        height: 180px;
        width: 100%;
        padding: 10px;
        border-radius: 0;
    }

    .calculator-inputs{
        width: 100%;
        border-radius: 0px;
        margin: auto;
    }
    .material-container,
    .material-container2,
    material-container3{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #card-1,
    #card-2,
    #card-3{
        width: 100%;
    }
}

