/* Der Anfang der CSS Reise - hier beginnt die Seite */
html {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
}

body {
    font-family: 'Lexend', sans-serif;
    margin: 0px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    
}

/* ---------------------- Hauptfunktion der Portfolioboxen --------------------------------------- */

.flip-box {
    background-color: transparent;
    width: 300px;
    height: 200px;
    border: 1px solid #f1f1f1;
    perspective: 1000px;
  }
  
  .flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
  }
  
  .flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .flip-box-front {
    background-color: #bbbbbb00;
    color: black;
  }
  
  .flip-box-back {
    background-color: rgba(30, 143, 255, 0);
    color: white;
    transform: rotateY(180deg);
  }



@media screen and (max-width: 600px) {

    .wrapper1 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
    }

}

/*--------------------------Header: Nicht bearbeiten ------------------------------------ */

header h1 {
    font-size: 20px;
}



.blog_nav {
    margin-right: 20px;
}

.wrapper1 {
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media screen  and (min-width: 600px) {
    

header {
    display: flex;
    width: 100%;
    height: 64px;
   margin: 0px;
   padding: 0px;
   position: fixed;
   top: 0;
   left: 0;
   z-index: 1000;
}
}


@media screen and (max-width: 600px) {

    header {
        display: flex;
        width: 100%;
        height: 64px;
       margin: 0px;
       padding: 0px;
       position: fixed;
       top: 0;
       left: 0;
       z-index: 1000;
    }

}


header hr {
    justify-content: center;
    margin-right: 10px;
}

/*--------------------  Ausrangierte SVG-Shape-Divider ------------------------------ */


/* HTML: <img class="slanted-edge" src="" alt=""> */
.slanted-edge {
    --p: 30%; /* control the shape (can be percentage) */
    height: fit-content;
    aspect-ratio: 1;
    clip-path: polygon(0 0,100% 0,100% calc(100% - var(--p)),0 100%);
    background: #1a19199e;
    width: 100%;
    
  }


/* HTML: <div class="trapezoid"></div> */
.trapezoid {
    --p: 10%; /* control the shape (can be percentage) */
    width: 180px;
    aspect-ratio: 3/4;
    clip-path: polygon(100% var(--p),100% calc(100% - var(--p)),0 100%,0 0);
    background: #000000c9;
    
    background-size: cover;
    width: 100%;
    height: fit-content;
  }


/* HTML: <img class="slanted-edge" src="" alt=""> */
.slanted-edge2 {
    --p: 5%; /* control the shape (can be percentage) */
    height: fit-content;
    aspect-ratio: 1;
    clip-path: polygon(0 0,100% var(--p),100% 100%,0 100%);
    width: 100%;
    
   
  }


/* ------------------------- Das komplexe Navigationsmenü -----------------------------------------------*/


  #menu {
    background: linear-gradient(to bottom,  #151414 80% ,  #eceae6);
    height: 64px;
    padding-left: 0px;
    border-radius: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    position: fixed;
}

#menu h1 {
    font-family: 'Lexend', sans-serif;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 30px; 
    color: #FFFFFF;  
}

#menu h1:hover {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}
/* Animation für die Header Überschrift */
@keyframes shake {
    0% { transform: translate(-50%, 1px) rotate(0deg); }
    10% { transform: translate(-50%, -2px) rotate(-1deg); }
    20% { transform: translate(-50%, -3px) rotate(1deg); }
    30% { transform: translate(-50%, 2px) rotate(0deg); }
    40% { transform: translate(-50%, -1px) rotate(1deg); }
    50% { transform: translate(-50%, 2px) rotate(-1deg); }
    60% { transform: translate(-50%, 1px) rotate(0deg); }
    70% { transform: translate(-50%, 1px) rotate(-1deg); }
    80% { transform: translate(-50%, -1px) rotate(1deg); }
    90% { transform: translate(-50%, 2px) rotate(0deg); }
    100% { transform: translate(-50%, -2px) rotate(-1deg); }
}

#menu ul, #menu li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

#menu ul {
    width: 100%;
    text-align: left;
}

#menu li {
    display: inline-block;
    position: relative;
}

/* transition wird hier benutzt um die Farbe reinfließen zu lassen */
#menu a {
    font-family: 'Lexend', sans-serif;
    display: block;
    line-height: 54px;
    padding: 0 14px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    background-color: #00000000;
    transition: 0.5s;
}

#menu a.dropdown-arrow:after {
    content: "\25BE";
    margin-left: 5px;
}

