@import url(https://fonts.bunny.net/css?family=allura:400);


:root{
    box-sizing: border-box;

    --text: #b7e4c7;
    --card-backround: rgba(0, 20, 0, 0.5);
    --card-backround-hover: rgba(0, 50, 0, 0.5);
}


body, html{
    overflow-x: hidden;

    margin: 0;
    padding: 0;
    background-color: #1b4332;


}

.top-bar{
    display: flex;

    position: fixed;    
    padding-top: 2px;
    padding-bottom: 2px;

    margin: 0;
    margin-bottom: 50px;


    width: 100%;

    background: linear-gradient(to bottom, rgba(15,26,20,0.95), transparent);
    backdrop-filter: blur(10px);

    font-family: 'ABeeZee', Arial, sans-serif;
    color: var(--text);

    font-size: 0.7rem;

}

.top-bar h1{
    padding: 0.5%;
    margin: 0;

    width: 10%;
}

.links{
    display: flex;
    flex-direction: row;

    align-items: center;

    width: 10%;

    gap: 10px;

    margin-left: auto;

  
}

@media (max-width: 768px){
    .links{
    display: flex;
    flex-direction: row;

    align-items: center;

    width: 10%;

    gap: 10px;

    margin-left: 65%;

  
}
}

.links a{
    height: 100%;
    font-size: medium;

    height: 50%;

      text-decoration: none;

    color: var(--text);
}

.links a:hover{
    color: #a8d1b6;
}

.head{
    display: grid;
    margin-left: 3%;

    width: 97%; 

    padding-top: 10vh;
    padding-bottom: 20px;

  
}


.upper-background{
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("assets/hintergrunds/Eiger.jpg");
    background-size: cover;

    width: 100%;
}
.titel{
    margin: 0;
    margin-top: 25vh;
    margin-bottom: 30px;

    padding: 0;
    width: 100%;

    color: white;

    font-size: 5vh;

}
.titel h1{
    margin: 0;
}

@media (max-width: 768px) {
    .titel h1{
        padding-left: 2%;
        margin: 0;
    }
}

.zitat{
    padding: 1%;
    margin-left: 3%;
    margin-bottom: 1%;

    width: 25%;

    font-family: 'Allura', handwriting;
    font-size: 2.2rem;
    color: #b7e4c7;

}

.zitat p {
    padding: 2%;
}


.tags-div{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    width: 90%;
    height: auto;



}

.tag{
    height: 20px;

    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;


    background: rgba(36, 95, 65, 0.2);

    border: 1px solid rgb(15, 50, 31);
    border-radius: 2px;

    color: #74c69d;

    margin: 5px;
    
}

.tag:hover{
    border: 1px solid rgb(48, 177, 106);
    border-radius: 2px;

    background: rgba(45, 119, 81, 0.2);


    color: #74c69d;
    cursor: default;
}

@media (max-width: 768px) {
    .zitat{
        width: 90%;
    background: transparent;

    }
}


.transation{
    height: 50px;
    width: 100%;
    background-color: #00ffbb;
}

.presentation{
    display: flex;
    flex-direction: row; 

    padding-bottom: 5vh;

    gap: 5%;

    width: 99%;
}

@media (max-width: 768px) {
    .presentation{
        flex-direction: column;
    }
}

.picture{
    display: flex;
    justify-content: center;
    align-items: center;
    
    
    margin-top: 2%;
    margin-left: 10%;

    width: 250px;
    height: 250px;

    padding: 5px;

    background-color: rgba(0, 20, 0, 0.5);


    border: 10px solid #04380e;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .picture{
        width: 90%;
        height: auto;

        margin-left: 1%;
    }


}


.section-topic{
    margin-left: 2%;
    color: white;

    width: 111%;

    border-radius: 5px;
    padding-left: 0.5%;
    background-color: #00a579;
}

.text{
    margin-top: 2%;

    width: 35%;

    background-color: var(--card-backround);

    border: 5px solid #04380e;
    border-radius: 15px;

    font-size: 2vh;
    color: var(--text);
}

.text p{
    padding: 1%;
    margin-top: 0;
}

@media (max-width: 768px) {
        .text{
            width: 90%;

            margin: 2.5%;
            margin-top: 2%;

            padding: 2%;
    }
}

.projects{
    display: flex;
    flex-wrap: wrap;

    width: 95%;


    margin-left: 5%;

    padding-bottom: 1%;
    

    color: var(--text);

    gap: 1%;
}

.project-card{
    display: flex;
    flex-direction: column;

    margin-bottom: 15px;

    width: 27%;
    height: 20vh;

    background-color: var(--card-backround);

    border: 2px solid green;
    border-radius: 5px;
}

.project-card:hover{
    background-color: var(--card-backround-hover);
}

.project-card h2{
    height: 10%;

    margin-left: 10px;
    margin-top: 10px;
}

.project-card p{
    height: 30%;

    font-size: large;

    margin-left: 10px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .project-card{
        width: 90%;
        height: 25vh;
    }

    .projects{
         margin-left: 1%;
    }
}

.tech-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;


    margin-left: 2%;
    height: 40%;
}

.middle-background{
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                      url("assets/hintergrunds/backgrund_middle.jpg");
    background-size: cover;              /* Füllt den ganzen Container */
    background-position: center;
    background-repeat: no-repeat;

    width: 100%;
    
    padding-top: 10px;

    background-color: rgb(27, 60, 50);
}

.bottom{
    height: 35vh;
}

.text-link{
    color: #beedce;

    font-style: italic;
    text-decoration: none;
}
