@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter.ttf") format("truetype");
}

:root {
    --bs-gradient-primary: linear-gradient(90deg, var(--bs-primary-dark) 0%, var(--bs-primary) 100%);
    --bs-primary-dark: #b20a11;
    --bs-primary-dark-rgb: 178, 10, 17;
    --bs-primary: #c30b22;
    --bs-primary-rgb: 195, 11, 34;
    --bs-font-sans-serif: "Inter", sans-serif;
}

a {
    --bs-link-color: var(--bs-primary);
    --bs-link-color-rgb: var(--bs-primary-rgb);
    --bs-link-hover-color: var(--bs-primary-dark);
    --bs-link-hover-color-rgb: var(--bs-primary-dark-rgb);
}

.navbar.bg-light {
    position: relative;
    overflow: hidden;
}

.navbar.bg-light > * {
    position: relative;
    z-index: 2;
}

.navbar.bg-light:after {
    background: url(../images/structure.webp), linear-gradient(135deg,rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 1) 50%) !important;
    background-blend-mode: screen;
    background-size: cover !important;
    background-position: center !important;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    opacity: 0.25;
    filter: grayscale(100%);

}

.card.bg-light {
    position: relative;
    overflow: hidden;
}

.card.bg-light:after {
    background: url(../images/structure.webp) rgba(var(--bs-light-rgb),var(--bs-bg-opacity));
    background-blend-mode: multiply;
    background-size: cover;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    opacity: 0.25;
    filter: grayscale(100%);
}

.card.bg-light > * {
    position: relative;
    z-index: 2;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary-dark);
    --bs-btn-hover-border-color: var(--bs-primary-dark);
}

.navbar-brand img {
    height: 2rem;
}

.hero {
    overflow: hidden;
    position: relative;
}

.hero:before {
    background: url(../images/maincubes.webp);
    background-position: center;
    background-size: cover;
    content: "";
    filter: blur(2px);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -2;
}

.hero:after {
    background: var(--bs-gradient-primary);
    content: "";
    height: 100%;
    left: 0;
    mix-blend-mode: darken;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
}

hr {
    border-color: var(--bs-border-color);
    opacity: 1;
    margin: 0 -1.5rem;
}

.provider-logo {
    filter: grayscale(100%);
    max-height: 4rem;
    max-width: 7rem;
}

.provider-logo.large {
    max-height: 6rem;
    max-width: 10rem;
}

.provider-logo.small {
    max-height: 3rem;
    max-width: 5rem;
}

.card-picture {
    position: relative;
}

.profile-picture {
    height: 30rem;
    margin-bottom: -3rem;
    margin-right: -3rem;
    margin-top: -3rem;
    z-index: 1;
}

.card-picture-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
}

.card.bg-gradient-primary, .btn-primary {
    background: var(--bs-primary);
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
}

@media (max-width: 1399px) {
    .profile-picture {
        margin-bottom: -6rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .profile-picture {
        margin-bottom: -17rem;
    }
}

@media (max-width: 991px) {
    .card.footer {
        gap: 1rem !important;
    }
    
    .card.footer * {
        justify-content: center !important;
        gap: 1rem !important;
    }

    .card:has(.profile-picture) {
        flex-direction: column-reverse !important;
    }

    .profile-picture {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0 !important;
    }

    h1 {
        font-size: 2.5rem;
    }

    body.py-5 {
        padding: 1.5rem !important;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}
