/* Reset some basic elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    /* Adding transition */
}

/* Hover state for .container */
.container:hover {

    /* Lighten the background on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    /* Enhance shadow on hover */
}



/* Header #007BFF */
header {
    background: #001F3F;
    color: #fff;
    padding: 20px 0;
}

.profile {
    display: flex;
    align-items: center;
}

.profile-pic {
    width: 150px;
    /* Increased size */
    height: 150px;
    /* Increased size */
    border-radius: 50%;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Added shadow */
}

.profile-info a {
    color: white;
    text-decoration: none;
}

.profile-info a:hover {
    text-decoration: underline;
    /* Add underline on hover for better visibility */
}

.profile-info h1 {
    margin-bottom: 10px;
    font-size: 2.5em;
    /* Increased size */
}

.profile-info p {
    margin: 5px 0;
}

/* Navigation */
nav {
    background: #333;
    color: #fff;
}

nav ul {
    list-style: none;
    padding: 10px 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    background: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h2 {
    border-bottom: 2px solid #001F3F;
    padding-bottom: 10px;
    margin-bottom: 10px;
    color: #007BFF;
}

section {
    margin-bottom: 20px;
}




section {
    border: 1px solid #e0e0e0;
    /* Light border for sections */
    border-radius: 8px;
    /* Rounded corners */
    padding: 15px;
    /* Inner padding */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Light shadow */
}


section:hover {
    transform: scale(1.02);
    /* Slightly enlarge section on hover */
    transition: transform 0.3s;
}



.course {
    font-style: italic;
    color: #666;
}



ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* Date styling */
.date {
    font-style: italic;
    color: #666;
    float: right;
    /* Align dates to the right */
}

/* Clearfix for sections with floated elements */
section:after {
    content: "";
    display: table;
    clear: both;
}

/* Project alignment */
section#projects ul {
    margin-left: 10%;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
    background: #001F3F;
    color: #fff;
}

footer p {
    margin: 5px 0;
}

/* Media Queries */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .profile {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-pic {
        margin: 0 0 10px 0;
    }

    nav ul li {
        display: block;
        margin: 5px 0;
    }
}

.interests-list {
    display: flex;
    /* Use Flexbox for layout */
    flex-wrap: wrap;
    /* Allow wrapping to next line */
    list-style-type: none;
    /* Remove default bullets */
    padding: 0;
    /* Remove padding */
    margin: 0;
    /* Remove margin */
}

.interests-list li {
    margin-right: 15px;
    /* Space between items */
    margin-bottom: 10px;
    /* Space between lines */
    padding: 5px 10px;
    /* Padding for each bullet */
    background: #007BFF;
    /* Background color for bullets */
    color: #fff;
    /* Text color */
    border-radius: 4px;
    /* Rounded corners */
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    transition: background 0.3s;
}

.download-button:hover {
    background: #0056b3;
    /* Darker blue on hover */
}





.profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Aligns items with space between */
}

.profile-info {
    flex-grow: 1;
    /* Allow the profile info to take up available space */
}

.profile-button {
    margin-left: auto;
    /* Push the button to the far right */
}







/*Add styles specifically for printing to ensure a clean layout*/
@media print {
    body {
        background-color: white;
        color: black;
    }

    header,
    footer {
        display: none;
        /* Hide header and footer when printing */
    }

    main {
        margin: 0;
        /* Remove margins */
        padding: 0;
        /* Remove padding */
        box-shadow: none;
        /* Remove shadow for print */
    }

    .container {
        width: 100%;
        /* Use full width for print */
    }

    /* Hide any elements you don't want printed */
    nav {
        display: none;
    }

    h2 {
        color: black;
        /* Ensure headings are clear */
    }
}