body{
    font-family: Arial, sans-serif;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: black;
    margin: 0;
}

header{
    background-color: rgb(255, 166, 0);
    color: white;
    padding: 15px;
    text-align: center;
}

.logo{
    display: flex;
    align-items: center;
}

.logo img{
    height: 100px;
    margin-right: 10px;
}

header h1{
    margin: 0;
    color: black;
    font-size: 3.5em;
}

nav ul{
    list-style: none;
    padding: 10px;
    margin: 10px 0 0;
}

nav ul li{
    display: inline-block;
    margin: 0 15px;
}

nav ul li a{
    color: white;
    text-decoration: none;
    font-size: 1.7em;
}

nav ul li a:hover{
    color: black;
}

main{
    padding: 0;
    text-align: center;
    justify-content: center;
}

main h1{
    color: white;
    background-color: rgb(124, 2, 2);
    font-size: 3em;
    margin-top: 0;
}

main h2{
    color: black;
    font-size: 2.5em;
    text-align: center;
}

main h3{
    background-color: rgb(255, 0, 0);
    color: black;
    font-size: 2em;
    text-align: center;
    width: 52%;
    margin-left: 25%;
}

main p{
    font-size: 2em;
}

section{
    display: flex;
}

.card-futbol{
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 40px;
    width: 90%;
    margin: 2px auto;
    margin-bottom: 50px;
}

.cardMX{
    background-color: rgb(0, 0, 160);
}

.cardMX:hover{
    transition: all ease 500ms;
    transform: scale(1.2);
}

.cardPremier{
    background-color: rgb(58, 0, 124);
}

.cardPremier:hover{
    transition: all ease 500ms;
    transform: scale(1.2);
}

.cardBundesliga{
    background-color: rgb(206, 0, 0);
}

.cardBundesliga:hover{
    transition: all ease 500ms;
    transform: scale(1.2);
}

.cardLaLiga{
    background-color: rgb(255, 187, 0);
}

.cardLaLiga:hover{
    transition: all ease 500ms;
    transform: scale(1.2);
}

.cardSerieA{
    background-color: rgb(0, 175, 29);
}

.cardSerieA:hover{
    transition: all ease 500ms;
    transform: scale(1.2);
}

.cardLigue1{
    background-color: rgb(107, 107, 107);
}

.cardLigue1:hover{
    transition: all ease 500ms;
    transform: scale(1.2);
}

.cardMundial26{
    background-color: rgb(0, 0, 0);
}

.cardMundial26:hover{
    transition: all ease 500ms;
    transform: scale(1.2);
}

.Jornadas_MX nav ul{
    list-style: none;
    padding: 5px;
    margin: 10px 0 0;
    font-size: 1.5em;
}

.Jornadas_MX nav ul li{
    display: flexbox;
    background-color: darkblue;
    gap: 2rem;
    margin: 5px 10px;
}

.Jornadas_MX nav ul li:hover{
    transition: all ease 500ms;
    transform: scale(1.3);
    background-color: rgb(0, 153, 255);
}

.Jornadas_SerieA nav ul{
    list-style: none;
    padding: 5px;
    margin: 10px 0 0;
    font-size: 1.5em;
}

.Jornadas_SerieA nav ul li{
    display: flexbox;
    background-color: rgb(9, 104, 0);
    gap: 2rem;
    margin: 5px 10px;
}

.Jornadas_SerieA nav ul li:hover{
    transition: all ease 500ms;
    transform: scale(1.3);
    background-color: rgb(0, 175, 29);
}

.Jornadas_Ligue1 nav ul{
    list-style: none;
    padding: 5px;
    margin: 10px 0 0;
    font-size: 1.5em;
}

.Jornadas_Ligue1 nav ul li{
    display: flexbox;
    background-color: rgb(0, 0, 0);
    gap: 2rem;
    margin: 5px 10px;
}

.Jornadas_Ligue1 nav ul li:hover{
    transition: all ease 500ms;
    transform: scale(1.3);
    background-color: rgb(107, 107, 107);
}

.Jornadas_Premier nav ul{
    list-style: none;
    padding: 5px;
    margin: 10px 0 0;
    font-size: 1.5em;
}

.Jornadas_Premier nav ul li{
    display: flexbox;
    background-color: rgb(58, 0, 124);
    gap: 2rem;
    margin: 5px 10px;
}

.Jornadas_Premier nav ul li:hover{
    transition: all ease 500ms;
    transform: scale(1.3);
    background-color: rgb(174, 102, 255);
}

.Jornadas_Bundesliga nav ul{
    list-style: none;
    padding: 5px;
    margin: 10px 0 0;
    font-size: 1.5em;
}

.Jornadas_Bundesliga nav ul li{
    display: flexbox;
    background-color: rgb(124, 2, 2);
    gap: 2rem;
    margin: 5px 10px;
}

.Jornadas_Bundesliga nav ul li:hover{
    transition: all ease 500ms;
    transform: scale(1.3);
    background-color: rgb(206, 0, 0);
}

.Jornadas_LaLiga nav ul{
    list-style: none;
    padding: 5px;
    margin: 10px 0 0;
    font-size: 1.5em;
}

.Jornadas_LaLiga nav ul li{
    display: flexbox;
    background-color: rgb(255, 102, 0);
    gap: 2rem;
    margin: 5px 10px;
}

.Jornadas_LaLiga nav ul li:hover{
    transition: all ease 500ms;
    transform: scale(1.3);
    background-color: rgb(255, 187, 0);
}

.Grupos_Mundial26 nav ul{
    list-style: none;
    padding: 5px;
    margin: 10px 0 0;
    font-size: 1.5em;
}

.Grupos_Mundial26 nav ul li{
    display: flexbox;
    background-color: rgb(8, 100, 0);
    gap: 2rem;
    margin: 5px 10px;
}

.Grupos_Mundial26 nav ul li:hover{
    color: black;
    transition: all ease 500ms;
    transform: scale(1.3);
    background-color: rgb(194, 18, 18);
}

.Resultados_Jornada{
    width: 50%;
    text-align: center;
}

table, th, td{
    border-spacing: 20px;
    border-radius: 50px;
    font-size: 1.5em;
    color: black;
}

footer{
    background-color: rgb(124, 2, 2);
    color: white;
    padding: 4px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

@media (width < 1700px){
    section {
        display: flex;
        flex-direction: column;
    }

    .card-futbol{
        grid-template-columns: repeat(3,1fr);
    }

    .Resultados_Jornada{
        width: 100%;
    }

}