* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f2f2f2;
    color: #111;
}

.inicio a{
    text-decoration: none;
    color: #111;
}

header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-top {
    background-color: black;
    color: white;
    padding: 5px;
    text-align: center;
    font-size: 0.9rem;
}

.nav-bar ul li a:hover,
.login a:hover {
    color: #c6001a;
    transition: color 0.3s ease;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.nav-bar .logo {
    height: 60px;
}

.nav-bar ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-bar ul li a {
    text-decoration: none;
    color: #111;
    font-weight: bold;
}

.login a {
    text-decoration: none;
    color: #111;
    font-weight: bold;
}

.banner {
    position: relative;
    background-color: black;
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 1.6rem;
    font-weight: bold;
}

.main-container {
    display: flex;
    flex-wrap: wrap;
    padding: 2rem;
    background-color: #fff;
}

.form-section {
    flex: 1 1 50%;
    padding: 2rem;
}

.form-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form label {
    font-weight: bold;
}

form input {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 0.75rem;
    background-color: #c6001a;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.banner-img {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-img img {
    max-width: 100%;
    height: auto;
}

footer {
    background-color: #111;
    color: white;
    margin-top: 3rem;
}

.sponsors {
    background-color: #c6001a;
    text-align: center;
    padding: 2rem 1rem;
}

.sponsors .logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.sponsors .logos img {
    height: 60px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2rem;
    font-size: 0.9rem;
    background-color: #000;
}

.footer-bottom h4 {
    margin-bottom: 1rem;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom img {
    height: 24px;
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: #999;
    transition: color 0.3s ease;
}

.nav-bar .logo {
    height: 60px;
    margin-right: 10px;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.nav-bar .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-bar .logo-container span {
    font-weight: bold;
    font-size: 1.3rem;
}

.banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

form button {
    width: 50%;
    align-self: flex-start;
    background-color: #000;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #c6001a;
    z-index: 0;
    transition: left 0.4s ease;
}

form button:hover::before {
    left: 0;
}

form button span {
    position: relative;
    z-index: 1;
}

form button:hover {
    color: white;
}

#abono-resultado,
.abono-info {
    margin-top: 2rem;
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.abono-info h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #c6001a;
}

.abono-info p {
    margin-bottom: 0.5rem;
}

#abono-resultado button {
    background-color: #c6001a;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    border: none;
    margin-top: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

#abono-resultado button:hover {
    background-color: #a00016;
}


@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        padding: 1rem;
    }

    .form-section,
    .banner-img {
        flex: 1 1 100%;
        padding: 1rem;
    }

    form button {
        width: 100%;
    }

    .nav-bar ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
    }
}