@import url(global.css);
@import url(nuicron.css);

body {
    background-color: var(--background);
}

#sec1-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 250px 0 60px 0;
}

#sec2-content {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0 100px 0;
    height: fit-content;
}

#sec3-content {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0 100px 0;
}

#sec4-content {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0 100px 0;
}

#sec5-content {
    margin: 40px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0 100px 0;
}

#cats {
    display: flex;
    width: 90%;
    height: fit-content;
    justify-content: center;
    align-items: center;
}

.cat-item {
    width: 288px;
    height: 312px;
    background-color: var(--button);
    border: 2px solid var(--hover);
    border-radius: 12px;
    padding: 10px;
    margin: 15px 15px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, background-color 0.3s ease, scale 0.3s ease;
}

.cat-item:hover {
    background-color: var(--hover);
    scale: 1.02;
}

.cat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.cat-item img {
    width: 77px;
    height: 77px;
}

.cat-img-div {
    width: 100%;
    margin-top: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cat-title-div {
    max-width: 80%;
    margin: 20px auto 0 auto;
}

.cat-texts-div {
    max-width: 80%;
    margin: 20px auto 0 auto;
}

#hero-title {
    font-family: 'Assistant', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 64px;
    text-align: center;
    margin: 0;
    padding: 0;
    display: inline-block;
    background-image: linear-gradient(to right, var(--accent), var(--gradient));
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

#features {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 40px auto 0 auto;
}

.feature-item {
    max-width: 780px;
    width: 90%;
    display: flex;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    margin: 30px 0;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item h3 {
    font-family: 'Assistant', sans-serif;
    text-align: center;
    display: inline-block;
    background-image: linear-gradient(to right, var(--accent), var(--gradient));
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.feature-item-img {
    margin: 15px 20px 0 0;
    width: 92px;
    height: 92px;
}

#sec4-content-layout {
    width: 70%;
}

#cat-selector {
    width: 100%;
    display: flex;
    justify-content: center;
    /* background-color: blue; */
}

.cat-select {
    background-color: var(--button);
    padding: 8px 24px;
    border-radius: 8px;
    font-family: 'Assistant', sans-serif;
    color: var(--text);
    font-size: 12px;
    font-weight: 400;
    margin: 10px 12px;
    opacity: 0;
    width: fit-content;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, background-color 0.3s ease;
}

.cat-select.visible {
    opacity: 1;
    transform: translateY(0);
}

.cat-select:hover {
    cursor: pointer;
    background-color: var(--hover);
}

.cat-select.active {
    background-color: var(--hover);
}

.module {
    background-color: var(--button);
    border: 2px solid var(--hover);
    border-radius: 12px;
    padding: 12px 18px 24px 18px;
    margin: 10px 10px;
    height: 170px;
    width: 350px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.module.visible {
    opacity: 1;
    transform: translateY(0);
}

.module.hidden {
    display: none;
}


.module-icon {
    width: 30px;
}

#module-list {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 90%;
}

.module-tags {
    display: flex;
    margin: 20px 0 0 0;
    position: absolute;
    bottom: 20px;
}

.module-tag {
    background-color: var(--hover);
    padding: 6px 14px;
    width: fit-content;
    border-radius: 6px;
    margin-right: 14px;
    display: flex;
    gap: 6px;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}

.module-tag:hover {
    cursor: pointer;
    background-color: var(--background);
    border: 2px solid var(--hover);
}

.features-button {
    font-size: 14px;
    color: var(--text);
    font-family: "Assistant", sans-serif;
    font-weight: 400;
    padding: 15px 44px;
    border-radius: 12px;
    background-color: var(--button);
    border: 2px solid var(--hover);
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, background-color 0.3s ease-out, scale 0.3s ease-out;
    box-sizing: border-box;
    width: 273px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.features-button img {
    margin-left: 20px;
}

.features-button.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-button:hover {
    background-color: var(--hover);
    scale: 1.04;
}

@media (max-width: 1000px) {
    #cats {
        display: flex;
        width: 90%;
        height: fit-content;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .cat-item {
        width: 80%;
        height: fit-content;
        background-color: var(--button);
        border: 2px solid var(--hover);
        border-radius: 12px;
        padding: 10px 0 40px 0;
        margin: 10px 10px;
        text-align: center;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .cat-texts-div {
        max-width: 60%;
        margin: 20px auto 0 auto;
    }

    .module {
        background-color: var(--button);
        border: 2px solid var(--hover);
        border-radius: 12px;
        padding: 12px 18px 24px 18px;
        margin: 10px 10px;
        height: 170px;
        width: 350px;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    #sec4-content-layout {
        width: 90%;
    }
}

@media (max-width: 650px) {

    .cat-item {
        width: 90%;
        height: fit-content;
        border-radius: 8px;
        padding: 20px;
        margin: 8px 0;
        text-align: center;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .cat-item img {
        width: 30px;
        height: 30px;
    }

    .cat-img-div {
        width: 35px;
        max-width: none;
        margin: 0 8px 0 0;
    }

    .cat-title-div {
        width: fit-content;
        max-width: 100%;
        margin: 0;
    }

    .cat-mobile {
        display: flex;
        align-items: center;
        justify-content: left;
    }

    .cat-texts-div {
        max-width: 90%;
        text-align: left;
        margin: 18px 0 0 0;
    }

    #hero-title {
        font-size: 50px;
    }

    .feature-item {
        width: 90%;
        display: flex;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        margin: 20px 0;
    }

    .feature-item-img {
        margin: 0;
        width: 35px;
        height: 35px;
    }

    .feature-item-img img {
        margin: 13px 0 0 0;
        width: 35px;
        height: 35px;
    }

    .feature-item-texts {
        margin-left: -35px;
    }

    .feature-item h3 {
        margin-left: 50px;
        margin-top: 20px;
    }

    #cat-selector {
        width: 100%;
        display: flex;
        justify-content: center;
        /* background-color: blue; */
        flex-wrap: wrap;
    }

    #sec4-content {
        margin: 20px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0px 0 100px 0;

    }

    #sec4-content h2 {
        max-width: 90%;
        text-align: center;
    }

    #sec4-content .body-default-animated {
        max-width: 90%;

}
}