#menu li a:hover {
    color: #000000;
    background: #F2F2F2;
}

#menu input {
    display: none;
    margin: 0;
    padding: 0;
    height: 54px;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}

#menu label {
    display: none;
    line-height: 54px;
    text-align: center;
    position: absolute;
    left: 35px;
}

#menu label:before {
    font-size: 1.6em;
    color: #FFFFFF;
    content: "\2261"; 
    margin-left: 20px;
}

#menu ul.sub-menus {
    height: auto;
    overflow: hidden;
    width: 170px;
    background: #444444;
    position: absolute;
    z-index: 99;
    display: none;
}

#menu ul.sub-menus li {
    display: block;
    text-align: left;
    width: 100%;
}

#menu ul.sub-menus a {
    color: #FFFFFF;
    font-size: 16px;
}

#menu li:hover ul.sub-menus {
    display: block;
}

#menu ul.sub-menus a:hover {
    background: #F2F2F2;
    color: #444444;
}

@media screen and (max-width: 600px) {
    #menu {
        height: 150px; 
        background: linear-gradient(to bottom,  #151414 80% ,  #eceae6);
        padding-left: 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;

        
    }

   
    #menu h1 {
        font-family: 'Lexend', sans-serif;
        position: absolute;
        transform: translateX(-40%);
        margin-top: 80px; 
        font-size: 30px; 
        color: #FFFFFF;  
        width: 300px;
    }
    
    #menu h1:hover {
        animation: shake 0.5s;
        animation-iteration-count: infinite;
    }

    #menu ul {
        background: #444444;
        position: absolute;
        top: calc(100% + 80px); /* Verschiebt das Dropdownmenü nach unten */
        right: 0;
        left: 0;
        z-index: 3;
        height: auto;
        display: none;
        text-align: left;
    }
    #menu ul.sub-menus {
        width: 100%;
        position: static;
    }
    #menu ul.sub-menus a {
        padding-left: 30px;
    }
    #menu li {
        display: block;
        float: none;
        width: auto;
    }
    #menu input,
    #menu label { /* Der Visuelle Button für das Nav-Menü */
        position: absolute;
        top: 25px; 
        left: 5px; 
        display: block;
    }
    #menu input { /* Die Größe der Button Fläche die man mit Touch bedient */
        z-index: 4;
        height: 60px;
        width: 60px;
    }
    #menu input:checked + label {
        color: #FFFFFF;
    }
    #menu input:checked + label:before {
        content: "\00d7";
    }
    #menu input:checked ~ ul {
        display: block;
    }
}

main h1 {
    font-family: 'Lexend', sans-serif;
    font-size: 60px;
    text-decoration: none;
    text-align: center;
    color: white;

}

.main3 h4 {
    font-family: 'Lexend', sans-serif;
    font-size: 60px;
    text-decoration: none;
    text-align: center;
    color: white;
}

li h1 {
   margin: 12px 0px 0px 200px;
    font-size: 30px;
    color: white;
    
}

main {
    flex: 5;
    
    
}



.wrapper1 > header, .wrapper1 > footer {
    flex: 1;
}

.Error {
    color: red;
}








/*------------------------------------- Hauptinhalte der Startseite --------------------------------------------------------------------------------*/


/* Weiße Boxen die mit Content gefüllt sind */
main .main2_whitebox1, main .main2_whitebox2, main .main2_whitebox3 {
    
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 90px;
    border-radius: 20px;
    height: 500px;
    

}

@media (max-width: 600px) {

    .whitebox_row1, .whitebox_row2 {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        flex-wrap: wrap;
        margin: 25px ;
        padding: 1px;   
        
    }
    }
    
    @media (min-width: 600px) {
    .whitebox_row1, .whitebox_row2{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        margin: 5px;
        padding: 1px;
    }
    }






/*großer Bildschirm*/
@media (min-width: 600px) {

.main2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1px;
    font-family: Verdana, Geneva, Tahoma, sans-serif ;
}
}

.main2 p {
     font-size: 14px;
     font-family: 'Lexend', sans-serif;

}

.main2 h3 {
    font-family: 'Lexend', sans-serif;
        font-size: 20px;
}

.main2_whitebox1_text, .main2_whitebox2_text, .main2_whitebox3_text {
    display: flex;
    flex-direction: column;
    max-width: 375px;
    
    
}

