

.single-column {
  width: 50%;
    
  box-sizing: border-box;
}

.left {
  width: 55%;
}
  
.right {
  width: 45%;
}
  
.columns {
  display: flex;
  flex-wrap: wrap;
}
  
/* Media query for screens less than 800px */
@media (max-width: 800px) {
  .single-column {
    width: 100%;
   }
    
  .columns {
    flex-direction: column;
  }
}
  
.btn-group button {
  background-color: #ffffff;
  border: 1px solid black;
  color: #000000;
  padding: 10px 24px;
  cursor: pointer;
  float: left;
}
  

.btn-group:after {
    content: "";
    clear: both;
    display: table;
}
  
.btn-group button:not(:last-child) {
    border-right: none;
}
  
.btn-group button:hover {
  background-color: #cfd1d2;
}

.btn-group button {
  touch-action: manipulation;
}
  
body {
  margin: 0;
  padding: 0;   
}
   
.grid-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
  

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 380px; /* Adjusted width for single column layout */
  margin: auto;
  background-color: black;
  gap: 1px;
  border: 1px solid black;
  margin: 20px 0;
  min-height: 100px;
}
  
.grid > div {
  background-color: #ffffff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  font-size: 2em;
  font-weight: bold;
  min-height: 20px;
}
  
  /* Single column layout */
.container {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  min-width: 250px;
  margin: auto;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}
  
  /* Each section aligned to top left */
.tutorial, .grid-container, .text, .btn-group {
  width: 100%;
  align-self: flex-start;
  margin-bottom: 20px;
}
  
  

.btn-group {
  margin-top: 20px;
  clear: both;
  display: flex;
  flex-wrap: wrap;
}
  
p {
  line-height: 1.2em;
}
  

.single-column.right .text .countries p {
  cursor: pointer;
}
  
.single-column.right .text .countries p:hover {
  background-color: lightgrey;
}

.footerNav {
  margin: 30px 0; 
  text-align: center;
}

.footerNav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px; 
  flex-wrap: wrap; 
}

.footerNav li {
  color: #000000;
  font-size: 0.9em;
}

.answers {
  margin-bottom: 20px;
  padding: 10px;
}

.answer-item .iso {
  margin-top: 2px;
}

.answer-item .value {
  margin-top: 2px;
}

.answers {
  margin-bottom: 20px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.answer-row {
  margin-bottom: 2px;
}

.row-label {
  font-weight: bold;
  margin-bottom: 6px;
}

.row-label:empty {
  display: none;
}
