/* Sidebar Profile Section Styling */
.sidebar-profile {
    text-align: center;
    padding: 20px 20px 10px;
    /* Adjusted bottom padding to add more space below */
    margin-bottom: 30px;
    /* Increased bottom margin for better separation from menu */
    border-bottom: 1px solid #444;
    /* Keep the bottom border for visual separation */
}

.profile-photo {
    border-radius: 50%;
    /* Make sure it’s a circle */
    width: 300px;
    /* Set a specific width for clarity */
    height: 300px;
    object-fit: cover;
    /* Ensure it doesn't get stretched */
    border: none;
    /* Remove unwanted border */
    margin: 0 auto;
    /* Center horizontally */
    transition: width 0.3s ease, height 0.3s ease;
    /* Smooth scaling animation */

}

.profile-name {
    font-size: 1.5rem;
    /* Increased font size slightly */
    color: #fff;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

/* Adjust Sidebar Menu Styling */
.mainMenu ul.menu {
    padding-top: 0;
    /* Remove extra padding at the top of the menu */
}

.mainMenu ul.menu li {
    margin-top: 20px;
    /* Slightly increased margin between menu items for better readability */
}

/* Adjust Sidebar Padding */
.sidebar {
    padding-top: 0;
    /* Remove unwanted top padding */
}

.profile-photo-container {
    position: relative;
    /* Keep the image centered and contained */
    width: 100%;
    /* Make sure the container takes the full width */
    padding: 0;
    border: none;
    /* Remove borders that could overlap */
}

/* When the sidebar is collapsed, reduce the size */
.sidebar.collapsed .profile-photo {
    width: 60px;
    height: 60px;
}


/* CSS to justify text */
.justified {
    text-align: justify;
}

/*--------------------------------------- Experience CSS --------------------------------------- */


.logo-title-wrapper {
    display: flex;
    /* Display elements in a row */
    align-items: center;
    /* Vertically center the image and title */
    gap: 10px;
    /* Add spacing between the image and the title */
}

.small-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.timeline-title {
    font-size: 1.5em;
    /* Adjust to your needs */
    margin: 0;
    /* Remove default margin to align perfectly */
}

:root {
    --color-timeline: #568aa3;
    --color-timeline-orange: #bb6117;
    --color-timeline-green: #4caf50;
    --color-timeline-red: #f44336;
    --color-timeline-yellow: #ffeb3b;
    --timeline-line-width: 1px;
    --timeline-left-margin: 2em;
    --timeline-left-padding: 2em;
    --timeline-bottom-padding: 3em;
    --timeline-bullet-width: 0.7em;
    --card-bg-color: #333;
    /* Previous slightly darker card background color */
    --card-text-color: #ffffff;
    /* Brighter color for text readability */
}

/* Timeline styling */
.timelines {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    /* Ensure all content in the timelines container is aligned left */
}

h2.timeline-title {
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
    /* Align title text to the left */
    color: var(--card-text-color);
    /* Make the title color consistent with card text */
}

ul.timeline-items {
    list-style-type: none;
    margin: var(--timeline-left-margin);
    padding: 0.01em 0 var(--timeline-bottom-padding) var(--timeline-left-padding);
    border-left: var(--timeline-line-width) solid var(--color-timeline);
    text-align: left;
    /* Align all list items to the left */
    position: relative;
}


li.timeline-item {
    margin-bottom: 1em;
    /* Reduce margin to minimize spacing */
    margin-top: 0;
    /* Remove extra space above each card */
    text-align: left;
    /* Align text within each timeline item to the left */
    position: relative;
    /* For positioning the bullet correctly */
}

/* Bullet Point Styling */
li.timeline-item::before {
    content: "";
    position: absolute;
    left: calc(var(--timeline-left-padding) * -1);
    top: 0.75em;
    /* Adjust to align bullet vertically with the title */
    background-color: var(--color-timeline);
    width: var(--timeline-bullet-width);
    height: var(--timeline-bullet-width);
    border-radius: 50%;
    transform: translateX(-50%);
}

/* ================== Green  ==================*/
ul.timeline-items-orange {
    list-style-type: none;
    margin: var(--timeline-left-margin);
    padding: 0.01em 0 var(--timeline-bottom-padding) var(--timeline-left-padding);
    border-left: var(--timeline-line-width) solid var(--color-timeline-orange);
    text-align: left;
    /* Align all list items to the left */
    position: relative;
}


/* Timeline Item Styling */
li.timeline-item-orange {
    margin-bottom: 1em;
    /* Reduce margin to minimize spacing */
    margin-top: 0;
    /* Remove extra space above each card */
    text-align: left;
    /* Align text within each timeline item to the left */
    position: relative;
    /* For positioning the bullet correctly */
}


li.timeline-item-orange::before {
    content: "";
    position: absolute;
    left: calc(var(--timeline-left-padding) * -1);
    top: 0.75em;
    /* Adjust to align bullet vertically with the title */
    background-color: var(--color-timeline-orange);
    width: var(--timeline-bullet-width);
    height: var(--timeline-bullet-width);
    border-radius: 50%;
    transform: translateX(-50%);
}

section.timeline.experience-orange::before {
    background: #bb6117 !important;
    /* Replace with your desired color */
}

/* ================== Green  ==================*/

ul.timeline-items-green {
    list-style-type: none;
    margin: var(--timeline-left-margin);
    padding: 0.01em 0 var(--timeline-bottom-padding) var(--timeline-left-padding);
    border-left: var(--timeline-line-width) solid var(--color-timeline-green);
    text-align: left;
    /* Align all list items to the left */
    position: relative;
}

/* Timeline Item Styling */
li.timeline-item-green {
    margin-bottom: 1em;
    /* Reduce margin to minimize spacing */
    margin-top: 0;
    /* Remove extra space above each card */
    text-align: left;
    /* Align text within each timeline item to the left */
    position: relative;
    /* For positioning the bullet correctly */
}

/* Bullet Point Styling for timeline-item-green */
li.timeline-item-green::before {
    content: "";
    position: absolute;
    left: calc(var(--timeline-left-padding) * -1);
    top: 0.75em;
    /* Adjust to align bullet vertically with the title */
    background-color: #4caf50;
    /* Use the specific green color for this bullet point */
    width: var(--timeline-bullet-width);
    height: var(--timeline-bullet-width);
    border-radius: 50%;
    transform: translateX(-50%);
}

section.timeline.experience-green::before {
    background: #4caf50 !important;
    /* Replace with your desired color */
}

/* ================== Red ================== */

ul.timeline-items-red {
    list-style-type: none;
    margin: var(--timeline-left-margin);
    padding: 0.01em 0 var(--timeline-bottom-padding) var(--timeline-left-padding);
    border-left: var(--timeline-line-width) solid var(--color-timeline-red);
    text-align: left;
    /* Align all list items to the left */
    position: relative;
}

/* Timeline Item Styling */
li.timeline-item-red {
    margin-bottom: 1em;
    /* Reduce margin to minimize spacing */
    margin-top: 0;
    /* Remove extra space above each card */
    text-align: left;
    /* Align text within each timeline item to the left */
    position: relative;
    /* For positioning the bullet correctly */
}

/* Bullet Point Styling for timeline-item-red */
li.timeline-item-red::before {
    content: "";
    position: absolute;
    left: calc(var(--timeline-left-padding) * -1);
    top: 0.75em;
    /* Adjust to align bullet vertically with the title */
    background-color: #f44336;
    /* Use the specific red color for this bullet point */
    width: var(--timeline-bullet-width);
    height: var(--timeline-bullet-width);
    border-radius: 50%;
    transform: translateX(-50%);
}

section.timeline.experience-red::before {
    background: #f44336 !important;
    /* Replace with your desired color */
}

/* ================== Yellow ================== */

ul.timeline-items-yellow {
    list-style-type: none;
    margin: var(--timeline-left-margin);
    padding: 0.01em 0 var(--timeline-bottom-padding) var(--timeline-left-padding);
    border-left: var(--timeline-line-width) solid var(--color-timeline-yellow);
    text-align: left;
    /* Align all list items to the left */
    position: relative;
}

/* Timeline Item Styling */
li.timeline-item-yellow {
    margin-bottom: 1em;
    /* Reduce margin to minimize spacing */
    margin-top: 0;
    /* Remove extra space above each card */
    text-align: left;
    /* Align text within each timeline item to the left */
    position: relative;
    /* For positioning the bullet correctly */
}

/* Bullet Point Styling for timeline-item-yellow */
li.timeline-item-yellow::before {
    content: "";
    position: absolute;
    left: calc(var(--timeline-left-padding) * -1);
    top: 0.75em;
    /* Adjust to align bullet vertically with the title */
    background-color: #ffeb3b;
    /* Use the specific yellow color for this bullet point */
    width: var(--timeline-bullet-width);
    height: var(--timeline-bullet-width);
    border-radius: 50%;
    transform: translateX(-50%);
}

section.timeline.experience-yellow::before {
    background: #ffeb3b !important;
    /* Replace with your desired color */
}

/* Card Content Styling */
.card-content {
    background-color: var(--card-bg-color);
    /* Darker card background for better contrast */
    padding: 1.5em;
    /* Padding inside each card for a nice appearance */
    border-radius: 8px;
    /* Rounded corners for a card look */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth animation for scaling and shadow */
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    /* Initially no shadow */
    color: var(--card-text-color);
    /* Text color for readability */
    margin-left: calc(var(--timeline-left-padding) - 0.7em);
    /* Ensure card starts after bullet point */
    margin-top: 0;
    /* Remove extra space above each card */
    margin-bottom: 0;
    /* Remove extra space below each card */
}

.card-content:hover {
    transform: translateY(-5px);
    /* Moves the card upwards slightly when hovered */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Adds shadow to give a pop-up effect */
}

.card-content .date-interval {
    text-align: left;
    /* Align the date interval text to the left */
    color: var(--card-text-color);
    /* Improve readability of date */
}

.card-content>* {
    margin: 0.5em 0;
    /* Reduced margin to remove extra vertical spacing */
    text-align: left;
    /* Align all direct children of each timeline item to the left */
}

.card-content .location {
    font-size: 0.85em;
    font-style: italic;
    text-align: left;
    /* Align the location text to the left */
    color: var(--card-text-color);
    /* Improve readability of location */
}

/* Override the orange line for the timeline experience section */
section.timeline.experience::before {
    background: none !important;
    /* Remove the existing orange line */
}

/* Alternatively, set a different color if needed */
section.timeline.experience::before {
    background: #568aa3 !important;
    /* Replace with your desired color */
}



.logo-title-wrapper {
    display: flex;
    /* Display elements in a row */
    align-items: center;
    /* Vertically center the image and title */
    gap: 10px;
    /* Add spacing between the image and the title */
}

.small-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.timeline-title {
    font-size: 1.5em;
    /* Adjust to your needs */
    margin: 0;
    /* Remove default margin to align perfectly */
    color: var(--card-text-color);
    /* Make timeline title match the cards */
}



.profile-photo-shield {
    height: 60px;
    width: 60px;
    border: 10px solid var(--shield-border-color);
    border-radius: 50% 50% 50% 50% / 12% 12% 88% 88%;
    object-fit: cover;
}


.small-logo-no-border {
    width: 60px;
    height: 60px;
    /* border-radius: 50%; */
    overflow: hidden;
    object-fit: cover;
    /* border: 2px solid #fff; */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.ff-rank-small-no-border {
    width: 50px;
    height: 50px;
    /* border-radius: 50%; */
    overflow: hidden;
    object-fit: cover;
    /* border: 2px solid #fff; */
    /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
     */
}



/* ============================================================ */

/*  */

.glow-counter-box.orange {
    width: 200px;
    background: #d8d8d8;
    border-radius: 15px;
    padding: 10px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px 5px rgba(255, 111, 0, 0.2);
    margin: 0 auto;
}

.glow-counter-box.orange #glow-counter {
    font-size: 3em;
    font-weight: bold;
    color: #db6516; /* Orange color */
}

.glow-counter-box.orange .glow-counter-text {
    font-weight: bold;
    font-size: 1.2em;
    color: #292929;
}

.glow-counter-icon.orange {
    font-size: 5em;
    color: #db6516; /* Orange */
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-counter-box.orange:hover {
    box-shadow: 0 0 20px 6px rgba(255, 111, 0, 0.3); /* Increase glow slightly when hovered */
}

.glow-counter-box.blue {
    width: 200px;
    background: #d8d8d8;
    border-radius: 15px;
    padding: 10px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px 5px rgba(0, 111, 255, 0.2);
    margin: 0 auto;
}

.glow-counter-box.blue #glow-counter {
    font-size: 3em;
    font-weight: bold;
    color: #0066ff; /* Blue color */
}

.glow-counter-box.blue .glow-counter-text {
    font-weight: bold;
    font-size: 1.2em;
    color: #292929;
}

.glow-counter-icon.blue {
    font-size: 5em;
    color: #006fff; /* Blue */
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-counter-box.blue:hover {
    box-shadow: 0 0 20px 6px rgba(0, 111, 255, 0.3); /* Increase glow slightly when hovered */
}

.glow-counter-box.green {
    width: 200px;
    background: #d8d8d8;
    border-radius: 15px;
    padding: 10px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px 5px rgba(76, 175, 80, 0.2);
    margin: 0 auto;
}

.glow-counter-box.green #glow-counter {
    font-size: 3em;
    font-weight: bold;
    color: #4caf50; /* Green color */
}

.glow-counter-box.green .glow-counter-text {
    font-weight: bold;
    font-size: 1.2em;
    color: #292929;
}

.glow-counter-icon.green {
    font-size: 5em;
    color: #4caf50; /* Green */
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-counter-box.green:hover {
    box-shadow: 0 0 20px 6px rgba(76, 175, 80, 0.3); /* Increase glow slightly when hovered */
}

.glow-counter-box.red {
    width: 200px;
    background: #d8d8d8;
    border-radius: 15px;
    padding: 10px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px 5px rgba(244, 67, 54, 0.2);
    margin: 0 auto;
}

.glow-counter-box.red #glow-counter {
    font-size: 3em;
    font-weight: bold;
    color: #f44336; /* Red color */
}

.glow-counter-box.red .glow-counter-text {
    font-weight: bold;
    font-size: 1.2em;
    color: #292929;
}

.glow-counter-icon.red {
    font-size: 5em;
    color: #f44336; /* Red */
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-counter-box.red:hover {
    box-shadow: 0 0 20px 6px rgba(244, 67, 54, 0.3); /* Increase glow slightly when hovered */
}

.glow-counter-box.yellow {
    width: 200px;
    background: #d8d8d8;
    border-radius: 15px;
    padding: 10px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px 5px rgba(255, 235, 59, 0.2);
    margin: 0 auto;
}

.glow-counter-box.yellow #glow-counter {
    font-size: 3em;
    font-weight: bold;
    color: #ffeb3b; /* Yellow color */
}

.glow-counter-box.yellow .glow-counter-text {
    font-weight: bold;
    font-size: 1.2em;
    color: #292929;
}

.glow-counter-icon.yellow {
    font-size: 5em;
    color: #ffeb3b; /* Yellow */
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-counter-box.yellow:hover {
    box-shadow: 0 0 20px 6px rgba(255, 235, 59, 0.3); /* Increase glow slightly when hovered */
}

.glow-counter-box.purple {
    width: 200px;
    background: #d8d8d8;
    border-radius: 15px;
    padding: 10px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px 5px rgba(156, 39, 176, 0.2);
    margin: 0 auto;
}

.glow-counter-box.purple #glow-counter {
    font-size: 3em;
    font-weight: bold;
    color: #9c27b0; /* Purple color */
}

.glow-counter-box.purple .glow-counter-text {
    font-weight: bold;
    font-size: 1.2em;
    color: #292929;
}

.glow-counter-icon.purple {
    font-size: 5em;
    color: #9c27b0; /* Purple */
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-counter-box.purple:hover {
    box-shadow: 0 0 20px 6px rgba(156, 39, 176, 0.3); /* Increase glow slightly when hovered */
}


.glow-counter-container {
    display: flex;
    justify-content: space-around; /* Distribute items evenly with some space */
    align-items: center; /* Align items vertically centered */
    flex-wrap: wrap; /* Allow wrapping if the screen width is too small */
    gap: 20px; /* Space between the counters */
    margin: 20px 0; /* Margin for spacing above and below the container */
}


.glow-counter-box.blue-item-icon {
    width: 200px;
    background: #1d1d1d;
    border-radius: 15px;
    padding: 10px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px 5px rgba(0, 111, 255, 0.2);
    margin: 0 auto;
}

.glow-counter-box.blue-item-icon #glow-counter {
    font-size: 3em;
    font-weight: bold;
    color: #1756a8; /* Blue color */
}

.glow-counter-box.blue-item-icon .glow-counter-text {
    font-weight: bold;
    font-size: 1.2em;
    color: #d3d3d3;
}

.glow-counter-icon.blue-item-icon {
    font-size: 5em;
    color: #1756a8; /* Blue */
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-counter-box.blue-item-icon:hover {
    box-shadow: 0 0 20px 6px rgba(0, 111, 255, 0.3); /* Increase glow slightly when hovered */
}

 /* Container to hold the two divs side by side */
 .flex-container {
    display: flex;
    flex-wrap: wrap; /* Make the divs wrap on smaller screens */
    gap: 20px; /* Add some space between the divs */
    justify-content: space-between; /* Add even spacing */
}

.flex-container > div {
    flex: 1; /* Allow divs to grow and fill the available space */
    min-width: 300px; /* Ensure the divs shrink to fit smaller screens */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h3 {
    text-align: left;
    margin: 0;
}

ul {
    text-align: left;
    font-size: 1.3125em;
    list-style: none; /* Remove default list styling */
    padding: 0;
}

ul li {
    margin-bottom: 10px; /* Add some space between list items */
}

@media (max-width: 768px) {
    .flex-container {
        flex-direction: column; /* Stack divs on smaller screens */
    }
}


/* ================================ Spider ================================ */
@import url("https://fonts.googleapis.com/css2?family=Elsie+Swash+Caps:wght@900&family=Open+Sans&display=swap");

/* Scoped to spider chart */
.spider-chart-container * {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

.spider-chart-main {
	margin: 1rem auto;
	max-width: 35rem;
	padding: 2rem;
	width: 90vw;
	box-shadow: 0 1px 12px -5px hsla(0, 0%, 0%, 0.1);
}

.spider-chart-main > * + * {
	margin-top: 0.5rem;
}

.spider-chart-code {
	padding: 0.1rem;
	font-family: inherit;
}

.spider-chart-title {
	font-family: "Elsie Swash Caps", cursive;
}

.spider-chart-paragraph {
	line-height: 1.5;
}

.spider-chart-svg {
	width: 100%;
	height: auto;
}

.spider-chart-svg text {
	font-family: inherit;
	color: inherit;
}
