/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #f4f4f4;
}

/* Header Styles */
header {
    background-image: url('imgs/header-background.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: #fff;
    position: relative;
    text-align: left;
    max-width: 1200px; /* Limit the width to keep content centered */
    margin: 0 auto; /* Center the header content on the page */
}

.header-content {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 180px); /* Leave space for the image on the right */
}

.header-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header-content p {
    font-size: 1em;
    margin-bottom: 5px;
    color: #ddd;
}

blockquote {
    font-style: italic;
    margin-top: 20px;
    color: #bbb;
}

/* Profile Picture Styles */
.profile-pic {
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Main Content Centering */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
section {
    margin: 40px 0;
    padding: 20px;
    background-color: #fff; 
    border-radius: 8px;
    text-align: left;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

section .icon {
    display: inline-block;
    vertical-align: top;
    width: 30px;
    margin-right: 0px;
}

section .icon img {
    width: 25px;
    height: 25px;
}

section .content {
    display: inline-block;
    max-width: calc(100% - 65px); 
    vertical-align: top;
}

section h2 {
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #5f92bb;
    padding-bottom: 5px;
}

section .content *:not(h2:first-of-type) {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

/* Divider Styles */
section + section {
    border-top: 1px solid #ddd;
    padding-top: 40px;
}

/* Link Hover Effects */
a {
    color: #5f92bb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff6b6b;
}

/* Skills Highlight */
#skills li span {
    color: #5f92bb;
    font-weight: bold;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
}

footer p {
    margin-bottom: 10px;
    font-size: 16px;
    display: block;
}

.social-icons {
    margin-top: 3px;
    display: inline-block;
}

.social-icons a {
    margin: 0 10px;
    vertical-align: middle;
}

.social-icons a img {
    width: 20px;
    height: 20px;
    filter: invert(100%);
    transition: transform 0.2s ease-in-out;
}

.social-icons a:hover img {
    transform: scale(1.1);
}