/* ---------------------------
   1. Einbindung der Poppins-Fonts
---------------------------- */

@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/Poppins-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

/* ---------------------------
   2. Tailwind-Kompatibilität & Standard
---------------------------- */

:root {
  --tw-font-sans: 'Poppins', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

@import "stylesheet.css";

body {
  /* font-family: var(--tw-font-sans); */
  color: #6B7280;
}

h6, .label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fafafa;
  /* color: #b91c1c; /* red-700 */
  color: #ef4444; /* red-500 */
  font-weight: normal;
  padding: 0.375rem;
  /* padding: 0.375rem 0 0.375rem 0.75rem; */
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.label strong::before {
    content: '\f08d' '  ';
  	font-family: "Font Awesome 6 Free";
  	font-weight: 600 !important;
		color: #fb923c;
    margin-left: 10px;
}

.label strong {
  font-weight: 700 !important;
  color: #fb923c;
}

button {
  background-color: #ef4444;
  width: 100%;
  color: #fff;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
}

button[type="reset"] {
  background-color: #fb923c; /* orange-400 */
}

button:hover {
  background-color: #b91c1c;
  transition: all;
}

form {
  display: grid;
}

label {
  display: block;
  opacity: 0.8;
  font-weight: 300;
  margin-bottom: 10px;
  font-weight: 300;
}

input, textarea, select {
  width: 100%;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 0.5rem 1rem;
  font-weight: 300;
  border-radius: 0.375rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;                       
  box-shadow: 0 0 0 2px #fca5a5;
}

/* Neue Hilfsklassen für Tabellen */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  background-color: #ffffff;
  border-radius: 0.375rem;
  overflow: hidden;
  /* box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.06); */
}

@media (max-width: 768px) {
  table {
    width: 50%;
  }
}

th {
  background-color: #ef4444;
  padding: 0.75rem 1rem;
  font-weight: 300;
  color: #fff; /* Tailwind gray-700 */
  border-bottom: 2px solid #e5e7eb;
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) td {
  background-color: #f9fafb; /* Tailwind gray-50 */
}

/* ---------------------------
   3. Zusätzliche Hilfsklassen
---------------------------- */

/* (z. B. für Zitate o. Ä.) */
.font-serif {
  font-family: Georgia, 'Times New Roman', serif;
}

.fa-graduation-cap {
  color: #059669; /* Tailwind emerald-600 */
}

.fa-js {
  color: #f7df1e;
}

.fa-css {
  color: #264de4;
}

.fa-php {
  color: #8993be;
}

.fa-code {
  color: #db2777;
}

.fa-react {
  color: #61dafb;
}

.fa-database {
  color: #2563eb;
}

.icon-xl {
  font-size: 3rem;
  margin-right: 0.5rem;
}

.content a {
  text-decoration: none;
  color: #fb923c;
}

.content a:hover {
  text-decoration: underline;
  color: #ef4444; 
}

.content h1 {
  display: inline-block;
  font-size: 3.75rem;        /* text-6xl */
  margin: 1.25rem 0;      /* mt-5 */
  border-bottom: 4px solid #fb923c; /* border-orange-400 */
  padding-bottom: 0.5rem;   /* pb-2 */
  font-weight: bold;
}

.content h2 {
  display: inline-block;
  font-size: 3rem;        /* text-5xl */
  margin: 1.25rem 0;      /* mt-5 */
  border-bottom: 4px solid #fb923c; /* border-orange-400 */
  padding-bottom: 0.5rem;   /* pb-2 */
  font-weight: bold;
}

.content h3 {
  display: inline-block;
  font-size: 2.25rem;        /* text-4xl */
  margin: 1.25rem 0;      /* mt-5 */
  border-bottom: 4px solid #fb923c; /* border-orange-400 */
  padding-bottom: 0.5rem;   /* pb-2 */
  font-weight: bold;
}

.content h4 {
  display: inline-block;
  font-size: 1.5rem /* text-2xl */;
  margin: 1.25rem 0;
  border-bottom: 4px solid #fb923c;
  padding-bottom: 0.5rem;
  font-weight: bold;
}

.content h5 {
  display: inline-block;
  font-size: 1.25rem; /* text-xl */
  margin: 1.25rem 0;
  border-bottom: 4px solid #fb923c;
  padding-bottom: 0.5rem;
  font-weight: bold;
}

/* Blockquotes */
.content blockquote {
  margin: 1em 0;
  padding: 1em;
  background-color: #fff;
  border-left: 5px solid #ef4444;
  font-style: italic;
  font-weight: 300;
}

/* Lists */
.content ul, .content ol {
  margin: 1em 0 1em 2em;
}

.content ul {
  list-style-type: disc;
}

.content ol {
  list-style-type: decimal;
}
.content li {
  margin-bottom: .5em;
}

/* Code & Pre */
code {
  background: #fcfcfc;
  padding: 5px;
  color: #fb923c;
  font-family: monospace;
}

pre {
  background: #fcfcfc;
  padding: 20px;
  overflow-x: auto;
  border-left: 5px solid #ef4444;
  font-family: monospace;
  margin: 20px 0;
}

pre code.hljs {
  padding: 0 !important;
  background: #fcfcfc;
}

.hover {
  transition: transform 0.3s, box-shadow 0.3s; /* sorgt für die weiche Animation */
}

.hover:hover {
  transform: scale(1.03); /* leichtes Vergrößern beim Hover */
  box-shadow: 0 16px 32px rgba(0,0,0,0.22); /* kräftigerer Schatten */
  border: 2px solid #ef4444;
}

dt {
    font-weight: 600;
    margin: 20px 0;
}