
body{
	background-image: url(background.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	font-family: Arial, sans serif;
    position: absolute;
    top: 30%;
    transform: translateY(-30%);
    --dark: black;
    --bg: #00000085;
    --fg: lightgrey;
    --light: lightgrey;
    --accent-dark: grey;
    --accent-light: lightgreen;
    --input-bg: #77777790;
    color: var(--fg);
    text-align: center;
}

header{
    width: min(90%, 500px); 
    margin: auto;   
    border-radius: 18px;
    box-shadow: 0 0 12px var(--fg);
    padding: 0.5rem;
    font-size: 0.8rem;
    background: var(--bg);
    backdrop-filter: blur(5px);
   }
form{
    width: min(90%, 500px);
    display: grid;
    margin: 20px auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 1fr 1.5fr 2fr 1fr 0.5fr 1fr;
    grid-template-areas:
    "box1 box3"
    "box2 box4"
    "br1 br1"
    "box7 box8"
    "box6 box5"
    "br2 br2 "
    "box9 box9"    ;
    border: none;
    border-radius: 18px;
    box-shadow: 0 0 12px var(--fg);
    padding: 5% 2% 10% 2%;
    animation: fadeIn 1.5s;
    background: var(--bg);
	backdrop-filter: blur(5px);
}

input{
    text-align: center;
    font-size: 2em;
    width: 90%;
    height: 70%;
    border-radius: 8px;
    border: 1px solid var(--accent-dark);
    margin-top: 0.2rem;
    background: var(--input-bg);
    color: var(--fg)
}
input:focus, select:focus{
   outline: 1px solid var(--accent-light);
   box-shadow: 0 0 5px var(--accent-light);
}

#display{
    background: transparent;
}

.displayDiv{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    width: 90%;
    height: 75%;
    margin-left: 5%;
    margin-top: 22px;
    border-radius: 8px;
    animation: fadeIn 1.2s; 
    box-shadow: 0 0 12px var(--fg);
    background: var(--bg);
}

.hidden{
    display: none;
}

#display{
    color: var(--fg);
    font-size: 2em;
    border: none;
}

select{
    width: 90%;
    font-size: 1.05em;
    text-align: center;
    border-radius: 8px;
    margin: 0.2rem;
    background: var(--input-bg);
    color: var(--fg)
}


label{
    font-size: 0.8em;
    text-align: left;
}
button{
    height: 90%;
    width: 80%;
    border-radius: 30px;
    margin: 1rem;
    background: var(--accent-dark);
    color: var(--fg);
    border: none;
    transition: 0.1s;
}
button:active{
    box-shadow: 0 0 12px var(--fg);
    color: var(--dark); 
}

.animate{
    animation: fadeIn 1.2s;
}

@keyframes fadeIn{
			0% {opacity:0%; scale: 95%;}
            50%{opacity: 100%; box-shadow: 0 0 20px var(--accent-light)};
        }