@font-face {
  font-display: swap; 
  font-family: 'Repo';
  font-style: normal;

  src: url('addons/fonts/Repo/Repo.woff') format('woff'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Repo Black';
  font-style: normal;

  src: url('addons/fonts/Repo/Repo-Black.woff') format('woff'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Repo DemiBold';
  font-style: normal;

  src: url('addons/fonts/Repo/Repo-DemiBold.woff') format('woff'); 
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Repo DemiBold', sans-serif, Arial, 'Courier New', Courier, monospace;
}


body {
	background-color: #b9d4fa;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: #1A237E; /* INK */
}


h1 {
	font-weight: 900;
	font-size: 28px;
	margin: 3px 0;
	padding: 3px;
	text-align: center;
	
	font-family: 'Repo DemiBold';
}

h2 {
	margin: 8px 0;
	font-family: 'Repo Black';
}

h4 {
	font-weight: 400;
	text-align: center;
	font-size: 18px;
}

.container {
  display: flex;
  justify-content: center;  /* ← centers items horizontally */
  flex-wrap: wrap;          /* ← allows wrapping to next line if needed */
  gap: 0px;                /* ← optional spacing between cubes */
  padding: 0 0; /* ← 0 top/bottom, 24px left/right */
}

.cube {
	background: linear-gradient(to bottom, #ffffff, #f7f7f7);
	width: 360px;
	background-color: #fff;
	margin: 12px;
	padding: 24px;
	text-align: center;
	box-shadow: 10px 10px 4px -3px #7a7979;
	border-radius: 10px;
	position: relative;
	padding-top: 48px; /* Increased to make room for the title bar */
}

.cube-title {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 8px 12px;
	background-color: #1A237E;
	color: white;
	font-weight: bold;
	font-family: 'Repo Black';
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	text-align: left;
	font-size: 18px;
}

input[type=number] {
    width: 120px;
    font-size: 28px;
    font-weight: 900;
    padding: 8px;
    margin: 0px 8px 8px 8px;
    font-family: sans-serif;

}

/* Optional: highlight on focus */
input[type=number]:focus {
    outline: none;
    border-color: #b9d4fa;
    box-shadow: 
        0 0 8px rgba(0, 123, 255, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.6);
    transform: scale(0.98);
}


input[type=text] {
	
	font-size: 28px;
	padding: 8px 0;
	font-weight: 900;
	text-align: center;
	font-family: sans-serif;
	width: 300px;
}


button {
	text-transform: uppercase;
	letter-spacing: .8px;
	border-radius: 6px;
	font-family: 'Repo Black';
	margin: 12px 3px;
	
  background-color: #fff;
  border: 2px solid grey;

  box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.3), /* outer shadow */
        inset 0 2px 4px rgba(255, 255, 255, 0.6); /* inner light for 3D effect */
		transition:;	
  color: #1A237E;
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  padding: 0 10px;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

button:hover {
  background-color: #b9d4fa;
}

button:active {
  box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 0 0;
  transform: translate(2px, 2px);
}

@media (min-width: 768px) {
  button {
    min-width: 120px;
    padding: 0 25px;
  }
}

.smallt {
	width: 90%;
	margin: 25px 0;
	padding: 0;
	font-size: 15px;
	text-align: left;
	}
	
.footer {
	width: 90%;
	margin: 0px 0px;
	font-size: 14px;
	text-align: center;
	}
	
.header {
	width: 90%;
	margin: 25px 0;
	font-size: 22px;
	text-align: center;
	font-family: 'Repo Black';
	}	
	
	@media (min-width: 1024px) {
	.header {
		width: 90%;
		text-align: left;
	}
}