/* ========================= Header ========================= */
header {
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap-reverse;
}

header .container {
    width: 850px;
    max-width: 100%;
}

header h1 {
    margin-top: 200px;
    font-size: 4rem;
}

header h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 300;
}

header p {
    color: var(--secondary-text-color);
}

/* ========================= Read More Button ========================= */
header .read-more {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    border-radius: 1000px;
    padding: 0.5em 1.25em;
    text-decoration: none;
    transition: 200ms ease;
    cursor: pointer;
}

header .read-more:hover {
    background-color: var(--secondary-color);
}

/* ========================= Projekte Section ========================= */
#projects-section {
    padding: 100px 20px;
}

#projects-section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
}

/* ========================= Details / Accordion ========================= */
details {
    margin: 20px auto;
    width: 1000px;
    max-width: 100%;
    background-color: var(--primary-color);
    border-radius: 6px;
}

details summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 30px;
    padding: 30px;
}

/* Nummer-Kreis */
details .number {
    background-color: var(--accent-color);
    min-height: 50px;
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Überschrift im Accordion */
details h3 {
    font-size: 1.2rem;
}

/* Text innerhalb Details */
details .text-container {
    padding: 30px;
    padding-top: 0;
}

/* Projekt-Link Button */
details .project-link {
    display: inline-block;
    margin-top: 30px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.75em 1.5em;
    border-radius: 2px;
    font-weight: 500;
    transition: 300ms ease;
    cursor: pointer;
    text-decoration: none;
}

details .project-link:hover {
    background-color: var(--secondary-color);
}
