/* Main content */

.about-content {
    margin: auto;
    padding: 10px 20px;
    padding-top: 4rem;
    flex-grow: 1;
}

/* Section styling */
.about-section {
    margin-bottom: 3.5rem;
}

.about-section p, li {
    line-height: 1.5;
}

.section-title {
    color: #5f5f5f;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    /* padding-bottom: 1rem;
    border-bottom: 2px solid #5f5f5f; */
}

/* hr.section-line {
    display: block;
    color: #5f5f5f;
} */

.about-item-container {
    margin-bottom: 2.5rem;
}

.about-item-heading-container {
    display: flex;
    flex-direction: column-reverse;
}

.about-item-heading-container h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

h4.about-item-subheading {
    font-size: 1rem;
    font-weight: normal;
    font-style: italic;
    margin-bottom: 1rem;
}

.about-item-details-container {
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.about-item-details-container li {
    margin-bottom: 0.5rem;
}

.about-item-highlights {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    justify-content: start;
    align-items: end;
}

.about-item-highlights span {
    padding: 0.75rem ;
    border-radius: 1rem;
    background-color: #B1CEC8;
    color: #fff;
    font-size: 1rem;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    min-width: 1.75rem;
    text-align: center;
}

#hello img {
    display: none;
}

.about-item-title > a {
    text-decoration: none;
    color: black;
}

@media (max-width:575px) {
    #hello .section-title {
        margin-bottom: 0;
    }

    #hello img {
        display: block;
        margin: auto;
        margin-bottom: 0.5rem;
        height: 150px;
    }
}

@media ((min-width:576px) and (max-width:767px)) {
    #hello img {
        display: block;
        position: relative;
        float: right;
        width: 175px;
        margin: 0;
        margin-left: 0.5rem;
    }
}

@media (max-width:767px) {
    div.about-container .about-sidebar {
        display: none;
    }

    .section-title {
        font-size: 1.25rem;
    }
}

@media (min-width:768px) {
    div.about-container {
        width: 90vw;
        margin: auto;
    }

    div.about-container {
        display: grid;
        grid-template-columns: auto auto;
    }

    /* Sidebar */
    .about-sidebar {
        display: flex;
        flex-direction: column;
        /* align-items: center; */
    }

    .about-sidebar {
        width: 22.5vw;
        height: 100vh;
        padding: 0px;
        padding-top: 4rem;
        position: sticky;
        top: 1rem;
        overflow: auto;
        /* background-color: #7cab9a6e;
        background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(191,223,216,0.5) 88%, rgba(201,211,206,1) 100%); */
    }

    .about-sidebar img {
        width: 175px;
        max-width: 95%;
        margin-bottom: 2rem;
    }

    .about-sidebar a {
        font-size: 1.25rem;
        display: block;
        color: #8892b0;
        margin: 10px 0;
        text-decoration: none;
        padding-left: 2rem;
        text-align: left;
    }

    .about-sidebar a.active {
        font-weight: bold;
        color: #5f5f5f;
    }

    .about-sidebar a.active::before {
        content: "— ";
    }

    @media (hover: hover) {
        .about-sidebar a:hover {
            font-weight: bold;
            color: #5f5f5f;
        }

        .about-sidebar a:hover::before {
            content: "— ";
        }
    }

    /* Remove default focus outline */
    /* .about-sidebar a:focus {
        outline: none; 
    } */

    .about-content {
        min-height: 150vh;
    }

    /* Content */
    .about-section {
        margin-bottom: 4rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .about-item-heading-container h3 {
        font-size: 1.1rem;
    }

    .about-item-subheading {
        font-size: 1.05rem;
    }
}

@media (min-width:992px) {
    div.about-container {
        width: 85vw;
        margin: auto;
    }

    /* Sidebar */
    .about-sidebar img {
        width: 200px;
    }

    .about-sidebar a {
        font-size: 1.5rem;
    }

    /* Content */
    .about-item-heading-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-section p, li {
        font-size: 1.05rem;
    }

    .about-item-heading-container h3 {
        font-size: 1.15rem;
    }

    h4.about-item-subheading {
        font-size: 1.1rem;
    }
}

@media (min-width:1200px) {
    div.about-container {
        width: 80vw;
        margin: auto;
    }

    .about-sidebar {
        width: 20vw;
    }
}

@media (min-width:1400px) {
    div.about-container {
        width: 75vw;
    }

    .about-sidebar {
        width: 18.75vw;
    }

    .about-sidebar img {
        width: 225px;
    }
}
