﻿.gr-1 {
    background: ghostwhite
}
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(16 26 40 / 70%);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

* {
    transition: 0.5s;
}

.h-100 {
    height: 100vh !important;
}

.align-middle {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.column {
    margin-top: 3rem;
    padding-left: 3rem;
}

    .column:hover {
        padding-left: 0;
    }

        .column:hover .card .txt {
            margin-left: 1rem;
        }

            .column:hover .card .txt h1,
            .column:hover .card .txt p {
                opacity: 1;
            }

        .column:hover a {
            color: mediumvioletred;
        }

            .column:hover a:after {
                width: 10%;
                color: mediumvioletred;
            }

.card {
    min-height: 230px;
    margin: 0;
    padding: 1.7rem 1.2rem;
    border: none;
    border-radius: 0;
    color: black;
    letter-spacing: 0.05rem;
    font-family: "Oswald", sans-serif;
    box-shadow: 0 0 21px rgba(0, 0, 0, 0.27);
}

    .card .txt {
        margin-left: -3rem;
        z-index: 1;
    }

        .card .txt h1 {
            font-size: 1.4rem;
            font-weight: 500;
            text-transform: uppercase;
            font-family: 'Montserrat', sans-serif;
        }

        .card .txt p {
            font-size: 0.7rem;
            font-family: 'Montserrat', sans-serif;
            letter-spacing: 0rem;
            margin-top: 33px;
            opacity: 0;
        }

    .card a {
        z-index: 3;
        font-size: 0.7rem;
        color: black;
        margin-left: 1rem;
        position: relative;
        bottom: -0.5rem;
        text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
    }

        .card a:after {
            content: "";
            display: inline-block;
            height: 0.5em;
            width: 0;
            margin-right: -100%;
            margin-left: 10px;
            border-top: 1px solid;
            transition: 0.5s;
            color: mediumvioletred;
        }

    .card .ico-card {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .card img {
        position: relative;
        height:100%;
        right: -45%;
        font-size: 12rem;
        line-height: 0;
        opacity: 0.7;
        color: white;
        z-index: 0;
    }

.jumbotron {
    color: white;
    background-image: url("../img/services.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
}
