/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  position: relative;
}

/* Particle Network Background */
.particle-network-animation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-color: #171717;
  z-index: -1;
}

.particle-network-animation #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Header Section */
.header {
  background: url("https://source.unsplash.com/1600x400/?office,work")
    center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.header h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.header p {
  font-size: 16px;
}

/* Main Content Container */
.container {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 20px auto;
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* Main Content */
.main-content {
  flex: 3;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
.sidebar {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sidebar Tabs */
.sidebar .tab {
  padding: 10px 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  cursor: pointer;
  text-align: left;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

.sidebar .tab:hover {
  background-color: #e6e6e6;
}

.sidebar .tab.active {
  background-color: #ff8c00;
  color: white;
  font-weight: bold;
}

/* Back Button */
.back-button {
  background-color: #ff8c00;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  display: inline-block;
  width: 100%;
  margin-bottom: 15px;
  border: none;
  transition: background 0.3s ease;
}

.back-button:hover {
  background-color: #e67600;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .main-content {
    width: 100%;
  }
}

/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  position: relative;
}

/* Particle Network Background */
.particle-network-animation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-color: #171717;
  z-index: -1;
}

.particle-network-animation #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Main Content Container */
.content {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 20px auto;
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* Main Content */
.templateLeft {
  flex: 3;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
.right {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sidebar Tabs */
.tabs .tab {
  padding: 10px 15px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  cursor: pointer;
  text-align: left;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

.tabs .tab:hover {
  background-color: #e6e6e6;
}

.tabs .tab.active {
  background-color: #ff8c00;
  color: white;
  font-weight: bold;
}

/* Back Button */
.back-button {
  background-color: #ff8c00;
  color: white;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  width: 100%;
}
/* Làm chữ "General Provisions" đậm */
.title {
  font-weight: bold;
  font-size: 24px; /* Tùy chỉnh kích thước chữ nếu cần */
}
/* Làm đậm chữ "Terms of Use" */
.title {
  font-weight: bold;
  font-size: 24px; /* Tùy chỉnh kích thước chữ */
  margin-bottom: 20px; /* Thêm khoảng cách dưới tiêu đề */
}

/* Header Section */
.header {
  background-color: #171717; /* Màu nền tối */
  color: white;
  text-align: center;
  padding: 50px 20px;
  position: relative;
  z-index: 1;
}

.header h1 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: bold;
}

.header p {
  font-size: 18px;
  margin-top: 10px;
  line-height: 1.6;
}

/* Sidebar Điều Hướng */
.right {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.tabs {
  display: flex;
  flex-direction: column;
}

.tab {
  padding: 12px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  cursor: pointer;
  text-align: left;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

.tab:hover {
  background-color: #e6e6e6;
}

.tab.active {
  background-color: #ff8c00;
  color: white;
  font-weight: bold;
}

.back-button {
  background-color: #ff8c00;
  color: white;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  margin-bottom: 15px;
}

/* Cursor Effect */
.cursor {
  display: inline-block;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  font-size: 36px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
}

/* Typewriter Animation */
.typewriter-animation {
  animation: typewriter 4s steps(30, end) forwards,
    blinkingCursor 600ms steps(30, end) infinite;
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blinkingCursor {
  50% {
    border-color: transparent;
  }
}
