footer {
    color: #f5f5f5;
    background:
    radial-gradient(circle at center,
                    #1e1d1d 0%,     
                    #1b1a1a 60%,
                    #000 100%),

    linear-gradient(180deg,
                    rgba(255,255,255,0.05) 0%,
                    rgba(255,255,255,0.00) 60%);

    width: 100%;
    /* position: sticky;
    z-index: 1;
    bottom: 0; */
    font-family: 'Montserrat';
    border-top: 1px solid #ffffff;
}

.footer-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.footer-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    padding: 2em;
    gap: 2rem;
}


.footer-phrase {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-phrase-text {
    text-transform: uppercase;
    width: 50%;
}

.footer-phrase-btn {
    position: relative;
    width: 50%;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 20px;
    cursor: pointer;
    text-align: start;
    font-family: 'Montserrat';
    font-size: 1em;
    font-weight: 500;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 0;
}

.footer-phrase-btn::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 100%;
    background-color: white;
    z-index: -1;
    transition: width 0.5s ease;
}

.footer-phrase-btn:hover::before {
    width: 100%;
    transition: width 0.8s ease;
}

.footer-phrase-btn:hover {
    color: black;
    transition: color 0.1s ease 0.1s; 
}

.footer-contact {
    width: 50%;
    padding-left: 10vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3vh;
}

.footer-contact-title {
    width: 50%;
    font-weight: 600;
    font-size: 1.5em;
}

.footer-contact-links-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-links-item {
    display: flex;
    align-items: center;
}

.link-item-text {
    position: relative;
    color: inherit;
    margin-left: 1em;
    font-weight: 600;
    text-decoration: none;
}

.link-item-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1.5px; 
    width: 0;
    background-color: currentColor; 
    transition: width 0.5s ease;
}

.link-item-text:hover::after {
    width: 100%;
}

.link-item-icon {
    font-size: 1.6rem;
}

.footer-copyright {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-size: .9rem;
    border-top: 1px solid #6e6e6e;
    padding: 1rem;
}

.copyright-text {
    text-align: center;
}

.authors-link {
    color: inherit;
}

.authors-link:hover {
    color: #c4c4c4;
}

.underline {
    position: relative;
}

.underline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 0.35em;
    background: url('../img/subrayado4.png') no-repeat center / 100% 100%;
    pointer-events: none;
}

@media (max-width: 480px) {

    .footer-phrase-btn {
        width: 90%;
        font-size: 0.9em; 
    }

    .footer-contact-title {
        font-size: 1.2em;
    }

    .link-item-icon {
        font-size: 1.4rem; 
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-phrase,
    .footer-contact {
        width: 70%;
        align-items: center;
        padding-left: 0;
    }

    .footer-phrase-btn {
        width: 80%; 
        text-align: center;
    }

    .footer-contact-title {
        font-size: 1.4em;
        text-align: center;
        width: 80%;
    }

    .footer-phrase-text {
        width: 100%;
        text-align: center;
        font-size: 1.3rem;
    }

}


