@font-face {
    font-family: 'UIBSans';
    src: url('../fonts/UIBsans-Regular.ttf')
}

* {
    font-family: 'UIBSans', Arial;
}

.fade-in {
    opacity: 0;
    animation: fade-in 1s ease-in-out forwards;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.select-lang {
    margin-left: 20px;
    color: white;
    font-size: 3vh;
}

.select-lang > a[href] {
    text-decoration: none;
    color: inherit;
}

/* Cuando la pantalla es mayor a 900px */
@media only screen and (min-width: 901px) {
    .banner {
        width: auto;
        max-height: 10rem;
        object-fit: contain;
        display: block;
        margin: 0 auto; /* Añadido para centrar horizontalmente */
    }

    .titol {
        font-size: 2vw;
    }

    .dropdown {
        width: 12vw;
    }

    .inici-background-logo {
        background-size: 20%;
    }
}

/* Cuando la pantalla es menor a 900px  (tablets y teléfonos inteligentes)*/
@media only screen and (max-width: 900px) {
    .banner {
        width: 95%;
        height: auto;
        object-fit: cover;
        display: block;
        margin: 0 auto; /* Añadido para centrar horizontalmente */
    }

    .titol {
        font-size: 4vw;
    }

    .dropdown {
        width: 40vw;
    }

    .inici-background-logo {
        background-size: 70%;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 767px) {
    .inici-background-logo {
        background-size: 40%;
        margin-top: 10px;
    }
}

.inici-background-logo {
    background-image: url("../media/logo/fons_trans.png");
    background-repeat: no-repeat;
    background-position: center;
}

/* main content */
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-inici {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-inici p {
    width: 100%;
    text-align: center;
}

.main-text {
    padding-top: 0;
    text-align: justify;
}

.iframe-youtube {
    aspect-ratio: 16/9;
    max-width: 100%;
    height: 30vh;
}

/* main content */


/* Menú principal logo */
.menu-mobile {
    color: white;
}

.menu-icon {
    color: white;
}

.navbar {
    background-color: #1d4780;
}

.nav-link {
    color: white;
}

.menu {
    display: flex;
    align-items: center;
}

.logo {
    flex: 1;
    padding: 10px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

/* Menú principal logo */

.position-relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

.p-3 {
    padding: 3px;
}

.p-md-5 {
    padding: 5px;
}

.m-md-3 {
    margin: 3px;
}

.text-center {
    text-align: center;
}

.test-justified {
    text-align: justify;
}

.icon-link > .bi {
    width: .75em;
    height: .75em;
}


/* Gestionat conjuntament amb */
#colaborators {
    /* max-height: 150px; */
    display: flex;
    flex-flow: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 25px;
}

#logo_colaborators{
    max-width: 220px;
}

/* C2IMPRESS */
#colaborators-c2impress {
    float: left;
}

.ue-flag {
    max-width: 50px;
}
/* C2IMPRESS */

/* Gestionat conjuntament amb */


text {
    color: white;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 0;
    padding-bottom: 5vh;
}

/* Footer */


/*
 * Custom translucent site header
 */
.site-header {
    background-color: rgba(0, 0, 0, .85);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}

.site-header a {
    color: #8e8e8e;
    transition: color .15s ease-in-out;
}

.site-header a:hover {
    color: #fff;
    text-decoration: none;
}

/*
 * Dummy devices (replace them with your own or something else entirely!)
 */
.product-device {
    position: absolute;
    right: 10%;
    bottom: -30%;
    width: 300px;
    height: 540px;
    background-color: #333;
    border-radius: 21px;
    transform: rotate(30deg);
}

.product-device::before {
    position: absolute;
    top: 10%;
    right: 10px;
    bottom: 10%;
    left: 10px;
    content: "";
    background-color: rgba(255, 255, 255, .1);
    border-radius: 5px;
}

.product-device-2 {
    top: -25%;
    right: auto;
    bottom: 0;
    left: 5%;
    background-color: #e5e5e5;
}

/*
 * Extra utilities
 */
.flex-equal > * {
    flex: 1;
}

@media (min-width: 768px) {
    /*.flex-md-equal > * {
        flex: 1;
    }*/
}

/* bootstrap template */
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    /*.bd-placeholder-img-lg {
        font-size: 3.5rem;
    }*/
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

/* bootstrap template */