/* Normalisierung */
/* * {
    margin: 0; /* Außenabstand, bei Wert 0 muss keine Unit angegeben 
    padding: 0; /* Innenabstand meines Content zum Rahmen/Border 
    box-sizing: border-box;
} */

html, body {
    margin: 0;
    padding: 0;
    background-color: #fbf6f6; /* RFACT: In Variablen! */
    font-family: "Roboto", sans-serif;
}

img {
    max-width: 100%;
}

body, p, h1, h2, h3, h4, h5, h6, input, select, textarea {
    font-weight: 300;
}

.text, .textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #686565;
    padding: 10px 15px;
    font-size: 16px;
}

.textarea {
    height: 140px;
}

/* Global Styles
-------- */
/* RFACT: Variablen */

.section {
    padding: 60px 20px;
    border-bottom: 1px solid black;
}

.section-title {
    font-size: 40px;
    line-height: 1;
    text-align: center;
    margin: 0; /* testen ob erforderlich */
}
/* RFACT: Verschachtelung */
.lead {
    line-height: 1.25;
    font-size: 1.3rem;
    text-align: right;
    color: #999;
    margin-bottom: 35px;
}
/* RFACT: Verschachtelung */
#deutsch {
    line-height: 1.25;
    font-size: 1.3rem;
    text-align: left;
    color: #999;
    margin-bottom: 35px;
}
/* RFACT: Verschachtelung */
.section-title text-right{
    text-align: right;
}
/* Textausrichtung */
.text-center {
    text-align:center;
}
/* Textausrichtung */
.text-left {
    text-align:left;
}

.text-right {
    text-align: right;
}

.list-inline {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 0;
    list-style-type: none;
    font-size: 14px;
    color: #999;
}
.list-inline-item{
    flex-grow: 1;
    margin-bottom: 5px;
}

.list-inline-item fa {
    color:rebeccapurple;
    margin-right: 7px;
}

.form-field {
    margin-bottom: 10px;
}

.img-rounded {
    border-radius: 100%;
}

.btn {
    box-sizing:border-box;
    text-decoration: none;
    display:inline-block;
    background-color: #ccc; /* background geht auch */
    color:black;
    padding: 15px 20px;
    border: none;
    font-weight: bold;
}

.btn-primary {
    background-color: rgb(15, 19, 66);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: rgb(10, 13, 46);
    color: #fff;
    cursor: pointer;
}
/* Features Section */
.feature-item {
    padding: 20px;
}

.feature-icon {
    font-size: 24px;
    background-color: rebeccapurple;
    color:#fff;
    padding: 15px;
    border-radius: 100%;
}

.feature-title {
    font-size: 28px;
    padding-bottom: 10px;
    border-bottom: 1px dotted black;
}

.feature-description {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 5px; /* eigene Idee */
}
/* Responsive Buttons */
@media (max-width: 768px){
    .btn {
        width: 100%;
        margin: 0 auto; /* werden Elemente zentriert */
        text-align: center;
    }
}

/* Header 
---------------- */

.site-header {
    position: fixed; /* INFO: damit der Header immer sichtbar bleibt / bzw. mitscrollt */
    background-color: rgba(255,255,255, 0.9); /* Eigenrecherche: alphakanal (rgba) vs. opacity */
    z-index: 3; /* steuert die Sichtbarkeit bei übereinanderliegenden Elementen */
    width: 100%;
    border-bottom: 1px solid #e4e4e4;
}

.brand {
    line-height: 1;
    font-size: 28px; /* War nur vor 5 Jahren notwendig, als Fallback von px anzugeben. rem, em usw. wird von allen Browsern unterstützt */
    font-size: 1.75rem;

    a { 
        text-decoration:none;
        color: #333;
    }
}

/* Menü
--------------------------- */
.menu-nav a, .menu-nav a:visited {
    color: rebeccapurple;
}

.menu-nav a:hover {
    color: #222;
}

/* About
-------------- */

#about {
    padding-top: 120px;    
}


#about .lead { /*RFACT: verschachtelung */
    font-size: 1.35rem;
    line-height: 1.3;
    /* text-align: left; */
}

#avatar {
    width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    top: 50%; /* unklar */
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    #about .section-title {
        text-align: center;
    }
}

/* Skills 
------------------- */

#skills {
    background-color: #fafafa;
}

/* Portfolio
------------------- */

.project-title{
    font-size: 48px;
    /* font-size: 3rem;  Doppelt */
    margin: 0;
    line-height: 1;
    color: rebeccapurple;
}

@media(max-width: 768px){
    #portfolio .col3 {
        grid-column: span 6;
    }
}

@media(max-width: 480px){
    #portfolio .col3 {
        grid-column: span 12;
        text-align: center;
    }
}

/* Clients
------------------- */
#clients {
    background: #fafafa;
}

.testimonial-item {
    background: #fff;
    padding: 30px 25px 20px 25px;
    border: 1px solid #f1f1f1;
}

.testimonial-avatar {
    display: block;
    margin: 0 auto;
    width: 100px;
}

.testimonial-title {
    font-size: 28px;
}

.testimonial-content {
    line-height: 1.3;
    position: relative;
}

.testimonial-author {
    font-size: 14px;
}

/* Contact
------------------- */

#contact {
    background: whitesmoke;
    border-color: #333;
}

#contact .section-header {
    font-family: "Yellowtail", cursive, sans-serif;
    color: rebeccapurple;
}

.form-title {
    color: black;
    font-size: 36px;
    margin: 0 0 10px 0; /* margin-bottom: 10px; */
}

.dark .text, .dark .textarea {
    color: #999;
    border-color: #222;
    background-color: rgba(255,255,255, 0.4);
    box-shadow: inset 0 2px 3px rgba(0,0,0, 0.6);
}

.dark .btn-submit:hover,
.dark .btn-submit:focus {
    background-color: rgba(0,0,0, 0.35);
    border-color: rgba(0,0,0,0.2);
    cursor: pointer;
}
/* #formBtn:hover, #formBtn:focus {
    background-color: rgba(0,0,0, 0.35);
    border-color: rgba(0,0,0,0.2);
    cursor: pointer;
} */

#status-messages {
    margin-top: 0.7rem;
    padding: 1rem;
}

#status-messages.error {
    background: tomato;
    color: #fff;
}

#status-messages.success {
    background: lightgreen;
    color: black;
}

/* Footer
-------------------------------- */
.site-footer{
    padding: 20px;
    background: #2d2d2d;
    color: #999;
}

.a {
    color: #999;
    text-decoration: none;
}