body {
  background-color: #000003;
  color: white;
  font-family: Verdana;
}

a {
  color: #808080;  
}

.bigbox {
  margin: 250px;
  margin-top: 0px;
  margin-bottom: 0px;
  display: flex; 
  flex-direction: column;
  gap: 20px; 
  padding: 10px;
}

#top_row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start
}

#main_column_subs {
  display: flex; 
  gap: 20px; 
  padding: 10px;
}

#about_box {
  border-color: black;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  padding: 10px;
}

#main_column {
  flex: 2.5;
}

#asides_column {
  flex: 1;
}

.box {
  padding: 10px;
  border-style: solid;
  border-width: 5px;
  border-color: white;
  text-align: center;
}

#interests {
  display: block;
  flex-direction: row;
  min-height: 300px;
}

#stamps_column {
  flex: 0 0 150px;
}

#stamps_box {
  border-width: 1px; 
}

#about_box {
  margin-left: 30px;
  text-align: left;  
}


#asides_column {
  flex: 1;
  min-width: 0; /* prevents flex item from overflowing its container */
}

#asides_column img {
  max-width: 100%; /* stops the flag counter image from blowing out the width */
  height: auto;
}

.tab {
  overflow: hidden;
  border: 1px solid white;
  background-color: black;
  color: white;
}

.tab button {
  width: 24%;
  background-color: black;
  border: none;
  border-left: solid;
  border-right: solid;
  border-color: white;
  border-width: 1px;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  color: white;
}

.tab button:hover {
  background-color: #ddd;
}

.active {
  background-color: #ccc;
}

.tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
  color: white;
}

.album {
  width: 100px;
}

.game {
  width: 100px;
  height: 130px;
}

.img-container {
  position: relative;
  display: inline-block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-container:hover .overlay {
  opacity: 1;
}






#top_row {
  display: flex;
  flex-direction: row;
  gap: 0; /* remove gap so rail butts up against main_column */
  align-items: flex-start;
}

#tab_rail {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  margin-top: 40px; /* push it down a bit so it doesn't start at the very top corner */
}

#tab_rail button {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background-color: black;
  color: white;
  border: 1px solid white;
  border-right: none;
  padding: 12px 6px;
  cursor: pointer;
  font-family: Verdana;
  font-size: 0.75rem;
  width: 28px;
}

#tab_rail button.active {
  border-right: 1px solid black; /* breaks the left border of main_column */
}

#main_column {
  flex: 2.5;
  border-left: none; /* let the tab rail handle the left edge */
  /* keep existing .box border on main_box inside instead */
}
