@import url('https://fonts.googleapis.com/css2?family=Julius+Sans+One&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #6C2B25;
}

/* navbar */

#nav {
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    position: fixed;
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
    list-style-type: none;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: transparent;
    text-align: center;
    z-index: 2;
}

#nav_bg {
    position: fixed;
    top: 0;
    background-color: #56241f;
    z-index: 2;
    width: 100%;
    height: 0;
    transition: height ease 0.5s;
}

/* navbar telephone */
#tele {
    position: fixed;
    color: white;
    top: 25px;
    right: 10%;

    & i {
        margin-right: 10px;
    }
}

/* navbar logo */
#logo {
    position: fixed;
    background-color: transparent;
    padding: 10px;
    left: 1%;
    width: 10%;
    min-width: 80px;
}

#logo_bg {
    position: fixed;
    padding: 0;
    width: 10%;
    left: 1%;
    height: 0;
    min-width: 80px;
    background-color: #50211b;
    transition: height ease 0.4s;
}

/* navbar btns */

#nav li {
    float: none;
    display: inline-block;

    & a {
        display: block;
        color: white;
        padding: 25px 18px;
        text-decoration: none;
    }
}

#mobile_nav_btn {
    color: white;
    float: right;
    padding: 18px 18px;
    font-size: 2em;
    font-weight: 200;
    display: none;

    &:hover {
        color: #CCC;
    }
}

/* side navbar */

#side_nav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 3;
    top: 0;
    right: -250px;
    background-color: #56241f;
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;

    & a {
        padding: 30px 8px 30px 32px;
        text-decoration: none;
        font-weight: 300;
        font-style: normal;
        font-size: 1.5em;
        list-style-type: none;
        font-family: 'Lato', sans-serif;
        color: white;
        display: block;
        transition: 0.3s;

        &:hover {
            background-color: #50211b;
        }
    }

    & .close_btn {
        position: absolute;
        top: 0;
        left: 0;
        padding: 16px 8px 8px 32px;
        font-size: 36px;

        &:hover {
            background-color: transparent;
            color: #CCC;
        }
    }

    & hr {
        margin: 0;
        width: 85%;
        height: 1px;
        margin-left: auto;
        margin-right: auto;
        background-color: white;
    }
}

@media screen and (max-height: 450px) {
    #side_nav {
        padding-top: 15px;

        & a {
            font-size: 18px;
        }
    }
}

#opacity_overlay {
    position: fixed;
    height: 150%;
    width: 150%;
    background-color: black;
    opacity: 0;
    z-index: 2;
    display: none;
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

/* responsive */

@media screen and (max-width: 1085px) {
    #tele {
        display: none;
    }
}

@media screen and (max-width: 670px) {
    #mobile_nav_btn {
        display: block;
    }

    #nav li {
        display: none;
    }

    #tele {
        display: block;
        right: 0;
        left: 50%;
        transform: translate(-50%, 0);
    }

    #logo {
        left: 2%;
    }

    #logo_bg {
        left: 2%;
    }
}

@media screen and (max-width: 430px) {
    #tele {
        padding-left: 5%;
    }
}

@media screen and (max-width: 379px) {
    #tele {
        display: none;
    }
}

/* opening img */
#title_img {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(20, 20, 20, .7), rgba(20, 20, 20, .7)), url('../img/index_img.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: scroll;
}

/* img decoration */
#title_text {
    width: 100%;
    text-align: center;
    color: white;
    font-family: 'Julius Sans One', sans-serif;
    font-weight: 600;
    font-size: 5rem;
}

@media screen and (max-width: 505px) {
    #title_text {
        font-size: 3rem;
    }
}

.sub_text {
    width: 100%;
    text-align: center;
    color: white;
    font-family: 'Julius Sans One', sans-serif;
    font-size: 1rem;
}

hr {
    width: 15%;
    border: none;
    background-color: #F6E28B;
    height: 2px;
}

.title_button {
    position: relative;
    flex-direction: column;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 13px;
    text-align: center;
    text-decoration: none;
    font-family: 'Julius Sans One', sans-serif;
    font-size: 0.9rem;
    border-radius: 16px;
    cursor: pointer;
    z-index: 1;
    transition: 0.4s ease;
    overflow: hidden;

    &:hover {
        color: #1e272e;
    }

    &::before {
        position: absolute;
        top: 0;
        right: 50%;
        bottom: 0;
        left: 50%;
        background: transparent;
        transition: 0.3s ease;
        content: '';
        z-index: -1;
    }

    &:hover {
        &::before {
            background: white;
            right: 0%;
            left: 0%;
        }
    }
}

