/* Importing the Font Poppins from Google Fonts */
@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins' , sans-serif ; /*Importet Font Poppins will be used for the Website*/
    scroll-behavior: smooth;
}

section
{
    padding: 80px;
}

/* Creating Banner Area in CSS*/
.banner
{
    position:relative;
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    background: rgba(143, 235, 247, 0.397);
    background:url(images/background_1.jpg);
    background-size: cover;
    background-position: right,center;

}

/* Editing the h2 area inside the banner */
.banner h2 
{
    font-size: 2.5em;
    color: rgba(91, 94, 94, 0.966);
    font-weight: 300; /* thin/light font */
    line-height: 1.5em;
}
/* Editing the span  area inside the h2 */
.banner h2 span
{
    font-size: 1.2em;
    color: rgba(252, 252, 252, 0.699);
    font-weight: 300; /* thin/light font */
    line-height: 1.5em;
}
/* Editing the h3 area inside the banner */
.banner h3 
{
    font-size: 1.5em;
    color: rgba(252, 252, 252, 0.699);
    font-weight: 500; 
    
}
/*Creating the Button Layout in CSS*/
.btn
{
    position: relative;
    background:rgba(0, 233, 250, 0.637);
    display: inline-block;
    color: #000;
    margin-top: 20px;
    padding: 10px 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px; 
    font-weight: 500;
    font-size: 18px;
}
/*Creating the About Me Layout in CSS*/
.heading
{
    margin-top: 20px;
    width: 100% ;
    text-align: center;
    margin-bottom: 30px;
    color: #000;
}
.heading p
{
    font-style: italic;
    font-size: 14px;
}
.heading h2
{
    font-weight: 300;
    font-size: 3em;
    color: rgba(0, 233, 250, 0.932);
}
.content
{
    display: flex;
    justify-content: space-between;
}
.contentBx
{
    padding-left: 40px;
    text-align: justify;
}
.proPic
{
    height:600px;
    /* width: 427px; */
    border-top-left-radius: 30%; /*sorgt für die Krümmung des Bildes*/
    border-bottom-right-radius: 30%;

}
.contentBx  h2
{
    font-weight: 300;
    margin-bottom: 10px;
}
.heading.bottom
{
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    align-items: center;
    text-align: start;
    
}

.btn.round
{
    border-radius: 50px;
    -webkit-border-radius:50px    ;
    -moz-border-radius:50px    ;
    -ms-border-radius:50px    ;
    -o-border-radius:50px    ;
}
.bt
{
    margin-top: 20px;
}
.content .w50 img {
   
    max-height:100%;
    display: block;
    
}

/*Designing Menu Tabs and the Heading that shows at the top:  */
header
{
    position: fixed;
    top: 0;
    left:0 ;
    width: 100%;
    padding: 40px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    transition: 0.5s;
}
header .logo
{
    color: aqua;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}
header ul
{
    position: relative;
    display:flex;

}
header ul li
{
    list-style-type: none;
    position: relative;
    
}
header ul li a
{
    color: paleturquoise;
    position: relative;
    display: inline-block;
    margin: 0 15px;
    text-decoration: none;
    

}
/* Creating sticky */
header.sticky
{
    background: #fff;
    padding: 20px 100px;
    box-shadow:0 5px 20px rgb(70, 70, 70);

}
header.sticky .logo, header.sticky ul li a
{
    color: rgb(0, 0, 0) ;
}
/*Designing Skills Layout*/
.skills
{
    margin-top: 20px;
    background: #111;

}
.heading.white p
{
    color: #fff;
}
.skills .content
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}
.skills .content .servicesBx
{
    color:#fff;
    background:#161616;
    padding:30px 15px;
    max-width: 360px;
    margin:10px 15px;
    text-align: center;
}
.skills .content .servicesBx:hover
{
    border-bottom: 3px solid rgba(0, 233, 250, 0.637);  /* the bottom border turns turquoise when the mouse touches a box */
   
    
}
.skills .content .servicesBx .fa
{
    color:rgba(0, 233, 250, 0.774); 
}

