hr {
    margin-top: 1.5rem;
}

.index-container {
    height: 100%
}

/* USED FOR HERO WHEN NO USER IS LOGGED IN */
.index-hero {
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: auto;
}

.index-hero-logo {
    width: 40%;
    height: auto;
}

.index-hero-text {
    margin-top: 0.5rem;
}

.index-header {
    padding: 0 0.5rem;
}

.section-container {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;

    background-color: var(--main-lt-gray-color);
    border-radius: calc(var(--main-border-radius) + 0.5rem);
    padding: 0.5rem;

    box-shadow: var(--main-box-shadow);
}

.section-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    padding: 0 0.5rem;
    margin-top: 0.25rem;
}

.inner-container {
    border-radius: var(--main-border-radius);
    background-color: var(--main-bg-color);
    padding: 0.5rem;
    width: 100%
}

/* USED FOR UPCOMING GCAL EVENTS */
.upcoming-event-text {
    margin: 0;
}

/* USED FOR THE TOOLS DASHBOARD */
.tool-category-divider {
    margin-top: 1rem;
}

.tool-category {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    justify-content: start;
    grid-auto-rows: 1fr;
}

/* The container for an individual tool */
/* We're using this for an <a> tag so we make some changes inside here */
.tool-item-container {
    display: block;
    text-decoration: none;
    color: inherit;

    background-color: var(--main-bg-color);
    border-radius: var(--main-border-radius);
    padding: 0.75rem;
}

/* Holds the icon and the name of the tool */
.tool-item-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    margin-bottom: 0.5rem;
}

.tool-item-icon {
    color: var(--main-accent-color);
    font-size: 1rem;
    margin-right: 1rem;
}

.tool-button-container {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    margin-left: auto;
}

.tool-button {
    display: flex;
    border: none;
    background-color: inherit;
    align-content: center;
    justify-content: center;
    padding: 0.25rem;
    height: 2rem;
    width: 2rem;
    border-radius: 1.5rem;

    transition: background-color .15s ease-in-out;
}

.tool-button:hover {
    background-color: var(--main-lt-gray-color);
}

.tool-button-icon {
    color: var(--main-accent-color);
    font-size: 1rem;
}

/* Specific styling for mobile (Note that the Central Backend is intentionally optimized for desktop and laptop displays) */
@media (max-width: 480px) {
    .index-hero-logo {
        width: 80%;
        height: auto;
    }
}
