/* ====================================
Logo Style
==================================== */
.border-logo {
    position: fixed;
    top: 15px;
    left: 20px;
    z-index: 1;
}

.border-logo img {
    width: 100px;
}

/* ====================================
Navigation
==================================== */
.overlay-navigation {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    display: none;
    opacity: 0;
}

nav.site-navigation,
nav.site-navigation ul {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

nav.site-navigation ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
}

nav.site-navigation ul li {
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    display: none;
}

nav.site-navigation li a {
    position: relative;
    top: 46%;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Bad Script';
    font-weight: 300;
    letter-spacing: 4px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 1.1rem;
    opacity: 0;
}

nav.site-navigation li a:before {
    content: '';
    width: 70px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 100;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 0;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

@media (min-width: 800px) and (max-width: 1600px) {
    nav.site-navigation li:nth-child(2) a:before, nav.site-navigation li:nth-child(3) a:before, nav.site-navigation li:nth-child(4) a:before {
        width: 30px;
    }
}

nav.site-navigation li a:after {
    content: attr(data-content);
    font-size: 0.9rem;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    opacity: 0;
    position: absolute;
    z-index: 100;
    color: #fff;
    display: block;
    margin-right: auto;
    margin-left: auto;
    left: 0;
    right: 0;
    bottom: -50px;
    text-transform: none;
    font-family: 'Bad Script';
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0;
}

nav.site-navigation li a:hover:before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}

nav.site-navigation li a:hover:after {
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
    opacity: 1;
}

nav.site-navigation li:nth-of-type(1) {
    background-color: #29363B;
}

nav li:nth-of-type(2) {
    background-color: #EA495F;
}

nav.site-navigation li:nth-of-type(3) {
    background-color: #F4837D;
}

nav.site-navigation li:nth-of-type(4) {
    background-color: #dcbd8d;
}

nav.site-navigation li:nth-of-type(5) {
    background-color: #99B998;
}

/* ====================================
Burger king
==================================== */
.open-overlay {
    position: absolute;
    right: 5rem;
    top: 3.2rem;
    z-index: 10000;
    width: 34px;
    display: block;
    cursor: pointer;
}

.open-overlay.timeSchedule-menu {
    position: fixed;
}

.open-overlay span {
    display: block;
    height: 1px;
    background-color: #fff;
    cursor: pointer;
    margin-top: 8px;
}

.animate-top-bar {
    -webkit-animation: animate-top-bar 0.6s linear 1 both;
    animation: animate-top-bar 0.6s linear 1 both;
}

.animate-bottom-bar {
    -webkit-animation: animate-bottom-bar 0.6s linear 1 both;
    animation: animate-bottom-bar 0.6s linear 1 both;
}

.animate-middle-bar {
    -webkit-animation: animate-middle-bar 0.6s linear 1 both;
    animation: animate-middle-bar 0.6s linear 1 both;
}

.animate-out-top-bar {
    -webkit-animation: animate-out-top-bar 0.6s linear 1 both;
    animation: animate-out-top-bar 0.6s linear 1 both;
}

.animate-out-bottom-bar {
    -webkit-animation: animate-out-bottom-bar 0.6s linear 1 both;
    animation: animate-out-bottom-bar 0.6s linear 1 both;
}

.animate-out-middle-bar {
    -webkit-animation: animate-out-middle-bar 0.6s linear 1 both;
    animation: animate-out-middle-bar 0.6s linear 1 both;
}

/* ====================================
Animation keyframes
==================================== */
@-webkit-keyframes animate-top-bar {
    0% {
        background-color: #fff;
    }
    50% {
        -webkit-transform: translateY(9px);
        transform: translateY(9px);
    }
    80% {
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
        background-color: #fff;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #fff;
    }
}

@keyframes animate-top-bar {
    0% {
        background-color: #fff;
    }
    50% {
        -webkit-transform: translateY(9px);
        transform: translateY(9px);
    }
    80% {
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
        background-color: #fff;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #fff;
    }
}

@-webkit-keyframes animate-bottom-bar {
    0% {
        background-color: #fff;
    }
    50% {
        -webkit-transform: translateY(-9px);
        transform: translateY(-9px);
    }
    80% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        background-color: #fff;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #fff;
    }
}

@keyframes animate-bottom-bar {
    0% {
        background-color: #fff;
    }
    50% {
        -webkit-transform: translateY(-9px);
        transform: translateY(-9px);
    }
    80% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        background-color: #fff;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #fff;
    }
}

@-webkit-keyframes animate-middle-bar {
    0% {
        background-color: #fff;
    }
    80% {
        background-color: #fff;
    }
    100% {
        background-color: #fff;
    }
}

@keyframes animate-middle-bar {
    0% {
        background-color: #fff;
    }
    80% {
        background-color: #fff;
    }
    100% {
        background-color: #fff;
    }
}

@-webkit-keyframes animate-out-top-bar {
    0% {
        background-color: #29363B;
    }
    50% {
        -webkit-transform: translateY(9px);
        transform: translateY(9px);
    }
    80% {
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
        background-color: #29363B;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #FFF;
    }
}

@keyframes animate-out-top-bar {
    0% {
        background-color: #29363B;
    }
    50% {
        -webkit-transform: translateY(9px);
        transform: translateY(9px);
    }
    80% {
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
        background-color: #29363B;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #FFF;
    }
}

@-webkit-keyframes animate-out-bottom-bar {
    0% {
        background-color: #29363B;
    }
    50% {
        -webkit-transform: translateY(-9px);
        transform: translateY(-9px);
    }
    80% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        background-color: #29363B;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #FFF;
    }
}

@keyframes animate-out-bottom-bar {
    0% {
        background-color: #29363B;
    }
    50% {
        -webkit-transform: translateY(-9px);
        transform: translateY(-9px);
    }
    80% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
        background-color: #29363B;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        background-color: #FFF;
    }
}

@-webkit-keyframes animate-out-middle-bar {
    0% {
        background-color: #29363B;
    }
    80% {
        background-color: #29363B;
    }
    100% {
        background-color: #fff;
    }
}

@keyframes animate-out-middle-bar {
    0% {
        background-color: #29363B;
    }
    80% {
        background-color: #29363B;
    }
    100% {
        background-color: #fff;
    }
}

.home a {
    color: #222;
    font-weight: 300;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    position: absolute;
    z-index: 10;
    top: 50px;
    left: 50px;
    padding-bottom: 3px;
    border-bottom: 1px solid #222;
}

@media (max-width: 800px) {
    nav.site-navigation ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    nav.site-navigation ul li {
        height: 20%;
    }
    nav.site-navigation ul li a {
        font-size: 11px;
    }
    nav.site-navigation li a:after {
        font-size: 0.6rem;
        bottom: -25px;
    }
    nav.site-navigation li a:hover:after {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    .open-overlay {
        right: 1rem;
        top: 2.5rem;
    }
    nav.site-navigation li a:before {
        width: 25px;
    }
}
