.row {
    margin: 0;
}

p {
    font-size: 1.5rem;
}

.start-btn:hover{
    color: black!important;
    background-color: white!important;
    text-decoration: none!important;
    transform: none!important;
}

.discipline-tags {
    margin: 2rem auto;
    max-height: none;
    overflow: visible;
}

.discipline-tag {
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid white;
    border-radius: 50px;
    padding: 4px 12px;
    margin: 0px 1px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hidden-chip {
    display: none;
}

.discipline-tags.expanded {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.discipline-tags.expanded .hidden-chip {
    display: inline-block;
}

.discipline-tags.expanded::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.discipline-tags.expanded::-webkit-scrollbar-track {
    background: transparent;
}

.discipline-tags.expanded::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.discipline-tags.expanded::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.chips-toggle {
    margin-top: 8px;
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    float: right;
}

.chips-toggle:hover {
    background: white;
    color: black;
    text-decoration: none;
}


.discipline-tag:hover {
    color: rgb(0, 0, 0);
    background-color: white;
    text-decoration: none;
}

.discipline-tag:hover::before {
    left: 100%;
}

.constellation-viz img,
.constellation-viz svg,
.constellation-viz picture {
    max-width: 100%;
    height: auto;
}

#constellation img {
    width: 18vw;
    height: auto;
    max-width: 100%;
}

.constellation-section {
    margin-bottom: 3rem;
}


@media (max-width: 576px) {
    .start-btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
        text-align: center;
    }

    p {
        font-size: 1.2rem;
    }

    .discipline-tag {
        font-size: 0.95rem;
        margin: 1px;
    }

    .hero {
        text-align: center;
    }

    .hero-text,
    .hero-text h1 {
        text-align: center !important;
    }

    .constellation-section {
        margin-bottom: 0 !important;
    }

    #constellation img {
        width: 80vw;
    }
}


@media (min-width: 577px) and (max-width: 768px) {
    .start-btn {
        font-size: 1.1rem;
        padding: 0.9rem 2.2rem;
    }

    .discipline-tag {
        font-size: 1rem;
        margin: 2px;
    }

    #constellation img {
        width: 60vw;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .start-btn {
        font-size: 1.2rem;
        padding: 1rem 2.5rem;
    }

    .discipline-tag {
        font-size: 1.1rem;
    }

    #constellation img {
        width: 28vw;
    }
}

@media (min-width: 1200px) {
    .start-btn {
        font-size: 1.3rem;
        padding: 1.1rem 3rem;
    }

    .discipline-tag {
        font-size: 1.2rem;
    }

    #constellation img {
        width: 18vw;
    }
}