﻿.zoom-company-homepage-link {
    padding: 50px;
    background-image: url("/assets/precipoint-homepage-link.jpg");
    transition: transform .2s; /* Animation */
    width: 100%;
    height: 100%;
    margin: 0 auto;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: auto;
}

.zoom-company-homepage-link:hover {
    z-index: -100;
    transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    cursor: pointer;
}

.zoom-company-homepage-link:before {
    content: "";
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.75);
}

.element-left {
    max-width: calc(50vw);
    max-height: calc(100vh - 448px);
    overflow: hidden;
    display: inline-block;
}

.element-right {
    max-width: calc(50vw);
    max-height: calc(100vh - 448px);
    overflow: hidden;
    display: inline-block;
    background: #dddddd;
}

.zoom-precicloud-link {
    padding: 50px;
    background-image: url("/assets/preci-cloud-link.jpg");
    transition: transform .2s; /* Animation */
    width: 100%;
    height: 100%;
    margin: 0 auto;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: auto;
}

.zoom-precicloud-link:hover {
    z-index: -100;
    transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    cursor: pointer;
}

.zoom-precicloud-link:before {
    content: "";
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.75);
}

.interactive-link-container {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 0;
    width: 100%;
    height: calc(100vh - 448px);
    pointer-events: auto;
}

.text-float {
    z-index: 1;
    position: relative;
}

.link-text {
    display: none;
    z-index: 50;
    font-size: 35px;
    color: #000000 !important;
    text-align: center;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 50px;
    cursor: pointer;
    text-decoration: none;
}

.element-left:hover .zoom-company-homepage-link:before {
    display: block;
}

.element-right:hover .zoom-precicloud-link:before {
    display: block;
}

.zoom-precicloud-link:hover .link-text {
    display: block;
}

.zoom-company-homepage-link:hover .link-text {
    display: block;
}