/****************************************TYPOGRAPHY ***************************************************/

body {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #ffffff; /* TESTO BASE -> BIANCO */
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
    color: #ffffff; /* TITOLI -> BIANCHI */
    font-weight: 600;
    text-transform: uppercase;
}
h1 {
    font-size: 3.998em;
}
h2 {
    font-size: 2.827em;
}
h3 {
    font-size: 1.999em;
}
h4 {
    font-size: 1.414em;
}
p {
    font-size: 1em;
    color: #ffffff; /* PARAGRAFI -> BIANCHI */
}

/* Prima sezione del sito che occupa tutta la pagina */
#introduction {
    display: flex;
    justify-content: center; /* Centra il contenuto orizzontalmente */
    align-items: center; /* Centra il contenuto verticalmente */
}

/* Animazione quando scorre la pagina */
#introduction.animate-scroll {
    transform: translateY(-100px); /* Effetto di scivolamento mentre si scorre */
    opacity: 0; /* Nascondi la sezione durante lo scorrimento */
}

/* Effetto di apparizione della sezione durante lo scorrimento */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px); /* Imposta lo spostamento iniziale */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#introduction.show-on-scroll {
    animation: fadeIn 1s ease-out forwards; /* Applica l'animazione */
}

/* Effetto per la navbar che cambia quando si scorre */
.navbar {
    background: #0f1115; /* NAVBAR UNIFORME NERA */
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scroll-down {
    background-color: #0f1115; /* resta nera in scroll */
}

.navbar {
    background-color: #0f1115; /* Colore scuro elegante */
    border-bottom: 3px solid #0f1115; /* stesso nero (invisibile) */
}

.navbar-nav li a {
    color: #ffffff !important; /* LINK NAV -> BIANCHI */
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px;
    transition: 0.3s;
}

.navbar-nav li a:hover {
    font-size: 20px;
    padding: 20px 25px;
    text-shadow: 0px 0px 6px rgba(255, 216, 77, 0.6); /* alone giallo */
    color: #FFD84D !important; /* HOVER -> GIALLO */
}

.navbar-divider {
    border-top: 2px solid #0f1115; /* nascosta sul nero */
}

.navbar {
    background-color: #23282b !important; /* niente trasparenze */
    border-color: #23282b !important;
    border: 0px;
    padding-top: 30px;
    transition: all 0.5s ease;
}
.navbar-brand {
    padding: 0;
}
.navbar-brand img {
    max-height: 50px;
}
.navbar-default .navbar-nav > li > a {
    font-family: "Montserrat", sans-serif;
    color: #ffffff; /* nav bianca */
    text-transform: uppercase;
}
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
    color: #FFD84D; /* hover giallo */
    background-color: transparent;
}
.navbar-default .navbar-nav > li > a:hover {
    color: #FFD84D;
}
.navbar-nav > li > a.btn-navbar:hover {
    color: #FFD84D;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
    color: #ffffff;
    background-color: transparent;
}
.navbar-nav > li > a.btn-navbar {
    padding-left: 40px;
    padding-right: 40px;
}
.navbar-divider {
    width: 100%;
    height: 2px;
    border: 0px;
    background-color: #ffffff;
    transition: all 0.5s ease;
}
.colored-nav {
    padding-top: 15px;
    padding-bottom: 15px;
}
.colored-nav .navbar-divider {
    display: none;
}
.cta {
    color: #ffffff;
}
.cta-btn-group {
    margin-top: 15px;
}
.cta-btn-group .btn {
    margin: 10px;
}
.btn-orange.focus,
.btn-orange:focus,
.btn-orange.active,
.btn-orange:active {
    color: #111;
    background-color: #FFD84D; /* giallo */
    border-color: #FFD84D;
}
.btn-white.focus,
.btn-white:focus,
.btn-white.active,
.btn-white:active {
    color: #111;
    background-color: #FFD84D;
    border-color: #FFD84D;
}
.btn-violat.focus,
.btn-violat:focus,
.btn-violat.active,
.btn-violat:active {
    color: #111;
    background-color: #FFD84D;
    border-color: #FFD84D;
}

/*******************************************SLIDER HOME***************************************************/

.sliding-card-with-bottom-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px; /* Limita la larghezza massima della card */
    padding: 20px;
    box-sizing: border-box;
}

img.avatar-image {
    width: 100%;
    max-width: 300px; /* Puoi cambiare questa dimensione per adattarla al meglio */
    height: auto;
    object-fit: contain;
}

