:root {
    --background-color-light: #ffffff;
    --text-color-light: #000000;
    --background-color-dark: #121212;
    --text-color-dark: #ffffff;
}

@import url('https://fonts.cdnfonts.com/css/rawline');

* {
    font-family: 'Rawline', sans-serif;
}

body {
    background-color: var(--background-color-light);
    color: var(--text-color-light);
    font-family: 'Rawline', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Rawline', sans-serif;
}

.header-hero {
    position: relative;
}

.background-hero {
    margin-top: 80px;
    background-color: #E6EEF5;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;

    position: relative;
    z-index: 2;
}

.texture-regua-repo {
    width: 100%;
    height: 200px;
    position: absolute;
    bottom: -100px;
    left: 0;
    z-index: 1;
    background-image: url("../../assets/images/textura-regua.svg");
    background-repeat: repeat-x;
}

.texture-repo {
    background-image: url("../../assets/images/textura.svg");
    background-position: top left;
    background-repeat: no-repeat;
}

.repo-btn {
    padding: 12px;
    border-radius: 8px;
    background-color: #183EFF;
    box-shadow: 0px 0px 10px 0px #00000040;

    color: #FFFFFF;
    font-weight: 700;
    font-style: Bold;
    font-size: 14px;
    vertical-align: middle;
}

.logo-hero {
    width: 100%;
    text-align: center;
    margin-top: 84px;
    margin-bottom: 64px;
}

.logo-hero h1 {
    font-weight: 800;
    text-align: right;
    color: #324798;
}

