body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding-top: 50px; /* Adjust as needed */
    padding-bottom: 50px; /* Add padding to the bottom */
    margin-left: 5%;     /* Default for mobile devices */
    margin-right: 5%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

body.loaded {
    opacity: 1;
}

.container {
    padding: 20px; /* Adjust as needed */
    margin-left: auto;
    margin-right: auto;
    max-width: 960px; /* Set a maximum width for the container */
}

@media (min-width: 768px) {
    body {
        margin-left: 10%;
        margin-right: 10%;
    }
}

@media (min-width: 992px) {
    body {
        margin-left: 15%;
        margin-right: 15%;
    }
}

@media (min-width: 1200px) {
    body {
        margin-left: 23%;
        margin-right: 23%;
    }
}

ul {
    /* list-style: none; */
    padding: 0;
}

.experience-list {
    list-style: none;
    margin-bottom: 5px;
}

a {
    text-decoration: none;
    color: inherit;
}

a.clicked {
    font-weight: bold;
}

/* Styles for the experience section */
.experience-list a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.experience-list a.active,
.experience-list a.clicked {
    font-weight: bold;
}

/* Override Bootstrap default styles for anchor links inside the specific ul */
.col-md-4 ul li a:hover,
.col-md-4 ul li a:focus,
.col-md-4 ul li a:active {
    color: inherit;
    text-decoration: none;
}

.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

p {
    text-align: justify;
    text-justify: justify;
}

.card-text,
.card-subtitle,
.experience-content li,
.about-content li,
.experience-date {
    font-size: 14px;
}

#cardContainer a:hover {
    color: inherit; /* or any other desired text color */
}

.img-fluid {
    max-width: 70%; /* Ensure the image doesn't exceed its container's width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure proper layout */
    margin-left: auto; /* Center the image horizontally */
    margin-right: 0px; /* Center the image horizontally */
    max-height: 80vh; /* Limit the maximum height to 80% of the viewport height */
}

/* Adjusting top padding for sections */
#about,
#experience,
#projects {
    padding-top: 80px; /* Adjust as needed based on the height navbar */
}