.main2_whitebox3 {
    padding: 15px;
    margin: 5px 10px 5px 10px;
    transition: 1.1s;
    background-color: rgba(248, 248, 255, 0.904);
    width: 340px;
    height: auto;
    box-sizing: border-box;
    border: 2px solid rgb(141, 141, 141);
    text-align: center;
    perspective: 1000px;
}



.main2_whitebox3 img {
    height: 270px;
    width: 300px;
    box-sizing: border-box;
    border: 2px solid rgba(0, 0, 0, 0.53);
    border-radius: 3px;
    
}

.main2_whitebox3:hover {
    background-color: #1f1c1cbb;
    transition: 1.1s;

}

/*
.main2_whitebox3:hover {
    background-color: #fffffff9;
    transition: 1s;

}
*/
.image_row1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    scale: 70%;
    
    
}

.image_row1 > img {
    box-sizing: border-box;
    border: 2px solid grey;
    border-radius: 40px;
    margin: 0px 30px 0px 30px;
}

.main3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    margin: 0px;
    padding: 0px;
}


.flip-box-back h2      {
    font-size: 20px;
    font-family: 'Lexend', sans-serif;
}

/* Der Image Content für meine White/Flip Boxes :) */

.box1 {
    background-image: url("../images/proxmox_shot.png");
    

}

.box2 {
    background-image: url("../images/Ubuntu.jpg");
    background-size: 200%;
    background-repeat: no-repeat;
}

.box3 {
    background-image: url("../images/raspberry.jpg");
    background-position: center;
    background-size: 95%;
    background-repeat: no-repeat;
}

.box4 {
    background-image: url("../images/web_shot.png");
    background-size: 390%;
}

.box5 {
    background-image: url("../images/kabel.jpg");
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}

.box6 {
    background-image: url("../images/powershell.jpg");
    background-size: 200%;
}



.time_greeting {
    font-size: 25px; /* oder jede andere Größe, die du möchtest */
    color: #333; /* Beispiel für Farbe */
}






/* ---------------------- Über mich ------------------------------------------ */

/*------------------------ Desktop Ansicht ------------------------------------*/

@media screen and (min-width: 600px) {

.profile_pic_wrap {
    float: left;
    margin-right: 20px; /* Fügt Abstand zwischen dem Bild und dem Text hinzu */
}

/* Für Javascript-Aktion wenn der Button gedrückt wird  */
.profile_pic {
    background-image: url("../images/chriss.png");
    background-size: cover; 
    background-position: top;
    background-repeat: no-repeat;
    border-radius: 0%;
    width: 200px; 
    height: 200px; 
    transition: 1s;
    text-align: right;
    margin: 20px;
    box-sizing: border-box;
    border: 3px solid black;
    border-radius: 5px;
}

.profile_pic.active {
    background-image: url("../images/chriss.png");
    background-size: cover; 
    border-radius: 50%; /* Macht das Bild rund */
    width: 300px; 
    height: 300px; 
    text-align: right;
    transition: 1s;
}



.about_me {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: start;
    box-sizing: border-box;
    border: 3px solid grey;
    margin: 25px auto; 
    padding: 30px;
    background-color: #1a19199e;
    border-radius: 20px;
    width: 95%;
    transform: scale(100%);
}




.about_me_text {
    margin: 20px;
    transition: 1s;
    box-sizing: border-box;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 3px;
    padding: 2%;
    background-color: rgba(248, 248, 255, 0.678);
    font-size: 35px;
}





.about_me_text:hover {
    transition: 1s;
    background-color: rgba(248, 248, 255, 0.89);
}

}

/* -----------------------------------  Smartphone Ansicht ---------------------------------------------------------------- */

@media screen and (max-width: 600px) {
    .profile_pic_wrap {
        
        
        margin-right: 20px; /* Fügt Abstand zwischen dem Bild und dem Text hinzu */
    }
    
    /* Für Javascript-Aktion wenn der Button gedrückt wird  */
    .profile_pic {
        background-image: url("../images/chriss.png");
        background-size: cover; 
        background-position: top;
        background-repeat: no-repeat;
        border-radius: 0%;
        width: 200px; 
        height: 200px; 
        transition: 1s;
        text-align: right;
        margin: 20px;
        box-sizing: border-box;
        border: 3px solid black;
        border-radius: 5px;
    }
    
    .profile_pic.active {
        background-image: url("../images/chriss.png");
        background-size: cover; 
        border-radius: 50%; /* Macht das Bild rund */
        width: 300px; 
        height: 300px; 
        text-align: right;
        transition: 1s;
    }
    
    
    
    .about_me {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: start;
        box-sizing: border-box;
        border: 3px solid grey;
        margin: 0px; 
        padding: 10px;
        background-color: #1a19199e;
        border-radius: 20px;
        width: 100%;
        transform: scale(100%);
    }
    
    
    
    
    .about_me_text {
        margin: 0px;
        transition: 1s;
        box-sizing: border-box;
        border: 1px solid rgb(0, 0, 0);
        border-radius: 3px;
        padding: 2%;
        background-color: rgba(248, 248, 255, 0.678);
        font-size: 35px;
    }
    
    
    
    
    
    .about_me_text:hover {
        transition: 1s;
        background-color: rgba(248, 248, 255, 0.89);
    }
    
}

