/*!
 * FIle CSS per classi CUSTOM 
 * Da utilizzare per aggiungere classi una volta online o per cose che non modificanno Bootstrap
 * 
 */

/* EXTRA 
--------------------------------------------------*/

html {
    scroll-timeline: --page-scroll block;
}

.form-check-label, legend {
    color:#ffffff!important
}

:root {
    --height-menu: 105px;
    --screen-h: calc(100vh - var(--height-menu));

    /* Button */
    --btn-radius: 10px;
    --btn-padding: 10px 25px;
    --btn-font-size: 20px;
    --btn-font-weight: 400;

    /* Footer Color */
    --bg-footer: var(--bs-primary);
    --text-footer: #ffffff;

    /* Colori header */
    --header-color: #000000;
    --bb-h1-color: var(--header-color) !important;
    --bb-h2-color: var(--header-color) !important;
    --bb-h3-color: var(--header-color) !important;
}

#scroll-top {
    display: none;

    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;

    border-radius: 50%;
    border: var(--bs-primary) solid 2px;
    background-color: transparent;
    color: var(--bs-primary);
    font-size: 20px;

    padding: 4px 10px;

    transition: all 0.5s;
}

.side-menu a {
    color: black !important;
    cursor: pointer;

    &:hover {
        color: var(--bs-primary) !important;
    }
}

@media (max-width: 564px) {
    .sticky-top {
        position: relative;
    }

    :root {
        --height-menu: 0;
    }
}

@keyframes grow-progress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

#progress {
    position: fixed;
    left: 0;
    top: var(--height-menu);
    width: 100%;
    height: 0.5em;
    background: var(--bs-secondary);

    transform-origin: 0 50%;
    animation: grow-progress auto linear;
    animation-timeline: --page-scroll;
    z-index: 2;
}

.search-icon {
    color: white;
    font-size: 1.2rem;
    margin-left: 5px;
}

/* Dark mode switch */

.switch {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.switch .light {
    background-color: rgb(235, 245, 255);
}

.switch .dark {
    background-color: rgb(24, 24, 24);
    display: none;
}

.switch .dark,
.switch .light {
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.switch .dark::before,
.switch .light::before {
    font-size: 20px;
    display: block;
}

.switch:hover .light {
    background-color: rgb(24, 24, 24);
    color: rgb(235, 245, 255);
}

.text-animate {
    font-size: 10vw;
    color: transparent;
    -webkit-text-stroke: 2px #000000;
}

.number-counterup {
    text-align: center;
    font-size: 5rem;
}

@media (max-width: 768px) {
    .number-counterup {
        font-size: 3rem;
    }
}

/* FONT 
--------------------------------------------------*/



/* latin-ext */
@font-face {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 100 900;
    src: local(font/Inter-VariableFont_wght);
}

@font-face {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 100 900;
    src: local(font/Inter-Italic-VariableFont_wght);
}

@font-face {
    font-family: 'Funnel Display', sans-serif;
    font-style: normal;
    font-weight: 300 800;
    src: local(font/FunnelDisplay-VariableFont_wght);
}


h1,
.h1 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
}

h2,
h3,
h4,
h5,
h6,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Funnel Display", sans-serif;
    font-weight: 600;
}

body {
    font-family: "Inter", sans-serif;
}

.alt-text {
    font-family: "Inter", sans-serif;
}

a {
    font-family: "Inter", sans-serif;
    color: white;
    font-weight: 500;
}

a:hover {
    font-family: "Inter", sans-serif;
    color: #EFE01E;
    font-weight: 500;
}

/* HEADER 
--------------------------------------------------*/

/* animate */

header {
    transition: all 1s;
    position: static;
    z-index: 99;
}

header.animate-fade-in {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 99;
    transform: translateY(-10px);
    animation: header-animation 1s ease forwards;
}

@keyframes header-animation {
    from {
        transform: translateY(-100px);
    }

    to {
        transform: translateY(0);
    }
}

/* transparent */

.transparent-header {
    position: fixed;
    width: 100%;
}

.transparent-header nav {
    background: transparent !important;
}

/* animate-transparent */

.animate-transparent-header {
    position: absolute;
    width: 100%;
}

.animate-transparent-header nav {
    background: transparent !important;
}

.animate-transparent-fade-in {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
    transform: translateY(-10px);
    animation: header-animation 1s ease forwards;
    background: var(--bs-primary);
}

/* Fade In elements 
------------------------------------------------- */

.fade-in-right,
.fade-in-left,
.fade-in-top,
.fade-in-bottom {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    will-change: opacity, transform;
}

.fade-in-right {
    transform: translateX(100%);
}

.fade-in-left {
    transform: translateX(-100%);
}

.fade-in-top {
    transform: translatey(-100%);
}

.fade-in-bottom {
    transform: translatey(100%);
}

