/* ============================= */
/* MENU DE LÍNGUAS RADIAL (JS)   */
/* ============================= */

/* container */

.langmenu{
position:fixed;
bottom:20px;
right:20px;
z-index:1000000;
}

/* botão principal */

.menu-button{
width:70px;
height:70px;
border-radius:50%;
background:#0b2a3d;
color:#ededed;
font-family:'Amarante',serif;
font-size:150%;
text-align:center;
line-height:70px;
border:none;
cursor:pointer;
box-shadow:0 6px 18px rgba(0,0,0,0.35);
}

/* itens container */

.menu-items{
position:absolute;
bottom:0;
right:0;
}

.menu-items a{
text-decoration:none;
color:#ededed;
}

.menu-items a:hover{
text-decoration:none;
color:#ededed;
}

/* bolinhas */

.menu-item{
width:50px;
height:50px;
border-radius:50%;
background:#0b2a3d;
color:#ededed;
font-family:'Amarante',serif;
font-size:120%;
text-align:center;
line-height:50px;
text-decoration:none;
position:absolute;
box-shadow:0 6px 18px rgba(0,0,0,0.35);

bottom:10px;
right:10px;

opacity:0;
transform:translate(0,0);

transition:
transform .45s cubic-bezier(.68,-0.55,.27,1.55),
opacity .3s;

pointer-events:none;
}

/* hover */

.menu-item:hover{
background:#144766;
font-size:130%;
}

/* ============================= */
/* ESTADO ABERTO                 */
/* ============================= */

.langmenu.open .menu-item{
opacity:1;
pointer-events:auto;
}

/* radial */

.langmenu.open .menu-item:nth-child(1){
transform:rotate(-5deg) translateY(-80px) rotate(5deg);
}

.langmenu.open .menu-item:nth-child(2){
transform:rotate(-45deg) translateY(-85px) rotate(45deg);
}

.langmenu.open .menu-item:nth-child(3){
transform:rotate(-85deg) translateY(-80px) rotate(85deg);
}

.langmenu.open .menu-item:nth-child(4){
transform:rotate(-125deg) translateY(-75px) rotate(125deg);
}

/* ============================= */
/* MOBILE                        */
/* ============================= */

@media (max-width:414px){

.menu-button{
width:60px;
height:60px;
line-height:60px;
font-size:130%;
}

.menu-item{
width:45px;
height:45px;
line-height:45px;
font-size:110%;
}

.langmenu.open .menu-item:nth-child(1){
transform:rotate(-5deg) translateY(-65px) rotate(5deg);
}

.langmenu.open .menu-item:nth-child(2){
transform:rotate(-45deg) translateY(-70px) rotate(45deg);
}

.langmenu.open .menu-item:nth-child(3){
transform:rotate(-85deg) translateY(-65px) rotate(85deg);
}

.langmenu.open .menu-item:nth-child(4){
transform:rotate(-125deg) translateY(-60px) rotate(125deg);
}

}