.hero-image {
    height: 70%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.h2{
    font-size: 38px;
}

.nav-link a{
    font-weight: bold;
    color: white !important;
}

.manina{
    cursor: pointer;
}

.hero-text {
    text-align: start;
    position: absolute;
    top: 50%;
    left: 28%;
    transform: translate(-50%, -50%);
    color: white;
    width: 50%;
}

.hero-social {
    position: absolute;
    top: 75%;
    left: 95%;
    transform: translate(-50%, -50%);
}

.text-principal {
    line-height: 40px;
}

.service-box{
    height: 250px;
}

.box-team{
    width: 350px;
    height: 350px;
}

.logo-footer{
    width: 120px;
    height: 120px;
}

.team{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*.team-1{background-image: url("/img/images/Ilaria-Taricco.webp");}*/
/*.team-2{background-image: url("/img/images/team-2.png");}*/

.logo-img{width: 100px;}

.filtro{
    transition: 0.2s;
}

.filtro:hover{
    cursor: pointer;
}

.filtro:hover:not(.active){
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.active{
    background-color: #beede0;
    font-weight: bold;
    color: #004652;
}

.form-check-input-messaggio{
    resize: none;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 10px;
}

.form-check-input-contatto, .form-check-input-messaggio, .form-check-input-contatto:focus, .form-check-input-messaggio:focus{
    background-color: transparent;
    min-height: 60px;
    border: 0;
    transition: 0.2s;
}

.form-check-input-contatto, .form-check-input-messaggio{
    border-bottom: 2px solid white;
}

.form-check-input-contatto:focus, .form-check-input-messaggio:focus{
    outline: none;
    box-shadow: none;
    border-color: inherit; /* mantiene il colore attuale */
    border-bottom: 3px solid white;
}

.form-check-label-contatto, .form-check-label-messaggio{
    transition: 0.2s;
}

.form-check-label-contatto:has(+ .form-check-input-contatto:focus), .form-check-label-messaggio:has(+ .form-check-input-messaggio:focus){
    font-weight: bold;
}


.container-tipo-servizio{
    min-width: 360px;
    padding: 15px;
    border: 2px solid white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    column-gap: 5px;
}

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

.form-check-input-servizio {
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 1.5rem;
    width: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    border-width: 1px;
    border-style: solid;
    border-color: white;
    --tw-border-opacity: .2;
    --chkbg: var(--bc);
    --b1: 11% 0.18 198;
}

.form-check-input-servizio:checked {
    --tw-bg-opacity: 1;
    background-color: white;
    background-image: none;
    animation: radiomark-28 var(--animation-input, .2s) ease-out;
    box-shadow: 0 0 0 4px #004652 inset, 0 0 0 4px #004652 inset;
}

.form-check-label-servizio{
    transition: 0.2s;
}

.form-check-input-servizio:checked + .form-check-label-servizio{
    font-weight: bold;
}

@keyframes radiomark-28 {
    0% {
        box-shadow: 0 0 0 12px #004652 inset, 0 0 0 12px #004652 inset;
    }
    50% {
        box-shadow: 0 0 0 3px #004652 inset, 0 0 0 3px #004652 inset;
    }
    100% {
        box-shadow: 0 0 0 4px #004652 inset, 0 0 0 4px #004652 inset;
    }
}

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

.img-portfolio{
    transition: 0.2s;
}

.img-portfolio:hover{
    transform: scale(0.95);
}

