/*Menu izquierdo superior*/


.container,
.button {
    position: fixed;
}

.container {
    margin: auto;
    top: 5%;
    left: 60px;
    /*margin-left: -20px;*/

}

#toggle {
    display: none;
}

.button {
    z-index: 999;
    width: 43px;
    height: 43px;
    background: #000000;
    border-radius: 100%;
    transition: all 0.5s ease-in-out;
    box-shadow: 1px 3px 10px 0 rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

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

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

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

.nav 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;
    visibility: hidden;

}

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

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

#toggle:checked~.nav a {
    opacity: 1;
    transform: translateY(10%);
    visibility: visible;

}

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


/* Botón Raspberry*/

#btn-mas {
    display: none;
}

.container2 {
    position: fixed;
    top: 5%;
    right: 60px;

}

.btn-mas{
    z-index: 997;
}

.btn-mas label {
    display: block;
    text-decoration: none;
    background: #cc2b2b;
    color: #fff;
    width: 43px;
    height: 43px;
    line-height: 60px;
    text-align: center;
    border-radius: 100%;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
    transition: all 500ms ease;

}

.redes a {
    display: block;
    text-decoration: none;
    background: #fff;
    color: #fff;
    width: 250px;
    /*height: auto;*/
    text-align: center;
    border-bottom: 50%;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease-in-out;
    margin-bottom: -15px;
    opacity: 0;
    visibility: hidden;
    top: 20px;

}

.redes a:hover {
    background: #fff;
    color: #000000;
}

.redes {
    position: absolute;
    left: -152px;
    z-index: 2;
    width: 0px;
}

#btn-mas:checked~.redes a {
    margin-bottom: 0px;
    opacity: 1;
    visibility: visible;
}

.btn-mas label {
    cursor: pointer;
    background: #ffffff;
    font-size: 23px;
}

#btn-mas:checked~.btn-mas label {
    transform: rotate(360deg);
    font-size: 25px;
}