
.topnav {
    background-color: var(--nc-d-lk-1);
}
.topmenu {
    display: flex;
    flex-flow: column;
    position: fixed;
    top: 3rem;
    right: -57rem;
    background-color: var(--nc-lk-1);
    width: 80%;
    z-index: 99;
    padding: 2rem;
    margin: 0;
    transition: all .5s ease;
    
    
}
.chatbox {
    display: flex;
    flex-flow: column;
    position: fixed;
    left: -100rem;
    background-color:   var(--nc-bg-3);
    width: 11rem;
    z-index: 0;
    padding: 2rem;
    margin: 0;
    transition: all .5s ease;
    height: 35rem;
    
    
}
nav {
    display: block;
}
.menuinput:checked ~ .topmenu {
    right: 0;
    transition: all .5s ease;
}
.chatboxi:checked ~ .chatbox {
    left: 0;
    bottom: 0;
    transition: all .5s ease;
}
.topmenu a {
    display: block;
    color: var(--nc-bg-2);
    padding: 4px;
    text-decoration: none;
    flex-grow: 1;
    text-align: center;
}
.socialbuts {
    display: flex;
    flex-flow: row;
    justify-content: center;
    gap: .5em;
}
.menuinput {
    display: none;
}
.chatboxi {
    display: none;
}
.scroll {
    display: none;
}
.menulabel {
    color: var(--nc-tx-1);
    font-size: 1.4rem;
    border: 1px solid var(--nc-bg-1); 
    border-radius: 50%;
    background-color: var(--nc-lk-1);
    padding: 3px 5px 1px 5px;
    color: white;

    position: fixed;
    top: 1rem;
    right: 1rem;
}
.chatboxlabel {
    color: var(--nc-tx-1);
    font-size: 1.4rem;
    border: 1px solid var(--nc-lk-1); 
    border-radius: 50%;
    background-color: var(--nc-d-bg-1);
    padding: 5px 20px 5px 20px;
    z-index: 1000;

    position: fixed;
    bottom: 1rem;
    right: 1rem;
}


/****** menu *******/

@media screen and(min-width:48rem) {
    .topmenu {
        position: relative;
        flex-flow: row;
        max-width: 80rem;
        margin: auto;
        top: 0;
        right: 0;
        width: 100%;
        padding: 0;

    }

    .topnav {
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        width: 100%;
    }
    .menulabel {
        display: none;

    }
    
}
@media screen and (min-width: 60em){
    .topmenu {
        display: flex;
        flex-flow: row;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color:   var(--nc-lk-1);
        transition: none;
        
    }
    .menulabel {
        display: none;

    }
    
    .chatboxi {
        display: none;

    }
}