/*
	Banking interface
*/

#Banking {
	width: 1024px;
	height: 768px;
	background-image: url( '../images/bank/bank-background.png' );
	
	#bank-title {
		position: absolute;
        font-family:var(--heading-font-family);
		left: 315px;
		right: 280px;
		bottom: 655px;
		color: white;
		font-size: 48px;
/*        text-transform:uppercase;*/
		font-weight: bold;
		text-align: center;
        text-shadow: 2px 2px 2px rgba(0,0,0,.9);
	}
	
	#teller {
		position: absolute;
		left: 280px;
		right: 145px;
		bottom: 122px;
		height: 128px;
		color: var(--body-color);
		font-size: 24px;
        line-height: 1.2;
		text-align: left;
		display: flex;
		align-items: center;
		justify-content: center;
		border-width: 40px;
		border-style: ridge;
		border-width: 40px;
		border-image-source: url('../images/bank/teller-balloon.png');
		border-image-slice: 40% fill;
		border-image-repeat: repeat; 
		transform-origin: center left;
	}
	
	.account-amount {
		position: absolute;
		top: 170px;
		height: 38px;
		width: 220px;
		font-size: 30px;
		font-weight: bold;
		text-align: right;
		
		&#cash-current { left: 88px; }
		&#savings-current { left: 398px; }
		&#credit-current { left: 707px; }
	}
	
	.payment-method {
		position: absolute;
		border-radius: 10px;
		width: 130px;
		height: 130px;
		display: flex;
		align-items: end;
		justify-content: center;
		text-align: center;
		font-size: 18px;
		padding: 10px;
		text-align: center;
		line-height: 1.0;
		text-transform: uppercase;
		color: #333;
		font-weight: bold;
		transition: transform 0.25s ease;
		top: 220px;
		
		transform: scale( 0.9 );
		
		&.deselected {
			opacity: 0.5;
		}
		&.current-selection {
			transform: scale( 1.0 ) rotate(-10deg );
		}

		&#pay-with-cash {
			background-image: url('../images/buttons/button_cash.png' );
			left: 135px;
		}
		&#pay-with-savings {
			background-image: url('../images/buttons/button_savings.png' );
			left: 445px;
		}
		&#pay-with-credit {
			background-image: url('../images/buttons/button_credit.png' );
			left: 755px;
		}

	}	
	
	.amount-options {
		position: absolute;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 5px;
		width: 250;
		bottom: 288px;
		
		&#cash-options { left: 75px; }
		&#savings-options { left: 384px; }
		&#credit-options { left: 693px; }
		
		.money-amount {
			width: 100px;
			height: 60px;
			border-radius: 10px;
			filter: brightness( 80% );
			outline-offset: 0px;
			transition: transform 0.25s ease;
			transform: scale( 0.9 );
			
			&.tab-highlighted {
				transform: scale( 1.1 );
				filter: brightness( 100% );
			}
			
			&.deselected {
				opacity: 0.5;
			}
			&.current-selection {
				transform: scale( 1.0 ) rotate(-10deg );
			}
			
			&.amount-50 {
				background-image: url('../images/bank/amount-50.png');
			}
			&.amount-100 {
				background-image: url('../images/bank/amount-100.png');
			}
			&.amount-200 {
				background-image: url('../images/bank/amount-200.png');
			}
			&.amount-all {
				background-image: url('../images/bank/amount-all-en.png');
			}
		}
	}

	#bank-exit {
			position: absolute;
	left: 0px;
	top: 0px;
	width: 80px;
	height: 81px;
	background-image: url('../images/buttons/button_exit.png');
    background-repeat:no-repeat;
	text-transform: uppercase;
	display: grid;
	align-items: center;
	justify-items: center;
	padding-left: 6px;
	padding-right: 0px;
	font-size: 12px;
	color: black;
	font-weight: bold;
	text-align: center;
	filter: brightness( 0.8 ) drop-shadow(1px 1px 5px rgba(0, 0 ,0, .5));
    transform-origin: left top;
    transition:all .2s ease-in-out;
        
        
	
        &.tab-highlighted {
            filter: none;
            outline: none;
            transform: scale( 1.1 );
            filter: brightness( 1.1 );
        }
    }
	
}