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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    padding-top: 20px;
    font-size: 16px; /* Base font size */
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Header */
header {
    text-align: center;
    padding: 50px 0;
}

.profile-pic {
    width: 80px; /* Adjust size as needed */
    height: 80px;
    border-radius: 50%; /* Makes it circular */
    object-fit: cover; /* Ensures proper cropping */
    display: block;
    margin: 0 auto 10px; /* Centers image and adds space below */
}

h1 {
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 10px;
}

h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

p {
    font-size: 1.1em;
    color: #555;
    margin-top: 15.75px;
    margin-bottom: 2.5px;

}

.bold-text {
    font-weight: bold;
}

ul {
    list-style: none;
}

ul li {
    font-size: 1.15em;
    margin: 5px 0;
}

a {
    text-decoration: none;
    color: #3498db;
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Smooth transition */
}

a:hover {
    text-decoration: underline;
    color: #2980b9; /* Darker blue on hover */
}

/* Section padding adjustments */
section {
    padding: 25px 0;
    margin-bottom: 25px; /* Space between sections */
}

section:last-of-type {
    margin-bottom: 0; /* Remove margin on the last section */
}

/* Minimal Card Outline for Projects */
.project1, .project2 {
    background-color: #fff;
    border: 1px solid #ddd; /* Light gray border for minimal card effect */
    border-radius: 8px; /* Rounded corners */
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    transition: box-shadow 0.3s ease; /* Smooth shadow transition */
}

.project1 h3, .project2 h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #2c3e50;
}

.project1 p, .project2 p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

.project1 a, .project2 a {
    font-size: 1.1em;
    color: #3498db;
}

.project1 a:hover, .project2 a:hover {
    text-decoration: underline;
    color: #2980b9;
}

.project1:hover, .project2:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Darker shadow on hover */
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f1f1f1;
    margin-top: 40px;
}

/* Responsive Design (Tablet and Mobile) */
@media (max-width: 768px) {
    body {
        font-size: 15px; /* Slightly smaller font on tablets */
    }

    .container {
        width: 90%;
    }

    h1 {
        font-size: 2.5em; /* Slightly smaller h1 on smaller screens */
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.3em;
    }

    p {
        font-size: 1em;
    }

    ul li {
        font-size: 1.1em;
    }

    .project1, .project2 {
        padding: 15px;
    }

    section {
        padding: 30px 0; /* Reduce padding on smaller screens */
    }

    .profile-pic {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15.25px; /* Adjust font size for mobile */
    }

    header {
        text-align: center;
        padding: 20px 0;
    }

    h1 {
        font-size: 2em; /* Smaller h1 for mobile */
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.95em; /* Slightly smaller paragraphs on mobile */
    }

    ul li {
        font-size: 1em;
    }

    .container {
        width: 95%; /* Ensure the container takes up most of the width on mobile */
    }

    .project1, .project2 {
        padding: 10px;
    }

    /* Section padding adjustments */
    section {
        padding: 15px 0;
        margin-bottom: 10px; /* Space between sections */
    }

    footer {
        margin-top: 10.75px;
    }
}