@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600&display=swap');


body {
    font-family: 'League Spartan', sans-serif;
    font-size: 19px;
    line-height: 35px;
    color: #505050;
}


header {
    /*width: 100%;*/
    /*display: flex;*/
    /*justify-content: space-between;*/
    /*align-items: center;*/
    padding: 40px 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    transition: padding 0.3s;
}

main{
    padding-top: 160px;
}

header .row {
    align-items: center;
}

#logo {
    display: flex;
    align-items: center;
}

#logo img {
    max-width: 80px;
    transition: max-width 0.3s;
}

#logo h1 {
    color: #21252a;
    font-size: 30px;
    margin: 0 0 0 20px;
    font-weight: 400;
}

nav {
    align-self: end;
}

nav ul {
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    text-transform: uppercase;
    margin-left: 50px;
}

nav ul li:first-of-type {
    margin-left: 0;
}

nav ul li a {
    color: #21252a;
    font-size: 17px;
    font-weight: 500;
}

h2 {
    text-transform: uppercase;
    color: #000;
}

a {
    color: #fff;
    text-decoration: none;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #da0428;
    border-color: #da0428;
}

section#services{
    background-color: #2b2a2a;
    padding: 50px 0;
    color:#fff;
}
section#services h2{
    color:#fff;
}

section#contact{
    background-color: #2b2a2a;
    padding: 50px 0;
    color:#fff;
}

section#contact .col a{
    color: #fff;
}

section#contact .col a:hover{
    text-decoration: underline;
}

section#contact h2{
    color:#fff;
}

section + section {
    padding-top: 50px;
}

section h2 {
    margin-bottom: 40px;
}

#services ul {
    padding-left: 16px;
    margin: 0;
}

#references #referencesFilter {
    margin-bottom: 40px;
}

#references #referencesFilter .nav-link{
    margin: 0 10px 10px 0;
}

#references #referencesFilter .nav-link{
   color: #2e2e2e;
    border:1px solid #2e2e2e;
}

#references #referencesFilter .nav-link.active{
    background-color: #2e2e2e;
    color:#fff;
}

#references .reference {
    margin-bottom:90px;
}
#references .reference a {
    display: none;
}

#references .reference a:nth-child(-n + 4){
    display: block;
}

#references .reference > a img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}

#references .reference .gallery a img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#references .reference .gallery {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 10px;
    margin-top: 10px;
}

#references .reference .gallery a {
    height: 100px;
    width: 100%;
    background: #000;
}

.filterDiv {
  display: none;
}

.show {
  display: block;
}

.btn {
  cursor: pointer;
}

.is-scrolled header{
    padding: 10px 0;
}

.is-scrolled #logo img{
    max-width: 40px;
}


@media(max-width: 991px){
    #references .reference > a img{
        max-height: 180px;
    }

    #references .reference .gallery a{
        height: 60px;
    }
}

@media(max-width: 767px){
    #contact .row .col{
        margin-bottom: 20px;
    }
    #contact .row .col:last-of-type{
        margin-bottom: 0;
    }
    #logo img{
        max-width: 40px;
    }

    #logo h1{
        font-size: 21px;
        margin: 3px 0 0 13px;
    }

    nav ul{
        display: flex;
    }

    nav ul li{
        margin-left: 15px;
    }

    nav ul li a{
        font-size: 14px;
    }

    .row{
        flex-direction: column;
    }

    header{
        padding: 15px 0;
    }

    main{
        padding-top: 70px;
    }

    section + section{
        padding-top: 40px;
    }

    section#services{
        padding: 40px 0;
    }

    section#contact{
        padding: 40px 0;
    }

    section h2{
        margin-bottom: 25px;
    }

    #references #referencesFilter .nav-link{
        font-size: 14px;
        padding: 10px;
        line-height: 1;
    }

    .col-6{
        width: 100%;
    }

    #references .reference{
        margin-bottom: 45px;
    }

    footer{
        font-size: 14px;
    }

    .row.header-helper{
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .row .col{}
}
