html {
    font-family: Verdana, Arial, Tahoma, Serif;
    scroll-behavior: smooth;
}

body {
    background-color: rgb(34, 47, 46);
    margin: 0;
    padding: 0;
    font-size: 16px;
}

h2 {
    line-height: 1.875em;
    font-size: 1.5em;
    animation: fadeInUp 1s ease-in-out;
}

h3 {
    color: rgb(83, 13, 8);
    font-size: 1.125em;
    line-height: 0.625em;
    animation: fadeInUp 1s ease-in-out;
}

footer {
    position: relative;
    box-sizing: border-box;
    margin: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 2.5em;
    width: 100%;
    background-color: white;
    color: black;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-in-out;
}

footer p {
    color: black;
    margin: 0;
}

footer a {
    text-decoration: none;
}

.main-header {
    width: 100%;
    height: 80vh;
    background: linear-gradient(to right,
        rgb(255, 255, 255) 0%,
        rgb(255, 255, 255) 40%,
        rgb(200, 150, 150) 55%,
        rgb(83, 13, 8) 87%,
        rgb(83, 13, 8) 100%);
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 97%, 75% 95%, 25% 95%, 0 97%);
    animation: fadeInNormal 1s ease-out;
}

.description-box {
    flex-grow: 2;
    position: relative;
    top: 0;
    margin-left: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideIn 1s ease-out;
}

.intro-heading {
    position: relative;
    z-index: 1;
}

.button-center {
    position: relative;
    display: flex;
    justify-content: center;
}

.imageCenter {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    animation: fadeInUp 1s ease-in-out;
}

.profile-image {
    width: 100%;
    max-width: 65vh;
    height: auto;
    z-index: 2;
    animation: scaleIn 1s ease-in-out;
    border-radius: 24px; /* etwas weicher */

    box-shadow:
        0 -8px 18px rgba(0, 0, 0, 0.15),  /* weicherer Oben-Schatten */
        0 12px 25px rgba(0, 0, 0, 0.1);   /* etwas mehr Bodenschatten */
}

#intro-text {
    color: rgb(83, 13, 8);
    text-align: left;
    line-height: 1.4em; /* statt 0.9375em */
    font-size: 2.1em;
    font-weight: 600; /* optional für etwas mehr Präsenz */
    margin-bottom: 1em; /* bisschen Abstand zum Button */
    margin-left: 1em;
    margin-right: 1em;
}

#contact-btn {
    background-color: rgb(83, 13, 8);
    border: none;
    margin-right: 0em;
    border-radius: 0.3125em;
    color: white;
    height: 3.125em;
    padding: 0.84375em 3.90625em;
    margin-top: 0.5em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s;
}

#contact-btn:hover {
    background-color: rgb(103, 33, 28);
    transform: translateY(-2px);
    box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.15);
}

#contact-btn:active {
    transform: translateY(0);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

#portfolio-btn {
    position: relative;
    left: 0;
    margin-top: 1.7857em;
    background-color: rgb(34, 47, 46);
    border: none;
    height: 2.1428em;
    width: 10.7142em;
    border-radius: 0.3571em;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.75em;
    cursor: pointer;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

#portfolio-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
}

.profile-image-mobile,
.center-image-mobile,
.circle-image-mobile {
    visibility: collapse;
    display: none;
}

#cv-download-btn {
    margin-top: 1.25em;
    background-color: transparent;
    border: 0.09375em solid rgb(255, 255, 255);
    border-radius: 0.3125em;
    height: 3.125em;
    color: rgb(255, 255, 255);
    padding: 0.84375em 1.90625em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

#cv-download-btn:hover {
    background-color: rgb(83, 13, 8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.15);
}

#cv-download-btn:active {
    transform: translateY(0);
}

.about-me-section {
    margin-top: 10%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 40%;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
}

.section-intro {
    color: rgb(255, 255, 255);
    font-size: 0.625em;
}

.section-title {
    font-size: 1.5em;
    line-height: 1.25em;
    color: rgb(255, 255, 255);
}

#about-text {
    margin-top: -0.625em;
    font-size: 1em;
    line-height: 1.375em;
    color: rgb(255, 255, 255);
}

.skills-section {
    position: relative;
    margin-top: 15%;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

#skills-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.box {
    background-color: white;
    position: relative;
    margin: 1.5625em 0.78125em;
    width: 21em;
    height: 21em;
    border-radius: 0.5em;
    box-shadow: 0px 4px 15px rgba(34, 47, 46, 0.15);
    padding: 1em;
    animation: fadeInUp 1s ease-in-out;
}

.boxMitLink {
    background-color: white;
    position: relative;
    margin: 1.5625em 0.78125em;
    width: 21em;
    height: 21em;
    border-radius: 0.5em;
    box-shadow: 0px 4px 15px rgba(34, 47, 46, 0.15);
    padding: 1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-in-out;
}

.boxMitLink:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 20px rgba(34, 47, 46, 0.25);
}

