footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    width: 100%;
    position: relative;
    margin-top: 50px;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.footer__content .icon {
    height: 24px;
}

.footer__content span {
    font-size: 16px;
    margin-left: 10px;
}

.footer__content .footer__part {
    padding: 40px 30px;
}

footer .logo {
    width: 200px;
}

footer .logo img {
    width: 100%;
}

.footer__part.enlaces {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.footer__part.enlaces .enlace {
    position: relative;
    margin-bottom: 10px;
    text-decoration: none;
    color: #98A3AE;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.footer__part.enlaces .enlace:hover {
    color: var(--color-white);
}

.footer__part.enlaces .enlace::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 0;
    background-color: var(--color-white);
    transition: width 0.3s ease-in-out;
}

.footer__part.enlaces .enlace:hover::before {
    width: 100%;
}

.info__item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

footer .icon {
    height: 30px;
}

.footer__copyright {
    padding: 15px 20px;
    width: 100%;
    background-color: var(--color-tertiary);
    text-align: center;
    font-size: 16px;
    color: #98A3AE;
}

.redes_sociales .enlaces {
    padding-inline: 30px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.redes_sociales h4 {
    width: 100%;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 15px;
}

.redes_sociales .enlace {
    transition: all 0.3s ease;
}

.redes_sociales .enlace .icon {
    height: 30px;
}

.redes_sociales .enlace:hover {
    transform: scale(1.1);
}


@media screen and (max-width: 1024px) {
    .footer__content {
        display: flex;
        flex-direction: column;
    }

    .footer__part.logo {
        margin: auto;
        margin-top: 20px;
    }

    .footer__content .footer__part {
        padding: 15px 30px;
        justify-content: center;
    }
}