/* ---------------------------------- Impressum ---------------------------------- */


/* -------------- Desktop Ansicht ------------------------- */
@media screen and (min-width: 600px) {

.impressum {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    border: 3px solid rgba(128, 128, 128, 0);
    margin: 0px;
    padding: 50px;
    background-color: rgba(248, 248, 255, 0);
    border-radius: 20px;
    font-size: 30px;
    
    
}

.impressum h4 {
    
    justify-content: center;
    text-align: center;
    font-size: 50px;
    background-color: #ffffff00;
}

.impressum h1 {
    font-size: 40px;
    text-decoration: none;
}

.impressum_border {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(248, 248, 255, 0.678);
    box-sizing: border-box;
    border: 1px solid black;
    padding: 20px;
    margin: 5px 30px 5px 30px;
    

}


.impressum_border p {
    font-style: bold;
}
}

/* -------------- Smartphone Ansicht -------------------- */

@media screen and (max-width: 600px) {
    .impressum {
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
        border: 3px solid rgba(128, 128, 128, 0);
        margin: 0px;
        padding: 5px;
        background-color: rgba(248, 248, 255, 0);
        border-radius: 20px;
        font-size: 30px;
        
        
    }
    
    h6 {
        font-size: 30px;
    }

    .impressum h4 {
        justify-content: center;
        text-align: center;
        font-size: 40px;
        background-color: #ffffff00;
    }
    
    .impressum h1 {
        font-size: 40px;
        text-decoration: none;
    }
    
    .impressum_border {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: rgba(248, 248, 255, 0.678);
        box-sizing: border-box;
        border: 1px solid black;
        padding: 20px;
        margin: 5px 5px;
        
    
    }

    .impressum_border a {
        font-size: 25px;
    }
    
    .impressum_border p {
        font-style: bold;
        font-size: 20px;
    }
}


/* ------------------------------------------- Kontakt --------------------------------------------------- */

/* ------------ Desktop Ansicht --------------------------- */

@media  screen and (min-width: 600px) {
    


.cursive {
    color: rgb(59, 143, 68);
    font-style: bold;
}

.contact {
    box-sizing: border-box;
    border: 3px solid grey;
    margin: 25px;
    padding: 30px;
    background-color: #161515c3;
    border-radius: 20px;
    font-size: 30px;
    transform: scale(90%);
}

.contact h4 {
    font-size: 60px;
    text-decoration: none;
    text-align: center;
    color: white;
    
}

legend {
    background-color: rgb(248, 248, 255);
    border: 2px solid grey;
    padding: 8px;
}


.message1 {
        box-sizing: border-box;
        border: 3px solid black;
        padding: 10px;
        background-color: rgb(248, 248, 255);
        font-style: bold;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    
   
    
}

form label{
    display: flex;
    flex-direction: row;
}

.form_border {
    box-sizing: border-box;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.701);
}

.radio_wrapper_wrap {
    display: flex;
    justify-content: center;
}

.radio_wrapper {
    display: flex;
    justify-content: center;
    width: 40%;
}


input[type="text"],
input[type="email"] {
    box-sizing: border-box;
    border: 1px solid grey;
    padding: 8px;
    border-radius: 5px;
    width: 100%;
}


input[type="submit"] {
    height: 40px;
    font-size: large;
    background-color: #d8d9d8;
}
}

/* ------------------------- Smartphoneansicht ---------------------------------- */

