.content-container {
    overflow: hidden;
}
#intro .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
}
#intro h1 {
    text-shadow: 0 2px 2px #000;
}
#intro b {
    color: #fad295;
}
.box-img {
    overflow: hidden;
    height: 190px;
    border-radius: 10px;
}
.box-img img {
    border-radius: 10px;
}
.bg-soft-dark {
    border: 1px solid #0dcaf0 !important;
}
.box-img-card {
    width: 120px;
    height: 120px;
    border-radius: 100%;
    position: absolute;
    left: -14px;
    top: -20px;
    border: 3px solid #0dcaf0;
}
.box-img-card img {
    width: 100%;
    border-radius: 100%;
    object-fit: cover;
    height: 100%;
    object-position: 0;
}
.fo-1 {
    position: relative;
    padding-top: 2rem;
}
.fo-1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/img/oss-chi.png") no-repeat;
    background-position: 0 bottom;
    background-size: 90%;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}
.fo-1 > * {
    position: relative;
    z-index: 1;
}

.fo-2 {
    background: url("/img/chi.png") no-repeat;
    background-size: 800px;
    background-position: bottom right;
}
#tecno img {
    height: 40px;
}
.txt-card {
    padding-top: 100px;
}
.txt-card h5 {
    position: absolute;
    top: 25px;
    left: 130px;
}
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
    margin-bottom: .5rem;
    position: relative;
}
.section-title h3 {
    display: flex;
    background-color: #000;
    line-height: 32px;
    padding: 10px;
    z-index: 1;
    border-radius: 10px;
    margin: 0 auto;
}
.section-title::before {
    width: 100%;
    top: 10px;
    content: "";
    border: 1px solid #fff;
    position: absolute;
}
.section-title::after {
    width: 50%;
    top: 10px;
    content: "";
    border: 1px solid rgba(255,255,255,.36);
    position: absolute;
    left: 50%;
    transform: translate(-50%, 10px);
}

.text-giallo {
    color: #fad295;
}
.bg-gradient-darkviolet {
    background-image: linear-gradient(-50deg, #000 0%, #2E6898 40%, #a40778);
}

.search-interface-container {
    position: relative;
    min-height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease-in-out;
}
#search-interface {
    background: url(/img/fondo-chi.jpg) no-repeat;
    background-size: cover;
    margin: 0 -24px;
    background-position: right top;
    padding: 40px 40px 0;
    position: relative;
    z-index: 3;
}
#search-interface::before {
    content: "";
    position: absolute;
    z-index: -1;
    background-color: rgba(0,0,0,.6);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
#search-interface.results-state {
    background: none;
    margin: 0;
    border-radius: 0;
}


/* Initial centered state */
.search-interface-container.initial-state {
    /*justify-content: center;*/
    /*align-items: center;*/
}

#observatory h2 {
    position: relative;
    display: inline-block;
    left: 50%;
    translate: -50%;
}
#observatory h2::before {
    content: "";
    position: absolute;
    left: -110px;
    background: url("/img/linea.png") no-repeat;
    width: 100px;
    height: 35px;
    z-index: 5;
    background-size: contain;
    top: 16px;
}
#observatory h2::after {
    content: "";
    position: absolute;
    right: -110px;
    background: url("/img/linea.png") no-repeat;
    width: 100px;
    height: 35px;
    z-index: 5;
    background-size: contain;
    top: 16px;
    transform: rotateY(180deg);
}



/** SWIPER **/

#values-swiper .card {
    overflow: hidden;
}
#values-swiper { overflow: hidden; }
#values-swiper .swiper-wrapper { align-items: stretch; }
#values-swiper .swiper-slide {
    width: auto;
    height: auto;
}
.values-card {
    max-width: 420px;
}
.swiper-button-disabled,
button:disabled {
    opacity: .4;
    pointer-events: none;
}
.swiper { width: 100%; overflow: hidden; }
.swiper-slide.w-auto { width: auto !important; }
.swiper-wrapper { align-items: stretch; }
.swiper-button-disabled,
button:disabled { opacity: .4; pointer-events: none; }


/** MEDIA QUERY **/

@media screen and (max-width: 1440px) {
    .page-wrapper {
        width: 100%;
    }
}
@media screen and (max-width: 991px) {
    .fo-1 {
        padding-top: 0;
        padding-bottom: 3rem;
    }
    .fo-1::before{
        opacity: 0.5;
        background-size: 100%;
    }
}
@media screen and (max-width: 767px) {
    #search-interface {
        padding: 40px 20px 0;
    }
}
@media screen and (max-width: 540px) {
    .fo-1::before{
        opacity: 0.8;
    }
    .values-card {
        max-width: 400px;
    }
}
@media screen and (max-width: 480px) {
    .values-card {
        max-width: 345px;
    }
}
@media screen and (max-width: 440px) {
    .values-card {
        max-width: 300px;
    }
    .txt-card h5 {
        position: relative;
        top: 0;
        left: 0;
    }
}
@media screen and (max-width: 414px) {
    .values-card {
        max-width: 280px;
    }
}
@media screen and (max-width: 375px) {
    .values-card {
        max-width: 240px;
    }
}
