.navbar {
    transition: background-color .2s ease-in-out, box-shadow 1s ease-out;
}

.navbar.scroll {
    background-color: white;
    box-shadow: 0 0 15px rgba(0,0,0,.2);
}

.navbar.scroll .menu .bar {
    background-color: #000;
}

.navbar.scroll img.logo {
    height: 64px;
}

.menu {
    height: 70px;
    width: 70px;
    position: relative;
    border: 5px solid transparent;
    border-radius: 100%;
    transition: 0.3s;
    cursor: pointer;
    margin-left: 10px;
    margin-top: -15px;
    z-index: 1046;
}

.bar {
    height: 3px;
    width: 40px;
    display: block;
    margin: 10px auto;
    position: absolute;
    background-color: #fff;
    border-radius: 10px;
    transition: 0.4s;
}

.bar:nth-of-type(1) {
    top: 15px;
    transition: top 0.3s ease 0.3s, transform 0.3s ease-out 0.1s;
}

.bar:nth-of-type(2) {
    top: 25px;
    transition: ease 0.3s 0.3s;
    transition-property: opacity;
}

.bar:nth-of-type(3) {
    top: 35px;
    transition: top 0.3s ease 0.3s, transform 0.3s ease-out 0.1s;
}

.menu.active .bar {
    background-color: #000;
}

.menu.active .bar:nth-of-type(1) {
    top: 25px;
    transform: rotate(45deg);
    transition: top 0.3s ease 0.1s, transform 0.3s ease-out 0.5s;
}

.menu.active .bar:nth-of-type(2) {
    opacity: 0;
}

.menu.active .bar:nth-of-type(3) {
    top: 25px;
    transform: rotate(-45deg);
    transition: top 0.3s ease 0.1s, transform 0.3s ease-out 0.5s;
}

.offcanvas {
    width: 262px !important;
}

.offcanvas-body {
    margin-top: 90px;
    padding: 0.5rem 31px;
}

.canvas-btns button {
    color: black;
    transition: 0.25s;
    background: none;
    border-bottom: 3px solid black;
    text-transform: uppercase;
    padding: 0.5em 2em;
    border-radius: 0;
    width: 200px;
    margin-bottom: 25px;
}

.canvas-btns button:hover, .canvas-btns button:focus {
    box-shadow: inset 0 -3.25em 0 0 black;
    color: #fff;
}

.language-selector {
    z-index: 1046;
}

.language-selector img {
    margin-right: 10px;
    cursor: pointer;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: transparent !important;
}

.dropdown-menu.dropdown-menu-dark {
    background-color: #292929 !important;
}

.offcanvas-backdrop.show {
    opacity: .6 !important;
}

@keyframes mrotr {
    0% {
        transform: translateY(0px) rotate(0);
    }
    50% {
        transform: translateY(15px) rotate(0);
    }
    100% {
        transform: translateY(15px) rotate(45deg);
    }
}

@keyframes mrotl {
    0% {
        transform: translateY(0px) rotate(0);
    }
    50% {
        transform: translateY(-15px) rotate(0);
    }
    100% {
        transform: translateY(-15px) rotate(-45deg);
    }
}

@keyframes rotateR {
    from {
        transform: translateY(0px) rotate(0);
    }
    to {
        transform: translateY(15px) rotate(45deg);
    }
}

@keyframes rotateL {
    from {
        transform: translateY(0px) rotate(0);
    }
    to {
        transform: translateY(-15px) rotate(-45deg);
    }
}

@keyframes moveUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(25px);
    }
}

@keyframes fade {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}