.break-url {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

@media (max-width: 1200px) {
    .logo-hero h1 {
        text-align: center;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .logo-hero {
        flex-direction: column;
    }
}

.search-container {

    border-radius: 25px;
    box-shadow: 0px 0px 4px 2px #0000001A;
}

.input-container {
    margin-top: 8px;
    margin-bottom: 64px;

    svg {
        fill: #000000;
        margin-left: 16px;
        scale: 1.5;
    }

    span {
        font-weight: 600;
        font-size: 18px;
        color: #000000;
        margin-left: 12px;
    }

    a {
        font-weight: 500;
        font-style: Medium;
        font-size: 14px;
        text-decoration: none;
        color: #626262 !important;
    }
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    border-radius: 25px 0 0 25px;
    background: #fff;
    font-size: 16px;
    height: 48px;
    box-shadow: 0px 0px 4px 2px #0000001A;
}

.search-button {
    width: 85px;
    height: 48px;
    border: none;
    cursor: pointer;
    background: #324798;
    border-radius: 0 25px 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 4px 2px #0000001A;
}

.search-button svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.custom-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.actions-container {
    margin-bottom: -41px;
}

.action {
    height: 84px;
    color: #fff;

    position: relative;
    padding: 12px 30px;
    border-radius: 20px;

    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.action+.action {
    margin-left: -35px;
}

.action-objeto {
    background: #526FFF;
    z-index: 4;
}

.action-curso {
    background: #FFCF00;
    color: #324798;
    z-index: 3;

    svg {
        fill: #324798;
    }
}

.action-producao {
    background: #324798;
    z-index: 2;

    span {
        margin-top: 4px;
    }
}

.action-tcc {
    background: #FF7A00;
    z-index: 1;
}

.section-container {
    margin-top: 40px;
    border-radius: 20px;
}

.section-headline {
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    text-align: center;
    color: #000000;
}

.card-repo {
    border-radius: 20px !important;
}

.courses-cards,
.objetos-cards,
.producao-cards,
.tcc-cards {
    .row {
        width: 100%;
    }
}

.card-repo-rotate {
    position: absolute;

    width: 100%;
    height: 175px;

    border-radius: 20px;

    transition: transform 0.3s ease-in-out;
}

.card-repo:hover .card-repo-rotate {
    transform: rotate(-4deg);
}

.card-repo-body {
    width: 100%;
    height: 175px;

    border-radius: 20px;
    background-color: #FFFFFF;

    z-index: 1;
}

.card-repo-icon-container {
    width: 118px;
    height: 100%;

    border-radius: 20px 0 0 20px;
}

.card-repo-content {
    flex: 1;
}

.card-type {
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    vertical-align: middle;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-type-border {
    padding: 8px 12px;
    border-bottom: 1px solid #CCDDEB;

    >div {
        width: 16px;
        height: 16px;
        display: flex;
        margin-right: 8px;
    }

    svg {
        width: 100%;
        height: 100%;
    }
}

.search-card-type {
    width: 40px;
    height: 40px;
    padding-top: 8px;
    display: flex;

    svg {
        width: 100%;
        height: 100%;
    }
}

.card-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    color: #000000;
    padding-left: 12px;
    padding-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-file-title {
    padding-right: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3rem;
    min-height: calc(1.3rem * 3);
}

.card-text {
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    color: #626262;
    padding-left: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.1rem;
    min-height: calc(1.1rem * 3);
}

.card-detail {
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    color: #626262;
    padding-left: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-file-detail-container {
    padding-left: 12px;
}

.objetos-cards {
    margin-top: 124px;
    background-color: #FFFFFF;

    .card-repo-rotate {
        background-color: #00CF00;
    }

    .card-repo-icon-container {
        background: #526FFF;
    }
}

.courses-cards {
    padding-top: 24px;
    background-color: #E6EEF5;

    .card-repo-rotate {
        background-color: #324798;
    }

    .card-repo-icon-container {
        background: #FFCF00;
    }

    .card-repo-icon-container svg {
        fill: #324798;
    }
}

.producao-cards {
    padding-top: 24px;
    background-color: #FFFFFF;

    .card-repo-rotate {
        background-color: #FF7A00;
    }

    .card-repo-icon-container {
        background: #324798;
    }
}

.tcc-cards {
    padding-top: 24px;
    background-color: #E6EEF5;

    .card-repo-rotate {
        background-color: #324798;
    }

    .card-repo-icon-container {
        background: #FF7A00;
    }
}

.about-texture {
    background-image: url("../../assets/images/textura-regua.svg");
    background-repeat: repeat-x;
    background-position: bottom left;
    padding-bottom: 56px;
}

.about-container {
    width: 100%;
    height: 142px;
    margin-top: 81px;
    background-color: #E6EEF5;
    border-bottom-right-radius: 80px;
    border-bottom-left-radius: 80px;
}

.about-title,
.search-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    text-align: center;
    color: #324798;
    text-transform: uppercase;
}

.about-card {
    border-radius: 48px;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 19.5px 2px #00000026;
    padding: 40px;
    margin-top: 56px;
}

.about-text {
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #000000;
}

.about-text h2,
.about-text h4 {
    font-weight: 700;
}

.about-text h5 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.about-text ul {
    margin-bottom: 16px;
}

.about-text li {
    margin-bottom: 8px;
}

.credits-section {
    margin-bottom: 32px;
}

.credits-section:last-child {
    margin-bottom: 0;
}

.credits-text h2 {
    margin-bottom: 24px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.credits-heading {
    color: #1F337C;
}

.credits-person {
    margin-bottom: 20px;
}

.credits-person p {
    margin-bottom: 4px;
}

.credits-role {
    color: #6C757D;
    font-style: italic;
}

.object-title {
    div {
        padding-left: 16px;
    }

    span {
        font-weight: 500;
        font-style: Medium;
        font-size: 14px;
        color: #000000;
    }

    h2 {
        font-weight: 600;
        font-style: SemiBold;
        font-size: 24px;
        color: #000000;
    }
}

.about-btn-container {
    margin-top: 24px;
    margin-bottom: 32px;
}

.about-btn {
    width: 212px;
    text-decoration: none;
}

.download-btn {
    margin-left: 16px;
    background-color: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;

    span,
    p {
        font-size: 14px;
        margin-bottom: 2px;
    }

    span {
        font-weight: 700;
        font-style: Bold;
        color: #324798;
    }

    p {
        font-weight: 500;
        font-style: Medium;
        color: #000000;
    }
}

.about-content-btn,
.return-btn,
.repo-search-btn {
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    vertical-align: middle;
    box-shadow: 0px 0px 4px 0px #00000040;
}

.about-content-btn {
    color: #324798;
    background-color: #E6EEF5;
    padding-left: 30px;
    padding-right: 30px;
    margin-right: 16px;
}

.return-btn {
    color: #324798;
    background-color: #FFFFFF;
}

.search-hero-container {
    background-color: #E6EEF5;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    margin-top: 85px;
    padding-top: 36px;
    padding-bottom: 36px;
}

.search-input-complete {
    border-radius: 25px;
    box-shadow: 0px 0px 4px 2px #0000001A;
}

.search-input::placeholder,
.search-input-complete::placeholder {
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #626262;
    opacity: 1;
}

.search-subtitle {
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    color: #324798;
    margin-top: 20px;
    margin-bottom: 16px;
}

.search-hero-select {
    height: 48px;
    padding: 10px 15px;
    border-radius: 12px;
    background-color: #FFFFFF;
    border: 1px solid #E0E5EB;
    box-shadow: 0px 0px 4px 2px #0000001A;

    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #626262;
}

.active-filter-row {
    display: grid;
    grid-template-columns: 3fr 2fr 7fr;
    column-gap: 16px;
    align-items: stretch;
    margin-bottom: 16px;
}

.active-filter-value {
    display: flex;
    gap: 16px;
    width: 500px;
}

.active-filter-input {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .search-hero-select {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .active-filter-row {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .active-filter-value {
        gap: 12px;
    }
}

.search-button-plus,
.search-view-btn {
    background-color: #CCDDEB;
    color: #324798;
}

.search-clean-btn {
    background-color: #FF7A00;
    color: #FFFFFF;
    margin-left: 16px;
}

.more-button-container {
    margin-top: 16px;
    margin-bottom: 40px;

    span {
        color: #324798;
        font-size: 16px;
    }

    svg {
        fill: #324798;
    }
}

.counter-container {
    display: flex;
    flex-direction: column;
    padding: 36px 0;

    span:first-of-type {
        font-weight: 600;
        font-size: 48px;
        text-align: center;
        color: #526FFF;
    }

    span:last-of-type {
        font-weight: 600;
        font-size: 24px;
        text-align: center;
        color: #000000;

        word-break: break-word;
    }
}

.item-search {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px 30px;
    border-radius: 28px;
    border: 1px solid #E5E5E5;
    display: flex;
    flex-direction: row;

    svg {
        margin-right: 24px;
    }
}

.item-search-content {
    width: 100%;

    .card-type {
        font-weight: 500;
        font-size: 15px;
    }

    .card-title {
        font-weight: 700;
        font-size: 16px;
        padding: 0;
        margin-bottom: 16px;
    }

    .card-text {
        font-weight: 500;
        font-size: 15px;
        padding: 0;
        margin: 0;
        -webkit-line-clamp: 4;
        color: #000000;
        padding-top: 12px;
        border-top: 1px solid #E5E5E5;
    }

    .card-detail {
        font-weight: 500;
        font-size: 12px;
        padding-left: 0;
    }

    .card-date {
        font-weight: 400;
        font-size: 15px;
        text-align: right;
        margin-bottom: 16px;
    }
}

.filter-container {
    border: 1px solid #BDBDBD;
    border-radius: 12px;

    .filter-title {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        padding: 16px;

        font-weight: 700;
        font-size: 16px;
    }

    .repo-form-check-custom {
        display: none;
    }

    .repo-form-label {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border: 1px solid #ccc;
        cursor: pointer;
        transition: 0.2s;

        span:last-of-type {
            font-weight: 500;
            font-size: 12px;
            text-align: right;
            color: #626262;
        }
    }

    .repo-form-check-custom:checked+.repo-form-label {
        background-color: #FFCF00;
        color: black;
        border-color: #d4d4d4;
    }

    div:last-child .repo-form-label {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
}

.title-color-collection {
    background-color: #00CF00;
}

.title-color-area {
    background-color: #FFCF00;
}

.title-color-type {
    background-color: #FF7A00;
}

.title-color-year {
    background-color: #526FFF;
    color: #FFFFFF;
}

.dark-mode {
    background-color: var(--background-color-dark);
    color: var(--text-color-dark);

    #page-topbar,
    #accessibility-bar,
    .navbar,
    .nav-link,
    .keyboard-options a,
    .accessibility-options a,
    .container,
    .footer,
    .footer .container,
    .footer .container span,
    .about-title,
    .about-container,
    .about-card,
    .about-text,
    .background-hero,
    .action,
    .courses-cards,
    .objetos-cards,
    .producao-cards,
    .tcc-cards,
    .section-headline,
    .more-button-container span,
    .card-repo-body,
    .card-repo-icon-container,
    .card-title,
    .card-text,
    .counter span,
    .search-hero-container,
    .search-title,
    .new-filter-title,
    .search-results__toolbar {
        background-color: var(--background-color-dark);
        color: var(--text-color-dark);
    }

    .alphabet-list,
    .alphabet-list button,
    .alphabet-list input,
    .alphabet-list span,
    .search-results__pagination,
    .search-results__pagination span {
        background-color: var(--background-color-dark);
        color: var(--text-color-dark);
    }

    .search-results__pagination span {
        border-color: #ffffff;
    }

    .search-result-card,
    .accessibility-number,
    .repo-search-btn,
    .navbar-nav .nav-item .active {
        background-color: var(--background-color-light);
        color: var(--text-color-light);
    }

    .navbar-nav .nav-item .active,
    .search-results__pagination-active,
    .filter-container :first-child {
        background-color: var(--background-color-light) !important;
        color: var(--text-color-light) !important;
    }

    #accessibility-bar a:hover,
    .nav-link:hover {
        color: var(--text-color-dark) !important;
        text-decoration: underline;
    }

    .search-results__toolbar {
        border: 2px solid #ffffff;
    }

    .card-repo-rotate {
        background-color: #ffffff;
    }

    .action,
    .card-repo-body {
        border: 2px solid #ffffff;
    }

    .card-repo-icon-container {
        border-right: 1px solid #ffffff;
    }

    .action-curso svg,
    .more-button-container svg,
    .card-repo-content svg,
    .browse-input svg {
        fill: #ffffff;
    }

    .browse-input input {
        border-bottom: 2px solid #ffffff;
    }

    .courses-cards {
        & .card-repo-icon-container svg {
            fill: #ffffff;
        }
    }

    .search-button {
        background-color: #000000;
    }

    .input-container div {
        svg {
            fill: #ffffff;
            color: #ffffff;
        }

        span {
            color: #ffffff;
        }
    }

    .texture-repo {
        background-image: none;
    }
}

.production-team-indent {
    margin-left: 1.5rem;
}