
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

/* Styling for navigation bar section */
.nav-link {
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #4f46e5;
}

/* Section to add glimmer effect to my name */
.shine-effect {
    background: linear-gradient(to right, #4f46e5, #a855f7, #4f46e5);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: -200% center;
    }
}

/* Section to add lines between job experiences */
.timeline-item {
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 3rem;
    background-color: #e2e8f0;
}

.timeline-item-content {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0; 
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, margin 0.4s ease-in-out;
}

.timeline-item-content.open {
    max-height: 1500px; 
    padding-top: 0.25rem;  
    padding-bottom: 1.5rem;
    margin-top: 1rem;
}

/* Styling for skill board */
#skill-cloud-container button {
  text-align: left;
}

/* Styling to differentiate download cv button */
#download-cv-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #4f46e5;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease-in-out;
}

#download-cv-btn:hover {
    background-color: #4338ca;
    text-decoration: none;
}


/* Flip style animation for hobbies */

/* The main container for the card, with 3D perspective */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 350px;
    perspective: 1000px;
    cursor: pointer;
    position: relative; /* This is the added line */
}

/* This container holds both the front and back sides and does the actual flipping */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s;
    transform-style: preserve-3d;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}

/* The class that gets toggled by JavaScript to flip the card */
.flip-card-inner.is-flipped {
    transform: rotateY(180deg);
}

/* Positioning for the front and back sides */
.flip-card-front, .flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
    border-radius: 0.75rem; 
    overflow: hidden; 
}

/* Styling for the front of the card */
.flip-card-front {
    background-color: #1e293b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styling for the back of the card */
.flip-card-back {
    background-color: white;
    color: #1e293b;
    transform: rotateY(180deg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.flip-card-front img {
    pointer-events: none;
}