@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header {
    background-color: #ccd5e1;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;

    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
}

.logo{
    text-decoration: none;
    color: #042859;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
}
.navigation a{
    color: #042859;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 30px;
}

.navigation a:hover{
    color: #7d91aa;
}

section{
    padding: 100px 200px;
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(images/background2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.main h2 {
    color: #bdd1ec;
    font-size: 1.4em;
    font-weight: 500;
}
.main h2 span {
    display: inline-block;
    margin-top: 10px;
    color: #bdc9da;
    font-size: 3em;
    font-weight: 600;

}
.main h3{
    color: #bdd1ec;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.main-btn {
    color: #042859;
    background-color: #ccd5e1;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9em 2.2em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    transition: 0.7s ease;
}
.main-btn:hover{
    background-color: rgb(194, 209, 227);
    transform: scale(1.1);
}

.social-icons a {
    color: #fff;
    font-size: 1.7em;
    padding-right: 30px;
}

.title{
    display: flex;
    justify-content: center;
    color: #042859;
    font-size: 2.2em;
    font-weight: 800;
    margin-top: 30px;

}

.app-title-section h1 {
    transform: none; /* No scaling effect on title */
    transition: none; /* No transition effect */
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    width: 21.25em;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
}

.card:hover {
    transform: scale(1.1);
}

.card .icon {
    color: #3a6cf4;
    font-size: 8em;
    text-align: center;
}

.info {
    text-align: center;
}

.info h3{
    color: #3a6cf4;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}

.projects {
    background-color: #ccd5e1;
}

.projects .content{
    margin-top: 30px;
}

.project-card {
    background-color: #ccd5e1;
    border: 1px solid #fff;
    min-height: 14em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
}

.project-card:hover {
   transform: scale(1.1);
}

.project-card:hover .project-image {
    opacity: 0.9;
 }

.project-image img{
    width: 100%
}

.project-info {
    padding: 1em;
}

.project-category {
    font-size: 0.8em;
    color: #000;
}

.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}

.more-details {
    text-decoration: none;
    color: #3a6cf4;
}

.more-details:hover {
    color: #042859;
}

.contact .icon{
    font-size: 4.5em;
}

.contact .info h3 {
    color: #000;
}

.contact .info p {
    font-size: 1.5em;
}

.footer {
    background-color: #ccd5e1;
    color: #042859;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}

.footer-title span {
    color: #042859;
}

.footer .social-icons a{
    color: #042859;
    font-size: 1.3em;
    padding: 0 12px 0 0;
}

@media (max-width:1023px){
    header{
        padding: 12px 20px;
    }

    .navigation a{
        padding-left: 10px;
    }

    .title{
        font-size: 1.8em;
    }

    section{
        padding: 80px 20px;
    }

    .main-content h2{
        font-size: 1em;
    }

    .main-content h3{
        font-size: 1.6em;
    }

    .content{
        flex-direction: column;
        align-items: center;
    }

}

@media (max-width:641px){
    body{
        font-size: 12px;
    }

    .main-content h2{
        font-size: 0.8em;
    }

    .main-content h3{
        font-size: 1.4em;
    }
}

@media (max-width:300px){
    body{
        font-size: 10px;
     
    }
}
/* Vstack - Die Kombinationen werden übereinander gestapelt */
.detail-page {
    display: flex;
    flex-direction: column; /* Vstack */
    gap: 40px; /* Abstand zwischen den Vstack-Elementen */
    align-items: center; /* Zentriert die gesamte HStack */
    padding: 20px;
}

/* Flexbox-Layout für Bild und Beschreibung nebeneinander */
.content-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 80%; 
    max-width: 1000px;
    margin: 0 auto 40px auto;
    gap: 40px; /* Abstand zwischen Bild und Text */
}

.content-row:hover {
    transform: scale(1.05); /* Only scale the content rows */
    transition: transform 0.3s ease;
}
.screenshot-image {
    flex: 1;
    max-width: 300px; /* Begrenze die maximale Bildbreite */
    width: 600px;
    height: auto;
    border-radius: 10px;
}


/* Bild bleibt links */
.project-image {
    flex: 1;
    
    
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    
}

/* Beschreibung rechts vom Bild */
.project-description {
    flex: 1;
    text-align: center; /* Text zentrieren */
    max-width: 500px; /* Begrenze die maximale Breite */
    margin: 0; /* Kein Abstand */
    color: #b3c6dd;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertikale Zentrierung innerhalb der Box */
    gap: 20px; /* Abstand zwischen den Textblöcken */
}

/* Styling für Titel */
.project-description h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #3a6cf4;
}

/* Styling für Beschreibung */
.project-description p {
    font-size: 1.2em;
    line-height: 1.6;
    word-wrap: break-word;
}
/* Titel-Sektion zentrieren */
.app-title-section {
    text-align: center; /* Zentriert den Text horizontal */
    margin: 40px 0; /* Abstand nach oben und unten */
    padding: 20px;
}

.app-title-section h1 {
    font-size: 3.5em; /* Größe des Titels */
    color: #b4c9e1; /* Titel-Farbe */
}
/* Styling für den GitHub Button */
.github-button {
    text-align: center; /* Zentriert den Button */
    margin: 40px 0; /* Abstand nach oben und unten */
}

.github-button a {
    display: inline-block;
    background-color: #3a6cf4; /* Button Hintergrundfarbe */
    color: white; /* Button Textfarbe */
    padding: 15px 30px; /* Button Padding */
    font-size: 1.2em; /* Textgröße */
    text-decoration: none; /* Keine Unterstreichung */
    border-radius: 10px; /* Abgerundete Ecken */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}
.app-description {
    color: white; /* Textfarbe weiß */
    font-size: 1.2em; /* Schriftgröße */
    line-height: 1.6; /* Zeilenabstand */
    text-align: center; /* Zentriert den Text */
    max-width: 800px; /* Maximale Breite des Textcontainers */
    margin: 20px ; /* Zentriert den Container horizontal */
}

.github-button a:hover {
    background-color: #042859; /* Hover-Effekt */
}


/* Mobile Anpassungen */
@media (max-width: 768px) {
    .app-title-section h1 {
        font-size: 2em; /* Kleinere Schriftgröße auf mobilen Geräten */
    }

    .content-row {
        flex-direction: column; /* Bild und Beschreibung übereinander auf mobilen Geräten */
        
    }

    .screenshot-image {
        display: flex; /* Flexbox auf dem Bild */
        justify-content: center; /* Zentriert das Bild */
        align-items: center;
    }

    .project-description {
        text-align: center;
    }
}
