/* ========================================
   DÖRR KREATIVWERK & SCHREIBERLINGS
   ÜBER MICH
   ======================================== */


/* ========================================
   HAUPTBEREICH
   ======================================== */

.about-main {
    max-width: 1200px;

    margin: 0 auto;

    padding: 70px 30px 90px;
}


/* ========================================
   EINLEITUNG
   ======================================== */

.about-intro {
    text-align: center;

    margin-bottom: 75px;
}

.about-intro h2 {
    font-size: 36px;

    color: #1d2633;

    margin-bottom: 18px;
}

.about-intro p {
    max-width: 800px;

    margin: 0 auto;

    font-size: 18px;

    line-height: 1.7;

    color: #444444;
}


/* ========================================
   ALLGEMEINE ABSCHNITTE
   ======================================== */

.about-section {
    margin-bottom: 85px;
}


/* ========================================
   ABSCHNITTSÜBERSCHRIFT
   ======================================== */

.about-section-heading {
    text-align: center;

    margin-bottom: 45px;
}

.about-section-heading h2 {
    font-size: 30px;

    color: #1d2633;

    margin: 0 0 12px;
}

.about-section-heading p {
    max-width: 700px;

    margin: 0 auto;

    font-size: 17px;

    line-height: 1.6;

    color: #555555;
}


/* ========================================
   PERSÖNLICHER BEREICH
   ======================================== */

.about-personal {
    max-width: 900px;

    margin: 0 auto;

    padding: 35px 40px;

    background-color: #ffffff;

    border: 1px solid #d1ccc1;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-personal h3 {
    font-size: 28px;

    color: #1d2633;

    margin: 0 0 20px;
}

.about-personal p {
    font-size: 17px;

    line-height: 1.8;

    color: #333333;

    margin: 0 0 18px;
}

.about-personal p:last-child {
    margin-bottom: 0;
}

.about-intro-text {
    font-size: 19px !important;

    color: #555555 !important;
}


/* ========================================
   ZEITSTRAHL
   ======================================== */

.about-timeline {
    position: relative;

    max-width: 1000px;

    margin: 0 auto;

    padding: 10px 0;
}


/* ========================================
   VERTIKALE ZEITSTRAHL-LINIE
   ======================================== */

.about-timeline::before {
    content: "";

    position: absolute;

    top: 0;

    bottom: 0;

    left: 50%;

    width: 2px;

    transform: translateX(-50%);

    background-color: #b8b3a7;
}


/* ========================================
   EINZELNE ZEITSTRAHL-STATION
   ======================================== */

.timeline-entry {
    position: relative;

    display: grid;

    grid-template-columns: 1fr 70px 1fr;

    align-items: start;

    min-height: 180px;

    margin-bottom: 55px;
}


/* ========================================
   LETZTE STATION
   ======================================== */

.timeline-entry:last-child {
    margin-bottom: 0;
}


/* ========================================
   MARKER
   ======================================== */

.timeline-marker {
    grid-column: 2;

    grid-row: 1;

    display: flex;

    justify-content: center;

    position: relative;

    z-index: 2;
}

.timeline-marker span {
    display: block;

    width: 18px;

    height: 18px;

    margin-top: 10px;

    background-color: #1d2633;

    border: 4px solid #ffffff;

    box-shadow:
        0 0 0 2px #b8b3a7;
}


/* ========================================
   ZEITSTRAHL-INHALT
   ======================================== */

.timeline-content {
    padding: 25px 30px;

    background-color: #ffffff;

    border: 1px solid #d1ccc1;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05);
}


/* ========================================
   ABWECHSELNDE SEITEN
   ======================================== */

.timeline-entry:nth-child(odd) .timeline-content {
    grid-column: 1;

    grid-row: 1;

    margin-right: 15px;
}

.timeline-entry:nth-child(even) .timeline-content {
    grid-column: 3;

    grid-row: 1;

    margin-left: 15px;
}


/* ========================================
   JAHR
   ======================================== */

.timeline-year {
    display: inline-block;

    margin-bottom: 10px;

    padding: 5px 10px;

    background-color: #f4f1ea;

    color: #8b7650;

    font-size: 14px;

    font-weight: bold;
}


/* ========================================
   ZEITSTRAHL-TITEL
   ======================================== */

.timeline-content h3 {
    font-size: 24px;

    color: #1d2633;

    margin: 0 0 12px;
}


/* ========================================
   ZEITSTRAHL-TEXT
   ======================================== */

.timeline-content p {
    font-size: 16px;

    line-height: 1.7;

    color: #333333;

    margin: 0;
}


/* ========================================
   PROJEKTE
   ======================================== */

.about-projects {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 30px;

    max-width: 1000px;

    margin: 0 auto;
}


/* ========================================
   EINZELNES PROJEKT
   ======================================== */

.about-project {
    padding: 30px;

    background-color: #ffffff;

    border: 1px solid #d1ccc1;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05);

    text-align: center;
}


/* ========================================
   PROJEKT-ICON
   ======================================== */

.about-project-icon {
    font-size: 38px;

    margin-bottom: 15px;
}


