/* Fonts */
body {
  font-family: 'Rounded Mplus 1c', sans-serif;
  background-color: #fef8fb; /* soft pinkish background */
  color: #333;
  line-height: 1.6;
  margin: auto;
  max-width: 900px;
  padding: 1rem;
}

h1, h2, h3 {
  font-family: Helvetica, sans-serif;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  color: #6D88BE;
}

h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  color: #6D88BE;
}

h3 {
  font-size: 1.3rem;
  color: #6D88BE;
}

h4 {
  font-size: 1.1rem;
  color: #6D88BE;
  margin-top: 1.5rem;
}

/* Navigation */
nav {
  background-color: #6D88BE;
  padding: 1rem 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nav {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.nav li {
  display: inline;
}

.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: color 0.3s, transform 0.2s;
  display: inline-block;
}

.nav a:hover {
  color: #e097ad;
  transform: translateY(-2px);
}

/* Main content */
main {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Title section on homepage */
#title {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

#titleText {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#lol {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Main header paragraph */
#header {
  font-weight: bold;
  font-size: 1.1rem;
  color: #6D88BE;
  text-align: center;
  margin-bottom: 1rem;
  padding: 0;
  background: none;
  box-shadow: none;
}

/* Details/credits */
#details {
  text-align: center;
  color: #6D88BE;
  font-style: italic;
  margin: 1rem 0;
  background: none;
  box-shadow: none;
  padding: 0;
}

/* Download links section */
.download-links {
  text-align: center;
  margin: 2rem 0;
}

.download-links p {
  background: none;
  box-shadow: none;
  padding: 0.5rem;
}

/* Paragraphs */
p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

th, td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

th {
  background-color: #EE6A92;
  color: #fff;
}

tr:nth-child(even) {
  background-color: #fce8f0;
}

/* Links */
a {
  color: #EE6A92;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

a:hover {
  color: #e097ad;
}

/* Lists */
ul, ol {
  margin-left: 1rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
}

ul {
  list-style-type: disc;
}

main ul, main ol {
  background: none;
  box-shadow: none;
  padding-left: 2rem;
}

main ul li, main ol li {
  margin-bottom: 0.5rem;
}

/* Images in main content */
main img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: none;
  margin: 1rem 0;
}

/* SEQ section with image and text side by side */
#SEQ {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
  margin: 2rem 0;
  background: none;
  box-shadow: none;
  padding: 0;
}

#SEQ img {
  max-width: 400px;
  width: 50%;
  flex-shrink: 0;
}

#SEQ p {
  flex: 1;
  background: none;
  box-shadow: none;
  padding: 0;
}

/* SUS images side by side */
.sus-images {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.sus-images img {
  max-width: 300px;
  width: 45%;
  height: auto;
}

/* Buttons (if added later) */
button {
  background-color: #EE6A92;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

button:hover {
  background-color: #6D88BE;
  transform: translateY(-2px);
}

/* ERD and Table containers */
.erd-container {
  margin: 2rem 0;
  text-align: center;
  box-shadow: none;
}

.table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.table-container table {
  margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  #title {
    flex-direction: column;
    align-items: center;
  }
  
  #lol {
    max-width: 100%;
  }
  
  #SEQ {
    flex-direction: column;
  }
  
  #SEQ img {
    width: 100%;
    max-width: 100%;
  }
  
  .sus-images {
    flex-direction: column;
    align-items: center;
  }
  
  .sus-images img {
    width: 100%;
    max-width: 400px;
  }
  
  .nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .table-container {
    font-size: 0.9rem;
  }
}


