.footer {
    background-color: #003366;
    color: #fff;
    padding: 40px 0;

}

.footer-container {


    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-logo {
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img {
    width: 250px;
    max-width: 100%;
}

.footer-logo-text {
    color: #fff;
    font-size: 24px;
    margin-left: 10px;
    text-align: right;
}

.footer-links {

    display: grid;
    justify-content: space-between;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 10px;
}

.footer-links a {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 35px;
    cursor: pointer;

    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 30px;
}

.footer-links ul li a {
    color: #fafafa;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
}

.footer-social {
    flex: 1;
    text-align: right;
    padding: 10px;
}

.footer-social img {
    height: 25px;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
}

.middle {
    margin: 0;
    padding: 0;


    text-align: right;
}

.btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #f1f1f1;
    margin: 5px;
    border-radius: 5px;

    overflow: hidden;
    position: relative;
    transition: 0.3s linear;
}

.btn img {
    width: 100%;

    transition: 0.3s linear;
}

.btn:nth-child(1) i {
    opacity: 0.8;
    color: #3b5998;
}

.btn:nth-child(2) i {
    opacity: 0.8;
    color: #1da1f2;
}

.btn:nth-child(3) i {
    opacity: 0.8;
    color: #c32aa3;
}

.btn:nth-child(4) i {
    opacity: 0.8;
    color: #db4437;
}

.btn:hover {
    transform: scale(1.1);
}

.btn:hover i {
    transform: scale(1.2);
    color: #fff;
}

.btn:before {
    content: "";
    position: absolute;
    width: 140%;
    height: 140%;
    transform: rotate(45deg);
    left: -110%;
    top: 90%;
}

.footer-img {

    width: 30px;
    margin: 5px;

}


@media (max-width: 1023px) {


    @media (max-width: 700px) {

        .footer-links{
            display: none;
        }
        .btn {
            height: 50px !important;
            width: 50px !important;
        }

        .footer-logo {
            display: block !important;

        }

        .footer-logo-text {
            text-align: left;
        }
    }
}