@import url('global.css');

/* ===================================================================
                CONTENT
                =================================================================== */

.content-section {
}

/* =========CATALOGO=======*/
.content-section .content-top {
    display: flex;
    padding-top: 10px;
}

    .content-section .content-top .catalogue-left {
        flex: 0 0 65%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-right: 10px
    }

        .content-section .content-top .catalogue-left img {
            width: 100%;
            height: auto;
            display: block;
        }

    .content-section .content-top .catalogue-right {
        flex: 1;
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Cambiato da center a space-between */
        background-color: var(--main-orange);
    }

        .content-section .content-top .catalogue-right .catalogue-right-top {
            font-size: 2rem;
            align-self: flex-start; /* Assicura che stia in alto */
        }


        /* Wrapper per gli elementi che vanno in basso */
        .content-section .content-top .catalogue-right .catalogue-right-bottom {
            display: flex;
            flex-direction: column;
            gap: 10px; /* Spazio tra gli elementi in basso */
            padding-bottom:20px;
        }

            .content-section .content-top .catalogue-right .catalogue-right-bottom h2 span{
                color: var(--main-black);
                font-size: 3.5rem;
                line-height: 3.5rem;
                font-weight: 800;
                padding-bottom:50px;
            }

            .content-section .content-top .catalogue-right .catalogue-right-bottom > span:nth-child(1) {
                color: var(--main-black);
                font-size: 3rem;
                line-height: 3rem;
            }

        .content-section .content-top .catalogue-right div > span:nth-child(1) {
            font-size: 1.5rem;
            font-weight: 700;
            line-height: 1.5rem;
        }

        .content-section .content-top .catalogue-right .catalogue-right-bottom div > span:nth-child(2) {
            color: var(--main-black);
            font-size: 1rem;
            line-height: 1rem;
            padding-left: 20px
        }

        .content-section .content-top .catalogue-right .catalogue-right-bottom div > img {
            margin-bottom: -3px;
            width: 19px;
            height: 19px;
        }

/* =========NEWS=======*/

.content-news {
    padding-top: 10px;
}

    .content-news img {
        width: 100%;
        height: auto;
        display: block;
    }

.content-middle {
    margin: 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}



/* =========MIDDLE=======*/

.flex-row {
    display: flex;
    margin-bottom: 10px;
    gap: 10px;
    align-items: stretch;
}

    .flex-row:last-child {
        margin-bottom: 0;
    }

