.nav-link {
    color: #fff;
}

.nav-link:hover {
    color: #fff;
    opacity: 0.55
}

.card-img-top {
    width: 100%;
    object-position: center;
    object-fit: cover;
}

.servicos-container {
    text-align: center;
}

.servicos-container h4 {
    font-weight: bold;
    font-size: 2rem;
}

.servicos-container a {
    text-decoration: none;
    color: #000;
}

.card {
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
    transition: 0.3s;
    text-decoration: none;
}

.card:hover {
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 30px 0 darkgrey !important;
}

.card .saiba-mais {
    border-bottom: 1px solid lightgrey;
    color: #222;
    font-size: 1.5rem;
    letter-spacing: 3px;
    width: 60%;
    margin: auto 10px 15px 0;
}

.servicos-container .card-body {
    padding-bottom: 0.5rem;
}

.border {
    border: 1px solid lightgrey !important
}

.card {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.card-body .card-text {
    text-overflow: ellipsis;
    line-height: 1.2rem;
    word-wrap: break-word;
    max-height: 8rem;
    overflow: hidden;
    font-size: 1rem;
}

.card-header, .card-subtitle, .card-text:last-child {
    margin-bottom: 0;
    padding-bottom: 3rem;
}

.icon-eye {
    width: 50px
}

.popup-servico {
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: none;
    padding-top: 75px;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba( 0, 0, 0, 0.8);
    overflow-y: scroll;
}

.popup-servico-container {
    width: 80vw;
    height: auto !important;
    position: absolute;
    top: 25vh;
    left: 10vw;
    color: #fff;
    background-color: rgba( 0, 0, 0, .95);
    border-radius: 15px;
}

.popup-textarea {
    padding: 3rem;
    padding-left: 1rem;
    padding-bottom: 0;
}

.popup-servico-container img {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.popup-servico-container span {
    position: absolute;
    top: -10px;
    right: 10px;
    color: #fff;
    font-size: 3rem;
    z-index: 99;
}

.popup-servico-container span:hover {
    opacity: 0.9;
    cursor: pointer
}

.popup-servico-container .card-body .card-text {
    text-overflow: ellipsis;
    line-height: 1.5rem;
    word-wrap: break-word;
    max-height: auto;
    overflow: hidden
}
.btn{
    padding: 4% 0% 4% 4% !important
}
.btn-servico-nojs{
    margin-right: 1.5rem;
}

/* Media queries */

@media only screen and (max-width: 991px) {
    .popup-servico-container {
        border-radius: 15px;
        background-color: rgba( 0, 0, 0, 1)
    }
    .popup-servico-container img {
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        border-bottom-left-radius: 0px;
    }
}

@media only screen and (min-width: 980px) and (max-width: 1300px) {
    .card .saiba-mais {
        width: 90%
    }
}

@media only screen and (max-width: 980px) {
    .banner h1 {
        font-size: 9vw
    }
    .servicos-container {
        text-align: center;
    }
    .servicos-container h4 {
        font-weight: bold;
        font-size: 1rem !important;
    }
    .servicos-container p {
        font-size: 1rem !important;
    }
    .servicos-container a {
        font-size: 1rem !important;
    }
    .icon-eye {
        width: 40px
    }
}
@media only screen and (max-width:575px){
    .nojs-button{
        width: 100%;
    }
    .btn-servico-nojs{
        margin: 0rem !important;
        width: 100% !important;
        text-align: center !important;
    }
}

@media only screen and (max-width: 400px) {
    .card .saiba-mais {
        width: 80%;
    }
    .icon-eye {
        width: 20px
    }
}