.box-content {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    align-items: center;
    height: 100%;
}

.box-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30%;
    height: 100%;
}

.box img, .boxMitLink img {
    width: 70px;
    height: 50px;
    margin-bottom: 0.5em;
}

.box h3, .boxMitLink h3 {
    font-size: 1em;
    margin: 0 0.4375em;
    line-height: 1.5em;
    font-weight: 600;
}

.box p, .boxMitLink p {
    margin-top: 0.5em;
    font-size: 0.875em;
    margin-left: 0.4375em;
    margin-right: 0.4375em;
    line-height: 1.4;
}

.practical-experiences-section {
    position: relative;
    margin-top: 15%;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

#practical-experiences-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.details-wrapper {
    width: 80%;
    margin: 0 auto;
}

.certificates-section {
    position: relative;
    margin-top: 15%;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

#certificates-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

}
#certificates-list p,
#certificates-list ul,
#certificates-list li {
    text-align: left;

}
#certificates-list p {
    align-self: stretch;
}

#certificates-list ul {
    width: 100%;
    padding-left: 0em;
    margin-top: 0.5em;
}

#portfolio-section {
    position: relative;
    margin-top: 15%;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

#projects-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.other-interests-section {
    position: relative;
    margin-top: 15%;
    text-align: center;
    margin-bottom: 20%;
    animation: fadeIn 1s ease-in-out;
}

#other-interests-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInNormal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}







@media (min-width: 1600px) {
    body {
        font-size: 18px;
    }


}

/* @media (max-width: 1283px) {
    #intro-text {
        color: rgb(83, 13, 8);
        text-align: center;
        line-height: 0.9375em;
        font-size: 2.2em;
    }

} */

/* Für Tablets im Hochformat */
@media (max-width: 1350px) {
    #intro-text {
        color: rgb(83, 13, 8);
        text-align: center;
        line-height: 1.2em;
        font-size: 2.2em;
    }
   .main-header {
        height: 100vh;
        background: linear-gradient(to right,
                rgb(255, 255, 255) 0%,
                rgb(255, 255, 255) 70%,
                rgb(200, 150, 150) 100%);
    }



    .details-wrapper {
        width: 100%;
    }

    .about-me-section {
        width: 80%;


    }
    .imageCenter {
        visibility: collapse;
        display: none;
    }
     .center-image-mobile {
        position: relative;

        visibility: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 5%;
    }

    .circle-image-mobile {
        position: relative;
        visibility: visible;
        display: contents;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 3px solid white;
        box-sizing: border-box;

    }


    .profile-image-mobile {
        position: relative;
        max-height: 100%;
        max-width: 100%;
        z-index: 2;
        visibility: visible;
        display: flex;
        left: 0px;


    }


}

@media (max-width: 767px) {
    .imageCenter {
        visibility: collapse;
        display: none;
    }
    #intro-text {
    font-size: 1.5em;
}

    .main-header {
        height: 100vh;
        background: linear-gradient(to right,
                rgb(255, 255, 255) 0%,
                rgb(255, 255, 255) 70%,
                rgb(200, 150, 150) 100%);
    }

    .center-image-mobile {
        position: relative;

        visibility: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10%;
    }

    .circle-image-mobile {
        position: relative;
        visibility: visible;
        display: contents;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 3px solid white;
        box-sizing: border-box;

    }


    .profile-image-mobile {
        position: relative;
        max-height: 100%;
        max-width: 100%;
        z-index: 2;
        visibility: visible;
        display: flex;
        left: 0px;


    }

    .about-me-section {
        width: 90%;
        margin-bottom: 35%;
        margin-top: 30%;

    }

    .box h3 {
        font-size: 1.125em;
        margin: 0em;

    }

    .box p, .boxMitLink p {

        /* -7px / 16px */
        font-size: 0.98em;
        margin-left: 0em;
        margin-right: 0em;
        line-height: 1.4;
    }

    .box {
        width: 22em;
        height: 22em;
    }

    .boxMitLink {
        width: 22em;
        height: 22em;
    }

    .box-content {
        margin-top: 0px;
        margin-bottom: 0px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }


    .box-content-center {
        margin-top: 0em;
        margin-bottom: 0px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }

    .cv-download-btn {
        width: 15.5em;


    }

    #contact-btn {
        width: 15.5em;
        margin-left: 0em;
        margin-right: 0em;
    }

    .skills-section {
        margin-bottom: 35%;

    }

    .practical-experiences-section {
        margin-bottom: 35%;

    }

    .certificates-section {
        margin-bottom: 35%;
    }

    #portfolio-section {
        margin-bottom: 35%;

    }

    .other-interests-section {
        margin-bottom: 35%;
    }

    .details-wrapper {
        width: 100%;
    }
}

    @media screen and (max-width: 916px) and (orientation: landscape) {
        #portfolio-btn {
            margin-bottom: 8%; 
            margin-top: 3%;
        }
    }
 
