footer {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.17);
    background: #002832;
}

.footer__container{
    width: auto;
    padding: 80px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.footer__container--top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 140px;
}

.footer__container--top .footer__col{
    display: flex;
    align-items: baseline;
    flex-direction: column;
    gap: 40px;
    min-width: 410px;
}

.footer__container--top p {
    color: #FFF;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: normal;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer__container--top .footer__col span:not(.footer__form-btn) {
    font-weight: 600;
}

.footer__container--top .footer__cols{
    display: flex;
    flex-direction: column;
    min-width: 300px;
    width: 100%;
    gap: 40px;
    margin-top: 100px;
}

.footer__container--links {
    width: 100%;
    line-height: 24px;
}

.footer__container--links span:not(.footer__form-btn), .footer__content span:not(.footer__form-btn){
    font-weight: 700;
    font-size: 28px;
    line-height: 115%;
}

.footer__container--links a{
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.newsletter-body-form-group{
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.form-error-newsletter {
    position: absolute;
    top: 50px;
    color: #ff0000;
    font-size: 14px;
    display: none;
}

.footer__container--links a:hover{
    color: #55F5FF;
    transform: scale(1.1);
}

.footer__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.margin_diff{
    margin-bottom: 55px;
}

.custom-newsletter-form {
    width: 100%;
    display: inline-flex;
}

.footer__container--links--input{
    background: transparent;
    width: 60%;
    border: none;
    border-bottom: 1px solid #E8EAED;
    outline: none;
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-right: 11px;
    padding-bottom: 5px;
}

.footer__container--links--button{
    background-color: #55F5FF;
    border-radius: 8px;
    padding: 12px 20px;
}

.footer__container--links--button .footer__form-btn {
    color: #161822;
    font-size: 18px;
}

.footer__social {
    display: flex;
    gap: 20px;
}

.footer__social-link:hover svg path {
    fill: #4184f2;
}   

.footer__container--bottom {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer__container--bottom span{
    font-weight: 400;
    line-height: 24px;
    display: block;
}

.empty{
    display: block;
}

.second.mobile__footer{
    display: none;
}

.footer_spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #161822;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media only screen and (max-width: 600px) {
    .footer__container{
        padding: 80px 20px;
    }

    .footer__container--top{
        grid-template-columns: 1fr;
        justify-content: center;
        gap: 80px;
    }
    .footer__container--top .footer__cols{
        margin-top: 0;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer__col img {
        max-width: 350px;
    }

    .footer__container--top .footer__col {
        min-width: auto;
    }

    .footer__content-socials {
        align-items: center;
        justify-content: center;
    }

    .footer__container--links span:not(.footer__form-btn), .footer__content span:not(.footer__form-btn) {
        font-size: 24px;
        line-height: 130%;
    }

    .footer__container--top p, .footer__content span, .footer__container--bottom span {
        text-align: center;
    }

    .footer__container--links a, .footer__container--top p span, .footer__container--bottom span{
        font-size: 16px;
    }

}

