body {
    font-family: 'Josefin Sans', sans-serif;
}

.navbar {
    padding: 2rem 1rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 3.5rem;
    padding-left: .5rem;
    font-size: 1.2rem;
    color: #3e3e3e;
}

.navbar-nav {
    margin: auto;
}

.photo {
    background-image: url(../../img/banner2.jpg);
    min-height: 472px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 472px;
}

.photo2 {
    background-image: url(../../img/banner3.jpg);
}

.portfolio {
    margin: 4rem auto;
    padding: 0;
}

.portfolio-item {
    margin-bottom: 2rem;
    opacity: .85;
    transition: .3s;
}

.portfolio-item:hover {
    opacity: 1;
}

.filter-button {
    position: relative;
    display: inline-block;
    padding: 0;
    margin: 1rem;
    margin: .5rem;
}

.filter-button:focus {
    box-shadow: none;
}



.portfolio_ul::before {
    position: absolute;
    content: '';
    bottom: -7px;
    left: 50%;
    height: 4px;
    width: 80%;
    border-radius: 6px;
    background: #f3f3f3;
    margin-left: -40%;

}

.portfolio_ul a.active {
    color: #92c5d9;
}

.portfolio_ul a::after {
    position: absolute;
    content: '';
    bottom: -17px;
    left: 50%;
    width: 100%;
    height: 4px;
    border-radius: 6px;
    background: #92c5d9;
    transform: translate3d(-50%, 0, 0);
    opacity: 0;
    transition: all .25s ease;
}

.portfolio_ul a.active::after,
.portfolio_ul a:hover::after {
    width: 100%;
    opacity: 1;
}


.line {
    border: 1px solid #ccc;
    margin: 3rem 0;
}

.icon-envelope {
    vertical-align: middle;
}

.filter.add {
    transform: scale(0.001);
    transition-property: opacity, transform;
    transition-duration: 0.4s;
}

.modal-content {
    position: relative;
    background-color: rgba(255, 255, 255, 0);
    border: none;
}

.modal-footer {
    border-top: 0;
    padding: .75rem 0;
}

.modal {
    overflow: auto;
}

.close-btn {
  background: transparent;
  border: 2px solid #333333;
  border-radius: 0;
  font-size: 28px;
  color: #333333;
  font-weight: bold;
  line-height: 1;
  transition: color 0.2s;
  padding-top:10px;
}

.close-btn:hover {
  background: #333333;
  color: #fff;
}

@media (min-width: 480px) {
    .portfolio_ul::before {
        position: absolute;
        content: '';
        bottom: -7px;
        left: 50%;
        height: 4px;
        width: 60%;
        border-radius: 6px;
        background: #f3f3f3;
        margin-left: -30%;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 1440px;
    }
}

@media (min-width: 767px) {
    .filter-button {
        margin: 1rem;
    }

    .portfolio_ul {
        max-width: 60%;
        margin: auto;
    }

    .portfolio_ul::before {
        position: absolute;
        content: '';
        bottom: 0;
        left: 50%;
        height: 4px;

        width: 56%;
        border-radius: 6px;
        background: #f3f3f3;
        margin-left: -28%;
    }
}

@media (min-width: 992px) {
    .portfolio_ul::before {
        position: absolute;
        content: '';
        bottom: 0;
        left: 50%;
        height: 4px;
        width: 33%;
        border-radius: 6px;
        background: #f3f3f3;
        margin-left: -16.5%;
    }
}