.loading-chat {
    width: 50%;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    z-index: 2;
}

.loading-overlay {
    background: #1a1a1a;
    width: 100%;
    height: 84%;
    position: fixed;
    z-index: 1;
    top: 110px;
    left: 0;
    display: none;
}

@media only screen and (max-width: 320px) {
    .loading-overlay {
        height: 89%;
    }
}

.open-contact ul {
    text-align: center;
    position: absolute;
    z-index: 990;
    right: 0;
    left: 0;
    opacity: 0;
    transition: 0.4s;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    bottom: -90px;
    list-style: none;
}

.open-contact ul li {
    margin: 20px;
    /* Space between sub buttons */
}

.open-contact ul li a {
    width: 100%;
    height: auto;
    padding-top: 8px;
}

.open-contact ul.toggled {
    opacity: 1;
    bottom: 90px;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    padding: 0;
    background: #000;
    border-radius: 15%;
}

img.contact-icon {
    width: 50%;
}

img.contact-icon:hover {
    cursor: pointer;
}

@media screen and (max-width: 800px) {
    .open-contact ul {
        bottom: -80px;
    }
    .open-contact ul.toggled {
        bottom: 80px;
    }
}

@media screen and (max-width: 540px) {
    img.contact-icon {
        width: 100%;
    }
    .open-contact ul {
        left: -34px;
        bottom: -55px;
    }
    .open-contact ul.toggled {
        bottom: 55px;
        width: 100px;
    }
}

@media screen and (max-width: 414px) {
    .open-contact ul {
        left: -15px;
    }
}

.bg-overlay-contact {
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 9;
    -webkit-transition: background 0.15s linear;
    -o-transition: background 0.15s linear;
    transition: background 0.15s linear;
    display: none;
}

#section-footer {
    background-size: cover;
    background-position: center;
}