/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f3e5f9;
  color: #333;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background-color: rgba(30,26,43,0.9);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo a{
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}
nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 20px;
}
nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #ffc0cb;
}

main a{
  color: coral !important;
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.burger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin-bottom: 4px;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  margin: 20px;
  padding: 100px 20px;
  background: linear-gradient(135deg, #9b59b6, #ffc0cb);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  overflow: hidden;
  text-align: center;
}
.hero canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e0b3ff;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.2rem;
}

.content__img{
  max-width: 600px;
  height: auto;
  width: 100%;
  display: block;
  margin: 15px auto;
  object-fit: contain;
}

/* Main content */
main {
  background-color: #2f2745;
  padding: 40px 20px;
  min-height: 300px;
  margin: 20px;
  border-radius: 10px;
  color: #fff;
}

main p{
  text-align: left;
  margin-bottom: 15px;
}

main h2{
  margin-bottom: 20px;
}

.main ul{
  margin: 15px 0;
}

.main ul li{
  color: #fff;
}

/* Author block */
.author {
  background-color: #3a2b50;
  color: #fff;
  margin: 20px;
  padding: 20px;
  border: 2px solid;
  border-image: linear-gradient(135deg, #9b59b6, #c084fc) 1;
  border-radius: 10px;
}
.author .container {
  display: flex;
  align-items: center;
}
.author img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}
.author-info h2 {
  margin-bottom: 10px;
  color: #e0b3ff;
}
.author-info p {
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: #3e2e58;
  color: #fff;
  padding: 20px 0;
}
footer .container {
  text-align: center;
}
footer .footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}
footer .footer-links a:hover {
  color: #ffc0cb;
}
footer .disclaimer {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

/* Lists */
ul {
  list-style: circle inside;
  margin: 15px 0 15px 20px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
}
table th, table td {
  border: 1px solid #555;
  padding: 10px;
  text-align: left;
}
table tbody tr:nth-child(odd) {
  background-color: #2a223d;
}
table tbody tr:nth-child(even) {
  background-color: #382e50;
  transition: box-shadow 0.3s;
}
table tbody tr:hover {
  box-shadow: 0 0 10px #ffc0cb;
}

h1{
  color: #000 !important;
}

.hero-content p{
  text-align: left;
}

.table-wrap{
  overflow-x: auto;
}

/* Responsive styles */
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
  }
  nav {
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(30,26,43,0.9);
    border-radius: 5px;
    width: 200px;
    display: none;
    padding: 10px;
  }
  nav.active {
    display: block;
  }
  nav ul {
    flex-direction: column;
  }
  nav ul li {
    margin: 10px 0;
  }
  .author .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author img {
    margin-bottom: 20px;
    margin-right: 0;
  }
}