@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

footer {
    background: #10182f;
    width: 100%;
    bottom: 0;
    left: 0;
}
footer .content {
    max-width: 1250px;
    margin: auto;
    padding: 30px 40px 30px 40px;
}
footer .content .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.content .top .logo-details {
    color: #fff;
    font-size: 30px;
}
.content .top .media-icons {
    display: flex;
}
.content .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;
    display: flex;
}
.top .media-icons a:nth-child(1) {
    background: #4267b2;
}
.top .media-icons a:nth-child(1):hover {
    color: #4267b2;
    background: #fff;
}
.top .media-icons a:nth-child(2) {
    background: #e1306c;
}
.top .media-icons a:nth-child(2):hover {
    color: #e1306c;
    background: #fff;
}
.top .media-icons a:nth-child(3) {
    background: #000000;
}
.top .media-icons a:nth-child(3):hover {
    color: #000000;
    background: #fff;
}
.top .media-icons a:nth-child(4) {
    background: #198754;
}
.top .media-icons a:nth-child(4):hover {
    color: #198754;
    background: #fff;
}
footer .bottom-details {
    width: 100%;
    background: #2e2748;
}
footer .bottom-details .bottom_text {
    max-width: 1250px;
    margin: auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
}
.bottom-details .bottom_text span,
.bottom-details .bottom_text a {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
}
.bottom-details .bottom_text a:hover {
    opacity: 1;
    text-decoration: underline;
}
.bottom-details .bottom_text a {
    margin-right: 10px;
}

@media (max-width: 700px) {
    footer {
        position: relative;
    }
    .content .top .logo-details {
        font-size: 26px;
    }
    .content .top .media-icons a {
        height: 35px;
        width: 35px;
        font-size: 14px;
        line-height: 35px;
    }
    .bottom-details .bottom_text span,
    .bottom-details .bottom_text a {
        font-size: 12px;
    }
}
@media (max-width: 520px) {
    footer::before {
        display: none;
    }
    footer .content .top {
        flex-direction: column;
        align-items: center;   /* centra los hijos horizontalmente */
        text-align: center;
    }
    .content .top .logo-details {
        font-size: 24px;
        margin-bottom: 12px;   /* separa del bloque de iconos */
    }
    .content .top .media-icons {
        margin-top: 0;
        justify-content: center; /* centra íconos */
        flex-wrap: wrap;         /* se adaptan si son muchos */
    }
    .content .top .media-icons a {
        height: 35px;
        width: 35px;
        font-size: 14px;
        line-height: 35px;
        margin: 4px;
    }
}