@import url('https://fonts.googleapis.com/css2?family=Ysabeau+Office:wght@300;400;500;700&display=swap');

body, html {
    height: 100%;
    margin: 0;
    background-color: black; /* Set background to black */
    font-family: 'Ysabeau Office', sans-serif;
}

.video-background {
    position: relative;
    height: 100vh; /* Full height */
    overflow: hidden;
}

/* #video-background {
    position: absolute;
    right: 0; 
    top: 0;
    min-width: 100%; 
    max-width: 100%; 
    border-left:none;
    border-right:none;
    width: auto; 
    background: black;
    z-index: 1;
} */

.center-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* Align the button to the center */
}

.ion-close-circled {
    background-color: transparent;
}
.icon-lg {
    font-size: 50px;
    line-height: 18px;
}
.icon-sx {
    padding: 10px;
    font-size: 25px;
    color:#fff;
    text-align: center;
}
.icon-xs{
    padding: 5px;
    font-size: 15px;
}

a:hover,
a:focus {
    color: #B8B8B8;
    outline: 0;
	border-style: none;
}

.navbar {
    position: absolute;
    width: 100%;
    top: 5vh; /* positions the navbar at a distance from the top equal to 10% of the viewport's height */
    z-index: 3; /* Above the video and loading image */
    background-color: rgba(255, 0, 0, 0.7); /* Black with 50% transparency */
}

.navbar.fixed-top {
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9); /* Or your desired color */
}

.video-foreground, video#myVideo, .loading-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loading-image {
    transition: opacity 1s ease-out;
    opacity: 1; /* Initially, the image is fully visible */
    z-index: 2; /* Above the video */
}

.overlay-card {
    position: absolute;
    bottom: 10px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
    z-index: 1020; /* Ensure it's above the video but below the navbar if present */
    background-color: rgba(0, 0, 0, 0.9); /* Or your desired color */
}


.bg-primary {
    background-color: rgb(0,0,0);
}

.bg-dark {
    color: #eee;
    background-color: #222;
}

.text-faded {
	color: rgba(51,51,51,0.7);
    font-weight: 300;
}

.text-red {
    color: rgba(205,53,65,1);
    font-weight: 300;
}

.text-red-h3 {
    color: rgba(205,53,65,1);
    font-weight: 400;
}

.text-dark {
    color: #111;
}

.text-primary {
    color: #fcfcfc;
}


.modal-content {
    background-color: #000000;
    text-align: center;
    /* padding: 15px 30px; */
}

.modal-content .text-center a{
    color: rgb(255,255,255);
}

.modal-content .text-center a:hover,
a:focus {
    color: #B8B8B8;
    outline: 0;
    text-decoration: none; /* Rimuove la sottolineatura */
}

.modal-content .text-center {
    color: rgb(255,255,255);
    /* font-size: 1.25em; */
}



section {
    padding: 10px 0;
}

aside {
    padding: 50px 0;
}

footer {
    padding: 50px;
    color: #757575;
}

.navbar-default {
    border-color: rgba(35,35,35,.05);
    font-family: 'Ysabeau Office', sans-serif;
    font-weight: 300;
    background-color: #222;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
}

.navbar-header > .navbar-brand {
    font-family: 'Ysabeau Office', sans-serif;
    font-weight:bold;
    font-weight: 400;
    color: #fff;
    padding: 15px;
    -webkit-transition: padding .2s ease-in;
    -moz-transition: padding .2s ease-in;
    transition: padding .2s ease-in;
}

.navbar-header > .navbar-brand:hover,
.navbar-header > .navbar-brand:focus {
    color: #fff;
    border-style: none;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #181818;
    border-style: none;
}
.navbar-default .navbar-toggle, .navbar-default .navbar-collapse {
    border-color: transparent;
}

.navbar-default .nav > li>a,
.navbar-default .nav>li>a:focus {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 400;
    color: #eee;
    border-style: none;
}

.navbar-default .nav > li>a:hover,
.navbar-default .nav>li>a:focus:hover {
    color: #fff;
    border-style: none;
}

.navbar-default .nav > li.active>a,
.navbar-default .nav>li.active>a:focus {
    color: #fff !important;
    background-color: transparent;
}

.navbar-default .nav > li.active>a:hover,
.navbar-default .nav>li.active>a:focus:hover
{
    background-color: transparent;
}

.btn.btn-primary {
    background-color: transparent;
    border:0px solid #f0f0f0;
    border-color:#f0f0f0;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.btn.btn-primary:hover {
    opacity: 0.7;
}

.custom-link {
    font-size: 20px; /* Increase the font size */
    padding: 5px 10px; /* Optional: Increase the padding */
}


.black-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* o la altezza che preferisci */
    background: linear-gradient(to bottom, transparent, black);
    z-index: 2; /* Assicurati che sia sopra il video */
}


.about-section {
    color: white; /* Imposta il colore del testo su bianco */
    font-size: 1.25em; /* Aumenta la dimensione del font */
    margin-top: 50px; /* Aumenta la distanza dal componente superiore se necessario */
}

/* Aggiungere questo al tuo file CSS */
.indent {
    text-indent: 1.5em; /* Aggiusta questo valore secondo le tue preferenze */
}

.text-muted.small {
    margin-bottom: 50px; /* Aumenta questo valore per più spazio */
}

.modal-content img.img-fluid {
    max-width: 80%; /* Riduci la larghezza massima */
    margin-left: auto;
    margin-right: auto; /* Centra l'immagine */
}


/* Custom tooltip styling */
.tooltip-inner {
    font-size: 16px; /* Increase font size */
    padding: 10px; /* Increase padding */
}

/* Optional: Increase the arrow size */
.tooltip-arrow {
    width: 10px;
    height: 10px;
}
