/* Author: @kirill */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
}
@media (min-width: 992px) { 
    .container {
        flex-direction: row;
    }
}
.logo {
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 10em;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) { 
    .logo {
        max-width: 16em;
        top: 3em;
        transform: translateX(-50%);
    }
}

.logo__text {
    color: #fff;
    font-size: 1.85em;
    margin: 0;
    line-height: 1em;
    font-weight: 200;
    display: none;
}
@media (min-width: 768px) { 
    .logo__text {
        display: block;
    }
}
.logo__image {
    width: 100%;
}
@media (min-width: 768px) { 
    .logo__image {
        margin-bottom: 0.5em;
    }
}
.col {
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    padding: 0 1em;
    overflow: hidden;
}

@media (min-width: 992px) { 
    .col {
        width: 50%;
        height: 100%;
        padding: 0 5em;
    }
}
.col::after {
    content: "";
    z-index: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: block;
    background-color: rgba(0,0,0,.5);
    pointer-events: none;
    transition: 0.2s linear;
}
.col:hover::after {
    background-color: rgba(0,0,0,.15);
}


.col::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-size: cover;
    background-position: center;
    transition: 0.1s linear;
}
.col--consulting::before {
    background-image: url('../images/building.jpg');
}
.col--hr::before {
    background-image: url('../images/dog.jpg');
}

.col__text {
    position: relative;
    color: #fff;
    font-size: 1em;
    margin-bottom: 1em;
    text-align: center;
    text-transform: uppercase;
    z-index: 1;
}

@media (min-width: 768px) { 
    .col__text {
        font-size: 1.8em;
    }
}

.button {
    color: #fff;
    font-weight: 400;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 1em 2.2em;
    text-decoration: none;
    border-radius: 3px;
    transition: 0.1s linear;
    position: relative;
    z-index: 1;
}
.button:hover {
    background-color: #337ab7;
}