/* ------------------------------------------------------------------------------
menu flotante

*/
.container1, .button1, .nav1{
    position: absolute;
}

.container1{
    margin: auto;
    top: 18%;  /* 18  */
    left: 80%; /* 80 */
    margin-left: -20px;
}

#toggle{
    display: none;
}

.button1{
    z-index: 999;
    width: 40px;
    height: 40px;
    background: #f28482;  /*  color orange */
    border-radius: 100%;
    transition: all 0.5s ease-in-out;
    box-shadow: 1px 3px 10px 0 rgba(0,0,0,0.3);
    cursor: pointer;
}

.button1:before{
    position: absolute;
    top: 20px;  /* 20 */
    left: 9px;  /* 9 */
    content: '';
    width: 25px;
    height: 2px;
    background: #fff;
    transform: rotate(90deg);
}

.button1:after{
    position: absolute;
    top: 20px;  /*  20  */
    left: 9px;  /*  9   */
    content: '';
    width: 25px;
    height: 2px;
    background: #fff;
}

.nav1{
    transform: translateY(-10%);
    opacity: 0;
    top: 13px;
    left: -50px;
    transition: all 0.5s ease-in-out;
    background: white;
    width: 150px;
    border-radius: 4px;  /* 5  */
    transform: translateY(0%);
    box-shadow: 2px 3px 10px 0 rgba(0,0,0,0.1);
}

.nav1 a{
    text-align: center;
    display: block;
    margin: 20px 0;
    color: #f28482;
    text-decoration: none;
    font-family: sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 300ms;
}

.nav1 a:hover{
    color: #5f5f5f;
}

#toggle:checked ~ .nav1{
    opacity: 1;
    transform: translateY(10%);
}

#toggle:checked ~ .button1{
    transform: rotate(135deg);
    box-shadow: 0 0 0 0 transparent;
}