/* Start */

.max-width-1400{
    max-width: 1400px;
    margin: auto;
}

.main a{
    text-decoration: none;
}

.margin{
    margin: 50px 50px;
}

.margin-bottom{
    margin-bottom: 50px;
}

.main-title{
    color: #ffaf1b;
    text-align: center;
    font-size: 20pt;
}

.card{
    display: flex;
    background: #555;
    height: 130px;
    color: white;
    border-radius: 5px;
    overflow: hidden;
}

.card .img{
    background: #ffaf1b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img{
    width: 90px;
    height: 90px;
    padding: 20px;
    
}

.card-img-full{
    height: 130px;    
}

.card .text{
    padding: 20px;
}

.card .text h2{
    margin-bottom: 10px;
}

/* Ueber Mich */

.me-img{
    width: 350px;
    border-radius: 5px;
}

.next-to{
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 50px;
    margin-left: 50px;
    margin-right: 50px;
}

.next-to p{
    color: white;
}

/* Impressum */

.impressum-text{
    margin-bottom: 50px;
    margin-left: 50px;
    margin-right: 50px;
}

.impressum-text p{
    color: white;
}

.impressum-text strong{
    color: #ffaf1b;
}

.impressum-text a{
    color: #ffaf1b;
    text-decoration: none;
}

/* Part */

.part{
    padding: 10px 15px;
    background: #ffaf1b;
    font-weight: bold;
}

/* Videos */

.videos{
    padding: 50px;
}

/* Projekte */

.projekte h1,
.videos h1{
    padding-bottom: 50px;
    color: #ffaf1b;
}

.padding-top{
    padding-top: 50px;
}

.projekte{
    padding: 50px;
}

.project-flex{
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    width: 100%;
}

.project-flex a{
    width: 100%;
    display: block;
}

.project{
    width: calc(50% - 25px);
    height: auto; /* 130px */
    display: flex;
    align-items: start;
    justify-content: start;
    background: #555;
    cursor: pointer;
}

.project .project-img{
    width: auto;
    height: 130px;
    background: #ffaf1b;
}

.project .text{
    color: white;
    padding: 20px;
}

.project .text .title{
    margin-bottom: 5px;
    font-weight: bold;
}

.light{
    background: #444;
}

/* Impressum */

.impressum-container{
    padding: 50px;
}

.impressum-container h1{
    margin-bottom: 50px;
    color: #ffaf1b;
}

.impressum{
    color: white;
}

.orange{
    text-decoration: none;
    color: #ffaf1b;
}

.block{
    display: block;
}

.impressum-flex{
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 50px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.impressum-part{
    width: 100%;
}

/* Footer */

.footer-gray{
    background: #333;
}

.footer{
    padding: 50px;
    color: white;
}

.padding-bottom{
    padding-bottom: 20px;
}

/* Python Tutorial */

.flex{
    display: flex;
    align-items: start;
    justify-content: center;
    width: 100%;
    gap: 50px;
}

.flex-part{
    width: 100%;
    color: white;
}

iframe{
    width: 100%;
    border-radius: 5px;
}

video{
    width: calc(100% - 100px);
    border-radius: 5px;
}

/* Tutorial */

.padding{
    padding: 20px;
}

.project-img-small{
    width: 90px;
    height: 90px;
    background: #ffaf1b;
}

.info-copy{
    position: fixed;
    bottom: 20px;
    right: 30px;
    background: white;
    color: black;
    z-index: 1000;
    padding: 10px 20px;
    display: none;
    font-size: 10pt;
}

.copy-btn{
    padding: 5px;
    border: none;
    background: #333;
    color: white;
    font-size: 9pt;
}

.copy-btn:hover{
    background: #ffaf1b;
    color: black;
    cursor: pointer;
}

.code-container{
    margin: 20px 0px;
    background: #111;
    padding: 10px;
    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 5px;
    overflow: hidden;
}

.code-container_flex_start{
    margin: 20px 0px;
    background: #111;
    padding: 10px;
    color: white;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

code{
    font-family: monospace;
    font-size: 12pt;   
}

code span{
    font-family: monospace;
    font-size: 12pt;
    color: #999;
    font-style: italic;
}

.text-p{
    color: white;
}

.text-p code{
    color: #ffaf1b;
}

.list_ul li{
    margin-left: 20px;
    color: white;
}

.list_ul li code{
    color: #ffaf1b;
}

.list_ul li span{
    font-family: monospace;
    font-size: 12pt;
    color: #999;
    font-style: italic;
}

.tutorial h2{
    padding: 50px 0px 25px 0px;
    color: #ffaf1b;
}

.tutorial-title{
    padding-bottom: 0px !important;
}

.tutorial-p{
    color: #ffaf1b;
}

.tutorial-p_subtitle{
    color: white;
}

/* Artikel */

.article-img-container{
    background: #333;
    width: 640px;
    overflow: hidden;
    margin-bottom: 50px;
    border-radius: 5px;
}

.article-img-container .article-img{
    width: 100%;
}

.article-img-text{
    padding: 10px;
}

.article-img-text p{
    color: white;
    font-size: 20px;
}

.article-img-text a{
    text-decoration: none;
    color: #ffaf1b;
    font-size: 15px;
}

.bg-white{
    background: white;
}

.ul li{
    margin-left: 20px;
    color: white;
}

.ul li code{
    color: #ffaf1b;
}

.ul li span{
    font-family: monospace;
    font-size: 12pt;
    color: #999;
    font-style: italic;
}

.gnome{
    background: #333;
}

.margin-top{
    margin-top: 100px;
}

.on{
    font-weight: bold;
}

/* Ueber Mich */

.ueber-mich{
    padding: 50px;
}

/* Projekte */

.ueber-mich h1{
    padding-bottom: 50px;
    color: #ffaf1b;
}

.ich{
    /*border-radius: 50%;*/
    width: 300px;
}

.inhalt{
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 50px
}

.inhalt p{
    color: white;
}

.infos-container{
    width: 100%;
    color: #ffaf1b;
    margin: 50px 0px 0px 0px;
}

.infos-title{
    background: #2c2c2c;
    padding: 20px;
    text-align: center;
}

.infos-title h2{
    color: white;
    font-size: 14pt;
    font-weight: 400;
}

.infos-title h2 span{
    color: rgb(255, 175, 26);
}

.infos-main{
    background: #3c3c3c;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.infos-main p{
    color: white;
}

.info{
    width: 100%;
    padding: 10px;
    text-align: center;
}

.video-info{
    color: white;
    margin-top: -30px;
}

/* Kontaktformular */

#contact-form{
    display: flex;
    flex-direction: column;
}

#contact-form label{
    color: white;
}