/* ========================================
   PROJEKT-TITEL
   ======================================== */

.about-project h3 {
    font-size: 23px;

    color: #1d2633;

    margin: 0 0 12px;
}


/* ========================================
   PROJEKT-TEXT
   ======================================== */

.about-project p {
    font-size: 16px;

    line-height: 1.7;

    color: #333333;

    margin: 0;
}


/* ========================================
   INTERESSEN
   ======================================== */

.about-interests {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

    max-width: 1000px;

    margin: 0 auto;
}


/* ========================================
   EINZELNES INTERESSE
   ======================================== */

.about-interest {
    padding: 25px 30px;

    background-color: #faf8f3;

    border: 1px solid #d1ccc1;
}


/* ========================================
   INTERESSEN-TITEL
   ======================================== */

.about-interest h3 {
    font-size: 21px;

    color: #1d2633;

    margin: 0 0 10px;
}


/* ========================================
   INTERESSEN-TEXT
   ======================================== */

.about-interest p {
    font-size: 16px;

    line-height: 1.7;

    color: #444444;

    margin: 0;
}


/* ========================================
   ABSCHLUSS
   ======================================== */

.about-ending {
    max-width: 900px;

    margin: 20px auto 0;

    padding: 45px 40px;

    text-align: center;

    background-color: #1d2633;

    color: #ffffff;
}

.about-ending h2 {
    font-size: 30px;

    margin: 0 0 15px;
}

.about-ending p {
    max-width: 700px;

    margin: 0 auto;

    font-size: 17px;

    line-height: 1.7;

    color: #d6c7a1;
}


/* ========================================
   LADEANZEIGE
   ======================================== */

.about-loading {
    text-align: center;

    font-size: 18px;

    color: #666666;

    padding: 40px;
}


/* ========================================
   FEHLERMELDUNG
   ======================================== */

.about-error {
    text-align: center;

    font-size: 17px;

    color: #8b3333;

    padding: 30px;

    background-color: #faf3f3;

    border: 1px solid #e0c5c5;
}


/* ========================================
   TABLET
   ======================================== */

@media (max-width: 850px) {

    .about-main {
        padding: 50px 20px 70px;
    }


    .about-intro h2 {
        font-size: 30px;
    }


    .about-intro p {
        font-size: 17px;
    }


    .about-section {
        margin-bottom: 65px;
    }


    .about-section-heading h2 {
        font-size: 27px;
    }


    .about-personal {
        padding: 28px;
    }


    /* ------------------------------------
       ZEITSTRAHL
       ------------------------------------ */

    .about-timeline::before {
        left: 20px;

        transform: none;
    }


    .timeline-entry {
        display: block;

        min-height: 0;

        margin-bottom: 35px;

        padding-left: 55px;
    }


    .timeline-marker {
        position: absolute;

        top: 0;

        left: 11px;

        width: 18px;

        height: 18px;
    }


    .timeline-marker span {
        margin-top: 10px;
    }


    .timeline-entry:nth-child(odd) .timeline-content,
    .timeline-entry:nth-child(even) .timeline-content {
        margin: 0;

        width: 100%;
    }


    /* ------------------------------------
       PROJEKTE
       ------------------------------------ */

    .about-projects {
        grid-template-columns: 1fr;

        max-width: 600px;
    }


    /* ------------------------------------
       INTERESSEN
       ------------------------------------ */

    .about-interests {
        grid-template-columns: 1fr;

        max-width: 600px;
    }

}


/* ========================================
   KLEINE SMARTPHONES
   ======================================== */

@media (max-width: 500px) {

    .about-main {
        padding: 45px 15px 60px;
    }


    .about-intro {
        margin-bottom: 55px;
    }


    .about-intro h2 {
        font-size: 28px;
    }


    .about-section-heading h2 {
        font-size: 25px;
    }


    .about-section-heading p {
        font-size: 16px;
    }


    .about-personal {
        padding: 22px;
    }


    .about-personal h3 {
        font-size: 24px;
    }


    .about-personal p {
        font-size: 16px;
    }


    /* ------------------------------------
       ZEITSTRAHL
       ------------------------------------ */

    .about-timeline::before {
        left: 16px;
    }


    .timeline-entry {
        padding-left: 45px;

        margin-bottom: 30px;
    }


    .timeline-marker {
        left: 7px;
    }


    .timeline-content {
        padding: 22px;
    }


    .timeline-content h3 {
        font-size: 21px;
    }


    .timeline-content p {
        font-size: 16px;
    }


    /* ------------------------------------
       PROJEKTE
       ------------------------------------ */

    .about-project {
        padding: 25px 20px;
    }


    /* ------------------------------------
       INTERESSEN
       ------------------------------------ */

    .about-interest {
        padding: 22px;
    }


    /* ------------------------------------
       ABSCHLUSS
       ------------------------------------ */

    .about-ending {
        padding: 35px 22px;
    }


    .about-ending h2 {
        font-size: 25px;
    }


    .about-ending p {
        font-size: 16px;
    }

}