footer {
    background: #1f252b;
    color: #fff;
    padding: 45px 20px 25px;
    margin-top: 50px;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo h2 {
    font-size: 30px;
    letter-spacing: 3px;
    margin-bottom: 8px;
    color: #fff;
    margin-top: 0;
    border: none;
    text-align: left;
}

.footer-logo p {
    color: #9fa6ad;
    font-size: 15px;
    margin-top: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social span {
    color: #dfe6e9;
    font-size: 15px;
}

#youtube {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    transition: .3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .35);
}

#youtube img {
    width: 28px;
    height: 28px;
}

#youtube:hover {
    transform: translateY(-6px);
    background: #ff0000;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    padding: 22px 0;
}

.footer-links a {
    color: #d2dae2;
    text-decoration: none;
    transition: .3s;
    font-size: 15px;
}

.footer-links a:hover {
    color: #4cd137;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 6px 0;
    font-size: 14px;
}

.footer-sub {
    color: #8f9ba8;
    font-size: 14px;
}

footer hr {
    border: none;
    border-top: 1px solid #3d454d;
    margin: 25px 0;
}

#terminos {
    display: block;
    width: fit-content;
    padding: 0;
    color: #fff;
    font-weight: bold;
    text-align: left;
}

#terminos:hover {
    color: orange;
    font-weight: bold;
}

@media(max-width:768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        gap: 20px;
    }
}

.rainbow-text {
    background-image: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    animation: rainbow-animation 5s linear infinite;
    background-size: 200% auto;
}

@keyframes rainbow-animation {
    to {
        background-position: 200% center;
    }
}