@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --black: #252525;
    --dark-green: #002c0d;
    --medium-green: #00581b;
    --light-green: #2dab04;
    --lime-green: #95bf00;

    /* Colores azules complementarios */
    --dark-blue: #002b5c;
    --medium-blue: #005b96;
    --light-blue: #2daaff;
    --sky-blue: #87ceeb;
    --cyan-blue: #00bcd4;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", serif;
}

#banner {
    background-image: url("../img/banner.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    width: 100%;
    height: 250px;
    color: var(--lime-green);

    & #banner-outro {
        color: var(--medium-green);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

h2 {
    font-size: 3em;
}

header img {
    height: 50px;
}

nav {
    width: 100%;
    display: flex;
    flex-direction: row;

    & .nav-link {
        position: relative;
        color: var(--black);
        transition: color 0.3s ease;
    }

    & .nav-link:hover {
        color: var(--lime-green);
    }

    & .nav-link.active {
        color: var(--lime-green);
        font-weight: bold;
    }

    & .nav-link.active::before {
        content: "";
        position: absolute;
        bottom: 5px;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: var(--lime-green);
        border-radius: 0 0 5px 5px;
    }
}

.brand-text {
    display: flex;
    align-items: center;
    font-weight: 900;
    color: var(--lime-green);
}

.brand-text span {
    color: var(--dark-green);
}

.btn {
    width: 150px;
}

.btn:hover {
    background-color: #96bf00a1;
    border: 1px solid #96bf00d3;
    color: white;
}

footer {
    background-color: var(--dark-green);
    color: #fff;
    text-align: center;

    .social {
        height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .social ul {
        list-style: none;
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin: 0;
        padding: 20px 0;
    }

    .social svg {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .social svg:hover {
        transform: scale(1.1);
    }

    .footer-menu{
        display: flex;
        justify-content: center;
    }
    .footer-menu ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        margin: 1.5rem 0;
        padding: 0;
    }

    .footer-menu a {
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 600;
        position: relative;
        transition: color 0.3s ease-in-out;
    }

    .footer-menu a::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--lime-green);
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.3s ease-in-out;
    }

    .footer-menu a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    .footer-menu a:hover {
        color: var(--lime-green);
    }

    .description {
        background-color: var(--lime-green);
        color: var(--black);
        font-weight: 500;
        border-top: 1px solid #555;
        font-size: 1.1em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100px;

        p {
            margin: 0px;
        }

        i {
            margin: 0px;
        }
    }
}

.hamburger {
    display: none;
    cursor: pointer;
}
@media (max-width: 1000px) {
    .nav {
        flex-direction: column;
        align-items: start;
        display: none;
    }

    .nav.active {
        display: flex;
        /* Muestra el menú cuando la hamburguesa está activa */
    }

    .hamburger {
        display: block;
    }

    footer {
        .social {
            height: 100%;

            .social ul {
                height: 100%;
            }

        }

        .footer-menu ul {
            font-size: 0.8em;
            display: flex;
            flex-direction: row;
            padding: 0 10px;
            margin: 5px 0;
        }

        .description {
            font-size: 0.8em;
            height: 75px;
        }
    }
}


@media (max-width: 768px) {
    .nav {
        width: 100%;
    }

    .brand-text {
        display: none;
    }
}