.image-links img {
    width: 40px; /* Icone piccole */
    height: auto;
    margin: 10px;
}

.text-white {
    font-size: 1.1em;
    color: #ffffff !important; /* text-white davvero bianco */
}

.sliding-card-with-bottom-image .image-container img {
    max-width: 50%; /* Imposta la larghezza massima dell'immagine al 80% del suo contenitore */
    height: auto; /* Mantieni l'aspect ratio originale */
    display: flex;
    margin: 0 auto;
    padding-top: 0px;
}

.image-right-slide-bg {
    background-repeat: no-repeat !important;
    background-position-x: 100% !important;
    background-size: auto 100% !important;
    padding: 18rem 0;
}

.slider-para {
    font-size: 1.5em;
    font-family: "Montserrat", sans-serif;
    text-align: center; /* Centra il testo */
    color: #ffffff; /* bianco */
}

@media screen and (max-height: 600px) {
    .sliding-card-with-bottom-image {
        padding-top: 20px; /* Riduci il padding verticale */
    }
    .home-slider {
        min-height: auto;
    }
}

/* Per schermi più piccoli */
@media (max-width: 768px) {
    .slider-para {
        font-size: 1.2em; /* Riduce la dimensione del testo per schermi più piccoli */
    }
}

/* Per schermi molto piccoli (come telefoni) */
@media (max-width: 480px) {
    .slider-para {
        font-size: 1em; /* Ulteriore riduzione per schermi molto piccoli */
    }
}

/* Per schermi più grandi */
@media (min-width: 1200px) {
    .slider-para {
        font-size: 1.8em; /* Aumenta la dimensione del testo per schermi più grandi */
    }
}

/* Aggiungi responsività per schermi più piccoli */
@media (max-width: 768px) {
    .box-container {
        width: 100%; /* Rende il box sempre largo al 100% */
        max-width: 95%; /* Adatta meglio la larghezza per dispositivi più piccoli */
        padding: 15px; /* Diminuisce il padding su schermi piccoli */
    }
}

/* Aggiungi regole per schermi più grandi, se necessario */
@media (min-width: 1200px) {
    .box-container {
        width: 100%;
        max-width: 80%; /* Imposta una larghezza massima del 80% per schermi grandi */
        padding: 25px; /* Aumenta il padding per schermi più grandi */
    }
}

/*******************************************ELEMENT STYLES*******************************************/
.btn-orange,
.btn-violat {
    color: #111; /* testo scuro su giallo */
}
.btn-violat,
.gradient-violat {
    background-color: #0f1115; /* sezioni scure */
}

.btn-orange,
.gradient-orange {
    background-image: none;
    background-color: #FFD84D; /* giallo pieno */
    box-shadow: 0px 8px 27px 0px rgba(255, 216, 77, 0.21);
}

.btn-white,
.gradient-white {
    background-image: none;
    background-color: #0f1115; /* dismesso il bianco di fondo */
    color: #ffffff;
}
.border-none {
    border: 0px !important;
}
.btn-rounded-corner {
    border-radius: 50px;
}
.btn-video {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
}
.text-center {
    text-align: center;
}
.img-responsive {
    max-width: 100%;
}
.text-violat {
    color: #FFD84D; /* usalo come accento giallo */
}
.padding-top-bottom-120 {
    padding-top: 120px;
    padding-bottom: 120px;
}
.padding-top-bottom-90 {
    padding-top: 90px;
    padding-bottom: 90px;
}
.bg-image {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}
.margin-bottom-30 {
    margin-bottom: 30px;
}

