/* ------- Navigation styles ------- */
/* Header styles */
header{
    background-color: #000;
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* Navigation styles */
nav{
    height: 44px;
}

/* Parents-menu for flex the list in row*/
.main-menu ul{
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

/* Hide the list style. Center the text in Y from the main menu.*/
.main-menu ul li{
    list-style: none;
}

/* Font-Style from the main menu */
.main-menu ul li a{
    color: white;
    line-height: 44px;
}

/* Align the active underline in Y */
.main-menu ul li a.menu-item{
    display: block;
}

/* Style the hoover for main menu */
.main-menu ul li a.menu-item:hover{
    color: #ebbfb2;
    transform: scale(1.07);
    transition: 0.5s;
}

/* Style for Kitnets-logo in the nav */
#logo{
    width: 54px;
    padding: 0px 0px 0px 10px;
}

/* Style for the search icon in the nav */
#search{
    margin-right: 15px;
}

/* Style for active nav element */
.active{
    border-bottom: 3px solid #ebbfb2;
    box-sizing: border-box;
    height: 43px;
}

/* Show and hide animation for the hamburger-menu */
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    background: black;
    z-index: -1;
}

 /* Hide the checkbox  */
#hamburger-input{
    display: none;
}

/* Hide the hamburger-menu and the nav from the hamburger-menu on large screens */
#hamburger-menu {
    display: none;
}

/* Style for the hamburger */
#label{
    position: relative;
    top: 0px;
    left: 0px;
    border: none;
    padding: 0px;
    margin: 0px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
}

/* Start condition for the hamburger-menu: hidden */
#sidebar-menu {
    visibility: hidden;
    position: fixed;
    top: 44px;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #000;
    transition: 0.3s;
    padding: 0px 10px;
    box-sizing: border-box;
    z-index: 100;
}

/* Style headline for the hamburger-menu */
#hamburger-menu h3 {
    color: #fff;
    font-size: 2.2rem;
}

/* Style the list in the hamburger-menu */
#hamburger-menu ul {
    padding-left: 10px;
}

/* Style the list elements in the hamburger-menu */
#hamburger-menu li {
    list-style-type: none;
    line-height: 3rem;
}

/* Style the text decoration from the links in the hamburger-menu */
#hamburger-menu a {
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
}

/* Style the hoover for the hamburger-menu */
#hamburger-menu a:hover {
    color: #ebbfb2;
    transform: scale(1);
    transition: 0.6s;
}

/* Reaction for the hamburger-menu after click on the hamburger: visible */
#hamburger-input:checked + #label #sidebar-menu {
    visibility: visible;
    left: 0;
}

/* Light shadow when the hamburger-menu is coming and going */
#hamburger-input:checked ~ .overlay{
    visibility: hidden;
    opacity: 0.4;
}