* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

a:hover {
  text-decoration: underline;
}

/* Body */
body {
  background: #fff;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F08080;
  color: white;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .left-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

header .logo {
  font-weight: bold;
  font-size: 1.4em;
  cursor: pointer;
}

header nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

header nav input {
  padding: 5px;
  border-radius: 3px;
  border: none;
  width: 220px;
}

header nav button {
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

header .title-link {
  color: white;
  font-weight: bold;
}

header .title-link:hover {
  color: #FFD700;
}

/* Layout */
.container {
  display: flex;
  flex: 1;
}

aside {
  width: 280px;
  background: #f3f3f3;
  padding: 20px;
  overflow-y: auto;
}

main {
  flex: 1;
  padding: 20px;
  background: #fff;
}

/* Sidebar */
.sidebar li {
  list-style: none;
  margin: 5px 0;
}

.sidebar li a {
  display: flex;
  align-items: center;
  color: #F08080;
  padding: 3px 5px;
  border-radius: 3px;
}

.sidebar li a:hover {
  background: #fcdada;
}

/* Submenu */
.submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #F08080;
}

.submenu-toggle::after {
  content: "▸";
  margin-left: auto;
}

.submenu {
  display: none;
  margin-left: 15px;
}

.sidebar li:hover > .submenu {
  display: block;
}

/* Typography */
h1 {
  margin-bottom: 15px;
  font-size: 1.8em;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card h3 {
  margin: 10px;
  font-size: 1.3em;
}

.card p {
  padding: 0 10px 10px;
  font-size: 1em;
  color: #555;
}

.card a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

/* Footer */
footer {
  background: #f3f3f3;
  padding: 15px 20px;
  font-size: 0.9em;

  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer .footer-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  aside {
    width: 100%;
  }

  header nav input {
    width: 120px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
.gradient-text {
    font-size: 25px;	
    font-weight: bold;
    background: linear-gradient(135deg, #3e296a, #6d37ac, #10dbac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Better support */
    background-clip: text;
    color: transparent;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.25),
        0px 4px 0px rgba(255, 255, 255, 0.3);
}
