@font-face {
    font-family: "Calibri";
    src: url("../fonts//calibrib.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

:root {
    --brand-color: #EDD23B;
    --black-0: #ffffff;
    --black-50: #fafafa;
    --black-100: #f5f5f5;
    --black-200: #eeeeee;
    --black-300: #e0e0e0;
    --black-400: #bdbdbd;
    --black-500: #9e9e9e;
    --black-600: #757575;
    --black-700: #616161;
    --black-800: #424242;
    --black-900: #212121;
    --rubik: 'Rubik';
    --calibri: 'Calibri';
}

.hover-dropdown:hover .dropdown-menu,
.hover-dropdown:focus .dropdown-menu {
    display: block;
}

body {
    background-color: var(--brand-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.header {
    position: sticky;
    top: 0;
    z-index: 2;
}

.custom-navbar {
    background: var(--black-900);
    border: none;
}

.custom-navbar ul li a,
.mobile-menu-main li a {
    font-family: var(--rubik);
    color: var(--brand-color) !important;
    font-size: 16px;
    transition: 0.15s all;
}

.custom-navbar ul li a:hover,
.custom-navbar ul li a:focus,
.custom-navbar ul li a:active,
.mobile-menu-main li a:hover,
.mobile-menu-main li a:focus,
.mobile-menu-main li a:active {
    background: var(--brand-color);
    color: var(--black-900) !important;
}

.custom-navbar .dropdown-menu,
.mobile-menu-main {
    background: transparent;
    transition: 0.15s all;
    margin: 0;
    padding: 0;
}

.custom-navbar .dropdown-menu li,
.mobile-menu-main li {
    background: var(--black-900);
}

#navbar {
    display: flex;
    justify-content: center;
}

.header-small {
    background: var(--brand-color);
}

.header-small .small-header-menu-icon {
    font-size: 81px;
}

.hero {
    font-family: var(--calibri);
    color: var(--black-900);
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 40px;
}

.header-h1 {
    font-size: 81px;
    color: var(--black-900);
    margin-bottom: 0;
}

.sub-header {
    font-size: 42px;
    color: var(--black-900);
}

.description {
    font-size: 18px;
    color: var(--black-900);
    font-family: var(--rubik);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.cards .card-item {
    width: 310px;
    margin: 30px;
    margin-bottom: 0;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.card-item:hover .card-title {
    background: var(--brand-color);
    color: var(--black-900);
}

.card-item .card-item-image {
    position: relative;
}

.card-title {
    position: absolute;
    background: var(--black-900);
    font-family: var(--calibri);
    color: var(--brand-color);
    font-size: 24px;
    top: 30px;
    padding: 10px;
    transition: 0.15s all;
}

.card-text {
    margin-top: 30px;
    font-family: var(--rubik) !important;
    text-decoration: none !important;
}

.portfolio-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-item {
    margin: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.portfolio-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.portfolio-item {
    width: 307px;
    height: 224px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-item img {
    max-width: 100%;
}

.portfolio-item:last-of-type .img-wrap {
    /* padding: 0; */
}

.portfolio-header {
    font-family: var(--calibri);
    font-size: 81px;
    text-align: center;
}

.portfolio-description {
    text-align: center;
    font-family: var(--rubik);
    font-size: 24px;
    margin-top: 20px;
}

.img-wrap {
    padding: 30px;
    background: var(--black-0);
}

.footer-container span {
    font-family: var(--calibri);
    margin-left: 10px;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-decoration: none !important;
    color: var(--black-900) !important;
}

.map-container,
.about-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: var(--calibri);
    color: var(--black-900);
    align-items: center;
    flex-wrap: wrap;
}

.contact-header {
    margin-bottom: 20px;
    font-size: 81px;
}

.map-info {
    display: flex;
    flex-wrap: wrap;
}

.address-row {
    display: flex;
    font-family: var(--rubik);
    color: var(--black-900);
    margin-bottom: 30px;
    margin-left: 30px;
    line-height: 1.4;
    align-items: center;
}

.address-row i {
    margin-right: 10px;
}

.address-row a {
  text-decoration: none !important;
  color: inherit !important;
}

.about-description {
    font-family: var(--rubik);
    max-width: 946px;
}

.about-header {
    margin-bottom: 20px;
    font-size: 64px;
}

.about-list {
    margin-top: 10px;
    list-style-type: none;
    padding-left: 10px;
}

@media (max-width:1200px) and (min-width:992px) {
    .container {
        width: 1001px;
    }
}

@media (max-width:992px) {
    .header-wide {
        display: none;
    }

    .header-small {
        display: flex;
    }

    .map-info img {
        height: 100%;
        width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width:490px) {
    h1 {
        font-size: 46px !important;
        text-align: center;
    }

    .header-small {
        position: fixed;
        top: 0%;
        width: 100%;
    }

    main {
        margin-top: 83px;
    }

    .black-main {
        border: 10px solid var(--black-900);
    }

    .cards {
        border-top: 10px solid var(--black-900);
    }

    .sub-header,
    .description {
        text-align: center;
    }

    .portfolio-item {
        width: 100%;
    }

    .portfolio-item img {
        width: 100%;
    }

    .portfolio-item:last-of-type .img-wrap {
        padding: 30px;
    }

    .dropdown-menu>li>a {
        width: 100vw;
        padding: 7px 20px;
    }
}

@media (min-width: 993px) {
    .header-wide {
        display: block;
    }

    .header-small {
        display: none;
    }
}