header{
        height: 80px;
        background-color: var(--background);
}

header h1{
        display: inline-block;
        padding: 0px 10px;
        color: var(--white);
        line-height: 80px;
        font-size: 2em;
        margin-left: 30px;
}

header h1 img {
        width: auto;
        height: 80px;
}

header nav {
        /* display: inline-block; */
        margin-right: 10px;
        float: right;
        clear: both;
}

header nav ul{
        list-style: none;
        
}

header nav ul li{
        display: inline-block;
        position: relative;
        line-height: 80px;
        padding: 0px 10px;
}

header nav ul li a{
        display: block;
        color: var(--white);
        text-decoration: none;
        text-align: center;
        font-size: 0.85em;
        font-weight: 300;
        transition: 0.3s;
}
header nav ul li a.active {
        color: var(--highlight1Dim);
        transition: 0.3s;
}

header nav ul li a:hover {
        color: var(--highlight1);
        transition: 0.3s;
}

header nav ul li ul.dropdown li{
        display: block;
        width: 100%;
        
}

header nav ul li ul.dropdown{
        width: 150px;
        height: min-content;
        background: var(--backgroundFaint);
        position: absolute;
        z-index: 999;
        display: none;
        /* border-radius: 5px; */
        text-align: center;
        left: 50%;
        transform: translate(-50%, -15px);
}

header nav ul li:hover ul.dropdown {
        display: block;
}

header nav ul li ul.dropdown li a{
        font-size: 0.8em;
        line-height: 1.25em;
        padding: 10px;
}

header nav ul li ul.dropdown li a:hover{
        background: transparent;
        text-decoration: underline;
        color: var(--whiteDim);
}

header nav ul li a.booking {
        font-size: 0.8em;
        line-height: 0.75em;
        padding: 15px;
        background-color: var(--backgroundFaint);
        transition: 0.3s;
        color: var(--white);
}

header nav ul li a.booking.active {
        background-color: var(--highlight1Dim);
        transition: 0.3s;
}

header nav ul li a.booking:hover {
        background-color: var(--highlight1);
        transition: 0.3s;
}

/* side bar button */
/* bars button core and disable when not small page */
.barsButton {
  display: none;
}

/* remove the check button */
#sideBar {
  display: none;
}

.dropdownbutton{
        display: none;
}

/* .dropdownlabel{
        display: none;
} */
.dropdownlabel {
        display: inline-block;
        font-size: 0.5em;
        color: var(--white);
        line-height: 80px;
        cursor: pointer;
        margin: auto 10px;
        /* float: right; */
        position: absolute;
        transform: translate(-50%, 50%);
        left: 50%;

        bottom: 25px;
        margin-left: auto;
        margin-right: auto;
}

.dropdownlabel img{
        width: 10px;
        height: 10px;
}

/* media query for sizing down to laptops */
@media only screen and (max-width: 1075px) and (min-width: 900px) {
header h1{
        font-size: 1.5em;
}

header nav {
        margin-right: 5px;
}

header nav ul li{
        padding: 0px 6.5px;
}

header nav ul li a{
        font-size: 0.65em;
}

}

/* media query for sizing down to phones and tablet */
@media only screen and (max-width: 899px) {

header{
        height: 60px;
}

header h1{
        line-height: 60px;
        font-size: 1.75em;
        float: right;
}
header h1 img {
        width: auto;
        height: 60px;
}

.barsButton {
        font-size: 60px;
        color: var(--white);
        line-height: 60px;
        float: left;
        cursor: pointer;
        display: block;
        margin: 10px 10px;
}
.barsButton i {
  font-size: 1em;
}

.barsButton:hover i {
  color: var(--whiteDim);
}

nav{
        margin-top: 30px;
        display: block;
}

header nav ul li{
        margin: 10px;
        display: block;
        line-height: 60px;
        border-bottom-color: rgba(255, 255, 255, 0.2);
        border-bottom-style: solid;
        border-bottom-width: 1px;
}

header nav ul li a{
        display: inline-block;
        font-size: 0.95em;
}

header nav ul li ul.dropdown {
        display: none;
        position: relative;
        width: 80%;
        transform: translate(0%, 0%);
        margin: 10%;
}

.sidebar:checked ~ ul {
        display: block;
}

header nav ul li ul.dropdown li {
        width: auto;
        border-bottom-style: none;
}

header nav ul li ul.dropdown li a {
        font-size: 0.85em;
}

  /* nav link list */
nav ul {
    position: fixed;
    z-index: 9999;
    width: 75%;
    height: 100vh;
    background-color: var(--background);
    top: 0px;
    padding-top: 10px;
    /* when the side bar is not checked then move the side bar out of view */
    left: -80%;
    text-align: center;
    transition: all 0.1s;
    overflow-y: scroll;
    /* height: calc(100%);-80px */
}

#invisibleSideBar {
    display: inline-block;
    position: fixed;
    z-index: 9999;
    width: 60%;
    height: calc(100vh + 60px);
    background-color: var(--background);
    padding-top: 10px;
    left: -80%;
    top: -60px;
    transition: all 0.1s;
    background-color: rgba(0, 0, 0, 0.3);
}

#sidebar:checked ~ nav ul {
    left: 0%;
}

#sidebar:checked ~ nav #invisibleSideBar {
    left: 75%;
}

header nav ul li:hover ul.dropdown {
    display: none;
}

.dropdownbutton:checked ~ ul.dropdown{
        display: block;
}

.dropdownlabel{
        display: inline-block;
        font-size: 2em;
        color: var(--white);
        line-height: 80px;
        cursor: pointer;
        margin: auto 10px;
        /* float: right; */
        position: absolute;
        transform: translate(0%,17.5px);
        left: auto;
        bottom: auto;
}

.dropdownlabel img {
        width: 20px;
        height: 20px;
}


}