@media screen and (max-width: 600px) {
    
.cursive {
    color: rgb(59, 143, 68);
    font-style: bold;
}

.contact {
    box-sizing: border-box;
    border: 3px solid grey;
    margin: 1px;
    padding: 10px;
    background-color: #161515c3;
    
    font-size: 20px;
    transform: scale(100%);
}

.contact h4 {
    font-size: 60px;
    text-decoration: none;
    text-align: center;
    color: white;
    
}

legend {
    background-color: rgb(248, 248, 255);
    border: 2px solid grey;
    padding: 8px;
}


.message1 {
        box-sizing: border-box;
        border: 3px solid black;
        padding: 10px;
        background-color: rgb(248, 248, 255);
        font-style: bold;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    
   
    
}

form label{
    display: flex;
    flex-direction: row;
}

.form_border {
    box-sizing: border-box;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.701);
}

.radio_wrapper_wrap {
    display: flex;
    justify-content: center;
}

.radio_wrapper {
    display: flex;
    justify-content: center;
    width: 40%;
}


input[type="text"],
input[type="email"] {
    box-sizing: border-box;
    border: 1px solid grey;
    padding: 8px;
    border-radius: 5px;
    width: 100%;
}


input[type="submit"] {
    height: 40px;
    font-size: large;
    background-color: #d8d9d8;
}
}




/* ---------------------------- Footer ----------------------------------------- */

/* Allgemeine Konfiguration des Footers */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #000000;
    box-sizing: border-box;
    border: 1px solid black;
    color: #f5f5f5;
    margin: 0;
    font-size: 25px;
    height: 50px;
    flex-wrap: wrap; /* Fügt das hinzu, um das Umfließen zu ermöglichen */
}

/* Seperater Wrapper für den Footer um Details zu bearbeiten */
.footer_inline {
    text-align: start;
}

footer a:hover {
    color: #FFFAF0;
}

/* Links im Footer Bereich werden hier angepasst */
footer a {
    text-align: center;
    text-decoration: none;
    color: #fffaf06f;
    display: inline-block;
    margin: 0 15px;
}

/* Media Query für Smartphoneansicht */
@media (max-width: 599px) {
    footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #000000;
    box-sizing: border-box;
    border: 1px solid black;
    color: #f5f5f5;
    margin: 0;
    font-size: 25px;
    height: auto;
    flex-wrap: wrap;
    }
    
    footer a, .footer_inline, footer p {
        margin: 10px 0; /* Fügt Abstand zwischen den Elementen hinzu */
    }

    .footer_inline {
        text-align: center; /* Zentriere den Text in der Mobilansicht */
    }
}

/*-------------------------- Hintergrund Bilder -----------------------------------------------*/

#section1 {
    overflow: hidden;
    background-image: url("../images/pexel2.jpg");
    background-size:cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#section2 {
    height: 100%;
    background-image: url("../images/pexel4.jpg");
    background-size: cover;
    background-repeat: no-repeat; 
    background-attachment: fixed;
    
}

#section3 {
    overflow: hidden;
    background-image: url("../images/pexel3.jpg");
    background-size: cover;
    background-repeat: no-repeat; 
    background-attachment: fixed;
}

#section4 {
    overflow: hidden;
    height: 100%;
    background-image: url("../images/pexel1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#section5 {
    overflow: hidden;
    height: 100vh;
    background-image: url("../images/pexel6.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 30px;
}

/* ---------------------- !!! Blog !!! -------------------------- */


/* ---------------------- DESKTOP VERSION -------------------------------- */

@media screen and (min-width: 600px){

/* Article bezieht sich auf ein ganzes Contentfenster das mit PHP erzeugt wird */
article {
    display: flex;
    flex-direction: column;
    margin: 20px;
    padding: 5px;
    box-sizing: border-box;
    border: 5px solid black;
    background-color: #eceae6;
    height: auto; 
    overflow: auto; 
}

/* Die Überschriften der Posts */
article h2 {
    text-align: center;
}

article p {
    padding: 15px;
}

/* Hier ist der Wrapper für alle Blogposts */
.blog_post_wrapper {
    display: flex;
    flex-direction: row;
}

/* Hier werden die Images aus dem Blog verändert */
.blog_images {
    height: 200px;
    width: auto;
    float: left;
    margin-right: 15px; 
    transition: 3s;
}

.blog_images.active {
    height: 600px;
    width: auto;
    float: left;
    margin-right: 15px;
    transition: 3s; 
}

/* Blog Wrapper schließt den gesamten Inhalt der Blog Seite ein */
.blog_wrapper {
    display: flex;
    flex-direction: row;
    height: auto; 
    margin-bottom: 0px;
}

/* Die linke freie Hälfte der Seite */
.content1 {
    display: flex;
    flex: 1;
}

/* Der Hauptinhalt von meinem Blog */
.content_main {
    display: flex;
    flex-direction: column;
    flex: 5;
    background-color: #1a19199e;
    height: auto; 
    transform: scale(95%);
}

#side_info1 {
    font-family: 'Lexend', sans-serif;
    color: white;
    text-align: center;
}

/* Die rechte freie Hälfte der Seite */
.content2 {
    display: flex;
    flex: 1;
}


}

