@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');


body{
    margin: 0;
    display:flex;
    justify-content: center;
    flex-direction:column;
    align-items: center;
    height: 100vh;
    font-family: 'Cinzel',serif;
/*Now i have made it from a white scren to a darked more moddy theme like he harry potter series*/
    background-color: #0d0d12;
    background-image: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
}
button{
    width: 65px;       
    height: 65px;       
    border-radius: 50%;
    border: 2px solid #3d3535;
    background-color: #2b2525;
    color:#d3a625;
    font-size: 1.6rem;   
    font-weight: bold;
    font-family: 'Cinzel', serif;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    cursor:pointer;

    /*Adding these box shadow and the gold color liek from the griffindor would make it aesthetically better*/
}

#keys{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 25px;
}

#calculator{
   font-family: 'Cinzel', sans-serif;
   background-color: #1e1a1b;
   width: 340px;        
   border-radius: 20px; 
   overflow:hidden;
/*Now to add this magical gold glowing shadow around the cals itself*/ 
   box-shadow: 0 0 20px rgba(211,166,37,0.3), inset 0 0 10px #000;
   border: 2px solid #8a6d3b;
}
#display{
    width:100%;
    padding:20px;
    font-size: 2.5rem;  
    text-align: right;
    border: none;
    background-color: #f4e8d1;
    color: #311516;
    box-sizing: border-box;
    border-bottom: 3px solid #8a6d3b;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    box-shadow: inset, 0 0 15px rgba(0,0,0,0.2);


}

/* Add a hover effect to the buttons so that when we hover they turn into a lighter shade*/
button:hover{
    background-color: #3d3535;
    box-shadow: 0 0 10px rgba(211, 166, 37, 0.4); 
    transform: scale(1.05);
}
button:active{
    background-color: #1a1717;
    transform:scale(0.95);
}

.operator-btn{
    background-color: #740001;
    color: #d3a625;
    border-color: #9c0c0e;

}
.operator-btn:hover{
    background-color: hsl(35, 100%, 65%);
    box-shadow: 0 0 15px rgba(211, 166, 37, 0.6);
}
.operator-btn:active{
    background-color: #4a0000;
}


/*Now we will add the css for all the elements of the new feture we added about the blood group*/
#gatekeeper {
    position: fixed;
    top: 0;
    left: 0;
    width:100vw;
    height: 100vh;
    background-color: rgba(13, 13, 18, 0.98);
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color:#d3a625;
    font-family: 'Cinzel', serif;
}

/*buttons and the sorting message css*/

.house-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.house-buttons button {
    width: auto;
    height: auto;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.2rem;
}

#sorting-message{
    margin-top:30px;
    font-size: 1.5rem;
    color: #740001;
}



/*Lets add the final css we need for these lumos and nox one(light and dark mode for those who dont know)*/



#lumos-btn{
    position:absolute;
    top:20px;
    left:20px;
    width:auto;
    height:auto;
    padding: 10px 20px;
    font-size:1.2rem;
    border-radius: 10px;
    z-index: 500;
}

body.lumos-mode{
    background-color:#e5d9c2;
    background-image:none;
}

body.lumos-mode #welcome-message {
    color: #311516;
}

body.lumos-mode #welcome-message p {
    color: #5c2c2d;
}

body.lumos-mode #calculator {
    background-color: #d3c4a9;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), inset 0 0 10px #a3957a;
    border: 2px solid #8a7a5c;
}

body.lumos-mode #lumos-btn {
    background-color: #d3c4a9;
    color: #311516;
    border: 2px solid #8a7a5c;
}



/*The welcome message*/
#welcome-message{
    text-align: center;
    color: #d3a625;
    max-width: 340px;
    margin-bottom: 20px;
}
#welcome-message h2{
    margin: 0 0 5px 0;
    font-size: 1.8rem
}

#welcome-message p {
    margin: 0;
    font-size: 0.9rem;
    color: #a88a32;
}