.square {
    flex: 1;
    max-width: calc(33.333% - 7px);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

    .square img {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.rectangle {
    flex: 2;
    max-width: calc(66.667% - 3px);
    display: flex;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.rectangle-inner-large {
    flex: 0 0 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: inherit;
    position: relative;
}

.rectangle-inner-small {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

    .rectangle-inner-small img {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }



/* =========URBAN BABY=======*/
.urban-baby {
}

    .urban-baby .urban-baby-img {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .urban-baby .urban-baby-text {
        position: relative;
        z-index: 2;
        text-align: center;
        padding-left: 50px;
        padding-right: 50px;
    }

        .urban-baby .urban-baby-text .urban-baby-title span {
            font-weight: 800;
            display:block;
        }
        .urban-baby .urban-baby-text .urban-baby-subtitle span {
            font-weight: 500;
            display: block;
            text-shadow: 3px 3px 3px rgba(0, 0, 0, 1);
        }



/* =========EASY=======*/
.easy-vertical {
    height: 100%;
    text-align: right;
    z-index: 0;
    width: 100px;
}

    .easy-vertical .easy-vertical-text {
        position: absolute;
        right: 0;
        transform: translateY(-60%) rotate(-90deg);
        transform-origin: right center;
        font-size: 5rem;
        color: var(--main-white60);
        white-space: nowrap;
        padding-bottom: 100px;
    }

.easy {
    padding: 50px;
}

.easy-content, .easy-title {
    display: flex;
    gap: 40px;
}

.easy-content-left, .easy-title-left {
    flex: 0 0 50%;
}

    .easy-title-left h2 {
        font-size: 3.5rem;
    }

.easy-content-right, .easy-title-right {
    flex: 1;
}

    .easy-content-right p {
        font-size: 1.4rem;
        font-weight: var(--base-fontweight);
        line-height: 1.4rem;
        max-width: 220px;
    }

.easy-left-list, .easy-title-left, .easy-left-control {
    text-align: right;
}

    .easy-left-list li {
        font-size: 1.7rem;
        line-height: 1.7rem;
    }



/* =========PINCH=======*/
.pinch {
    padding: 50px;
    text-align: left;
    color: var(--main-black);
}

    .pinch .pinch-title {
        color: var(--main-black);
        font-weight: 800;
    }

    .pinch .pinch-subtitle {
        padding-bottom: 30px;
    }

    .pinch .pinch-text {
        padding-bottom: 30px;
        font-size: 1rem;
        line-height: 1.5rem;
        font-weight: 300;
    }


/* =========SMART=======*/
.smart {
}

    .smart .smart-img {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .smart .smart-text {
        position: relative;
        z-index: 2;
        text-align: center;
        padding-left: 50px;
        padding-right: 50px;
        padding-bottom: 20px;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
        width:100%;
    }

        .smart .smart-text .smart-title {
            font-weight: 800;
        }

        .smart .smart-text p {
            font-size: 1rem;
            line-height: 1.5rem;
            font-weight: 300;
        }


/* =========GREEN=======*/
.green {
}

    .green .green-img {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.green-vertical {
    text-align: right;
    position: absolute;
    z-index: 2;
    left: -130px;
    transform: translateY(-30%) rotate(-90deg);
    transform-origin: 50% 50%;
    white-space: nowrap;
    font-size: 3.5rem;
}

.green .green-text {
    position: relative;
    padding: 100px;
}

    .green .green-text h3 {
        padding-bottom: 30px;
        line-height:2rem;
    }


/* =========PENSILINE=======*/
.pensiline {
    padding: 50px;
    text-align: left;
    color: var(--main-black);
}

    .pensiline .pensiline-title {
        color: var(--main-black);
        font-weight: 800;
        font-size: 3rem;
        line-height: 3.5rem;
    }

    .pensiline .pensiline-subtitle {
        padding-bottom: 30px;
        font-weight: var(--base-fontweight);
        color: var(--main-white);
        font-size: 1.5rem;
        line-height: 1.5rem;
    }



/* =========CONTENT BOTTOM=======*/

.content-bottom {
}

    .content-bottom .video-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 60px 60px 60px;
        background-color: var(--main-black);
    }

        .content-bottom .video-container .video {
            flex: 1;
            min-width: 390px;
            max-width: 1920px;
            aspect-ratio: 16 / 9;
            position: relative;
            box-sizing: border-box;
            overflow: hidden;
            margin:80px;
        }


            .content-bottom .video-container .video iframe {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }


/* ===================================================================
        RESPONSIVE - RISOLUZIONI INTERMEDIE (max-width: 1800px)
        =================================================================== */

@media (max-width: 1800px) {
    .green-vertical {
        font-size: 2.5rem;
        left: -160px;
        transform: translateY(0%) rotate(-90deg);
    }

    .green .green-text {
        padding: 10px !important;
    }

        .green .green-text h3 {
            font-size: 1.5rem;
            line-height: 1.5rem;
        }
}


/* ===================================================================
        RESPONSIVE - TABLET E MOBILE (max-width: 1279px)
        =================================================================== */

@media (max-width: 1279px) {
    .content-middle {
        margin: 10px;
    }

    /*Contents*/

    .content-top {
        flex-direction: column;
        padding: unset !important;
    }

    .catalogue-left {
        flex: none;
        width: 100%;
        padding-bottom: 10px;
        padding-right: unset !important;
    }

    .catalogue-right {
        flex: none;
        width: 100%;
        padding: 20px;
    }

        .catalogue-right h2 {
            font-size: 20px;
        }

    .content-middle {
        margin: 10px;
    }

    .green-vertical {
        font-size: 2.5rem;
        left: -160px;
        transform: translateY(0%) rotate(-90deg);
    }

    .green .green-text {
        padding: 10px !important;
    }

        .green .green-text h3 {
            font-size: 1.5rem;
            line-height: 1.5rem;
        }
}



/* ===================================================================
         RESPONSIVE - MOBILE PICCOLO (max-width: 1024px)
         =================================================================== */

@media (max-width: 1024px) {

    .flex-row {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }

    .square,
    .rectangle {
        max-width: 100%;
        flex: none;
    }

    .square {
        aspect-ratio: 3/1.7;
        height: auto;
        width: 100%;
    }

    .square-text {
    }

    .rectangle {
        aspect-ratio: 1/1;
        height: auto;
        width: 100%;
        max-height: 350px;
    }

    .rectangle-inner-large h2 {
        line-height: 2rem !important;
        font-size: 2rem !important;
    }

    .rectangle-inner-large h3 {
        line-height: 1rem !important;
        font-size: 1rem !important;
    }

    .rectangle-inner-large h4 {
        line-height: 0.8rem !important;
        font-size: 0.9rem !important;
    }

    .green-vertical {
        font-size: 2rem;
        left: -115px;
        transform: translateY(0%) rotate(-90deg);
    }

    .green .green-text {
        padding: 10px !important;
    }
}



/* ===================================================================
         RESPONSIVE - MOBILE PICCOLO (max-width: 768px)
         =================================================================== */

@media (max-width: 768px) {

    .catalogue-right-bottom h2{
        font-size:2.5rem !important;
        line-height:2.5rem !important;
    }

    .urban-baby-title {
        font-size: 2rem;
        line-height: 2rem;
    }

    .pinch p {
        font-size: 0.8rem !important;
        line-height: 0.8rem !important;
    }

    .smart-text p {
        font-size: 1rem !important;
        line-height: 1rem !important;
    }

    .pensiline h2 {
        line-height: 1.5rem !important;
        font-size: 1.5rem !important;
    }

    .pensiline p {
        line-height: 1rem !important;
        font-size: 1rem !important;
    }

    .green-text h3 {
        font-size: 1.2rem !important;
        line-height: 1.2rem !important;
    }

    .green-vertical {
        font-size: 1.3rem;
        left: -90px;
        transform: translateY(0%) rotate(-90deg);
    }

        .green-vertical h2 {
            font-size: 1.7rem;
        }


    .easy {
        padding: 10px !important;
    }

    .easy-content {
        gap: 20px !important;
    }

    .easy-content-left li {
        font-size: 1.2rem;
        line-height: 1.2rem;
    }


    .easy-content-right p {
        font-size: 0.8rem !important;
        line-height: 0.8rem;
    }

    .easy-left-control {
        margin-top: 30px;
    }

    .easy-vertical {
        display: none !important;
    }
}

/* ===================================================================
         RESPONSIVE - MOBILE PICCOLO (max-width: 478px)
         =================================================================== */

@media (max-width: 478px) {

    .urban-baby-title {
        font-size: 2rem;
        line-height: 2rem;
    }

    .pinch p {
        font-size: 0.8rem !important;
        line-height: 0.8rem !important;
    }

    .smart-text p {
        font-size: 0.8rem !important;
        line-height: 0.8rem !important;
    }

    .pensiline h2 {
        line-height: 1.5rem !important;
        font-size: 1.5rem !important;
    }
    .pensiline p {
        line-height: 1rem !important;
        font-size: 1rem !important;
    }

    .green-text h3 {
        font-size: 1.2rem !important;
        line-height: 1.2rem !important;
    }

    .green-vertical {
        font-size: 1.3rem;
        left: -70px;
        transform: translateY(0%) rotate(-90deg);
    }

        .green-vertical h2 {
            font-size: 1.3rem;
        }


    .easy {
        padding: 10px !important;
    }

    .easy-content {
        gap: 20px !important;
    }

    .easy-content-left li {
        font-size: 1.2rem;
        line-height: 1.2rem;
    }


    .easy-content-right p {
        font-size: 0.8rem !important;
        line-height: 0.8rem;
    }

    .easy-left-control {
        margin-top: 30px;
    }

    .easy-vertical {
        display: none !important;
    }
}
