
html, body {
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
}

#wrapper {
  width: 1280px;
  height: 720px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}


/* === GENERAL === */
body {
  margin: 0;
  font-family: 'Aptos','Segoe UI',sans-serif;
  color: #283784;
  background: url('images/bg.png') no-repeat center center fixed;
  background-size: cover;
}

header {
  background-image: url('images/banner.png');
  background-size: cover;
  background-position: center;
  height: 116.67px;
  width: 100%;
}

/* === LAYOUT === */
.grid-layout {
  display: grid;
  /* LEFT column fixed 533.33px, RIGHT fills remaining space */
  grid-template-columns: 533.33px 1fr;
  height: calc(100vh - 116.67px);
}

.name-wrapper {
  background-color: rgba(255, 255, 255, 0.65);  /* white w/ 65% opacity */;
  border: 2.0px solid #283784;
  border-radius: 10.67px;
  padding: 6.67px 13.33px;
  margin: 0 auto;
  max-width: 1200.0px;
}
.name-list {
  max-height: 430px;   /* or whatever height fits under the header and above the Home button */
  overflow-y: auto;
  padding-right: 7px; /* room for scrollbar */
}
.left-col, .right-col { box-sizing: border-box; }

.left-col {
  display: flex;
  justify-content: center;
  align-items: center;
  /* match the grid-template */
  width: 533.33px;
  height: calc(100vh - 116.67px);
  padding: 26.67px;
}

/* === INFO BOX === */
.info-box {
  width: 400.0px;
  height: 483.33px;
    background: rgba(255,255,255,0.65); /* <--- this is the opacity */

  padding: 24.0px;
  border-radius: 13.33px;
  font-size: 15px;
  line-height: 1.65;
  color: #111;
  box-shadow: 0 0 13.33px rgba(0,0,0,0.15);
}
.info-box h1 {
  font-size: 21px;
  color: #283784;
  margin-bottom: 13.33px;
  text-shadow: 0.33px 0.33px 0.67px rgba(255,255,255,0.8);
  font-weight:700;
}

/* === RIGHT COLUMN === */
.right-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  height: calc(100vh - 116.67px);
  padding: 0;
}

.right-column {
  margin-top: 26.67px; /* Adjust as needed */
}


/* === SEARCH === */
.search-wrapper {
  flex:1; display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  position:relative;
}
.search-block {
  display:flex; flex-direction:column; align-items:center;
  gap:21.33px; margin-top:10.67px;
}
.search-input {
  font-size:24.0px; padding:16.67px 10.0px; width:416.67px;
  border:0.67px solid #283784; border-radius:20.0px;
  text-align:center; box-sizing:border-box;background-color: rgba(255, 255, 255, 0.65); /* <-- this defines the opacity */
  transition:box-shadow .2s;
}
.search-input:focus {
  outline:none; box-shadow:0 0 5.33px rgba(40,55,132,0.6);
}

/* === BUTTONS === */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  background:#283784; color:#fff; font-size:24.0px;
  width:233.33px; padding:16.67px 26.67px;
  border:none; border-radius:20.0px;
  text-decoration:none; cursor:pointer;
  box-shadow:0 2.67px 8.0px rgba(0,0,0,0.2);
  transition:background .3s,transform .1s;
}
.btn:hover {
  background:#1f2e68; transform:translateY(-1.33px);
}
.btn:active {
  transform:translateY(0);
}

/* === SPONSORS === */
.footer-logos {
  width:100%; padding-bottom:26.67px; text-align:center;
}
.sponsor-title {
  font-size:18.67px; color:#283784; font-weight:bold;
  margin-bottom:13.33px;
}
.sponsor-logos {
  display:flex; justify-content:center; align-items:center;
  gap:26.67px;
}
.sponsor-logos img {
  height:100.0px; object-fit:contain;
}

/* === AUTOCOMPLETE === */
.autocomplete {
  position:relative; width:416.67px;
}
#autocomplete-list {
  position:absolute; top:100%; left:0;
  width:100%; display:none; max-height:200.0px;
  overflow-y:auto; background:rgba(255,255,255,0.9);
  border:0.67px solid #283784; border-radius:5.33px;
  box-shadow:0 2.67px 8.0px rgba(0,0,0,0.1);
  margin-top:5.33px; padding:0; list-style:none; z-index:10;
}
#autocomplete-list li {
  padding:8.0px 10.67px;
}
#autocomplete-list li:hover {
  background:#e0e4f1;
}
#autocomplete-list a {
  display:block; color:#283784; text-decoration:none;
}

/* === ON‑SCREEN KEYBOARD === */
.keyboard-container {
  display:none;           /* hidden by default */
  position:fixed;         /* pinned bottom */
  bottom:0; left:0; width:100%;
  background:rgba(255,255,255,0.9);
  padding:13.33px 0;          /* taller by 25% */
  box-shadow:0 -2.67px 8.0px rgba(0,0,0,0.1);
  z-index:20;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6.67px;
}
.keyboard {
  display:grid; gap:5.33px; width:90%; user-select:none;
}
.keyboard.row-1 { grid-template-columns:repeat(10,1fr); }
.keyboard.row-2 { grid-template-columns:repeat(9,1fr); }
.keyboard.row-3 { grid-template-columns:repeat(9,1fr); }

.key {
  background:rgba(255,255,255,0.85);
  border:0.67px solid #283784; border-radius:4.0px;
  padding:12.5px 0;   /* taller by 25% */
  font-size:12.0px; text-align:center;
  color:#283784; cursor:pointer;
  box-shadow:0 1.33px 2.67px rgba(0,0,0,0.1);
  transition:background .2s;
}
.key:active {
  background:#e0e4f1;
}
.key.wide {
  grid-column:span 2;
}
/* space now spans full width */
.key.extra-wide {
  grid-column:1 / -1;
}
.sponsor-logos {
  display: flex;
  justify-content: center;       /* Center the logos as a group */
  align-items: center;
  gap: 26.67px;                     /* Space between each box */
  flex-wrap: wrap;               /* Allow wrapping if space is tight */
  margin-top: 13.33px;
}


.sponsor-box {
  width: 166.67px;
  height: 133.33px;
  background-color: rgba(255, 255, 255, 0.65); /* 65% opaque white */
  border-radius: 6.67px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1.33px 4.0px rgba(0,0,0,0.15);
}

.sponsor-box img {
  width: 166.67px;
  height: 133.33px;
  object-fit: contain;
  border-radius: 3.33px; /* Optional: subtle rounding inside the box */
}

.sponsor-title {
  color: white;
  font-size: 24.0px;      /* Adjust size as needed */
  text-align: center;
  margin-bottom: 13.33px;  /* Adds space below the heading */
	text-shadow: 1.33px 1.33px 2.67px rgba(0,0,0,0.4);

}
