  @import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* Allgemeines */

:root {
    --hellgrau: whitesmoke;
    --schwarz: black;
    --hellesschwarz: #111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Sans 3', sans-serif, Verdana, Tahoma;

}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    color: whitesmoke;
}

/* Alle Sections */

section {
    padding: 100px;
}

/* Banner */

.banner {
    position: relative;
    min-height: 1000px;
    background: url(./img/banner.jpg);
    background-size: cover;
    background-position: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner h2 {
    font-size: 3rem;
    color: var(--hellgrau);
    font-weight: 500;
    line-height: 4.6rem;
}

.banner h2 span {
    font-size: 5rem;
    font-weight: 600;
}

.bannerBildMobil {
    display: none;
}

.btn {
    position: relative;
    background: red;
    display: inline-block;
    color: var(--hellgrau);
    margin-top: 20px;
    padding: 8px 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: all 500ms ease-in-out;
}

.btn:hover {
    scale: 1.2;
    background-color: rgb(188, 12, 12)!Important;
}

.workBx > a img {
    transition: all 500ms ease-in-out!Important;
}

.workBx > a:hover img {
    scale: 1.1;
}

/* Header */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s;
}

header.sticky {
    background-color: var(--hellgrau);
    padding: 20px 100px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Logo */

header.sticky .logo {
    color: var(--schwarz);
}

header .logo {
    color: var(--hellgrau);
    font-size: 2rem;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Naviagtion */

header ul {
    position: relative;
    display: flex;
}

header ul li {
    position: relative;
    list-style: none;
}

header ul li a {
    position: relative;
    display: inline-block;
    margin: 0 15px;
    color: var(--hellgrau);
    text-decoration: none;
}

header.sticky ul li a {
    color: var(--schwarz);
}

/* Über mich */

#über-mich {
    color: var(--schwarz);
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
}

.heading {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
} 

.heading h2 {
    font-weight: 600;
    font-size: 2.4rem;
}

.content {
    display: flex;
    justify-content: space-between;
}

#über-mich .content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    align-items: center;
}


#über-mich .content div {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 460px;
}

#über-mich .content div:first-of-type {
    padding-right: 20px;
}

#über-mich .content div:first-of-type img {
    border-radius:  0 120px 0 120px;
}

#über-mich .content div:last-of-type {
    padding-left: 20px;
}


img {
    width: 100%;
}

/* Skills */

#skills {
    background-color: var(--hellgrau);
}

#skills .heading.white {
    color: var(--schwarz);
}

#skills .content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

#skills .content .skillsBx {
    padding: 40px 20px;
    background-color: #222;
    color: var(--hellgrau);
    max-width: 320px;
    margin: 20px;
    text-align: center;
    transition: 0.5s;
}
		
#skills .content .skillsBx a {
    text-decoration: none;
    color: whitesmoke;
}
#skills .content .skillsBx a:link {
    text-decoration: none;
    color: whitesmoke;
}
#skills .content .skillsBx a:visited {
    text-decoration: none;
    color: whitesmoke;
}
#skills .content .skillsBx a:hover {
    text-decoration: none;
    color: whitesmoke;
}
#skills .content .skillsBx a:active {
    text-decoration: none;
    color: whitesmoke;
}		
		
#skills .content .skillsBx img {
    max-width: 120px;
    filter: invert(1);
}

#skills .content .skillsBx h2 {
    font-size: 1.6rem;
    font-weight: 600;
}

#skills .content .skillsBx:hover {
    background-color: red ;
}

/* Projekte */

#projekte .heading {
    color: var(--schwarz);
}

#projekte .content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#projekte .content .workBx {
    max-width: 460px;
    padding: 20px;
}

#projekte .content .workBx img {
    max-width: 100%;
    box-shadow: 2px 2px 10px #9e9e9e;
}

/* Bewertungen */

#bewertungen {
    color: var(--schwarz);
    background-color: var(--hellgrau);
}

#bewertungen .content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sterne {
    font-size: 2rem;
    margin-bottom: 20px;
}

#bewertungen .content .bewertungenBx a {
    text-decoration: none;
    color: var(--hellgrau);
}

#bewertungen .content .bewertungenBx {
    color: var(--hellgrau);
    /* max-width: calc(50% - 40px); */
    max-width: 600px;
    padding: 60px 40px;
    margin: 20px;
    background-color: #2196f3;
}

#bewertungen .content .bewertungenBx p {
    font-style: italic;
    font-size: 1rem;
    font-weight: 300;
}

#bewertungen .content .bewertungenBx h3 {
    margin-top: 40px;
    text-align: end;
    font-size: 1.2rem;
    line-height: 1.2rem;
    font-weight: 600;
}

#bewertungen .content .bewertungenBx h3 span {
    font-size: 0.9rem;
    font-weight: 400;
}

/* Kontakt */

#kontakt {
    color: var(--hellgrau);
    background-color: var(--hellesschwarz);
}

#kontakt .formBx {
    min-width: 60%;
}

#kontakt .formBx h3,
#kontakt .kontaktInfo h3  {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

#kontakt .formBx form {
    display: flex;
    flex-direction: column;

}

