.CV{
    display: flex;
    flex-direction: column;
    background-color: #333; /* Dark background color */
    color: white; /* White text color */
    min-height: 100vh;
    width: 100vw;
    padding: 20px;
    }

.CV-sections
{
    margin: 5% auto;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

/* General container styling */
.left-column,
.right-column {
    padding: 2%; /* Increased padding for more space inside the container */
    background-color: #1c1c1c; /* Darker background for the containers */
    color: #f1f1f1; /* Light text color for better readability */
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 0px 25px rgba(255, 255, 255, 0.2); /* Light shadow for dark background */
    margin: 0 auto;
}

/* Specific styling for the left column */
.left-column {
    width: 30vw; /* Width as a percentage of viewport width */
    height:80%;
}

/* Specific styling for the right column */
.right-column {
    width: 60vw; /* Width as a percentage of viewport width */
}

.CV-image{
    width: 80%;
    padding :15px;   
    display: block;
    margin: auto;
}
.cv-line {
    width: 100%;
}

.subtitle{
    font-size: larger;
    font-weight: 600;
}
.subsection-list{
    margin: 3% 0;
    list-style: disc;
}

.subsection-list li{
    margin: 1% 0;
}

.Education, 
.work-exp{
    margin: 3% 0;
}
.Education p{
    margin: .1% 0;
}

.location,
.employer{
    font-size:large;
    font-weight: 600;
}
.grade, 
.course,
.job-title{
    font-size: larger;
    font-weight: 300;
}
.grade{
    font-weight:700;
}

.mobile{
    display: none;
}

.title-list ul {
    padding: 1%;
    margin: 0%;
    list-style: none; /* Remove default list styling */
    position: relative; /* Create a containing block for absolutely positioned elements */
}

/* Styling for individual list items */
.title-list ul li {
    position: relative;
    padding-left: 2%; /* Space for the custom bullet */
    margin-bottom: 1%; /* Space between items */
}

.title-list ul li:last-child {
    margin-bottom: 0; /* Remove bottom margin from the last item */
}

/* Custom bullet and vertical line */
.title-list ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 35%;
    width: 10px; /* Diameter of the custom bullet */
    height: 10px; /* Diameter of the custom bullet */
    background-color: white; /* Color of the bullet */
    border-radius: 50%; /* Make the bullet round */
    z-index: 10;
}

/* Connecting vertical line */
.title-list ul li::after {
    content: '';
    position: absolute;
    left: .46%; /* Center the line with the bullet */
    top: 70%; /* Start the line below the bullet */
    width: .3%; /* Width of the line */
    height: calc(100% + 20%); /* Extend the line below the bullet */
    background-color: white; /* Color of the line */
    z-index: 5; /* Ensure the line is behind the text */
}

/* Remove the vertical line for the last item */
.title-list ul li:last-child::after {
    display: none;
}

exp-detail{
    list-style: circle;
}

.exp-detail li {
    font-size: 16px; /* Increase font size */
    line-height: 1.5; /* Adjust line height for better readability */
    padding: 0.3% 0 0.5% 0%;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .CV-sections
    {
        margin: 5% auto;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .left-column,
.right-column {
    padding: 4%; /* Increased padding for more space inside the container */
    background-color: #1c1c1c; /* Darker background for the containers */
    color: #f1f1f1; /* Light text color for better readability */
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 0px 25px rgba(255, 255, 255, 0.2); /* Light shadow for dark background */
    margin: 9% auto 0 auto;
    width: 99%;
}

.Education, 
.work-exp{
    margin: 10% 0;
}

/* Connecting vertical line */
.title-list ul li::after {
    content: '';
    position: absolute;
    left: 1.4%; /* Center the line with the bullet */
    top: 35%; /* Start the line below the bullet */
    width: .3%; /* Width of the line */
    height: calc(100% +5%); /* Extend the line below the bullet */
    background-color: white; /* Color of the line */
    z-index: 5; /* Ensure the line is behind the text */
}
.desktop{
    display: none;
}
.mobile{
    display:inline
}
.title-list ul li {
    position: relative;
    padding-left: 6%; /* Space for the custom bullet */
    margin-bottom: 1%; /* Space between items */
}

}