/* -------------------------------- Ansicht für Smartphones -------------------------------- */

@media screen and (max-width: 599px) {
    /* Article bezieht sich auf ein ganzes Contentfenster das mit PHP erzeugt wird */
    article {
        display: flex;
        flex-direction: column;
        margin: 20px;
        padding: 5px;
        box-sizing: border-box;
        border: 5px solid black;
        background-color: #eceae6;
        height: auto; 
        overflow: auto; 
    }

    /* Die Überschriften der Posts */
    article h2 {
        text-align: center;
    }

    article p {
        padding: 5px;
    }

   /* Hier werden die Images aus dem Blog verändert */
.blog_images {
    height: 200px;
    width: 200px;
    float: left;
    margin-right: 15px; 
    transition: 2s;
}

.blog_images.active {
    height: 350px;
    width: 350px;
    float: left;
    margin-right: 15px;
    transition: 2s; 
    
}

#side_info1 {
    font-family: 'Lexend', sans-serif;
    color: white;
    text-align: center;
} 

    /* Blog Wrapper schließt den gesamten Inhalt der Blog Seite ein */
    .blog_wrapper {
        display: flex;
        flex-direction: row;
        height: auto; 
        margin-bottom: 0px;
    }

    /* Die linke freie Hälfte der Seite */
    .content1 {
        display: none;
    } /* Hinzufügen der fehlenden schließenden Klammer */

    /* Der Hauptinhalt von meinem Blog */
    .content_main {
        display: flex;
        flex-direction: column;
        flex: 5;
        background-color: #1a19199e;
        height: auto; 
        transform: scale(100%);
    }

    /* Die rechte freie Hälfte der Seite */
    .content2 {
        display: none;
    }
}


/* ---------------------------------------- Bilder Galerie ------------------------------------------- */

.gallery_wrapper {
    height: 100%;
    display: flex; 
    flex-direction: column;
    height: auto; 
    height: 50%;
}

.gallery_wrapper h1 {
    display: flex;
    justify-content: center;
    text-align: center;
}


/* ---------------------------------------- Admin Seite ------------------------------------------- */


/*--------------Desktop-Ansicht------------------------*/
@media screen and (min-width: 599px) {


.custom_button1 input {
    padding: 5px;
    margin-top: 5px;
}

#admin_bg {
    overflow: hidden;
    height: 100vh;
    background-image:url("../images/pexel12.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 0px;
}

.admin_wrap {
    margin-top: 5%;
    text-align: center;
    font-family: 'Lexend', sans-serif;
}

.admin_wrap p {
    box-sizing: border-box;
    font-size: 20px;
    margin: 50px 350px 0px 350px;
    background-color: #ececec91;
}

.admin_wrap h4 {
    font-size: 50px;
    box-sizing: border-box;
    border: #000000 solid 2px;
    border-radius: 5px;
    margin: 0px 30px 0px 30px;
    background-color: #ececec91;
    margin-left: 30%;
    margin-right: 30%;
}

.admin_login {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    

}

.admin_login legend {
    margin: 0px 20px;
    
    
}

.admin_login input {
    width: 300px;
    transition: 1s;

}

.admin_login input:hover {
    background-color: #ffffff;
    transition: 1s;
}

.admin_login label {
    padding: 5px 0px;
}

.admin_check_wrap {
    display: flex;
    flex-direction: column;
    margin-top: 5%;
    margin-left: 20%;
    margin-right: 20%;
    background-color: #dadada82;
    
}

.admin_check_wrap input {
    width: 400px;
    transition: 1s;
    
}

.admin_check_wrap input:hover {
    width: 400px;
    background-color: #ffffff;
    transition: 1s;
    
    
}

#admin_check_bg {
    height: 100vh;
    background-image: url("../images/pexel11.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 0px;
    overflow: hidden;
}

.custom_button2 {
    text-align: center;
}


.button_wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

table, th, td {
    border: 1px solid black;
}

.textarea1 {
    text-align: center;
    font-size: 20px;
}

}
