.atf.studio {
    height: 630px;
    position: relative;
    overflow: hidden;
}

.atf.studio .container {
    height: 100%;
}

.atf.studio .img-wrapper {
    height: 500px;
    overflow: hidden;
    position: absolute;
    width: calc(100% - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    border-radius: 24px;
}

.atf.studio .img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    top: 40%;
}

.section-studio img {
    height: 470px;
    width: 100%;
    object-fit: contain;
}

.banner-prenotazione {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 60px;
    background: var(--secondary);
    border-radius: 50px;
    gap: 8px;
    font-size: 30px;
    color: white;
    width: fit-content;
    margin: 40px auto;
    flex-wrap: wrap;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05);
}

.banner-prenotazione a {
    padding: 8px 15px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-size: 30px;
    border-radius: 30px;
    white-space: nowrap;
}

.banner-prenotazione a img {
    height: 30px;
    width: auto;
}

.section-fasi .row {
    row-gap: 24px;
}

.section-fasi .fase {
    border-radius: 30px;
    background: var(--light-blue);
    padding: 30px;
    font-size: 24px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05);
}


@media screen and (max-width: 1200px) {
    .atf.studio {
        height: fit-content;
        position: relative;
    }

    .atf.studio  .container {
        padding: 20px;
    }    

    .atf.studio  h1 {
        padding: 0px;
    }

    .atf.studio  .img-wrapper {
        height: 500px;
        position: static;
        width: 100%;
        bottom: 0px;
        left: 0px;
        transform: none;
        z-index: 0;
        border-radius: 24px;
    }

    .atf.studio .img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: static;
        top: 0px;
    }
}

@media screen and (max-width:992px) {
    .banner-prenotazione {
        padding: 30px;
        border-radius: 30px;
        gap: 5px;
        font-size: 24px;
        margin: 30px auto;
        text-align: center;
    }
    
    .banner-prenotazione a {
        font-size: 24px;
    }
    
    .banner-prenotazione a img {
        height: 24px;
    }

    .section-fasi .fase {
        font-size: 18px;
    }
}

@media screen and (max-width: 468px) {

    .atf.studio .container {
        padding-left: 20px;
        padding-right: 20px;
    }    
}