body {
    font-family: Arial, sans-serif;
    margin: 40px;
    background-color: #f9f9f9;
    color: #333;
}

h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

h2 {
    margin-top: 18px;
    color: #34495e;
}


    p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

.task {
    background-color: #f1f8ff;      
    border-left: 6px solid #3498db; 
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.05);
}
.task h3 {
    margin-top: 0;
    font-size: 17px;
    color: #2c3e50;
}

.task h4 {
    margin-top: 0;
    font-size: 14px;
    color: #2c3e50;
}
.task .level {
    font-weight: normal;
    font-size: 13px;
    color: #555;
}


.interactive-field {
    margin-top: 15px;
    margin-bottom: 10px;
    width: 300px;           
    height: 300px;
    border: 2px solid black;
    border-radius: 1px;
    background-color: #ffffff;
}

/* Container */
.code-container {
    background-color: #fff8c4;
    border: 1px solid #e1c542;
    border-radius: 5px;
    padding: 2px 6px;  /* kompakt */
    margin: 8px 0;
    font-family: "Courier New", monospace;
    font-size: 14px;
    display: inline-block;
}

/* pre komplett neutralisieren */
.code-container pre {
    background: none !important;
    margin: 0;
    padding: 0;
    line-height: 1;  /* sehr kompakt vertikal */
    display: block;
}

/* code block */
.code-container code {
    font-family: "Courier New", monospace;
    font-size: 14px;
    line-height: 1;
    display: block;
}

details {
margin-bottom: 15px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 8px;
}

summary {
font-weight: bold;
cursor: pointer;
font-size: 18px;
}

.task-links {
  display: flex;
  flex-direction: column; /* untereinander */
  gap: 10px;              /* Abstand zwischen den Karten */
  margin-top: 15px;
}


.task-card {
  display: block;
  padding: 15px 20px;
  background-color: #f0f8ff; /* helle Hintergrundfarbe */
  border: 1px solid #ccc;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: background-color 0.2s, transform 0.2s;
}

/* Hover-Effekt */
.task-card:hover {
  background-color: #dbeeff;
  transform: translateY(-2px);
}