@import url('global.css');

/* ===================================================================
                CONTENT
=================================================================== */

.content-section {
}

    .content-section .content-top {
        display: flex;
        padding-top: 10px;
        padding-bottom:100px;
    }

        .content-section .content-top .left-div {
            flex: 0 0 65%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-right: 10px
        }

            .content-section .content-top .left-div img {
                width: 100%;
                height: auto;
                display: block;
            }

        .content-section .content-top .right-div {
            flex: 1;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: space-between; /* Cambiato da center a space-between */
            position: relative;
        }

            .content-section .content-top .right-div .right-top {
                color: var(--main-white);
                font-size: 2rem;
                font-weight: 800;
                align-self: flex-start; /* Assicura che stia in alto */
            }

            .content-section .content-top .right-div .vertical-right-text {
                -webkit-transform: rotate(-90deg);
                position: absolute;
                top: 100px;
                right: 0;
                color: var(--main-black);
                font-size: 1.2rem;
            }


            /* Wrapper per gli elementi che vanno in basso */
            .content-section .content-top .right-div .right-bottom {
                display: flex;
                flex-direction: column;
                gap: 10px; /* Spazio tra gli elementi in basso */
            }

                .content-section .content-top .right-div .right-bottom h1 {
                    font-size: 3rem;
                    font-weight: 900;
                    line-height: 3rem;
                }





.content-middle {
    margin: 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-middle h2 {
    padding-left:60px;
}

.content-contacts {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}


.contact {
    max-width: 435px;
    padding-bottom: 40px;
}

    .contact .contact-img {
        overflow: hidden;
    }

        .contact .contact-img img {
            display: block;
            width: 100%;
        }

    .contact .contact-desc {
        padding: 20px 0 20px 0;
    }

        .contact .contact-desc h3 {
            font-size: 1.5rem;
            padding-bottom:10px
        }
        .contact .contact-desc div {
            font-size: 0.8rem;
            font-weight:500;
            line-height:0.8rem;
        }
        .contact .contact-desc a {
            font-size: 0.8rem;
            color: var(--main-black);
            line-height: 0.8rem;
            font-weight:400;
        }





/* ===================================================================
        RESPONSIVE - TABLET E MOBILE (max-width: 1279px)
        =================================================================== */
@media (max-width: 1279px) {
    .content-middle {
        margin: 10px;
    }

    /*Contents*/

    .content-top {
        flex-direction: column;
        padding: unset !important;
    }

    .left-div {
        flex: none;
        width: 100%;
        padding-bottom: 10px;
        padding-right: unset !important;
    }

    .right-div {
        flex: none;
        width: 100%;
        padding: 20px;
    }

        .right-div h2 {
            font-size: 20px;
            padding-top: 20px;
        }
}



/* ===================================================================
         RESPONSIVE - MOBILE PICCOLO (max-width: 1024px)
         =================================================================== */

@media (max-width: 1024px) {
    .content-section .content-top .right-div .right-bottom h1{
        font-size:2.5rem;
        line-height:2.2rem;
    }
}



/* ===================================================================
                RESPONSIVE - MOBILE PICCOLO (max-width: 480px)
                =================================================================== */
@media (max-width: 480px) {
    .content-section .content-top .right-div .right-bottom h1 {
        font-size: 2rem;
        line-height: 2rem;
    }
}
