/* General Styling */
* {
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #2c2c54;
  color: white;
}

.container {
  display: flex;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: #1d1d29;
  padding: 20px;
}

.sidebar h2 {
  color: gold;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
}

.sidebar ul li {
  margin: 15px 0;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.sidebar ul li a:hover {
  color: gold;
}

/* Main Content */
main {
  flex-grow: 1;
  padding: 20px;
}

header {
  text-align: center;
  padding: 20px;
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 2em;
  color: gold;
  text-shadow: 1px 1px 2px black;
}

/* Plans Section */
.plans-container {
  display: flex; /* Enables a side-by-side layout */
  justify-content: center; /* Centers the plans horizontally */
  align-items: flex-start; /* Ensures top alignment */
  gap: 20px; /* Adds space between the plans */
  flex-wrap: wrap; /* Ensures wrapping on smaller screens */
  margin: 20px 0;
}

.plan {
  background-color: #3b3b58; /* Plan background */
  border: 2px solid gold; /* Border */
  border-radius: 10px;
  padding: 20px;
  width: 300px; /* Fixed width for consistent layout */
  text-align: center;
  transition: transform 0.3s;
  box-sizing: border-box; /* Prevents content overflow */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Slight shadow for elevation */
}

.plan:hover {
  transform: translateY(-5px); /* Adds a hover effect */
}

.plan h3 {
  color: white;
  margin-bottom: 10px;
}

.plan p {
  color: #cccccc;
  margin-bottom: 15px;
}

.plan ul {
  text-align: left;
  padding-left: 20px;
  color: #d1d1e0;
}

.plan ul li {
  margin-bottom: 8px;
}

/* Payment Button Styling */
button {
  background-color: gold;
  color: black;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #b3a45c;
  transform: scale(1.05);
}

button:active {
  transform: scale(0.95);
}

/* Responsive Design for Plans */
@media (max-width: 768px) {
  .plans-container {
    flex-direction: column; /* Stacks the plans vertically */
    align-items: center; /* Centers the plans */
  }

  .plan {
    width: 90%; /* Full width on small screens */
  }
}

/* Text Icons Section */
#texts-menu {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap; /* Ensures wrapping for smaller screens */
}

.text-icons button {
  display: inline-block;
  margin: 10px;
  text-align: center;
  background-color: #3b3b58;
  border: 2px solid gold;
  border-radius: 10px;
  padding: 10px;
}

.text-icons img {
  width: 100px;
  height: 100px;
}

.text-icons p {
  margin-top: 5px;
  color: white;
}

/* PDF Viewer */
#pdf-container {
  width: 100%;
  max-width: 800px;
  margin: auto;
}

canvas {
  border: 1px solid #ccc;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

#pdf-viewer {
  margin-top: 20px;
  padding: 20px;
  background-color: #1d1d29;
  border: 2px solid gold;
  border-radius: 10px;
}

#pdf-viewer button {
  background-color: gold;
  color: black;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  margin-bottom: 15px;
  border-radius: 5px;
}

/* Tile Section */
.tile {
  text-align: center;
  margin: 20px;
  display: inline-block;
}

.tile img {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
}

.tile h3 {
  font-size: 1.2em;
  color: gold;
}

.tile a {
  text-decoration: none;
  font-size: 1em;
  color: #f39c12;
  font-weight: bold;
}
#subscription-plan {
  text-align: center;
  margin: 20px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.plan-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.plan {
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  max-width: 300px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.plan h3 {
  color: #333;
}

.plan p {
  margin: 10px 0;
}

#unlock-code {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#unlock-btn {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#unlock-btn:hover {
  background-color: #218838;
}
