/*FUNAY STYLISH FOOTER CSS*/

/*=====================
01. FUNAY STYLISH FOOTER STYLE CSS
=======================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    width: 100%;
    background: #EEECEB;
}

.footer {
    background: #060c21;
    width: 100%;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 100px;
    height: 1px;
    width: 100%;
    background: #AFAFB6;
}

.footer .content {
    max-width: 1250px;
    margin: auto;
    padding: 30px 40px 40px 40px;
}

.footer .content .footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer .content .footer-top .logo-details {
    color: #fff;
    font-size: 30px;
}

.footer .content .footer-top .media-icons {
    display: flex;
}

.footer .content .footer-top .media-icons a {
    height: 40px;
    width: 40px;
    margin: 0 8px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.footer .footer-top .media-icons a:nth-child(1) {
    background: #4267B2;
}

.footer .footer-top .media-icons a:nth-child(1):hover {
    color: #4267B2;
    background: #fff;
}

.footer .footer-top .media-icons a:nth-child(2) {
    background: #1DA1F2;
}

.footer .footer-top .media-icons a:nth-child(2):hover {
    color: #1DA1F2;
    background: #fff;
}

.footer .footer-top .media-icons a:nth-child(3) {
    background: #E1306C;
}

.footer .footer-top .media-icons a:nth-child(3):hover {
    color: #E1306C;
    background: #fff;
}

.footer .footer-top .media-icons a:nth-child(4) {
    background: #0077B5;
}

.footer .footer-top .media-icons a:nth-child(4):hover {
    color: #0077B5;
    background: #fff;
}

.footer .footer-top .media-icons a:nth-child(5) {
    background: #FF0000;
}

.footer .footer-top .media-icons a:nth-child(5):hover {
    color: #FF0000;
    background: #fff;
}

.footer .content .footer-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.footer .content .footer-links .footer-box {
    width: calc(100% / 5 - 10px);
}

.footer .content .footer-links .footer-box:not(:last-child) {
    padding-right: 10px;
}

.footer .content .footer-links .footer-box .footer-head {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
}

.footer .footer-links .footer-box .footer-head::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 35px;
    background: #fff;
}

.footer .content .footer-links .footer-box li {
    margin: 6px 0;
    list-style: none;
}

.footer .content .footer-links .footer-box li a {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.4s ease
}

.footer .content .footer-links .footer-box li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer .content .footer-links .input-box {
    margin-right: 55px;
}

.footer .footer-links .input-box input {
    height: 40px;
    width: calc(100% + 55px);
    outline: none;
    border: 2px solid #AFAFB6;
    background: #060c21;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 15px;
    color: #fff;
    margin-top: 5px;
}

.footer .footer-links .input-box input::placeholder {
    color: #AFAFB6;
    font-size: 16px;
}

.footer .footer-links .input-box input[type="button"] {
    background: #fff;
    color: #060c21;
    border: none;
    font-size: 18px;
    font-weight: 500;
    margin: 4px 0;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.4s ease;
}

.footer .input-box input[type="button"]:hover {
    opacity: 1;
}

.footer .footer-bottom {
    width: 100%;
    background: #050e2f;
}

.footer .footer-bottom .bottom-text {
    max-width: 1250px;
    margin: auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
}

.footer .footer-bottom .bottom-text span,
.footer .footer-bottom .bottom-text a {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
}

.footer .footer-bottom .bottom-text a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer .footer-bottom .bottom-text a {
    margin-right: 10px;
}

@media (max-width: 900px) {
    .footer .content .footer-links {
        flex-wrap: wrap;
    }
    .footer .content .footer-links .input-box {
        width: 40%;
        margin-top: 10px;
    }
}

@media (max-width: 700px) {
    .footer {
        position: relative;
    }
    .footer .content .footer-top .logo-details {
        font-size: 26px;
    }
    .footer .content .footer-top .media-icons a {
        height: 35px;
        width: 35px;
        font-size: 14px;
        line-height: 35px;
    }
    .footer .content .footer-links .box {
        width: calc(100% / 3 - 10px);
    }
    .footer .content .footer-links .input-box {
        width: 60%;
    }
    .footer .footer-bottom .bottom-text span,
    .footer .footer-bottom .bottom-text a {
        font-size: 12px;
    }
}

@media (max-width: 520px) {
    .footer::before {
        top: 160px;
    }
    .footer .content .footer-top {
        flex-direction: column;
    }
    .footer .content .footer-top .media-icons {
        margin-top: 16px;
    }
    .footer .content .footer-links .footer-box {
        width: calc(100% / 2 - 10px);
    }
    .footer .content .footer-links .input-box {
        width: 100%;
    }
    .footer .footer-bottom .bottom-text {
        align-items: center;
        flex-direction: column;
    }
    .footer .footer-bottom .bottom-text span:last-child {
        padding-top: 10px;
    }
}

@media (max-width: 400px) {
    .footer .content .footer-links .footer-box {
        width: calc(100% - 10px);
    }
}