/*
 *
 *  Font imports
 *
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');


html, body, .link {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}


.content, .background, .blend, .container {
    width: inherit;
    height: inherit;
    position: absolute;
    top: 0;
    z-index: 1000;
}

.container {
    display: flex;
}

.half {
    width: 50%;
    height: inherit;
}

.content {
    align-items: center;
}

.link {
    text-decoration: none;
    overflow: hidden;
}

.link:hover > .background {
    position: absolute;
    transform: scale(1.1);
    z-index: 999;
    transition: all .5s
}


.link.left:hover,
.link.right:hover {
    z-index: 100;
}

.background {
    /* transition: all .5s;
    z-index: 990; */
}

.slug, .icon {
    margin: auto;
    width: fit-content;
}

.background {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
}

.power-engineering .background {
    background-image: url(/wp-content/themes/inwat4/img/energetyka-large.jpg), url(/wp-content/themes/inwat4/img/energetyka-medium.jpg), url(/wp-content/themes/inwat4/img/energetyka-small.jpg);
}

.blend {
    opacity: 80%;
}

.power-engineering .blend {
    background-color: hsl(0, 100%, 40%);
}


.information-technology .background {
    background-image: url(/wp-content/themes/inwat4/img/informatyka-large.jpg), url(/wp-content/themes/inwat4/img/informatyka-medium.jpg), url(/wp-content/themes/inwat4/img/informatyka-small.jpg);
}

.information-technology .blend {
    background-color: hsl(233, 100%, 13%);
}

.icon {
    text-align: center;
}

.icon img {
    margin: auto;
    max-width: 10em;
}

.slug {
    color: white;
    font-size: 36px;
    font-family: 'Poppins';
    margin-top: 0.2em;
    margin-bottom: 0.1em;
}

.slug::before {
    opacity: 0;
    content: "";
    position: absolute;
    width: 0%;
    height: 0px;
    bottom: 0;
    left: 50%;
    border: 1px solid rgb(255, 255, 255);
    transition-duration: 1s;
}

.link:hover .slug::before {
    opacity: 1;
    width: 80%;
    left: 10%;
    transition-duration: 1s;
}

.content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo {
    position: fixed;
    z-index: 1999;
    width: fit-content;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: hsl(0deg 0% 0% / 70%);
    padding: 6px 6px 6px 3px;
    display: flex;
}

.logo img {
    width: 100%;
    margin: auto;
    max-width: 105.7px;
}

@media (max-width: 766px) {
    .link {
        width: 100%;
        height: 50%;
        position: absolute;
    }

    .left {
        top: 0;
    }

    .right {
        top: 50%;
    }

    .background, .blend, .content {
        height: 100%;
    }

    .logo img {
        width: 80px;
    }
}