:root {
    --expandedAboutTopSpace: 15px;
    --expandedAboutPadding: 15px;
    --expandedAboutHeight: 100vh;
    --aboutBoldWeight: 600;
}

.about-me-content {
    width: 100%;
}

#lottie-coding {
    max-width: 150px;
    float: right;  /* Allows text to wrap around */
    margin: 15px;
}


/* Collapsible button styling */
.collapsible-button {
    display: flex;
    align-items: center;
    justify-content: center;
  
    height: 6vh;
    width: 100%;
    min-height: 40px;

    background-color: transparent;
    color: var(--body-text-color);
    padding: 10px 20px;
    border: 2px solid var(--body-text-color);
    border-radius: var(--corner-radius);
    cursor: pointer;
    font-size: clamp(14px, 1.2vw, 1rem);
    margin-top: 40px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    transition: color 0.3s ease-in, 
                border 0.3s ease-in;
}
.collapsible-button:hover{
    color: var(--demo-color);
    border: 2px solid var(--demo-color);
}

/* Collapsible content styling */
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, 
                opacity 0.5s ease, 
                padding 0.5s ease;
}

.collapsible-content.expanded {
    max-height: 1000px; /* Large enough for expansion */
    opacity: 1;
    padding: var(--expandedAboutPadding);
}


/* Collapsing state */
.collapsible-content.collapsing {
    animation: collapseAbout 0.5s ease forwards;
}

.collapsible-content.expanded h3 {
    margin-left: calc(0px - var(--expandedAboutPadding));
    font-size: 1.25rem;
    font-weight: 600;
}

.about-container {
    display: flex;
    flex-direction: row;
    align-items: last baseline;
    justify-content: center;
    gap: 7vw;

    height: 10vh;
    width: 100%;

    margin-top: 15px;
    margin-bottom: 1rem;

    /* border: 2px solid orange; */
}

.about-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* border: 2px solid red; */
}

.about-item p {
    margin-top: 10px;
    text-align: center;
    font-weight: var(--aboutBoldWeight);
    line-height: 2.1vh;
}


#hobby-lift {
    height: 50px;
    width: 50px;
    /* border: 2px solid purple; */

    margin-bottom: -15px;
}

#hobby-game-development {
    height: 35px;
    width: 35px;

    margin-bottom: -8px;
}

#hobby-martial {
    height: 35px;
    width: 35px;

    margin-bottom: -8px;
}

.grad-bullet {
    list-style: none;
    margin: 20px;
    margin-top: 0px;
    padding-left: 0px;
    margin-bottom: 3rem;
  }
  
  .grad-bullet li {
    position: relative; /* Required for positioning the bullet */
    padding-left: 30px; /* Space to make room for the bullet */
    font-size: 16px;
    font-weight: var(--aboutBoldWeight);
    color: #333;
    margin-top: 2vh;
    line-height: 1.25;
  }
  
  .grad-bullet li::before {
    content: '';
    display: inline-block;
    background: url('/img/graduation-logo.svg') no-repeat center center;
    background-size: contain; /* Ensures the SVG resizes correctly */
    position: absolute;
    left: 0; /* Position bullet to the left of the text */
    top: 40%; /* Center the bullet vertically */
    transform: translateY(-50%); /* Adjust for perfect centering */
    width: 22px; /* Resize bullet */
    height: 22px; /* Resize bullet */
  }

/* ANIMATIONS */
/* Expand animation */
@keyframes expandAbout {
    0% {
        margin-top: 0px;
        height: 0;
        opacity: 0;
    }
    100% {
        margin-top: var(--expandedAboutTopSpace);
        height: var(--expandedAboutHeight); /* Adjust to desired height */
        opacity: 1;
    }
}

/* Collapse animation */
@keyframes collapseAbout {
    0% {
        margin-top: var(--expandedAboutTopSpace);
        padding: var(--expandedAboutPadding);
        height: var(--expandedAboutHeight); /* Match the expanded height */
        opacity: 1;
    }
    100% {
        margin-top: 0;
        height: 0;
        opacity: 0;
    }
}
