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

/* Base styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    /* color: #617d88; */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: row;
    width: 90%;
    max-width: 1200px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.sidebar {
    width: 30%;
    background-color: #243c54;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar .profile img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
}

.sidebar h2, .sidebar h4 {
    font-family: 'Montserrat', sans-serif;
    margin: 10px 0;
}

.sidebar .contact-info, .sidebar .skills, .sidebar .awards {
    width: 100%;
    margin-top: 10px;
}

.sidebar h3 {
    border-bottom: 2px solid #f4dcbb;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.sidebar ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* .sidebar ul li {
    padding: 5px 0;
} */

.sidebar a {
    color: #3ce3b4;
    text-decoration: none;
}

.sidebar a:hover {
    text-decoration: underline;
}

.main-content {
    width: 70%;
    padding: 20px;
}

.main-content h3 {
    color: #2c3e50;
    font-size: 1.3em;
    border-bottom: 2px solid #344e6c;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}
.line {
    border-bottom: 2px solid #344e6c;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.job {
    margin-bottom: 20px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.job h4 {
    margin: 0;
    font-size: 1.2em;
    color: #e62922;
    font-family: 'Montserrat', sans-serif;
}
.job-sub-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.job-duration {
    color: #617d88;
}
.job-title, .job-duration, .job-location {
    margin: 0;
    color: #888;
    font-style: italic;
}

.job-details {
    list-style-type: disc;
    padding-left: 35px;
    margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar, .main-content {
        width: 90%;
    }

    .sidebar {
        text-align: center;
    }

    .sidebar .contact-info, .sidebar .skills, .sidebar .awards {
        text-align: left;
    }
}

/* Print styles */
@media print {
    .sidebar .profile img {
        display: none;
    }
    .sidebar {  
        color: #000000;
    }
    .sidebar .contact-info, .sidebar .skills, .sidebar .awards {
        width: 100%;
        margin-top: 0px;
    }
    .main-content {
        margin-top: -40px;
    }
    /* .education {
        display: none;
    } */
    .awards {
        display: none;
    }
}