﻿header {
    top: 0;
}

.headPage {
    background-image: url('/img/bg_proyect.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    text-align: left;
    padding-top: 160px;
}

    .headPage .head * {
        font-size: 92px;
        line-height: 112px;
        font-weight: 700;
    }

    .headPage head img {
        max-width: 100%;
    }

    .headPage .head .row-head {
        --bs-gutter-x: 91px;
    }

    .headPage .title {
        font-size: 52px;
        line-height: 61px;
    }

    .headPage .subtitle {
        font-size: 15px;
        line-height: 23px;
    }

    .headPage .minititle {
        font-weight: bold;
        font-size: 30px;
        line-height: 50px;
        margin-top: 56px;
        margin-top: 16px;
        margin-bottom: 24px;
    }

    .headPage .inside img {
        max-width: 100%;
        height: auto;
    }

.container-reto {
    margin-top: 50px;
}

    .container-reto .text {
        font-size: 18px;
        line-height: 27px;
    }

.linkWeb {
    font-size: 20px;
    line-height: 27px;
    font-weight: 700;
    display: block;
    margin-top: 0px;
}
.linkVolver{
    font-size:14px!important;
    font-weight:bold!important;
    line-height:14px!important;
    display:inline-block!important;
    margin-bottom:50px;
    color:black!important;
}
.linkVolver *{
    font-weight:bold;
}

    @media (max-width: 1300px) {
        .headPage .head .title {
            font-size: 6vw;
            line-height: 1.3;
        }
    }

    @media (max-width: 1000px) {
        .headPage {
            padding-top: 6vw;
            padding-left: 30px;
        }

        .contianer-rows {
            margin-top: 6vw;
        }

        .headPage .head .title {
            font-size: 6vw !important;
            line-height: 1.3;
        }
    }

    @media (max-width: 768px) {
        .headPage .head {
            padding: 0;
        }

            .headPage .head .row-head {
                --bs-gutter-x: 0;
                margin-bottom: 50px;
            }

                .headPage .head .row-head .inside {
                    margin-bottom: 50px;
                    text-align: center;
                    display: flex;
                }

                    .headPage .head .row-head .inside img {
                        width: 85%;
                    }
    }
    /*#region cubo*/

    @keyframes animate {
        0% {
            filter: hue-rotate(0deg);
        }

        100% {
            filter: hue-rotate(360deg);
        }
    }

    .container-cube {
    position: relative;
    top: -80px;
    transform: skewY(-20deg);
    animation: animate 5s linear infinite;
    .cube

{
    position: relative;
    z-index: 2;
    &:nth-child(2)

{
    z-index: 1;
    translate: -60px -60px;
}

&:nth-child(3) {
    z-index: 3;
    translate: 60px 60px;
}

div {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 30px;
    translate: calc(-70px * var(--x)) calc(-60px * var(--y));
    span

{
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #dcdcdc;
    z-index: calc(1 * var(--i));
    transition: 1.5s;
    &:hover

{
    transition: 0s;
    background: #ef4149;
    filter: drop-shadow(0 0 30px #ef4149);
    &:before, &:after

{
    transition: 0s;
    background: #ef4149;
}

}

&:before {
    content: "";
    position: absolute;
    left: -40px;
    width: 40px;
    height: 100%;
    background: #fff;
    transform-origin: right;
    transform: skewY(45deg);
    transition: 1.5s;
}

&:after {
    content: "";
    position: absolute;
    top: -40px;
    left: 0px;
    width: 100%;
    height: 40px;
    background: #f2f2f2;
    transform-origin: bottom;
    transform: skewX(45deg);
    transition: 1.5s;
}

}
}
}
}
@media (max-width: 1000px) {
    html .container-cube{
        display:none;
    }
    html .container-cube * {
        max-width: none !important;
    }
}
/*#endregion cubo*/
