/* Theming */
/*@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");*/
@import url('https://fonts.googleapis.com/css2?family=Manrope&display=swap');

:root{
    --white: #f9f9f9;
    --black: #36383F;
    --grey: #85888C;
}

/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    /*background-color: var(--white);*/
    font-family: "Manrope", sans-serif;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

/* Header #53900ed*/
.header{
    background-color: #0e7a02f4;
    box-shadow: 1px 1px 5px 0px #0e7a02f7;
    position: sticky;
    top: 0;
    width: 100%;
    height: 86px;
    z-index: 1;
}

/* Logo */
.logo{
    display: inline-block;
    color: var(--white);
    /*font-size: 50px;*/
    margin-left: 15px;
    margin-top: 12px;

}

/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #0e7a02f5    ;
    overflow: hidden;
    
}

.menu a,.menu p{
    display: block;
    padding: 20px 20px 0px 20px;
    color: var(--white);

}

.menu a:hover{
    background-color: #0a5801;
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Sub nav */
.subnav-content {
    background-color:  var(--white);
    width: 100%;
    z-index: 1;
    padding: 20px 0 ;
    display: none;
  }
.subnav-content a {
    color: #4b781efa;
    text-decoration: none;
    padding: 0;
    margin: 10px 0;
    text-align: center;
}
.subnav:hover .subnav-content {
    display: block;
}

/* Menu Icon */

.hamb{
    cursor: pointer;
    float: right;
    padding: 30px 20px;
}


.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    
}

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    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;
}

.activeMenu {
    /*padding: 8px 15px;*/
    /*border-radius: 4px;*/
    border-bottom: #203363 2px solid;
}

/* Responsiveness */

@media (min-width: 1024px) {
    .nav{
        max-height: none;
        top: 12px;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;

    }

    .menu li{
        float: left;
    }

    .menu a:hover{
        background-color: transparent;
        color: var(--grey);
        
    }
    
    .hamb{
        display: none;
    }

        /* Sub nav */
    .subnav-content {
        padding: 20px 0 ;
        display: none;
        background-color:  #4b781efa;
    }
    .subnav-content a {
        color: white;
    }

}