#menu-bar {
    display: none;
}

header label {
    color: #fff;
    float: right;
    margin: 10px 0;
    cursor: pointer;
    font-size: 20px;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(20,51,94,0.9);
    top: 70px;
    transition: all 0.5s;
    transform: translate(-100%);
}

.menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    height: 50px;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.5)
}

.menu a:hover {
    background: rgba(255,255,255,0.5);
}

#menu-bar:checked ~ .menu {
   transform: translate(0%); 
}

@media(min-width:1024px) {
    .menu {
        position: static;
        width: auto;
        height: auto;
        transform: translateX(0);
        display: flex;
        justify-content: center;
    }
    
    header label {
        display: none;
    }
    
    #logo {
        display: none;
    }
    
    .menu a {
        width: 100%;
        height: 40px;
        text-align: center;
        font-size: 13px;
        padding: 10px;
    }
}