.seo-portfolio-n {
  background: #911901;
  padding-top:20px;
}

.seo-portfolio-n header {
  padding: 10px;
  text-align: center;
}

.seo-portfolio-n header nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}

.seo-portfolio-n header nav a {
  background: #ffffff;
  text-decoration: none;
  margin: 5px;
  padding: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

.seo-portfolio-n header nav a img {
  width: 150px;
    height: 150px;
  margin: auto;
  padding: 5px;
}

.seo-portfolio-n header nav a:hover {
  background-color: transparent;
  color: #000;
}

.seo-portfolio-n section {
  padding: 20px;
  max-width: 800px;
  margin: auto;
  display: none;
}

.seo-portfolio-n section.active {
  display: block;
}

@media (max-width: 768px) {
  .seo-portfolio-n header nav {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 images per row */
    justify-items: center; /* Centers images horizontally */
  }

  .seo-portfolio-n header nav a {
    max-width: 100%;
    height: auto;
  }

  .seo-portfolio-n header nav a img {
    width: 150px;
    height: 100px;
    margin: auto;
    padding: 10px;
  }
}

.seo-portfolio-n section table {
  width: 100%;
  background: #ffffff;
  margin: 0 auto;
  border-collapse: collapse;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
}
.seo-portfolio-n section .tables-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  border-top: 3px solid rgb(255, 255, 255);
  padding-top: 20px;
}
.seo-portfolio-n section .tables-container p {
  background-color: white;
  padding: 10px;
  align-items: center;
  width: 100%;
  border-radius: 5px;
  margin: auto;
}
.seo-portfolio-n section th,
td {
  border: 2px solid #ddd;
  padding: 8px;
  font-size: 15px;
}
.seo-portfolio-n section th {
  background-color: #000000;
  color: white;
}

.seo-portfolio-n section .highlight {
  color: rgb(188, 0, 0);
}
@media (min-width: 768px) {
  .seo-portfolio-n section .tables-container {
    flex-direction: row;
  }
  .seo-portfolio-n section table {
    width: 100%;
  }
}
