[href="#main"] {
    position: absolute;
    top: 0;
    right: 100%;
    z-index: 9999;
}
[href="#main"]:focus {
    right: auto;
}