
:root {
  --primary: #1E3A8A;
  --secondary: #FF7506;
  --bg: #F5F5F5;
  --text: #333333;
  --card-bg: #FFFFFF;
  --accent: #4ADE80;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.header::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

h1, h2, h3, h4 {
  color: var(--primary);
  margin: 1.5rem 0;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--secondary);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.img-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: center;
}

.img-container img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.img-container img:hover {
  transform: scale(1.05);
}

pre {
  background: #2D3748;
  color: #E2E8F0;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
}

pre::before {
  content: "CSS";
  position: absolute;
  top: 0;
  left: 0;
  background: var(--secondary);
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 0 0 8px 0;
  font-size: 0.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--card-bg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

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

th {
  background: var(--primary);
  color: white;
}

tr:nth-child(even) {
  background: rgba(245, 245, 245, 0.5);
}

.notice {
  background: linear-gradient(135deg, var(--primary), #3B82F6);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.nav a {
  background: var(--card-bg);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-weight: 600;
}

.nav a:hover {
  background: var(--secondary);
  color: white;
  text-decoration: none;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .img-container img {
    width: 120px;
    height: 120px;
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