#kontakt .formBx form input,
#kontakt .formBx form textarea {
    color: var(--hellgrau);
    margin-bottom: 20px;
    padding: 15px;
    font-size: 1rem;
    background: transparent;
    border: none;
    outline: none;
    background-color: #222;
    resize: none;
}

#kontakt .formBx form textarea {
    height: 200px;
}

#kontakt .formBx form button {
    max-width: 200px;
    background-color: red;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 30px;
    border: none;
    color: var(--hellgrau);
    font-size: 1.4rem;
}

#kontakt .kontaktInfo {
    min-width: 40%;
}

#kontakt .kontaktInfoBx {
    position: relative;
}

#kontakt .kontaktInfoBx .box {
    position: relative;
    padding: 20px 0;
    display: flex;
}


#kontakt .kontaktInfoBx .box .icon {
    min-width: 40px;
    padding-top: 4px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#kontakt .kontaktInfoBx .box .text {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    margin-left: 20px;
    font-weight: 300;
}

#kontakt .kontaktInfoBx .box .text h3 {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
}

#kontakt .kontaktInfoBx .box .icon svg {
    width: 20px;
    height: 20px;
}
		
.formBx a {
	color: white;
}

#impressum {
    background-color: var(--schwarz);
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

#impressum a {
    text-decoration: underline;
    color: var(--hellgrau);
}

/* Mobiloptimiert */

@media (max-width: 1340px) {

    .banner h2 {
        font-size: 1.5rem;
        line-height: 3rem;
    }

    .banner h2 span {
        font-size: 3rem;
    }
    
}

@media (max-width: 1119px) {

    .banner {
        background: url(./img/banner920.jpg)!Important;
        background-size: cover!Important;
        background-position: right!Important;
    }

    #über-mich .content div:first-of-type {
        padding-right: 0;
    }
    
    #über-mich .content div:last-of-type {
        padding-left: 0;
    }

    #über-mich .content div h3 {
        margin: 20px 0;
    }
}

@media (max-width: 920px) {
    header,
    header.sticky {
        padding: 20px 50px;
        z-index: 1000;
    }

    .menu {
        position: fixed;
        top: 75px;
        left: -100%;
        display: block;
        padding: 100px 50px;
        text-align: center;
        width: 100%;
        height: 100vh;
        background-color: var(--hellgrau);
        transition: 0.5s;
        z-index: 999;
        border-top: 1px solid var(--hellesschwarz);
    }

    .menu.active {
        left: 0;
    }

    .menu li a {
        color: var(--schwarz);
    }

    .toggle {
        width: 40px;
        height: 40px;
        background: url(./img/hamburger-menu.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 30px;
        cursor: pointer;
    }

    .toggle.active {
        background: url(./img/hamburger-menu-close.png)!Important;
    }

    header.sticky .toggle {
        filter: invert(1);
    }

    header ul li a {
        font-size: 2rem;
        margin: 10px;
    }

    section {
        padding: 100px 20px;
    }

    .banner {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 150px 50px 100px;
        background: var(--schwarz)!Important;
        height: 300px!Important;
    }

    .banner h2 span {
        font-size: 3rem;
    }

    .bannerBildMobil {
        display: block;
        margin-top: 40px;
        margin-bottom: -6px;
    }

    section:first-of-type {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .w50:last-of-type {
        padding-left: 0;
    }
    
}

@media (max-width: 446px) {

    #projekte .content .workBx {
        width: 100%;
    }    

    .toggle {
        margin-right: -30px;
    }

    #über-mich .content div:first-of-type img {
        border-radius:  0 60px 0 60px;
    }

    .banner {
        padding: 150px 20px 100px;
    }

    .banner .textBx {
        width: 100%;
    }
    .banner h2 {
        font-size: 1rem;
        line-height: 2.4rem;
    }

    .banner h2 span {
        font-size: 2.4rem;
    }

    #skills .content .skillsBx {
        margin: 0 0 40px 0;
    }

    #projekte .content .workBx {
        padding: 0 0 40px 0;
    }

    #bewertungen .content .bewertungenBx {
        margin: 0 0 40px 0;
    }
  
}

@media (max-width: 760px) {

    #kontakt > .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #kontakt .kontaktInfo {
        margin-bottom: 20px;
    }

    .img1 {
        display: none;
    }
    .img2 {
        display: inline-block;
    }

    .sm {
        font-size: 1rem;
        padding: 10px;
    }

}


/* Projekte Unterseiten */

.banner-projekte {
    position: relative;
    min-height: 125.333px;
    background: var(--schwarz);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}
		
#projekt {
	max-width: 1200px;	
	margin: 0 auto;
}

#projekt, #nachricht {
    color: var(--hellesschwarz);
}


.beschreibung ul {
    list-style: "\2713\00A0";
    list-style-position: inside;
}

.beschreibung ul li::marker {
    color: red;
}

.img1 {
    display: inline-block;
}
.img2 {
    display: none;
}

#nachricht {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
}

@media (max-width: 760px) {

    .img1 {
        display: none;
    }
    .img2 {
        display: inline-block;
    }

    .nachricht-schrift h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

}