/* @import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");


/* Root */
:root {
    --primary: #59c1d5;
    --dark-primary: #4ca1b3;
    --secondary: #11182b;
    --light-secondary: #1c2746;

    --primary-rgb: 89, 193, 213;
    --secondary-rgb: 17, 24, 43;

}



/* #region Global */
body {
    font-family: "Lexend", sans-serif;
    position: relative;
}

h1{
    font-weight: 800;
    font-size: 4rem;
    color: var(--secondary);
}

h2 {
    font-size: 3rem;
}

h2, h3, h4 {
    font-weight: 800;
    color: var(--secondary);
}

section {
    padding: 100px 0px;
}

footer {
    padding: 100px 0px;
    background-color: var(--secondary);
    position: relative;
}
a{
    color: rgba(var(--primary-rgb),1);
}


/* Utility */
.bg-trans {
    background-color: transparent!important;
    transition: ease-in-out .3s;
}

.bg-color{
    background-color: var(--primary);
}

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

/* Boostrap Over */
.form-control{
    height: 52px;
}
  


/* Body */

#hero {
    height: 45vh;
    width: 100%;
    position: relative;
    /* background-image: url('/static/assets/img/site/herobg.jpg');
    background-size: cover; */
}

#hero::before {
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    background-color: rgba(var(--primary-rgb),1);
}

#hero .overlay{
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -15%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-hero-wrapper{
    position: relative;
    top: -2px;
    z-index: -1;
}

.img-hero {
    display: flex;
    justify-content: center;
    align-content: center;
}

.img-hero img {
    object-fit: contain;
    width: 260px;
    height: 100%;
    animation: bounceAndRotate 5s infinite;
}

.hero_page {
    height: 45vh;
    background-color: var(--primary);
}


.navbar-brand {
    width: 120px;
    height: auto;
}

.navbar-brand img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.navbar-sticky {
    background-color: white!important;
    transition: ease-in-out .3s;
}

.btn {
    padding: 10px 25px;
}

.btn-custom {
    background-color: var(--primary);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-custom:hover {
    background-color: var(--dark-primary);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-custom-secondary{
    background-color: var(--secondary);
    border: none;
    color: white;
}

.btn-custom-secondary:hover{
    background-color: var(--light-secondary);
    border: none;
    color: white;
}

.nav-link {
    font-weight: 700;
    font-size: 1.2rem;
}

.waves-top{
    position: relative;
    top: 2px;
}

.waves-bottom{
    transform: rotate(180deg);
    position: relative;
    top: -2px;
}

.blob-mask {
    mask: url("/static/assets/img/svg/blob.svg") no-repeat center;
	-webkit-mask: url("/static/assets/img/svg/blob.svg") no-repeat center;
	mask-size: 100%;
    -webkit-mask-size: 100%;
}

.blod-container {
    width: 250px; 
    height: 250px; 
    scale: 2;
}

.wrapper-sede {
    background-color: white;
    margin: 20px 0px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    display: flex;

}

.wrapper-sede-img{
    height: 120px;
    width: 120px;
    aspect-ratio: 1/1;
    border-radius: 15px;
    background-color: var(--secondary);
}

.wrapper-sede-img img{
    object-fit: contain;
    width: 100%;
}

.wrapper-sede-body{
    padding: 10px 15px;
    width: 100%;
}

.pills{
    background-color: var(--light-secondary);
    border-radius: 25px;
    padding: 10px 25px;
    color: white;
    text-decoration: none;
}

.card-simple {
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.wrapper-city-icn{
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--primary);
    font-size: 4rem;
    transform: translate(-50%, -40%);
}

.wrapper-become-img {
    width: 95%;
    height: 300px;
    background-color: var(--bs-gray);
    border-radius: 25px;
    overflow: hidden;
}

.wrapper-become-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.footer-body h3{
    color: var(--dark-primary);
}

.footer-body ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-body ul li {
    color: white;
    margin-bottom: 8px;
}

.footer-body ul li a{
    color: white;
    text-decoration: none;
}

.modal-custom {
    position: fixed;z-index: 10000;width: 100%; height:100vh; top:0; left: 0;
}

.backdrop-custom{
    background-color: rgba(0, 0, 0, 0.363);height: 100vh;
}

.modal-custom-content{
    width: 50%; background-color: white; height: 60%; border-radius: 30px;
}
/* #endregion */

/* #region Mobile */

@media (max-width: 768px) {
    .modal-custom-content {
    width: 95%;
    background-color: white;
    height: 75%;
    border-radius: 30px;
}

    .navbar-toggler{
        display: none;
    }

    .navbar-brand {
        width: 90px;
        height: auto;
    }

    #hero{
        height: 75vh;
    }
    #hero .overlay {
        transform: translate(-50%, -40%);
    }

    .img-hero{
        display: none;
    }

    .blod-container {
        scale: 1.5;
    }

        .hero_page{
            height: 90vh;
        }
    section{
        padding: 50px 0px;
    }
}
/*  #endregion */

/* #region Animation */

@keyframes bounceAndRotate {
    0%{
      transform: translateY(0) rotate(0deg);
    }

    50% {
      transform: translateY(-30px) rotate(-5deg);
    }

    100% {
        transform: translateY(30) rotate(5deg);
    }
  }

/* #endregion */


/* #region Misc */
  .select2-container {
    width: 46%!important;
    flex: 1;
}
  /* Select2 *//* Sovrascrivi l'altezza del container di Select2 */
.select2-container .select2-selection--single {
    height: 52px; /* Imposta l'altezza desiderata qui */
}

/* Sovrascrivi l'altezza della riga di selezione */
.select2-container .select2-selection__rendered {
    line-height: 52px!important; /* Questo dovrebbe corrispondere all'altezza del container */
}

/* Sovrascrivi l'altezza del campo di ricerca all'interno del dropdown */
.select2-container .select2-search--dropdown .select2-search__field {
    height: 30px;
    line-height: 52px!important; /* Adatta il line-height se necessario */
}

/* Opzionalmente, regola l'altezza delle opzioni nel menu a discesa */
.select2-container .select2-results > .select2-results__options {
    max-height: 200px; /* Altezza del menu a discesa */
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
}
/* #endregion */

/* #region Policy */

#cookie-banner {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translate(-50%, 0%);
    box-shadow: 0px 0px 14px rgb(0 0 0 / 23%);
    width: 51%;
    background: white;
    padding: 20px 15px;
    z-index: 9999;
    border-radius: 16px;
}

#cookie-banner p {
    font-size: 0.9rem;
}

#cookie-banner .close {
    position: absolute;
    right: 0;
    top: 0px;
}

.banner-title {
    font-size: 1.2rem;
}

.cookie-btn-wrap {
    display: flex;
}

#modalPrivacy h3 {
    font-size: 1.25rem;
}

#modalPrivacy h4 {
    font-size: 1.10rem;
}

#modalPrivacy h5 {
    font-size: 1rem;
}

#modalPrivacy p {
    font-size: 0.8rem;
}

#modalPrivacy ul {
    list-style: none;
}

#modalPrivacy .servizi-cat {
    display: flex;
    flex-direction: column;
}


#modalPrivacy .servizi-cat li {
    width: 100%;
    margin-bottom: 15px;
}

#modalPrivacy .servizi-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#modalPrivacy .servizi-item li {
    width: 50%;
}

@media screen and (max-width: 780px) {
    #cookie-banner {
        width: 100%;
        top: 0px;
    }
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked+.slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* #enderegion */