﻿.footer {
    display: flex;
    width: 100%;
    height: 200px;
    padding: 3% 15% 0px 15%;
    flex-direction: column;
    /*justify-content: space-between;*/
    align-items: center;
    flex-shrink: 0;
    background: linear-gradient(117deg, #0185AD 33.24%, #77CFE3 68.49%);
}

.footer-menu {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3%;
}

.footer-icon {
    border-top: 1px solid #5EC0D6;
    display: flex;
    width: 100%;
    padding: 15px 0px 0 0;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.footer-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    color: white;
    font-family: Switzer;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.icons {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.allright {
    color: white;
    font-family: Switzer-Light;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 128.571% */
}

.footer-link {
    color: white;
    font-family: Switzer-Light;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

    .footer-link:hover {
        color: white;
        font-family: Switzer;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration: none;
        cursor: pointer;
    }

@-webkit-keyframes come-in {
    0% {
        -webkit-transform: translatey(100px);
        transform: translatey(100px);
        opacity: 0;
    }

    30% {
        -webkit-transform: translateX(-50px) scale(0.4);
        transform: translateX(-50px) scale(0.4);
    }

    70% {
        -webkit-transform: translateX(0px) scale(1.2);
        transform: translateX(0px) scale(1.2);
    }

    100% {
        -webkit-transform: translatey(0px) scale(1);
        transform: translatey(0px) scale(1);
        opacity: 1;
    }
}

@keyframes come-in {
    0% {
        -webkit-transform: translatey(100px);
        transform: translatey(100px);
        opacity: 0;
    }

    30% {
        -webkit-transform: translateX(-50px) scale(0.4);
        transform: translateX(-50px) scale(0.4);
    }

    70% {
        -webkit-transform: translateX(0px) scale(1.2);
        transform: translateX(0px) scale(1.2);
    }

    100% {
        -webkit-transform: translatey(0px) scale(1);
        transform: translatey(0px) scale(1);
        opacity: 1;
    }
}

.chat {
    height: 50px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border: 1px solid #6efe78;
    border-radius: 18px;
    background: white;
    z-index: 1000;
    padding: 10px;
}

.floating-container {
    position: fixed;
    width: 100px;
    height: 100px;
    bottom: 60px;
    right: 0;
    margin: 35px 0px;
}

    .floating-container:hover {
        height: 350px;
    }

        .floating-container:hover .floating-button {
            box-shadow: 0 10px 25px rgba(44, 179, 240, 0.6);
            -webkit-transform: translatey(5px);
            transform: translatey(5px);
            -webkit-transition: all 0.3s;
            transition: all 0.3s;
        }

        .floating-container:hover .element-container .float-element:nth-child(1) {
            -webkit-animation: come-in 0.4s forwards 0.2s;
            animation: come-in 0.4s forwards 0.2s;
        }

        .floating-container:hover .element-container .float-element:nth-child(2) {
            -webkit-animation: come-in 0.4s forwards 0.4s;
            animation: come-in 0.4s forwards 0.4s;
        }

        .floating-container:hover .element-container .float-element:nth-child(3) {
            -webkit-animation: come-in 0.4s forwards 0.6s;
            animation: come-in 0.4s forwards 0.6s;
        }

        .floating-container:hover .element-container .float-element:nth-child(4) {
            -webkit-animation: come-in 0.4s forwards 0.6s;
            animation: come-in 0.4s forwards 0.8s;
        }


    .floating-container .floating-button {
        position: absolute;
        width: 65px;
        height: 65px;
        background: white;
        bottom: 0;
        border-radius: 50%;
        left: 0;
        right: 0;
        margin: auto;
        /*color: white;*/
        line-height: 59px;
        text-align: center;
        /*font-size: 23px;*/
        z-index: 100;
        box-shadow: 0 10px 25px -5px rgba(44, 179, 240, 0.6);
        cursor: pointer;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        border: 2px solid #6AC35C;
    }

    .floating-container .float-element {
        position: relative;
        display: block;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        margin: 15px auto;
        color: white;
        font-weight: 500;
        text-align: center;
        line-height: 45px;
        z-index: 0;
        opacity: 0;
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
    }

        .floating-container .float-element .material-icons {
            vertical-align: middle;
            font-size: 16px;
        }

        .floating-container .float-element:nth-child(2) {
            background: #42A5F5;
            box-shadow: 0 20px 20px -10px rgba(66, 165, 245, 0.5);
        }

        .floating-container .float-element:nth-child(1) {
            background: #4CAF50;
            box-shadow: 0 20px 20px -10px rgba(76, 175, 80, 0.5);
        }

        .floating-container .float-element:nth-child(4) {
            background: #FF9800;
            box-shadow: 0 20px 20px -10px rgba(255, 152, 0, 0.5);
        }

        .floating-container .float-element:nth-child(3) {
            background: #FF0000;
            box-shadow: 0 20px 20px -10px rgba(255, 152, 0, 0.5);
        }


@media (max-width: 700px) {
    .footer {
        width: 100%;
/*        height: 500px;*/
        flex-shrink: 0;
    }

    .footer-menu {
        margin-top: 50px;
        display: inline-flex;
/*        height: 187px;*/
        flex-direction: column;
        align-items: center;
        gap: 40px;
        flex-shrink: 0;
    }

    .footer-menu-item {
        display: flex;
        height: 187px;
        width: 100%;
        /*flex-direction: column;*/
        align-items: center;
        gap: 40px;
        flex-shrink: 0;
        margin-left: 15%;
    }

    .footer-icon {
        display: inline-flex;
        /*height: 187px;*/
        flex-direction: column;
        align-items: center;
        gap: 20px;
        flex-shrink: 0;
        border: none;
    }

    .icons {
        display: inline-flex;
        align-items: flex-start;
        gap: 30px;
    }

    .allright {
        display: flex;
        width: 100%;
        padding-top: 15px;
        justify-content: center;
        align-items: center;
        gap: 639px;
        border-top: 1px solid #1B6476;
    }

    .chat {
        display: none;
    }

    .floating-container {
        bottom: 0px;
    }
}
