
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
}

footer {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
}

.nav-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.5rem;
    color: #555;
    text-decoration: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #000;
}

main {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
	padding-top: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
	background-image: url('images/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.profile-pic {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-info h1 {
    font-size: 2rem;
    margin: 15px 0 5px;
}

.money {
    color: #777;
    font-style: italic;
    margin-bottom: 10px;
}

.infost {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.st-icons {
    display: flex;
    /*justify-content: center;*/
    /*align-items: center;*/
    gap: 10px;
    margin-bottom: 0px;
    flex-wrap: wrap;
}
.st-icons a {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.st-icons a:hover {
    background: rgba(255, 255, 255, 0.1);
}
.st-icons img {
    width: 32px;
    height: 32px;
    opacity: 1;
}

.profile-content {
    display: grid;
    gap: 20px;
    padding-top: 20px;
}

.about-me, .portfolio {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.portfolio-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.portfolio-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: flex; 
    align-items: center;
	flex-direction: row-reverse;
}
.portfolio-logo {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
	margin-left: 20px;
    margin-right: 0px;
    border-radius: 50%;
}
.portfolio-logo img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.portfolio-details {
    flex-grow: 1;
}
.portfolio-details h3 {
    margin-top: 0;
}


h2 {
    color: #444;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    margin-top: 0;
}

@media (max-width: 960px) {
    main {
        margin: 20px 10px;
        max-width: none;
    }
    header, footer {
        padding: 15px 10px;
    }
    .nav-container {
        max-width: none;
        padding: 0 10px;
    }
}

@media (max-width: 600px) {
    body {
        line-height: 1.5;
    }
    main {
        margin: 10px;
        padding: 15px;
    }

    header, footer {
        padding: 10px;
    }
    .nav-container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    nav ul {
        width: 100%;
        justify-content: space-around;
        gap: 0;
        flex-wrap: wrap;
    }
    .profile-header {
        padding-top: 30px;
        padding-bottom: 15px;
    }  
    .profile-pic {
        width: 120px;
        height: 120px;
    }
    .profile-info h1 {
        font-size: 1.7rem;
    }
    .infost {
        font-size: 1rem;
    }
    h2 {
        font-size: 1.3rem;
    }
    .portfolio-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .portfolio-logo {
        width: 100px;
        height: 100px;
        margin-left: 0;
        margin-bottom: 15px;
    }
}
@media (max-width: 400px) {
    .logo {
        font-size: 1.2rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }
    
    .profile-info h1 {
        font-size: 1.5rem;
    }
    
    .st-icons a {
        width: 28px;
        height: 28px;
    }
    .st-icons img {
        width: 28px;
        height: 28px;
    }

    .portfolio-logo {
        width: 80px;
        height: 80px;
    }
}