* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
}


.main-container {
    text-align: center;
}

.slider-container {
    position: relative;
    width: 50%; /* Ancho más moderado, ajustable según lo que prefieras */
    height: 60vh; /* Ajuste de altura moderada */
    overflow: hidden;
    border: 2px solid #ddd;
    margin: 0 auto;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    transition: transform 1s ease-in-out;
}

.slider-image {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.info-container {
    width: 70%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    padding: 25px 75px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    margin-top: 60px;
}

.info-item {
    max-width: 200px; /* Ajusta el ancho máximo según sea necesario */
    text-align: center;
}

.info-icons {
    width: 35px;
    height: 35px;
    color: #c80d0d;
    font-size: 30px;
}

.info-item h2 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.info-item p {
    margin: 5px 0;
}

.info-item a {
    margin: 5px 0;
    color: #c80d0d;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.torneo-container {
    width: 30%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    padding: 25px 75px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    margin-top: 60px;

}

.torneo-item h2 {
    margin-bottom: 10px;
    font-size: 1.5em;
    text-align: center;
}

.torneo-item i {
    width: 35px;
    height: 35px;
    color: #c80d0d;
    font-size: 30px;
}

/*Footer*/
footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    margin-top: 90px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
}

.footer-section {
    width: 20%;
    padding: 10px;
}

.footer-section h2 {
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    font-size: 20px;
}

.footer-section p, .footer-section a {
    color: #fff;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section li {
    list-style: none;
}

.footer-section a:hover {
    color: #FF6464;
}

.footer-section i{
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
}

.footer-bottom p {
    margin: 0;
}

.footer-section a {
    margin-right: 10px;
    font-size: 16px;
}


/* Responsive */
@media (max-width: 767px) {
    /* Slider */
    .slider-container {
        width: 90%;
        height: 50vh;
        margin-top: 110px;
    }

    .info-container {
        width: 90%;
        padding: 15px 40px;
    }

    .info-item {
        max-width: 100%;  /* Los items deben ocupar todo el ancho disponible */
        text-align: left;
    }

    .torneo-container {
        width: 90%;  /* Hacer el contenedor de torneo más ancho en celulares */
        padding: 15px 40px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        text-align: center;
    }
}

/* Dispositivos medianos */
@media (min-width: 768px) and (max-width: 1024px) {
    .slider-container {
        width: 50%;
        height: 60vh;
    }

    .info-container {
        width: 70%;
        padding: 25px 75px;
    }

    .torneo-container {
        width: 30%;
        padding: 25px 75px;
    }

    .footer-container {
        flex-direction: row; 
    }

    .footer-section {
        width: 20%;
        text-align: left;
    }
}
