body {
    margin: 0;
	background-color:#d1dbff;
    background-size: 25px 25px;
	padding-top: 60px; 
	text-align: left;
}

p {
	font-family: "Kantumruy Pro", sans-serif;
	padding-left: 20px;
	color: #50034bb;
	font-size: 20px;
}

header {/*Weiße Balken'*/
	padding-left: 20px;
	position: fixed;
	box-shadow: 0 20px 10px rgba(0, 0, 0, 0.1);
	width: 100%;
	z-index: 10; 
	background-color: white;
	top: 0; 
}

.site-title{ /* Karina Wicke */
    font-family: "Ms Madi", cursive;
	color: #031d8c;
	padding-left: 1px;
	font-weight: 550;
	font-size: 40px;
	margin-right: auto; /* Drückt die Kontaktinfos nach links */
}

.contact-info { /*Mailadresse*/
    font-family: "Kantumruy Pro", sans-serif;
    color: #031d8c;
    display: flex; /* Ordnet die Inhalte horizontal an */
    gap: 20px; /* Abstand zwischen E-Mail und Telefonnummer */
    margin-right: auto; /* Drückt die Kontaktinfos nach links */
    margin-top: auto; /* Drückt die Kontaktinfos nach unten */
    margin-bottom: auto; /* Drückt die Kontaktinfos nach unten */
    align-items: right; /* Zentriert die Inhalte vertikal */
	color: #031d8c;
	font-weight: 350;
	font-size: 25px;
	top: 500; 
}

.header-container {
    display: flex;
    padding: 10px 20px;
}





h1{ /*Schrift 'Hi, ich bin Karina'*/
	font-family: Times New Roman;
	color: #031d8c;
	padding-left: 20px;
	font-weight: 550;
	font-size: 300%;
	z-index: 1;
	display: flex; 
}

h2{ /*Schrift 'Engagement usw.'*/
	font-family: Times New Roman;
	color: #031d8c;
	padding-left: 20px;
	font-weight: 550;
	font-size: 250%;
	z-index: 1;
	display: flex; 
}

.bewerbungsfoto{
	max-width: 200px;
	min-width: 180px;
    width: 30%; 
    margin-left: 20px;
	padding-top: 20px;
	padding-right: 12%;
	padding-left: 20%;
	float: right;
	border-radius: 50; /*abgerundete Ecken*/
}


.USA{
	width: 100%;
    max-width: 250px;
	padding-right: 30px;
	padding-top: 60px;
	padding-bottom: 3%;
	padding-left: 30px;
	float: left;
}

.flex-container {
	display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 90%;
    margin: 0 auto;
}


@media (max-width: 820px) {	
.contact-info { /*Mailadresse*/
    font-family: "Kantumruy Pro", sans-serif;
    color: #031d8c;
    display: flex; /* Ordnet die Inhalte horizontal an */
    gap: 20px; /* Abstand zwischen E-Mail und Telefonnummer */
    margin-right: auto; /* Drückt die Kontaktinfos nach links */
    margin-top: auto; /* Drückt die Kontaktinfos nach unten */
    margin-bottom: auto; /* Drückt die Kontaktinfos nach unten */
    align-items: right; /* Zentriert die Inhalte vertikal */
	color: #031d8c;
	font-size: 1px;
	top: 500; 
}

.contact-info { /*Mailadresse*/
	font-size: 0px;
	font-weight: 0%;
}
}


@media (max-width: 610px) {
    .flex-container {
        flex-direction: column; /* Stacks items vertically */
        align-items: center;
		padding-left: 0;
		display: block; /* Stapelt alle Elemente vertikal */
    }
    .text-content{
		max-width: 100%;
        text-align: justify;
        padding-right: 5%;
		display: block;
		
    }
	.USA{
		margin-top: 0;
		width: 80%; 
		padding-right: 0;
		padding-left: 0;
		padding-bottom: 0;
		float: none; /* Bild wird nicht mehr rechts gefloatet */
		margin: 20px auto 0 auto; /* Zentriert das Bild horizontal und gibt Abstand zum Text */
		display: block;
        clear: both; /* Bild startet neue Zeile */
	}
	
	.bild-container{
		margin-top: 0;
		width: 60%; 
		padding-right: 0;
		padding-left: 0;
		padding-bottom: 0;
		float: none; /* Bild wird nicht mehr rechts gefloatet */
		margin: 20px auto 0 auto; /* Zentriert das Bild horizontal und gibt Abstand zum Text */
		display: block;
        clear: both; /* Bild startet neue Zeile */
	}
}



