html,
body {
    height: 100%;
    margin: 0;
}

[x-cloak] {
    display: none !important;
}

.form-control-lg {
    font-size: 1rem !important;
    padding: 0.8rem 1rem !important;
}

.top-50 {
    transform: translateY(-50px);
}

.dynamic-width-50 {
    width: 50% !important;
}

@media screen and (max-width: 768px) {
    .dynamic-width-50 {
        width: 100% !important;
    }

    .col-12.stacked-middle-rounded-top {
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }
}

.highlight {
    color: var(--bs-secondary) !important;
    font-weight: bold !important;
    border-radius: 18px;
    transition: background-color 0.3s, color 0.3s;
}

.frame {
    position: relative;
    border-left: 3px solid #C59D5F;
    padding-left: 1rem;
}

.frame::before,
.frame::after {
    content: "";
    position: absolute;
    height: 2px;
    background: #C59D5F;
    left: 0;
    right: 0;
}

.frame::before {
    top: 0;
    right: 30%;
}

.frame::after {
    bottom: 0;
}

.bg-balanza-compartido {
    width: 100%;
    height: 350px;
    background-image: url('../images/shared/top-hero-balanza.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-color: rgba(0, 0, 0, 0.5);
    background-size: cover;
    transition: opacity 0.5s ease-in-out;
}

.bg-hero-titulo {
    width: 100%;
    height: 350px;
    background-repeat: no-repeat;
    background-position: right center;
    background-color: var(--bs-secondary);
    background-size: cover;
    transition: opacity 0.5s ease-in-out;
}


.link-item {
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.link-item i,
.link-item span {
    transition: color 0.2s;
}

.link-item:hover {
    background-color: #1E3A8A;
    color: var(--bs-light);
}

.link-item:hover i,
.link-item:hover span {
    color: var(--bs-light);
}

.list-item {
    position: relative;
    cursor: pointer;
    transition: color 0.3s, background-color 0.3s;
    overflow: hidden;
}

.list-item:hover {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.list-item p {
    display: inline-block;
    color: var(--bs-light) !important;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-item:hover p {
    color: var(--bs-primary) !important;
    transform: translateX(10px);
}

.list-item .arrow-circle {
    width: 2.5rem;
    height: 2.5rem;
    transition: background-color 0.3s, transform 0.3s;
}

.list-item .arrow-circle svg {
    transition: transform 0.3s;
}

.list-item:hover .arrow-circle {
    background-color: var(--bs-primary) !important;
    transform: rotate(30deg);
}

.list-item:hover .arrow-circle svg {
    color: var(--bs-light);
}

.logo-img {
    transition: transform 0.3s, filter 0.3s;
}

.list-item:hover .logo-img {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(54%) sepia(9%) saturate(1879%) hue-rotate(4deg) brightness(94%) contrast(92%);
}