/*
Theme Name: Cafetheme
Theme URI: none
Author: David Weiss
Author URI: none
Description: Quantas theme.
Version: 1.0.0
License: Private
License URI: N/A
Text Domain: cafetheme
*/

:root {
  --body-bg: #f8f8f8;
}

body {
    font-family: Geneva, sans-serif;
    font-size: 18px;
    
    background-color: var(--body-bg);

    margin: 0;
}
main {
	overflow: clip;
}


	/* Tweaks */
.invis {
    display: none;
}
.unselectable {
	user-select: none;
	-webkit-user-select: none;
	pointer-events: none;
}
.undeco-link {
    color: inherit;
    text-decoration: none;
}
.p-nomargin {
	margin: 0;
}


	/* -pendingtitle */
.fit-image {
    width: 100%;
}

.soft-border-img {
	border-radius: 15%;
}

nav a, nav ul {
    color: inherit;
    text-decoration: none;
    list-style-type: none;
}

.mobile-abutton {
    text-decoration: none;
    max-width: max-content;

    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.7em;
    font-weight: bold;
    text-align: center;
}



			/* Header - Nav */

.header-navigation {
    position: sticky;
    z-index: 15; 
    top: -2px;
    box-shadow: 0px 2.5px 0px #b5b5b5;
}

#navbar-wrapper {
    background-color: var(--body-bg);
    width: 100%;
    height: 66px;
    box-sizing: border-box;
    /* border-bottom: 2px solid red; */
    
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center; 
    padding: 0 15px;  
    /* padding: 0 10px;  Find a way to move the navbar stuff more to the center*/
}
.navbar-qantaslogo {
    max-height: 38px;
}

.navbar-orderbtn {
    font-size: 1rem;
    color: white;
    background-color: #FFA111;
    border: 1px solid #FFA111;

    padding: 5px 20px;
    border-radius: 20px;

    font-weight: bold;
    font-family: 'Poppins';
}

.navbar-orderbtn:hover {
    color: #FFA111;
    background-color: #ffffff;
    border-color: #fca402;
}
/*
    button hover color ideas:
    background-color: #fff8E8;
    border-color: #ffd777;
*/

            /* Dropdown */
#navbar-dropdown {
    max-height: 0;
    overflow: hidden;
    width: 100%;
    position: absolute;

    background-color: white;
    transition: max-height 0.38s ease;
}
#navbar-toggle-dropdown:checked ~ #navbar-dropdown {
    height: 64px;
    max-height: 64px;
    position: inherit;
}
.navbar-order-links {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    padding: 0;
}


            /* Dropdown */
#navbar-sidebar {
    position: absolute;
    display: flex;
    flex-direction: column;
    height: 105vh;
    width: 75%;

    background-color: white;
    box-shadow: 3px 0px 0px #b5b5b5;
    align-items: center;

    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.3s, opacity 1.5s, visibility 0s linear 0.3s;
}
#navbar-toggle-sidebar:checked ~ #navbar-sidebar {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.3s, opacity 0s, visibility 0s linear 0s;
}
.navbar-side-links{
    padding: 0 30px;
    text-align: center;
}
.navbar-side-links li {
    color: #FFA111;
    font-size: 1.3rem;
    padding: 20px 0;
}
.sidebar-close-icon {
    width: 40px;
    aspect-ratio: 1 / 1;
}

/* transition: linear 0.5s; */
  /* z-index: -1; */





        /* Right Side - Navigation */
/* .navbar-sidebar { */
    /* background-color: #f6f6f6; */
    /* box-shadow: 3px 0px 0px #b5b5b5;   Check box shadow is just on the right not both sides */
/* 
    width: 200px;
    height: 120%;

    display: flex;
    flex-direction: column;
    align-items: center;
    
    position: fixed;
    top: 0;
    left: calc(-100%);
    padding: 0;
    margin: 0;

    visibility: hidden;
    z-index: 1;
    transition: ease-out 0.2s;
}

#navbar-toggle-sidebar:checked ~ #navbar-sidebar {
    visibility: visible;
    top: 0;
    left: 0;
    
} */







        /* A bit Zoomed in or old phones */
@media (max-width: 350px) {
    .navbar-qantaslogo {
        max-width: 70%;
        margin-left: 0;
    }

    .navbar-orderbtn {
        padding: 4px 15px;
        border-radius: 15px;
    }
}

        /* Very zoomed in */
@media (max-width: 300px) {
    .navbar-qantaslogo {
        display: none;
    }

    .navbar-orderbtn {
        padding: 4px 5px;
        border-radius: 15px;
    }
}

			/* Header - Nav | Desktop View */

@media (min-width: 1024px) {

    .header-navigation {
        background-color: #fff;
        display: flex;
        
        width: 100%;
        height: 11vh;
        padding: 0 0;
        /* min-height: 8vh; */
        /* position: sticky;
        top: 0;
        z-index: 100; */
    }

    .nav-top {
        display: flex;
        align-self: center;

        width: 100%;
  
        background-color: #fff;
    }
}



			/* Footer */
footer {
    display: flex;
    flex-direction: column;
	align-items: center;
	
    color: #dedede;
    background-color: #282828;
	
	margin-top: 30px;
	padding: 15px 15px;
	font-size: 0.85rem;
}

footer a {
    color: white;
    text-decoration: underline;
}

.footer-decoration {
    text-align: center;
    padding: 35px 0;
    box-shadow: 0px 3px 0px #4e4e4e;
}

.footer-logo {
    max-width: 50%;
}

.footer-nav ul {
	padding-left: 0;
}

.footer-nav ul li {
	margin: 15px 0;
}










    /* Fonts  */

@font-face {
    font-family: 'Fredoka';
    src: url('fonts/Fredoka-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 75% 125%;
}

@font-face {
    font-family: 'LilitaOne';
    src: url('fonts/LilitaOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



@font-face {
    font-family: 'Iansui';
    src: url('fonts/Iansui-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Pacifico';
    src: url('fonts/Pacifico-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}





