﻿#main2 {
    background: transparent;
    padding-top: Calc(100vh - 0px);
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;
    /*pointer-events: none;*/
    background: transparent;
}

.container-head {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.overlay-content {
    position: absolute;
    /*top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    top: 0;
    left: 0;
    /*transform: translate(-50%, -50%);*/
    color: white;
    font-size: 24px;
    z-index: 1; /* Ensure this is on top of the canvas */
    width: 100%;
    height: 100vh;
    /*   height: 100vh;
    overflow-y: auto;*/
}

#hoverform {
    height: 100%;
}


.headPage {
    /*background-image: url('/img/bg_proyects.png');*/
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    text-align: left;
    min-height: 80vh;
    background-color: transparent;
}

    .headPage .row-head .title {
        font-size: 72px;
        line-height: 90px;
        font-weight: 700;
    }

    .headPage .row-head .subtitle {
        font-size: 18px;
        line-height: 25px;
    }

.container-asumimos {
    padding-top: 120px;
}

    .container-asumimos > .row {
        --bs-gutter-x: 34px;
    }

    .container-asumimos .title {
        font-size: 60px;
        line-height: 72px;
        font-weight: 700;
    }

        .container-asumimos .title.mt {
            margin-top: 30px;
        }

    .container-asumimos .box {
        border: 2px solid #212121;
        border-radius: 24px;
        padding: 27px 39px 43px 39px;
    }

        .container-asumimos .box.black {
            background: #212121 0% 0% no-repeat padding-box;
            border: 2px solid #212121;
            color: white;
            margin-top: 100px;
        }

            .container-asumimos .box.black .text, .container-asumimos .box.black .text * {
                color: white;
            }

        .container-asumimos .box .title {
            font-size: 33px;
            line-height: 49px;
            margin-bottom: 40px;
        }

        .container-asumimos .box .text, .container-asumimos .box .text * {
            font-size: 15px;
            line-height: 23px;
            font-weight: normal;
        }


.container-toolbox {
    padding-top: 135px;
}

    .container-toolbox .title {
        font-size: 47px;
        line-height: 50px;
        font-weight: 700;
        margin-bottom: 100px;
    }

    .container-toolbox .box {
        max-width: 300px;
        margin-bottom: 60px;
    }

        .container-toolbox .box .logo h3 {
            font-size: 16px;
            line-height: 20px;
            margin-top: 15px;
            font-weight: 700;
            display: block;
        }

        .container-toolbox .box .text {
            font-size: 13px;
            line-height: 19px;
            margin-top: 28px;
        }

@media (max-width: 1000px) {
    .headPage {
        padding-top: 6vw;
        padding-left: 30px;
    }

    .contianer-rows {
        margin-top: 6vw;
    }

    .headPage .row-head .title {
        font-size: 11vw !important;
        line-height: 1.3;
    }

    .overlay-content {
        padding-left: 30px;
        height: Calc(100vh - 107px);
    }

    .container-asumimos {
        padding-top: 0px;
    }

    .container-toolbox {
        padding-top: 100px;
    }

        .container-toolbox .title {
            margin-bottom: 60px;
        }
    .container-asumimos .title.mt {
        font-size: 11vw !important;
        line-height: 1.3;
    }
    #hoverform {
        max-height: Calc(100vh - 155px);
        overflow:hidden;
    }
}

@media (max-width: 768px) {
    .container-toolbox .box {
        text-align: center; 
    }

    .headPage {
        background-image: url('/img/sobreNosotrosBg.png') !important;
        background-repeat: no-repeat !important;
    }
    #main2 canvas{
        z-index:-1;
    }
    .container-asumimos {
        padding-top: 140px;
    }
    #main2 {
        padding-top: Calc(100vh - 120px);
    }
}
/*#region MOUSE CURSOR*/
/*---------------------------------------------------------------------
                        Mouse cursor
-----------------------------------------------------------------------*/
.theBall,
.theBall-outer {
    width: 20px;
    height: 20px;
}

.theBall-outer {
    position: fixed;
    top: -20px;
    left: -20px;
    z-index: 9999999999999999999;
    pointer-events: none !important;
}

.theBall {
    position: absolute;
    background-color: rgba(255, 114, 114, 0.8);
    border-radius: 50%;
    -webkit-transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -moz-transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -ms-transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -o-transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center center;
}

.zooming.theBall {
    background-color: #ff7272;
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    -ms-transform: scale(2);
    -o-transform: scale(2);
    transform: scale(2);
}

/*---------------------------------------------------------------------
                        Mouse Effect
-----------------------------------------------------------------------*/
.mouse-move {
    position: absolute;
    bottom: -130px;
    left: 50%;
    width: 65px;
    margin-left: -50px;
}

    .mouse-move a {
        letter-spacing: 2px;
        font-size: 12px;
        text-transform: uppercase;
        height: 65px;
        width: 65px;
        line-height: 65px;
        display: inline-block;
        border-radius: 900px;
        text-align: center;
    }

    .mouse-move .boom::before,
    .mouse-move .boom::after {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .mouse-move .boom::before,
    .mouse-move .boom::after {
        content: "";
        z-index: -1;
        margin: 0;
        border-radius: 900px;
        box-shadow: inset 0 0 0 2px;
        animation: clipMe 8s linear infinite;
    }

    .mouse-move .boom::before {
        animation-delay: -4s;
    }

@keyframes clipMe {
    0%, 100% {
        clip: rect(0px, 220px, 2px, 0px);
    }

    25% {
        clip: rect(0px, 2px, 220px, 0px);
    }

    50% {
        clip: rect(218px, 220px, 220px, 0px);
    }

    75% {
        clip: rect(0px, 220px, 220px, 218px);
    }
}

.banner_canvas {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

/*#endregion MOUSE CURSOR*/

/*#region YOUTUBE*/

#modalVideo {
    top: 20vh;
    z-index: 999999;
}

    #modalVideo iframe {
        height: 100% !important;
    }

    #modalVideo.modal .modal-dialog {
        max-width: 85vw !important;
        width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
/*#endregion YOUTUBE*/