/* a_sections */
:root {
    --p_lr_padding: 10%;
}

.a_section_text {
    padding-left: var(--p_lr_padding);
    padding-right: 100px;
}

.a_section_small_title {
    text-transform: uppercase;
    padding-left: var(--p_lr_padding);
    color: #F6E28B;
    font-family: 'Julius Sans One', sans-serif;
    font-style: normal;
    font-size: 0.9rem;
}

.a_section_title {
    padding: 10px var(--p_lr_padding);
    color: #F6E28B;
    font-family: 'Julius Sans One', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 2.5rem;
}

.a_paragraph {
    padding-left: var(--p_lr_padding);
    color: #F6E28B;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;
}

.a_section_img {
    border-radius: 20px;
    float: right;
    width: 500px;
    height: 500px;
    margin-right: var(--p_lr_padding);
}


/* b_sections */
.b_section_text {
    float: right;
    padding-right: var(--p_lr_padding);
    margin-left: 100px;
}

.b_section_small_title {
    text-transform: uppercase;
    padding-right: var(--p_lr_padding);
    color: #F6E28B;
    font-family: 'Julius Sans One', sans-serif;
    font-style: normal;
    font-size: 0.9rem;
}

.b_section_title {
    padding: 10px var(--p_lr_padding) 10px 0px;
    color: #F6E28B;
    font-family: 'Julius Sans One', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 2.5rem;
}

.b_paragraph {
    padding-right: var(--p_lr_padding);
    color: #F6E28B;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;
}

.b_section_img {
    width: 500px;
    margin-left: var(--p_lr_padding);
}

#b_section_img_1 {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

#b_section_img_2 {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#b_section_img_1_m {
    display: none;
    border-radius: 20px;
}

#b_section_img_2_m {
    display: none;
    border-radius: 20px;
}

#mobile_seperator_img {
    display: none;
}

.buffet_img {
    display: flex;
    flex-direction: column;
    margin-left: var(--p_lr_padding);
}

section {
    padding-bottom: 100px;
    padding-top: 100px;
}

@media screen and (max-width: 999px) {
    :root {
        --p_lr_padding: 0;
    }

    section {
        flex-direction: column;
        align-items: center;

        & img {
            text-align: center;
        }
    }

    .a_section_text,
    .b_section_text {
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 5%;
    }

    .b_section_text {
        margin: 0;
        order: 1;
    }

    .a_section_img {
        width: 85%;
        height: 85%;
    }

    .buffet_img {
        display: none;
    }

    #b_section_img_1_m, #b_section_img_2_m {
        display: inline;
        width: 100%;
        margin-top: 20px;
    } 

    #mobile_seperator_img {
        display: inline;
    }

    .a_section_title,
    .b_section_title {
        font-size: 2rem;
    }

}

/* footer */

footer {
    color: #F6E28B;
    background-color: #4A1C18;
    width: 100%;
    padding-top: 40px;
}

#footer_contact {
    float: left;
    padding-left: 20%;
}

#footer_time {
    padding-right: 20%;
    float: right;
}

.footer_title {
    font-family: 'Julius Sans One', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.5rem;
    padding-bottom: 10px;
}

.footer_sub {
    color: #F6E28B;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;

    & i {
        padding-right: 5px;
    }
}

#footer_inf {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_btn {
    text-decoration: none;
    color: #F6E28B;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;

    &:hover {
        color: #A68B3C;
        transition: 0.2s ease;
    }
}

#social_media {
    padding-top: 30px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-content: center;

    & a {
        color: #F6E28B;
    }

    & i {
        font-size: 1.3em;

        &:hover {
            color: #A68B3C;
            transition: 0.2s ease;
        }
    }
}

#fb {
    padding-right: 10px;
}

#ig {
    padding-left: 10px;
}

#footer_bottom {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    text-align: center;
    background-color: #35100E;
}

#footer_links {
    display: flex;
    justify-content: center;
    align-content: center;
    left: 50%;
    padding-bottom: 5px;
}

#ln {
    padding-right: calc(5px);
}

#dp {
    padding-left: 5px;
}

@media screen and (max-width: 439px) {
    #footer_inf {
        flex-direction: column;

        & hr {
            display: none;
        }

        & div {
            padding-left: 0;
            padding-right: 0;
        }
    }

    #footer_time {
        max-width: 217px;
    }

    #footer_contact {
        width: 217px;
        padding-bottom: 8%;
    }

    #social_media {
        padding-top: 0;
    }
}