/* Kontakt Box*/

section {
    padding: 20px;
    margin: 10px;
}

.content-box {
    background-color: white;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 3px; /*abgerundete Ecken*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	display: flex;
    justify-content: space-between; /* Überschrift links, Text rechts */
    align-items: flex-start; /* Beide Elemente beginnen oben */
    flex-wrap: wrap; /* Bricht um, wenn der Platz zu eng ist */
}

h3 { /* Kontakt Überschrift*/
    flex: 1; /* Überschrift nimmt Platz links ein */
    text-align: left; /* Überschrift wird links ausgerichtet */
    margin: 0;
	font-family: "Roboto Flex", serif;
	color: #0571d3;
	padding-left: 0px;
	font-weight: 250;
	font-size: 250%;
	z-index: 1;
	display: flex; 
	overflow: hidden; /* Verhindert das Überlaufen des Textes */
    text-overflow: ellipsis; /* Falls der Text zu lang ist, wird er mit ... gekürzt */
}

h4 {
    flex: 1; /* Der Text nimmt den Platz rechts ein */
    text-align: left; 
    margin: 0;
	font-family: "Kantumruy Pro", sans-serif;
	color: #0571d3;
	font-size: 20px;
	font-weight: 350;
}

@media (max-width: 450px) { /* Auf kleineren Bildschirmen */
    .content-box {
        flex-direction: column; /* Anstatt nebeneinander, untereinander anzeigen */
    }
}




.bild-container {
    border: 1px solid #FFFFFF;
    display: inline-block;
    max-width: 400px;
    text-align: center;
	float: left;
	margin-right:20px;
	margin-left:20px;
	margin-top:42px;
}

.bild-container img {
    max-width: 100%;
    display: block;
	margin-bottom: 5px
}

.quelle {
    font-size: 12px;
    color: #555;
    display: inline-block;
}






.portfolio-button {
    font-family: "Roboto Flex", sans-serif;
    font-size: 25px;
    background-color: #8aceff;
    color: white;
    padding: 10px 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-right: 10px; /* Drückt die Kontaktinfos nach links */
}


/* Portfolio Section */
#portfolio {
    border-radius: 10px;
    text-align: left;
	background-color: white;
	color: #8aceff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 3px; /*abgerundete Ecken*/
    flex-wrap: wrap; /* Bricht um, wenn der Platz zu eng ist */
}

#portfolio h2 {
	color:#79C6FE;
    font-family: Times New Roman;
    font-size: 250%;
    margin-bottom: 20px;
}

#portfolio p {
    font-family: "Kantumruy Pro", sans-serif;
    color: #79C6FE;
    font-size: 18px;
}


.portfolio-grid {
    display: grid; /* Nutzt ein Raster für die Bilder */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Flexible Spaltenanzahl */
    gap: 20px; /* Abstand zwischen den Bildern */
    margin-top: 20px;
	color:#79C6FE;
}

.portfolio-image {
    max-width: 100%; /* Passt die Bildgröße an den Container an */
    height: auto; /* Erhält die Proportionen des Bildes */
    border-radius: 5px; /* Abgerundete Ecken */
    transition: transform 0.3s ease-in-out;
}

.bild-portfolio{
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Schatteneffekt */
    transition: transform 0.3s, box-shadow 0.3s; /* Animation bei Hover */
    border-radius: 5px; /* Abgerundete Ecken */
	position: relative;
    cursor: pointer;
}

.bild-portfolio:hover {
    transform: scale(1.05); /* Vergrößert das Bild leicht bei Hover */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Verstärkt den Schatten */
}

.Textbeschreibung {
	font-size: 12px;
    color: #031d8c;
	font-family: "Kantumruy Pro", sans-serif;
	padding-left:3px;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.fullscreen img {
    max-width: 90%;
    max-height: 90%;
}

span.clear { clear: left; display: block; }