/* Theming */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

:root{
    --white: #f9f9f9;
    --black: #36383F;
    --grey: #85888C;
}
.s-menu li {
    list-style: none;
}

/* Header */
.fejlec{
   /* 
    box-shadow: 1px 2px 3px -1px var(--grey);
    position: sticky;
    top: 0;
    width: 100%; */
}
.fejlec .block {
    margin: 0;
}

/* Logo */
.s-logo{
    display: inline-block;
    /* color: var(--white); */
    /* font-size: 60px; */
    margin-left: 10px;
    padding-top: 17px;

}
.s-header {

   
}
.s-header img {
    width: 223px;
    height: auto;
}
/* Nav menu */
.s-nav{
    width: 100%;
    height: 100%;
    position: inherit;
    background-color: rgba(255,255,255,0.5);
    overflow: hidden;
    
}

.s-menu a{
    display: block;
    padding: 10px 25px;

    color: var(--black);

}

.s-menu a:hover{
    background-color: var(--grey);
}

.s-nav{
    max-height: 0;
    transition: all .5s ease-out;
}

/* Menu Icon */

.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}


.hamb-line {
    background: var(--black);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    
}

.hamb-line::before,
.hamb-line::after{
    background: var(--black);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}


.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}


/* Responsiveness */

@media (min-width: 768px) {
    .s-nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;

    }

    .s-header {
        
        display: flex;
        align-items: center;
        justify-content: space-around;
            }

    .s-menu li{
        float: left;
    }

    .s-menu a:hover{
        background-color: transparent;
        color: var(--grey);
        
    }
    
    .hamb{
        display: none;
    }

}
