

body{
    background-image: url(./Files/Images/Fondo.png);
    margin: 0;
    padding: 0;
    cursor: default;
}
a{
    color:inherit;
    text-decoration: none;
    cursor: pointer;
}
h1{
    margin-top: 90px;
    font-weight: bolder;
    color: black;
    font-size: 75px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
}
h2{
    font-weight: bolder;
    color: black;
    font-size: clamp(20px,2vw,30px);
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
}
.BarraSuperior{
    margin-left: 5vw;
    margin-right: 5vw;
    position:fixed;
    top:0;
    display:flex;
    align-items: center;
    background: #E01212;
    width: 90vw;
    height: 7.5vh;
    padding: 0;
    border-radius : 25px; 
    z-index: 1000;
    justify-content: space-between;
}
.BarraBotones{
    display:flex;
    flex:1;
    justify-content: center;
    align-items: center;
    gap:2.5%;
}
.Logo{
    padding: 4px;
    flex-shrink: 0;
    margin-left: 1%;
    height: 75%;
    aspect-ratio: 1/1;
}
.BotonBarraSuperior {
    font-size: clamp(3px,2vw,20px);
    display: flex;
    align-items: center;
    padding-left: 1%;
    padding-right: 1%;
    margin-top: auto;
    margin-bottom: auto;
    color: white;
    cursor: pointer;
    border-radius: 25px;
    transition: background-color 0.3s;
}
.BotonBarraSuperior:hover {
            background-color:#D95F5F;
}
.BotonBarraSuperior p{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;
    font-size: auto;
    font-weight: bold;
}


.Seccion{
    width: 100vw;
    aspect-ratio: 2/1;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertical */
    flex-direction: column;
    margin-bottom: 5%;
    background-color:transparent;
}
#SeccionFixtures{
    width: 100%;
    height: 80vh;
}


.SeccionNovedades{
    width:100%;
    height: 100%;
}
.NovedadesContenido{
    display: flex;
    flex-direction: column;
    margin-top: 5%;
    background-color: #E8E8E8;
    height: 80%;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 30px;
    border-color: transparent;
    border: 1px solid transparent;
    position: relative;
}
.NovedadesBarraTitulo{
    width: 100%;
    height: 10%;
    background-color: #E01212;
    border-radius: 30px 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:0;
    margin-bottom: 0;
}
.NovedadesFotoYTexto{
    margin-top: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 90%;
    justify-content: center;
    align-items: center;
    overflow:hidden;
}
.textonovedades{
    width: 35%;
    margin-right: 5%;
    margin-left: 2.5%;
    height: 95%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: clamp(2px,2vw,15px);
    color: black;
    text-align: center;
    line-height: 1.5;
    background-color: white;
    border-radius: 30px;
    overflow-y: auto;
}
.carrusel{
    width: 50%;
    height: 80%; 
    margin-left:5%;
    position: relative;
    overflow:hidden;
    border-radius: 30px;
    padding:0;
}
.carrusel img{
    position: absolute;
    width: 100%;
    height:100%;
    opacity:0;
    transition: opacity 1s ease-in-out;
    object-fit: cover;

}
.carrusel img.active{
    opacity:1;
}
.ImagenCarrusel{
    width: 100%;               
    height: 100%;        
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;     
}



.PlantelesOpciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.BotonPlanteles {
    color: black;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: clamp(4px,2vw,18px);
    font-weight: bold;
    border-radius: 25px;
    transition: background-color 0.3s;
}
.BotonPlanteles:hover {
    background-color: #E01212;
    color: white;
}
.SeccionPlanteles{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}
.PlantelesContenido{
    display: flex;
    margin-top: 0px;
    background-color: #E8E8E8;
    height: 80%;                            
    width: 80%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 30px;
    border-color: #BDBDBD;
    border: 1px;
    visibility:hidden;
    opacity:0;
    position:absolute;
    transition: opacity 0.3s;
}   
.PlantelesContenido.active{
    visibility:visible;
    opacity:1;
    position:relative;
}
.PlantelesFoto{
    background-color: white;
    width: 60%;
    height: 80%;
    margin-left: 5%;
    margin-top: auto;
    margin-bottom: auto;
    border-radius: 25px;
    background-size: cover;
}
.FotoDePlantel{
    height: 100%;
    width:100%;
    border-radius: 25px;
}
.PlantelesLista {
    width:40%;
    height: 100%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    list-style-position: inside;
    text-align: center;
    align-items: center;
    overflow:hidden;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 5% 0;
}
.PlantelesLista h3{
    margin:auto;
    width: 50%;
    box-sizing: border-box;
    background-color: #E01212;
    padding: 1% 4%;
    margin: 0 0 2% 0;
    flex-shrink: 0;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: clamp(2px,1.5vw,15px);
}
.PlantelesLista ul {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-y: auto;  /* si la lista es muy larga, aparece scroll */
    font-size: clamp(2px,1.5vw,15px);
}
.PlantelesLista ul li{
    margin-top:5px;
    border-radius: 30px;
    padding: 2px;;
}



.SeccionFixtures{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.FixturesContenido{
    display: grid;
    grid-template-rows: auto repeat(8,1fr);
    margin-top: 0;
    background-color: #E8E8E8;
    height: 70%;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 30px;
    border-color: #BDBDBD;
    border: 1px;
}
.FixturesBarra{
    text-align: center;
    line-height: 1.5;
    width:100%;
    height:65%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: space-around;
    background-color: #E01212;
    color: white;
    padding: 10px 0;
    border-radius: 30px 30px 0 0;
}
.textobarrafixtures{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    font-size: medium;
    margin: 0;
}
.Partido{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    text-align: center;
    width: 100%;
    height: auto;
    display: grid;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    font-size: clamp(10px,1.5vw,18px);
}
.Partido span{ 
    font-size: auto;

}
.PartidoPlantel {
    font-weight: bold;
    color: black;
}



.SeccionVideoDirecto{
width:100%;
height:100%;
background-color: transparent;
display:flex;
flex-direction: row;
justify-content: space-between;
gap:0;
}
.PartidosEnDirecto {
    width: 80%;
    aspect-ratio: 9/6;
    margin: 20px auto;
    text-align: center;
}


.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
}
.modal-content {
    background-color: #fff;
    margin: 10% auto; 
    padding: 20px;
    border-radius: 15px;
    width: 80%;
    max-width: 400px;
    text-align: center;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}