:root {
    --blue: #1e468c;
    --red:  #e3001b;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Saira", sans-serif;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 7px 50px 7px 18px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    color: white;
    transition: all 350ms ease;

    &::after {
        border-bottom: 9px solid transparent;
        border-left: 14px solid white;
        border-top: 9px solid transparent;
        content: '';
        height: 0;
        margin-top: -9px;
        position: absolute;
        right: 18px;
        top: 50%;
        transition: all ease 350ms;
        -webkit-transition: all ease 350ms;
        width: 0;
    }

    &:hover {
        background: white;

        &::after {
            right: 8px;
        }
    }
}

.forefront {
    @media only screen and (max-width: 768px) {
        grid-template-columns: 1fr;
    }

    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

.forefront-item {
    @media only screen and (max-width: 768px) {
        padding: 75px 30px;
    }

    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 50px;
    background-size: cover;
    background-repeat: no-repeat;

    & div {
        position: relative;
        text-align: center;
        z-index: 4;
    }

    & img {
        width: auto;
        height: 75px;
    }

    & h2 {
        font-style: italic;
        font-size: 35px;
        line-height: 45px;
        color: white;
    }

    &.theme--red {
        background-image: url('/assets/images/mega-transport.jpeg');

        &::after {
            background: var(--red);
        }

        & .btn {
            background: var(--red);
        }
    }

    &.theme--blue {
        background-image: url('/assets/images/mega-containers.jpeg');

        &::after {
            background: var(--blue);
        }

        & .btn {
            background: var(--blue);
        }
    }

    &::after {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 0.4;
        content: '';
        z-index: 0;
    }
}