/* fijamos body separado del nabbar para que cuando éste último se extienda,
no afectee la posición de body | los 56px es el alto del menu, que, si por alguna
razón variara con el ancho de la pantalla, habría que usar @media según se
requiera */
body {
    padding-top: 56px;
}
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

/* color en navbar */
.navbar {
    background-color: #232323;
}

/* footer color y distancia al fondo*/
#footer {
    background-color: #000 !important;
    padding-bottom: 0px !important;
}

#footer hr {
    color: white !important;
    opacity: 0.5 !important;
}

/* footer-lower, el color para "a" es independiente de twhite, que se aplica al div
parent, pero al llegar a "a" cambia la regla al típico azul */
.footer-lower .mbr-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer-lower a {
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer-lower a:hover {
    color: white !important;
}

/* BOTÓN FLOTANTE */

.floatingButtonWrap {
    display: block;
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    z-index: 999999999;
}

.floatingButtonInner {
    position: relative;
}

.floatingButton {
    display: block;
    width: 60px;
    height: 60px;
    text-align: center;
    background-color: #f00;
    /* background: -webkit-linear-gradient(45deg, #0000ff, #66ff99); */
    /* background: -o-linear-gradient(45deg, #8769a9, #507cb3);
    background: linear-gradient(45deg, #8769a9, #507cb3); */
    color: #fff;
    line-height: 51px;
    position: absolute;
    border-radius: 50% 50%;
    bottom: 0px;
    right: 0px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    /* opacity: 0.3; */
    opacity: 1;
    transition: all 0.4s;
}

.floatingButton .fa {
    font-size: 30px !important;
}

.floatingButton.open,
.floatingButton:hover,
.floatingButton:focus,
.floatingButton:active {
    opacity: 1;
    color: #fff;
}

.floatingButton .fa {
    transform: rotate(0deg);
    transition: all 0.4s;
}

.floatingButton.open .fa {
    transform: rotate(270deg);
}

.floatingMenu {
    position: absolute;
    bottom: 60px;
    right: 0px;
    width: 200px;
    display: none;
}

.floatingMenu li {
    width: 100%;
    float: right;
    list-style: none;
    text-align: right;
    margin-bottom: 5px;
}

.floatingMenu li a {
    padding: 8px 15px;
    display: inline-block;
    background: #00f;
    color: #fff;
    border-radius: 5px;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s;
    /* -webkit-box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.22);
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.22);
    -webkit-box-shadow: 1px 3px 5px rgba(211, 224, 255, 0.5);
    box-shadow: 1px 3px 5px rgba(211, 224, 255, 0.5); */
}

.floatingMenu li a:hover {
    margin-right: 10px;
    text-decoration: none;
}

/* BOTÓN FLOTANTE */

.floating-container {
    position: fixed;
    width: 100px;
    height: 100px;
    bottom: 0;
    right: 0;
    margin: 35px 25px;
}

.floating-container:hover {
    height: 320px;
}

.floating-container:hover .floating-button {
    box-shadow: 0 10px 25px rgba(44, 179, 240, 0.6);
    transform: translatey(5px);
    transition: all 0.3s;
}

.floating-button {
    position: absolute;
    width: 65px;
    height: 65px;
    background: red;
    bottom: 0;
    border-radius: 50%;
    left: 0;
    right: 0;
    color: white;
    line-height: 65px;
    text-align: center;
    font-size: 23px;
    z-index: 100;
    box-shadow: 0 10px 25px -5px rgba(255, 0, 0, 0.6);
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.float-element {
    position: relative;
    display: block;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 10px;
    color: white;
    display: grid;
    place-items: center;
    z-index: 0;
    opacity: 0;
    cursor: pointer;
}

.img-icon {
    width: 30px;
    height: 30px;
}

.floating-button .img-icon {
    width: 100%;
    height: 100%;
    padding: 6px 0 6px 0;
}

.float-element:nth-child(1){
    background: #C62BC1;
    box-shadow: 0 20px 20px -10px rgba(198, 43, 193, 0.5);
}
.float-element:nth-child(2){
    background: #4caf50;
    box-shadow: 0 20px 20px -10px rgba(76, 175, 80, 0.5);
}
.float-element:nth-child(3){
    background: #ff9800;
    box-shadow: 0 20px 20px -10px rgba(255, 152, 0, 0.5);
}
.float-element:nth-child(4){
    background: #00A975;
    box-shadow: 0 20px 20px -10px rgba(0, 169, 117, 0.5);
}

@-webkit-keyframes come-in {
    0% {
        opacity: 0;
    }
    30% {
        transform: translateX(-50px) scale(0.4);
    }
    70% {
        transform: translateX(0px) scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.floating-container:hover .element-container .float-element:nth-child(1) {
    animation: come-in 0.2s forwards 0.1s;
}
.floating-container:hover .element-container .float-element:nth-child(2) {
    animation: come-in 0.2s forwards 0.2s;
}
.floating-container:hover .element-container .float-element:nth-child(3) {
    animation: come-in 0.2s forwards 0.3s;
}
.floating-container:hover .element-container .float-element:nth-child(4) {
    animation: come-in 0.2s forwards 0.4s;
}