#contact-form textarea{
    padding: 10px;
    margin: 5px 0px;
    border-radius: 5px;
    height: 200px;
    border: none;
    resize: none;
}

#contact-form input{
    padding: 10px;
    margin: 5px 0px 20px 0px;
    border-radius: 5px;
    border: none;
}

#contact-form input[type="submit"]{
    padding: 10px;
    margin: 10px 0px;
    border-radius: 5px;
    border: none;
    background: #ffaf1b;
    color: black;
    cursor: pointer;
}

/* Datenschutz */

.datenschutz{
    color: white;
    word-wrap: break-word;
}

.datenschutz li{
    margin-left: 20px;
}

.datenschutz a{
    color: #ffaf1b;
    text-decoration: none;
}

.datenschutz .abschnitt{
    margin-top: 50px;
}

.datenschutz h2{
    margin-bottom: 10px;
}

.datenschutz h3{
    margin-top: 10px;
    margin-bottom: 10px;
}

.a-datenschutz{
    color: black;
    text-decoration: none;
    padding: 20px;
    background: #ffaf1b;
    border-radius: 5px;
}

/* Aenderungen */

.search-box{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #333;
    padding: 20px;
    border-radius: 5px;
    width: calc(100% - 140px);
    max-width: 600px;
    margin: 50px auto;
}

.search-box .text{
    width: 100%;
}

.search-box .search-input{
    padding: 10px;
    border-radius: 5px;
    border: none;
    width: 100%;
    outline: none;
    text-align: center;
}

.card a{
    color: #ffaf1b;
    text-decoration: none;
    margin-top: 10px;
    display: block;
}

.style-anzahl{
    color: #ffaf1b;
    margin-top: 20px;
    text-align: center;
}

.nummer{
    width: 130px;
    height: inherit;
    background: #ffaf1b;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nummer h2{
    font-size: 30pt;
}

.text-flex{
    width: calc(100% - 130px);
}

.newsize{
    min-height: 130px !important;
    height: auto !important;
}

/* Page */

.page{
    margin-bottom: 150px;
}

/* Code */

.l-blue{
    color: rgb(104, 212, 255);
    font-style: normal;
}

.blue{
    color: rgb(0, 162, 226);
    font-style: normal;
}

.red{
    color: rgb(255, 0, 85);
    font-style: normal;
}

.yellow{
    color: rgb(255, 255, 83);
    font-style: normal;
}

.purple{
    color: rgb(141, 53, 255);
    font-style: normal;
}

.green{
    color: rgb(140, 255, 46);
    font-style: normal; 
}

.tab{
    margin-left: 2em;
}

@media screen and (max-width: 700px) {

    .main{
        height: 100%;
        width: 100%;
        overflow: hidden;
    }

    .card{
        flex-direction: column;
        height: auto;
    }

    .card .img{
        width: 100%;
        height: auto;
    }

    .card-img{
        height: 100%;
    }

    .card-img-full{
        width: 100%;
        height: auto;
    }

    .card .text{
        text-align: center;
    }

    .next-to{
        flex-direction: column;
    }

    .next-to img{
        width: 100%;
    }

    .project-flex{
        flex-direction: column;
    }

    .project{
        width: 100%;
    }

    .impressum-flex{
        flex-direction: column;
    }

    .flex{
        flex-direction: column;
    }
    
    .projekte h1,
    .videos h1{
    	text-align: center;
    }
    
    .footer{
    	text-align: center;
    }

    .project{
        flex-direction: column;
    }

    .project .project-img{
        width: 100%;
        height: auto;
    }

    .project-img-small{
        width: calc(100% - 40px);
        height: 200px;
    }

    .article-img-container{
        width: 100%;
    }

    .tutorial h2{
        text-align: center;
    }

    .tutorial-p{
        text-align: center;
    }

    .tutorial-p_subtitle{
        text-align: center;
    }
    
    .impressum-container h1{
    	text-align: center;
    }

    .ueber-mich h1{
        text-align: center;
    }

    .inhalt{
        flex-direction: column;
    }

    .infos-container{
        width: 100%;
        margin-bottom: 0px;
    }

    .ich{
        width: 100%;
    }

    .infos-main{
        flex-direction: column;
    }

    .infos-main .info{
        padding: 30px 0px;
    }

    .nummer{
        width: 100%;
        height: 130px;
    }

    .text.text-flex{
        width: calc(100% - 40px);
    }

    .text-p{
        text-align: center;
    }

    .list_ul li{
        margin-left: 30px;
        color: white
    }
    
}

