/* ======================================== */
/* RESET */
/* ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background-color: black;
    color: white;

    font-family: "fiona", sans-serif;

    overflow-x: hidden;
}



/* ======================================== */
/* NAVIGATION */
/* ======================================== */

.main-nav {
    position: fixed;

    top: 0;
    right: 20px;

    display: flex;
    align-items: flex-start;

    gap: 4px;

    z-index: 9999;
}


.main-nav a {
    display: block;

    text-decoration: none;
}


.main-nav img {
    display: block;

    width: 100px;
    height: auto;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


.main-nav img:hover {
    transform: scale(1.08);
}



/* ======================================== */
/* GIF RECHTS UNTEN */
/* ======================================== */

.about-gif {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 380px;
    height: auto;

    rotate: 5deg;

    z-index: 9000;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


.about-gif.is-visible {
    opacity: 1;
    visibility: visible;
}



/* ======================================== */
/* HERO */
/* ======================================== */

.about-hero {
    position: relative;

    width: 100%;

    background-color: black;

    overflow: hidden;
}


.about-hero-image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}



/* ======================================== */
/* ABOUT ME TITEL BEREICH */
/* ======================================== */

.about-title-section {
    width: 100%;

    background-color: black;

    padding-top: 90px;
    padding-bottom: 70px;
}



/* ======================================== */
/* ABOUT ME PNG */
/* ======================================== */

.about-title-image {
    display: block;

    width: 76%;
    max-width: 1200px;

    height: auto;

    margin-left: 2%;
    margin-right: auto;
}



/* ======================================== */
/* ABOUT CONTENT */
/* ======================================== */

.about-content {
    position: relative;

    width: 100%;

    background-color: black;

    /*
        Abstand zwischen About-Titel und Bild
    */

    padding-top: 130px;

    overflow: hidden;
}



/* ======================================== */
/* UNTERES BILD */
/* ======================================== */

.about-background {
    position: relative;

    display: block;

    width: 100%;
    height: auto;

    /*
        Ganz wichtig:
        Bild wird komplett gezeigt
    */

    object-fit: contain;

    z-index: 1;
}



/* ======================================== */
/* TEXT ÜBER DEM BILD */
/* ======================================== */

.about-text {
    position: absolute;

    /*
        Text beginnt etwas weiter unten
        als der Bildanfang
    */

    top: 120px;

    left: 3%;

    /*
        schmaler, damit er nicht
        über die Person läuft
    */

    width: 70%;

    z-index: 2;

    padding: 0;

    color: white;
}



/* ======================================== */
/* ABOUT TITEL */
/* ======================================== */

.about-text h1 {
    font-family: "liebedoni-solid", sans-serif;

    font-weight: 400;
    font-style: normal;

    font-size: clamp(
        38px,
        4vw,
        72px
    );

    line-height: 1;

    margin-bottom: 35px;
}



/* ======================================== */
/* FLIESSTEXT */
/* ======================================== */

.about-text p {
    font-family: "fiona", sans-serif;

    font-weight: 400;
    font-style: normal;

    font-size: clamp(
        18px,
        1.8vw,
        30px
    );

    line-height: 1.4;

    margin-bottom: 42px;
}





/* ======================================== */
/* MAIL LINK */
/* ======================================== */

.about-text p a.hier-link,
.about-text p a.hier-link:visited {
    color: #ff0000 !important;
    text-decoration: underline;
}

.about-text p a.hier-link:hover {
    color: #ff6666 !important;
}

.about-text p a.hier-link:active {
    color: #ff0000 !important;
}


.hier-link,
.hier-link:link,
.hier-link:visited,
.hier-link:active {
    color: #ff0000 !important;
    text-decoration: underline;
}

.hier-link:hover {
    color: #ff6666 !important;
}



.telefon {
    color: #ff0000 !important;
    font-weight: bold;
}

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

@media (max-width: 1000px) {

    /* ==================================== */
    /* NAV */
    /* ==================================== */

    .main-nav {
        right: 10px;

        gap: 5px;
    }


    .main-nav img {
        width: 80px;
    }



    /* ==================================== */
    /* GIF */
    /* ==================================== */

    .about-gif {
        display: none;
    }



    /* ==================================== */
    /* TITEL BEREICH */
    /* ==================================== */

    .about-title-section {
        padding-top: 70px;
        padding-bottom: 55px;
    }


    .about-title-image {
        width: 90%;

        margin-left: 3%;
    }



    /* ==================================== */
    /* ABOUT CONTENT */
    /* ==================================== */

    .about-content {
        padding-top: 90px;
    }



    /* ==================================== */
    /* TEXT */
    /* ==================================== */

    .about-text {
        top: 125px;

        left: 4%;

        width: 80%;
    }


    .about-text h1 {
        font-size: clamp(
            34px,
            5vw,
            55px
        );

        margin-bottom: 28px;
    }


    .about-text p {
        font-size: clamp(
            17px,
            2.2vw,
            24px
        );

        line-height: 1.35;

        margin-bottom: 32px;
    }

}



/* ======================================== */
/* HANDY */
/* ======================================== */

@media (max-width: 650px) {

    /* ==================================== */
    /* NAVIGATION */
    /* ==================================== */

    .main-nav {
        right: 5px;

        gap: 3px;
    }


    .main-nav img {
        width: 58px;
    }



    /* ==================================== */
    /* HERO */
    /* ==================================== */

    .about-hero-image {
        width: 100%;
        height: auto;

        object-fit: contain;
    }



    /* ==================================== */
    /* ABOUT TITEL */
    /* ==================================== */

    .about-title-section {
        padding-top: 50px;
        padding-bottom: 40px;
    }


    .about-title-image {
        width: 94%;

        margin-left: 3%;
        margin-right: auto;
    }



    /* ==================================== */
    /* ABOUT CONTENT */
    /* ==================================== */

    .about-content {
        padding-top: 60px;
    }



    /* ==================================== */
    /* BILD */
    /* ==================================== */

    .about-background {
        width: 100%;
        height: auto;

        object-fit: contain;
    }



    /* ==================================== */
    /* TEXT */
    /* ==================================== */

    .about-text {
        top: 85px;

        left: 5%;

        width: 80%;
    }


    .about-text h1 {
        font-size: 30px;

        line-height: 1;

        margin-bottom: 20px;
    }


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

        line-height: 1.35;

        margin-bottom: 25px;
    }

}



/* ======================================== */
/* SEHR KLEINE HANDYS */
/* ======================================== */

@media (max-width: 450px) {

    .main-nav img {
        width: 48px;
    }


    .about-content {
        padding-top: 40px;
    }


    .about-text {
        top: 65px;

        left: 4%;

        width: 62%;
    }


    .about-text h1 {
        font-size: 25px;

        margin-bottom: 15px;
    }


    .about-text p {
        font-size: 13px;

        line-height: 1.3;

        margin-bottom: 18px;
    }

}



/* ======================================== */
/* GIF AUF TABLET / HANDY AUS */
/* ======================================== */

@media (max-width: 1000px) {

    .about-gif {
        display: none;
    }

}