#digilex {
    font-size: 0.9375rem;
    color: #333333;
    line-height: normal;
    display: flex;
    flex-direction: column;
    row-gap: 8rem;
    align-items: center;
    margin: 120px auto 0;
    overflow-x: clip;
}

#digilex [class^="container"] > div[id] {
    row-gap: 4rem;
    scroll-margin-top: calc(80px + 2.5rem);
}

#digilex svg {
    overflow: visible;
}

#digilex .header {
    text-align: center;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1.5rem;
    margin: 0 auto;
}

#digilex .header img {
    height: 5rem;
}

#digilex .header .coming-soon {
    color: #666666;
    font-weight: bold;
    height: 2rem;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 9999px;
}

#digilex .screenshot2 {
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#digilex .screenshot3 {
    position: relative;
    justify-content: center;
    align-self: flex-start;
}

#digilex .screenshot3::before {
    content: "";
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: -10;
    background-repeat: no-repeat;
    background-size: cover;
}

#digilex .hero::before {
    content: "";
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 690;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: -10;
    background-image: url("/assets/digilex/hero-background-illustration.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

#digilex .hero .content2 {
    display: flex;
    align-items: center;
}

#digilex .hero .content2 .helper {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

#digilex .hero .illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

#digilex .hero .illustration svg {
    width: 100%;
    max-width: 28rem;
}

#digilex .in-page-navigation {
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

#digilex .in-page-navigation .list {
    display: grid;
    column-gap: 2.5rem;
}

#digilex .in-page-navigation .list .item {
    font-weight: bold;
    height: 3.5rem;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    border-top: 1px solid #e5e5e5;
    cursor: pointer;
}

#digilex .in-page-navigation .list .item:hover {
    color: #0083db;
}

#digilex .digital-signatures svg {
    height: 12rem;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -10;
    display: none;
}

#digilex .digital-signatures .content2 {
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;;
}

#digilex .digital-signatures .screenshot2 {
    position: relative;
    display: none;
    background-image: url("/assets/digilex/pond-1.svg");
}

#digilex .digital-signatures .screenshot2 svg {
    left: calc(100% - 4rem);
    top: 50%;
    transform: translateY(-50%);
}

#digilex .partner {
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
    align-items: center;
}


#digilex .student-journal .accordion .accordion-item {
    font-weight: bold;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid #e5e5e5;
    cursor: pointer;
}

#digilex .student-journal .accordion .accordion-item .helper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#digilex .student-journal .accordion .accordion-item .helper .icon-button {
    color: #666666;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 9999px;
}

#digilex .student-journal .accordion .accordion-item .expand-content {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
}

#digilex .student-journal .accordion .accordion-item .expand-content img {
    align-self: center;
}

#digilex .student-journal .screenshot2 {
    display: none;
    background-image: url("/assets/digilex/pond-2.svg");
}

#digilex .employee-journal .screenshot2 {
    display: none;
    background-image: url("/assets/digilex/pond-3.svg");
}

#digilex .employee-journal .content2 {
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

#digilex .employee-journal .content2 .section2 {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

#digilex .minutes-and-business-management .screenshot3 {
    display: none;
}

#digilex .minutes-and-business-management .screenshot3::before {
    background-image: url("/assets/digilex/pond-4.svg");
}

#digilex .file-management .screenshot3 {
    display: none;
}

#digilex .file-management .screenshot3::before {
    background-image: url("/assets/digilex/pond-5.svg");
}

#digilex .file-management .content2 {
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

#digilex .journal-life-cycle .content2 {
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

#digilex .journal-life-cycle .expand-content {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

#digilex .journal-life-cycle .expand-content .table2 {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
}

#digilex .journal-life-cycle .expand-content .table2 .row2 {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
}

#digilex .journal-life-cycle .expand-content .table2 .row2 span:nth-child(1) {
    font-weight: bold;
}

#digilex .journal-life-cycle .flow-diagram {
    overflow-x: auto;
}

#digilex .journal-life-cycle .flow-diagram img {
    min-width: fit-content;
    min-height: fit-content;
}

#digilex .contact {
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
    padding: 2.5rem;
}

@media screen and (min-width: 992px) {
    #digilex .header  {
        width: 50%;
    }

    #digilex .header p {
        width: 80%;
    }

    #digilex .hero .content2 .helper {
        row-gap: 2rem;
    }

    #digilex .in-page-navigation .list {
        grid-template-rows: repeat(3, auto);
        grid-auto-flow: column;
    }

    #digilex .digital-signatures svg {
        display: block;
    }

    #digilex .digital-signatures .screenshot2 {
        display: flex;
    }

    #digilex .student-journal .accordion .accordion-item img {
        display: none;
    }

    #digilex .student-journal .screenshot2 {
        display: flex;
    }

    #digilex .employee-journal .screenshot2 {
        display: flex;
    }

    #digilex .minutes-and-business-management .screenshot3 {
        display: flex;
    }

    #digilex .file-management .screenshot3 {
        display: flex;
    }

    #digilex .journal-life-cycle .content2 > *:not(.flow-diagram) {
        margin: 0 10%;
    }

    #digilex .journal-life-cycle .flow-diagram img {
        min-width: 0;
        min-height: 0;
    }
}
