.button_container {
    position: fixed;
    height: 42px;
    width: 42px;
    cursor: pointer;
    z-index: 100;
    transition: opacity .25s ease;
    right: 30px;
    background: #ffffff;
    border-radius: 40px;
}

.header .dark-logo {
    display: none;
}

.header.scrolled img.dark-logo {
    display: block;
}

.header.scrolled img.white-logo {
    display: none;
}

.homecard-main img {
    border-radius: 10px;
    box-shadow: 2px -2px 0px 0px #ebe7e7;
}

.button_container:hover {
    opacity: .7;
}

.button_container.active .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
    background: #FFF !important;
}

.button_container.active .middle {
    opacity: 0;
    background: #FFF !important;
}

.button_container.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: #FFF !important;
}

.button_container span {
    background: #f9841a;
    border: none;
    height: 3px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
}

.button_container span:nth-of-type(2) {
    top: 11px;
    width: 80%;
}

.button_container span:nth-of-type(3) {
    top: 22px;
    width: 60%;
}

.button_container.active span {
    width: 100% !important;
}

.overlay {
    z-index: 1;
    position: fixed;
    background: #000000f5;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
}

.overlay.open {
    opacity: .9;
    visibility: visible;
    height: 100%;
}

.overlay.open li {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .35s;
    width: fit-content;
}

.overlay.open li:nth-of-type(2) {
    animation-delay: .4s;
}

.overlay.open li:nth-of-type(3) {
    animation-delay: .45s;
}

.overlay.open li:nth-of-type(4) {
    animation-delay: .50s;
}

.overlay nav {
    position: relative;
    height: 70%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: 400;
    text-align: center;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}

.overlay ul li {
    display: block;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: #FFF;
    text-decoration: none;
    overflow: hidden;
    font-size: 22px;
    line-height: normal;
    text-align: left;
}

.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
    width: 100%;
}

@media (min-width: 1200px) {
    .overlay ul li a:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0%;
        transform: translateX(-50%);
        height: 3px;
        background: #FFF;
        transition: .35s;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

header {
    padding: 12px 0px 0px 0px !important;
    position: relative;
    width: 100%;
    z-index: 999;
    transition: position 0.3s ease;
}

header.sticky {
    position: fixed;
    top: 0;
    left: 0;
}

@media screen and (max-width:1000px) {
    .overlay ul {
        width: 100%;
    }
    .overlay ul li a {
        font-size: 18px;
    }
    .overlay ul li {
        margin-bottom: 15px;
    }
}

@media screen and (max-width:500px) {
    .row.headrow {
        overflow-y: scroll;
        /*height: 500px;*/
    }
}

@media screen and (max-width:576px) {
    .sm-d-none {
        display: none;
    }
}