/*designing the Work Part*/
.work .content
{
    
    display: flex;
    justify-content: center;
    flex-wrap: wrap;    
    flex-direction: row;
    
}
.work .content .workBx
{
    width: 500px;
    padding: 20px;

}
.work .content .workBx img
{
    max-width: 100%;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
}
.work .content .workBx img:hover
{
    box-shadow: 0 0 20px 5px #ccc;
    transform: scale(1.008);
    transition: 0.4s;;
}
.work .content .workBx p
{
    text-align: center;
}
.work .content .workBx a:link,
.work .content .workBx a:visited,
.work .content .workBx a:active
{
    color:black;
    text-decoration: none;
    font-weight: 600;
}
/*designing the motivation part*/
.motivation
{
   
    background: #111;
}
.motivation .content
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;    
    flex-direction: row;
}
.motivation .content .motivationBx
{
    background: #000;
    margin: 20px;
    padding: 60px 40px;
    max-width:calc(50%-40px);
    border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%;
    

}
.motivation .content .motivationBx p
{
    color: #fff;
    
    font-size: 20px;
    font-weight: 2;
    font-family: "Times New Roman", Times, serif;
}  
.motivation .content .motivationBx h3
{
    color: aqua;
    margin-top: 40px;
    text-align: end;
    font-weight: 200;
    line-height: 20px;
    font-style: italic;
    line-height: 1.7em;
    font-size: 20px;
}
.motivation .content .motivationBx:hover
{
    border-bottom: 2px solid aqua ;
}
.contact
{
    background:rgb(0, 0, 0) ;
}
.contact .heading.white p
{
    color: black;
}
.formBx
{
    min-width: 60%;
}
.formBx form
{
    display: flex;
    flex-direction: column;
}
.formBx form h3,
.contactInfo h3
{
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.contactInfo p
{
  color: #8A2BE2;
}
.formBx form input, .formBx form textarea
{
    margin-bottom: 20px;
    padding: 15px;
    font-size: 16px;
    background: transparent;
    border: none;
    outline: none;
    background: #161616;
    color:#fff;
    resize: vertical;
} 
.formBx form input:focus, .formBx form textarea:focus
{
    border-bottom: 1px solid aqua; /* Bottom Border lights up in the selected color when the box is selected */
    transition: 0.5s;
}
.formBx form input::placeholder, .formBx form textarea::placeholder
{
    color: #999;
}
.formBx form input[type="submit"]
{
    background:rgba(0, 233, 250, 0.849);
    max-width: 250px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 2px;
}
/*Designing the Contact Infos*/
.contactInfo
{
    max-width: 40%;
    
}
.contact .heading.white p
{
    color: rgb(255, 255, 255);
    
}

.contactInfoBx 
{
    position: relative;
}
.contactInfoBx .box
{
    position: relative;
    padding: 20px 0;
    display: flex;
}
.contactInfoBx .box .icon
.contactInfoBx .box .icon a:link,
.contactInfoBx .box .icon a:visited,
.contactInfoBx .box .icon a:active
{
    color: rgba(245, 115, 115, 0.849);
    background-color: transparent;
    min-width: 40px;
    padding-top: 1px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.contactInfoBx .box .text
{
    color:#999;
    margin-left: 15px;
    font-weight: 300;
    line-height: 1.7em;
    font-size: 16px;
}
.contactInfoBx .box .text a
{
    color: rgba(0, 233, 250, 0.849);
    font-weight: 430000;
    font-size: 22px;
    text-decoration: none;
    margin: 0;
    margin-bottom: 20px;
}
.contactInfoBx .boxSocial
{
    display: flex;
    flex-direction: row;
    padding-left: 20px;
    letter-spacing: 20px;
}
.contactInfoBx .boxSocial .fa
{
    color: rgba(0, 233, 250, 0.849);
}
.contactInfoBx .box .text h3
{
    color: rgba(0, 233, 250, 0.849);
    
    cursor: pointer;
}
footer.copyright
{
    background:#000;
    color:#fff;
    text-align: center;
    padding:10px;
}
/* Making the Page Responsive*/
@media (max-width:991px)
{
    header,
    header.sticky
    {
        
        padding: 20px 50px;
    }
    header .menu
    {
        display: none; /* Display disappears when the page is squeezed */
    }
    header .menu
    {
        position:fixed;
        background: #fff;
        display: block;
        top: 75px;
        left: -100%; /* Menu hides completely on the left side*/
        padding: 100px 50px;
        width:100%;
        height: 100vh;
        text-align: center;
        border-top: 2px solid rgba(190, 190, 190, 0.623);
        transition: 0.5s;

    }
    header .menu.active
    {
        position:fixed;
        background: #fff;
        display: block;
        top: 75px;
        left: 0; /* Menu comes out from left side */
        padding: 100px 50px;
        width:100%;
        height: 100vh;
        text-align: center;
        border-top: 2px solid rgba(190, 190, 190, 0.623);
        transition: 0.5s;
    }
    header ul li a{
        font-size: 20px;
        font-weight: 400;
        color:#111;
        margin:10px 0;
    }
    .toggle
    {
        width: 40px;
        height: 40px;
        background-image: url(images/menu.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 30px;
        cursor: pointer;
        
    }
    .toggle.active
    {
        width: 40px;
        height: 40px;
        background-image: url(images/close.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 30px;
        cursor: pointer;
    }
    header.sticky .toggle
    {
        filter:invert(1);  /* invets the colors as soon as the sticky menue is activatet */
    }
    section 
    {
        padding: 100px 30px;
    }
    .banner
    {
        
        padding :150px 50px 100px;
    }
    .banner h2
    {
        font-size: 1.5em; 
    }
    .banner h3
    {
        font-size: 1em;
    }
    .textBx  /*sorgt dafür , dass der Name und das Hello herunterkommt, wenn die seite gesqueezed wird*/
    {
        position: relative;
        top:170px;
    }
    .btn
    {
        margin-top:10px;
        padding: 10px 20px;
        border-radius: 50px;
    }
    .content
    {
        flex-direction:column ;
    }
    .contentBx
    {
        padding: 0;
    }
    .content .w50 img
    {
        display: block;
        margin: 0px auto 30px auto;
    }
    .contentBx h2
    {
        font-size: 20px;
        font-weight: 300;
    }
    .contentBx h3
    {
        font-size: 20px;
    }
    .heading h2 
    {
        font-size: 24px;
    }

    .skills .content .servicesBx
    {
        margin:10px;
    }
    .contactInfo
    {
        margin:10px 0;
    }
}

@media (max-width: 768px)
{
.motivation .content .motivationBx
{
    max-width: calc(100% - 20px);
    padding: 40px 20px;
    margin: 30px;
}
.heading.bottom
{
    display:flex;
    justify-content: space-between;
    align-items: center;
    flex-direction:row;
}
}

@media (max-width: 600px)
{
.motivation .content .motivationBx
{
    max-width: calc(100% - 20px);
    padding: 40px 20px;
    margin: 30px;
}
.content .w50 img
{
    width:calc(100% - 70px);
    height: calc(100% - 80px);
    display: block;
    margin: 0px auto 30px auto;

}
.heading.bottom
{
    display:flex;
    justify-content: space-between;
    align-items: center;
    flex-direction:column;
}
.copyright p
{
    font-size: calc(100% - 5px);
}
}

@media (max-width: 400px)
{
 .btn
 {
    max-width: calc(100% - 20px);
    letter-spacing: 2px; 
    font-weight: 400;
    font-size: calc(100% - 3px);
    
 }
.motivation .content .motivationBx 
{
    max-width: calc(100% - 20px);
    padding: 40px 20px;
    margin: 30px;
    
}
.motivation .content .motivationBx p
{
    font-size: calc(100% - 3px);
}
.motivation .content .motivationBx h3
{
    font-size: calc(100% - 3px);
}
.heading.bottom
{
    display:flex;
    justify-content: space-between;
    align-items: center;
    flex-direction:column;
}

 .content .contentBx.w50 
{
    font-size: calc(100% - 3px);
    
}
.content .w50 img
{
    width:calc(100% - 70px);
    height: calc(100% - 80px);
    display: block;
    margin: 0px auto 30px auto;
}
.skills .servicesBx h3
{
    font-size: calc(100% - 4px);
}
.skills .servicesBx p
{
    font-size: calc(100% - 4px);
}
.text p
{
    font-size: calc(100% - 2px);
}
.contact h3 
{
    font-size: calc(100% - 2px);
}
.formBx form h3
{
    font-size: calc(100% - 2px);
}
.formBx form input[type="submit"]
{
    max-width: calc(100% - 10px);
    font-weight: 400;
    letter-spacing: 2px;
    font-size: calc(100% - 2px);
}
 .copyright p
{
    font-size: calc(100% - 6px);
}
}