.fade-in-zoom {
    transform: scale(0);
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-zoom.visible {
    transform: scale(100%);
    opacity: 1;
}

.fade-in-left.visible,
.fade-in-right.visible,
.fade-in-top.visibile,
.fade-in-bottom.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* BLOG 
--------------------------------------------------*/

.tag-field .field {
    margin: 0;
}

.tag-field .field__items li {
    padding: 0 5px !important;
    margin: 0 3px;
    background-color: var(--bs-secondary);
    border-radius: 5px;
}

/* HOME 
--------------------------------------------------*/

/* Carousel home */

.slick-track {
    text-align: inherit !important;
}

.carousel-home {
    overflow: hidden;
}

.carousel-home .carousel-child {
    position: relative;
}

.carousel-home .text-carousel {
    text-align: center;
    height: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-home .slick-slide img {
    width: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

.carousel-home .slick-slide img,
.carousel-home .slick-slide,
.carousel-home .carousel-child {
    height: calc(100vh - var(--height-menu)) !important;
}

.carousel-home .slick>div {
    margin: 0 !important;
}

@media (max-width: 564px) {

    .carousel-home .slick-slide img,
    .carousel-home .slick-slide,
    .carousel-home .carousel-child {
        height: 50vh !important;
    }
}

/* Carousel single text */

.carousel-home-single-text {
    overflow: hidden;
}

.carousel-home-single-text .single-text {
    position: absolute;
    z-index: 2;
    right: 0;
    width: 50%;
    padding: 30px;
    background-color: rgba(240, 255, 255, 0.466);
}

.carousel-home-single-text .carousel-child {
    position: relative;
}

.carousel-home-single-text .slick-slide img {
    width: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

.carousel-home-single-text .slick-slide img,
.carousel-home-single-text .slick-slide,
.carousel-home-single-text .carousel-child,
.carousel-home-single-text .single-text {
    height: calc(100vh - var(--height-menu)) !important;
}

.carousel-home-single-text .slick>div {
    margin: 0 !important;
}

@media (max-width: 564px) {

    .carousel-home-single-text .slick-slide img,
    .carousel-home-single-text .slick-slide,
    .carousel-home-single-text .carousel-child,
    .carousel-home-single-text .single-text {
        height: 50vh !important;
    }
}

/* Arrow carousel */

.slick-prev.slick-arrow::before {
    content: "\f060" !important;
    font-family: "FontAwesome" !important;
}

.slick-next.slick-arrow::before {
    content: "\f061" !important;
    font-family: "FontAwesome" !important;
}

.slick-arrow {
    height: auto !important;
    width: auto !important;
    background-color: var(--bs-secondary) !important;
    border-radius: 0 !important;
    padding: 30px 5px !important;

    &:hover {
        filter: brightness(0.8) !important;
    }
}

.slick-arrow::before {
    color: var(--bs-primary) !important;
    opacity: 1 !important;
}

/* Parallax */

.parallax-container {
    background-image: url(/sites/default/files/images/sfondo-parallasse-test.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    padding: 30px 0;
}

/* .parallax-title {
    position: sticky;
    top: var(--height-menu);
    z-index: 2;
} */

.parallax-title h2 {
    padding: 10vh 0;
    font-size: 10vw;
    text-align: center;
    color: #ffffff;
    text-shadow: #0000006a 0 1px 30px;
}

.container-child {
    display: flex;
    flex-direction: column;
    row-gap: 30vh;
}

.parallax-child {
    position: sticky;
    top: 30vh;
    z-index: 0;
    padding: 10vh 0;
}

.parallax-child .row {
    padding: 50px 30px;
    background-color: #000000;
    color: #ffffff;

    border-radius: 30px;
}

.parallax-child h3 {
    text-align: center;
    font-size: 10rem;
}

@media (max-width: 768px) {
    .parallax-child .row {
        padding: 3vh 0;
    }

    .parallax-child {
        position: sticky;
        top: 10vh;
    }
}

/* Carousel */

/*
--------------------------------------------------*/

.cover-img::after {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0, 0.3);
    z-index: -1;
}

/*
--------------------------------------------------*/

.form-box {
    background: rgba(255, 255, 255, 0.527);
   color: white ;
   border: transparent;
   border-radius: 10px;
margin-top: 5px;

}

.button-blu,
a.button-blu {
    background-color: #07344D;
    color: white;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 25px;
    padding-right: 25px;
    text-decoration: none;
    border: transparent;
    border-radius: 10px;
    font-weight: 600;
}

.button-blu:hover,
a.button-blu:hover {
    background-color: #07344D;
    color: white;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 25px;
    padding-right: 25px;
    text-decoration: none;
    border: transparent;
    border-radius: 10px;
    font-weight: 600;
}

.button-giallo,
a.button-giallo {
    background-color: #EFE01E;
    color: #07344D;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 25px;
    padding-right: 25px;
    text-decoration: none;
    border: transparent;
    border-radius: 10px;
    font-weight: 600;
}

.button-giallo:hover,
a.button-giallo:hover {
    background-color: #EFE01E;
    color: #07344D;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 25px;
    padding-right: 25px;
    text-decoration: none;
    border: transparent;
    border-radius: 10px;
    font-weight: 600;
}


.sfondo-img {
  background-image: url(/sites/default/files/images/ready-to-shine-candida-la-tua-startup-polo-innovativo-18-settembre-2025.webp);
    background-size: cover;
    background-repeat: no-repeat;

}

.ready-logo {
  width: 300px;
  height: auto;
  align-items: center;
  display: block;
  margin: auto;
}