.overflow-x-hidden {
    overflow-x: hidden;
}
.text-white {
    color: #ffffff !important; /* corretto */
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
.bg-fit {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}
.bg-image-fit-50 {
    background-repeat: no-repeat !important;
    background-position-x: 100% !important;
    background-size: 50% 100% !important;
}
.btn-navbar {
    line-height: 1;
}
.btn-link i {
    font-size: 18px;
    vertical-align: middle;
}
.btn-video {
    text-transform: uppercase;
    transition: all 0.5s ease;
}
.btn-video:hover {
    text-decoration: none;
    color: #FFD84D; /* hover giallo */
}
.btn-video:hover .icon-rounded {
    border-color: #FFD84D;
    box-shadow: 0px 8px 27px 0px rgba(255, 216, 77, 0.21);
    color: #111;
}
.btn.gradient-orange:hover {
    background-color: #e6c23d !important; /* giallo leggermente più scuro */
    background-image: none !important;
}
.btn-orange.active,
.btn-orange:active {
    color: #111;
    background-color: #FFD84D;
    border: 0px;
    border-color: transparent;
}
.btn-violat.active,
.btn-violat:active {
    color: #111;
    background-color: #FFD84D;
    border: 0px;
    border-color: transparent;
}
.btn-violat:hover,
.btn-white:hover {
    background-image: none;
    background-color: #FFD84D;
    border: 0px;
    border-color: transparent;
}

.icon-rounded {
    width: 49px;
    height: 49px;
    display: inline-block;
    border-radius: 50%;
    background-color: #ffffff;
    vertical-align: middle;
    position: relative;
    margin-right: 5px;
    transition: all 0.5s ease;
}
.icon-rounded i {
    font-size: 3rem;
    line-height: 30px;
    height: 30px;
    width: 30px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin-left: 12px;
    transition: all 0.5s ease;
}
/*******************************************BACKGROUND-STYLES****************************************/
.bg-transparent {
    background-color: transparent;
}
.max-width-100 {
    max-width: 100% !important;
}
.italic {
    font-style: italic;
}
.blog-category {
    text-transform: uppercase;
    color: #FFD84D !important; /* accento */
    font-weight: 600;
}
.margin-bottom-80 {
    margin-bottom: 80px;
}
.margin-bottom-25 {
    margin-bottom: 25px;
}
.padding-top-90 {
    padding-top: 0px;
}
.margin-top-bottom-30 {
    margin-top: 30px;
    margin-bottom: 30px;
}
.bordered-ios {
    background-color: transparent;
    border-color: #ffffff;
    border: 1px solid;
}

/*******************************************SCROLL TOP ICON*****************************************/
.display-none {
    display: none;
    transition: all 0.5s ease;
}
.scroll-top-div {
    position: fixed;
    width: 45px;
    height: 45px;
    top: calc(100vh - 70px);
    left: calc(100vw - 62px);
    cursor: pointer;
    transition: all 0.5s ease;
}
.scroll-top-icon-container {
    position: relative;
    display: table;
    width: 100%;
    height: 100%;
    background: #FFD84D; /* bottone scroll giallo */
    color: #111;
}
.scroll-top-icon-container i {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 28px;
}
/*******************************************OVERLAY*************************************************/
@media screen and (max-width: 768px) {
    .sm-padding-top-bottom-50-75 {
        padding-top: 50px;
        padding-bottom: 75px;
    }
    .testimonial-content {
        padding: 0.5rem 1rem;
    }
    .sm-display-none {
        display: none;
    }
    .image-right-slide-wraper .image-right-slide-content {
        text-align: center;
    }
    .image-right-slide-bg {
        background-image: none !important;
    }
    .image-right-slide-bg {
        padding: 4rem 15px;
    }
    .home-slider h2 {
        font-size: 1.999em;
    }
    .home-slider .slider-para {
        font-size: 1em;
    }
    .padding-top-bottom-120 {
        padding-top: 75px;
        padding-bottom: 75px;
    }
    .padding-top-bottom-90 {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .padding-top-120 {
        padding-top: 75px;
    }
    .padding-top-90 {
        padding-top: 60px;
    }
    .card-block {
        padding: 2rem;
    }
    .navbar {
        background: #0f1115; /* mobile: niente gradienti */
    }
    .navbar-divider {
        display: none;
    }
    .navbar-toggle {
        margin-top: 2px;
    }
    .logo-colored img,
    .logo-white img {
        max-height: 40px;
    }
}
@media screen and (min-width: 769px) {
    .image-right-slide-wraper {
        display: table;
        width: 100%;
    }
    .image-right-slide-wraper .image-right-slide-content {
        display: table-cell;
        vertical-align: middle;
        float: none;
    }
    .image-right-slide-wraper .image-container {
        float: none;
        display: table-cell;
    }
}

/***************************************OWL CAROUSEL ******************************************************************/

.owl-theme .owl-controls .owl-page span {
    background: #ffffff;
}
.owl-theme .owl-controls .owl-buttons div {
    font-size: 45px;
    background-color: transparent;
    color: #ffffff;
}
.home-slider .owl-controls {
    position: absolute;
    width: 100%;
    top: calc(50% - 35px);
}
.home-slider .owl-buttons {
    position: relative;
}
.home-slider .owl-prev {
    position: absolute;
    left: 0;
}
.home-slider .owl-next {
    position: absolute;
    right: 0;
}


