*{
    box-sizing: border-box;
}
@font-face{
	font-family: Ueberschrift;
	src: url('fonts/VT323-Regular.ttf');
}
@font-face{
	font-family: meineIcons;
	src: url('fonts/ionicons/ionicons.ttf');
}
html{
	scroll-behavior: smooth;
	font-family: Calibri, Arial, Helvetica, sans-serif;
}
body{
    margin: 10px;
    background-color: #fff8e2;
    color: #052660;
}
main{
    margin-left: 20px;
    margin-right: 20px;
}
h1{
    text-align: center;
}

/*------------------------Navigation & Menü*/
.navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
}
.navigation a{
    color: #052660;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.1s;
}
.logo{
    display: flex;
    justify-content: space-between;
    align-items: left;
    height: 20px;
    max-width: none;
}
.menuleiste{
    display: flex;
    gap: 16px;
}
.menuleiste a:hover{
    color: #2e71c4;
}
.menuleiste a.active{
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
}

/* Keine Eigenleistung */
.burger-menu{
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #052660;
}
.toggle-menu{
    display: none;
}
/* ------------------ */

.portfolio-text{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}
.portfolio-img{
    width: 600px;
    max-width: none;
}
.textbox{
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
.projektTitel-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
}
.projektTitel{
    width: 400px;
    max-width: none;
}
/* ---------------------------- BUTTON */
.button-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.about-button{
    padding: 10px 20px;
    background-color: #052660;
    color: #fff8e2;
    text-decoration: none;
    border-radius: 5px;
}
.about-button:hover{
    background-color: #02132f;
    color: #fff8e2;
}

/* ---------------------------- GALLERIE*/
.gallerie-srh{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.gallerie-tile{
    position: relative;
    width: 300px;
    height: auto;
    overflow: hidden;
}
.gallerie-img{
    width: 100%;
    height: auto;
    display: block;
}
.gallerie-caption{
    color: #052660;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}

footer{
    font-size: 14px;
    background-color: #052660;
    color: #fff8e2;
    text-align: left;
    padding: 25px;
}

/* ---------------------------------Über Mich*/
.ueber-mich-bereich{
    display: flex;
    align-items: center; 
    gap: 40px; 
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.ueber-mich-bild{
    width: 350px;
    height: auto;
    border-radius: 12px;
}
.ueber-mich-text{
    flex: 1;
}
.ueber-mich-text p{
    margin-bottom: 1rem;
    line-height: 1.6;
}
/* <---------------------------------------> */  
  
@media screen and ( max-width: 1012px ) {
    .ueber-mich-bereich{
        display: block;
    }
}

/* ----------------------------Tablet Hochformat*/
@media screen and ( max-width: 720px ) {
    .portfolio-img{
        width: 500px;
        max-width: none;
    }
    .projektTitel-container{
        height: 15vh;
    }
    .projektTitel{
        width: 400px;
        max-width: none;
    }
    .gallerie-tile{ 
        width: 400px;
    }
    .ueber-mich-bereich{
        display: block;
    }
    .ueber-mich-bild{
        width: 250px;
    }
}

/* Keine Eigenleistung */
@media screen and (max-width: 650px) {
    .burger-menu {
        display: block;
    }
    .menuleiste{
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 10%;
        background-color: white;
        border: 1px solid #ddd;
        padding: 10px;
        z-index: 999;
    }
    .toggle-menu:checked + .burger-menu + .menuleiste{
        display: flex;
    }
    .navigation{
        position: relative;
    }
}
/* ------------------ */

/*-------------------------------Handy Format*/
@media screen and ( max-width: 400px ) {
    .portfolio-img{
        width: 270px;
        max-width: none;
    }
    .portfolio-text{
        justify-content: center;
        align-items: center;
        margin-top: 30px;
    }
    .textbox{
        font-size: 14px;
        max-width: 300px;
        margin: 0 auto;
        padding: 10px;
        text-align: left;
    }
    .button-container{
        display: flex;
        justify-content: left;
        align-items: center;
        margin-bottom: 40px;
    }
    .about-button{
        font-size: 14px;
        padding: 8px 15px;
        background-color: #052660;
        color: #fff8e2;
        text-decoration: none;
        border-radius: 5px;
    }
    footer{
        font-size: 10px;
        color: #fff8e2;
        text-align: left;
        padding: 20px;
    }
    .projektTitel-container{
        height: 15vh;
    }
    .projektTitel{
        width: 250px;
    }
    .gallerie-srh{
        justify-content: center;
        padding: 0;
        margin: 0;
    }
    .gallerie-tile{
        position: relative;
        width: 300px;
        height: auto;
        overflow: hidden;
    }
    .gallerie-img{
        width: 100%;
        height: auto;
        display: block;
    }
    .gallerie-caption{
        font-weight: 600;
        font-size: 13px;
       
    }
}