main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section {
    display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /* border: 2px solid blue; */
}

section div {
    width: 100%;
    display: flex;
    justify-content: center;
    /* border: 2px solid yellowgreen; */
}

h2 {
    width: 100%;
    justify-self: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
    /* border: 1px solid blueviolet */
}

h3 {
    padding-bottom: 2rem;
    padding-top: 2rem;
    text-align: center;
    width: 100%;
    color: #B3D92B;
}

h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bolder;
    /* width: 70% */
}

h5 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    /* width: 70%; */
}

p {
    /* width: 60%; */
}

.divLogo2 {
    display:none
}

.headerEventos {
    min-height: 25rem;
    width: 100%;
    background-image: url('../img/eventos/head-eventos.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/*   TABLA   */
table {
    width: 70%;
    text-align: center;
    box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.3);
    border-radius: 5%;
    -moz-border-radius: 5px;
    border-collapse: collapse;
    border: none;
    border-collapse:separate;
    border-spacing: 0px 0px;
}


td {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    background-color: white; 
    color: #081526;
}

th {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    background-color: #081526; 
    color: white; 
    font-size: 2rem; 
    font-weight: bolder;
}

/*   HOVER TABLA   */
th:first-of-type {border-top-left-radius: 1rem;}
    
th:last-of-type {border-top-right-radius: 1rem; }
    
tr:last-of-type td:first-of-type {border-bottom-left-radius: 1rem;}
      
tr:last-of-type td:last-of-type {border-bottom-right-radius: 1rem;}

.destacado {
    background-color: #618C03; 
    color: white; 
}

table tr:hover td {
    background-color: #ddd;
    color: #081526;
                }

.titulo {
    width: 100%; 
    text-align: center;     
    margin: 2rem;
    }

/*   TARJETAS TEXTO   */
article {
        display: flex;
        flex-direction: column; 
        margin-bottom: 5%;
        padding-top: 2.5%;
        padding-left: 5%;
        padding-right: 5%;
        padding-bottom: 5%;
        background-color: white;
        border-radius: 1rem;
        box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.3);
        }
        
        
.torneo,
.copa {
        display: inline-block; 
        vertical-align: top;
        }
        
.copa img {
    float: right;
    width: 30%; 
    height: auto; 
    border-radius: 1rem; 
    margin-top: 7.5rem;
    margin-left: 2.5%;
    margin-bottom: 2.5%;
}

.torneo img{
    float: left;
    width: 30%; 
    height: auto; 
    border-radius: 1rem; 
    margin-top: 7.5rem;
    margin-right: 2.5%;
    margin-bottom: 2.5%;
    }
        
        
.copa {
        flex-direction: row-reverse;
        justify-content: space-between; 
        }

.torneo {
        flex-direction: row;
        }




/*     SUBMENU    */
.desplegable {
    position: relative;
}

/* .dropdown ul {
    position: relative;
    display: none;
}

.desplegable ul li {
    background-color: none;
}

.dropdown li ul a{ 
    position: absolute;
    top: 1rem;
    left: 0;
    /* background-color: white; */
    /* height: 2rem; */
    /* padding: 1rem;
}

.dropdown li:hover ul {
    display: block;
    /* background-color: #B3D92B; */
    /* color: white; */
    /* transition: 0.5s;
}

.dropdown li:hover ul li a {
    display: block;
    background-color: white;
    color:#081526;
    transition: 0.5s;
}  */

/* .liSubmenu {
    height: 2rem;
}  */

/* .liSubmenu a:hover {
    background-color: #B3D92B;
    color: white;
    transition: 0.5s;
} */

/* .dropdown ul li a{
    text-justify: center;
    /* border: green 1px solid; */
    /* list-style: none;
    padding-right: 1.2rem;
    padding-left: 1.2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0.4rem;
} */ 

/* .dropdown li:hover {
    background-color: none;
    color: none;
} */

/* .dropdown ul li a:hover a{
    background-color: #B3D92B;
    color: white;
    transition: 0.5s;
} */


 /*  TARJETAS PARTIDOS  */
 .container_fechas {
      display: flex;
      position: relative;
      width: 70%;
      flex-direction: row;
      align-items: center;
      justify-content: space-around;
      border-radius: 1rem;
      padding-bottom: 2.5%;
      margin-bottom: 5%;
        padding-top: 2.5%;
        padding-left: 5%;
        padding-right: 5%;
        background-color: white;
        border-radius: 1rem;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        transition: 0.3s;
 }

 .container_logo {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
    min-height: 20rem;
 }

 .container_logo img {
    width: 40%;
 }

 .nombreEquipo {
    min-width: 100%;
    font-size: 1.5rem;
    text-align: center;
    color:#618C03;
    font-family: padelbold;
    font-weight: bolder;
    padding-top: 0.8rem;
 }

 .versus {
    font-size: 2.5rem;
    color:#081526;
    font-weight: bold;
 }

 .pTarjeta {
    position: absolute;
    top: 2rem;
    min-width: 100%;
    text-align: center;
    font-size: 1.5rem;
    color:#081526;
    font-family: padel;



 }

 .pTarjeta2 {
    position: absolute;
    bottom: 2rem;
    min-width: 100%;
    text-align: center;
    font-size: 1.5rem;
    color:#081526;
    font-family: padel;


 }

 strong {
    font-family: padelbold;
    font-weight: bolder;
 }

    /* animacion */
    .container_fechas:hover {
        transform: translateY(-10px);
        
        box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.3);
      }



 /*   MENU HAMBRUGUESA   */
#menu {
    display: none;
    position:fixed;
    top: 0rem;
    right:0rem 
}
.labelBurguer {
    display: none;
    position:fixed;
        top: 0rem;
        right:0rem 
    }

.burguer {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #081526;
    /* border: 1px solid #081526; */
    border-radius: 5px;
    background-color: white;
    width: 3rem;
    height: 3rem;
    line-height: 2rem;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    user-select: none;
  }

  .divNavegacionSP {
    position: fixed;
    top: 0rem;
    left: -50rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
    background-color: #618C03;
    transition: 500ms;
    /* transition-delay: 500ms; */
    transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275);


}


/******************* MEDIA QUERIES ******************/

/*    Codigo pag en tablet       */

@media (max-width:960px) {
    .headerEventos {
        min-height: 10rem;
    }
    section {
        width: 90%;
    }
    section div {
        width: 90%;
        padding-right: 2rem;
        padding-left: 2rem;
    }
    h2 {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        text-align: center;
    }


    h3 {
        width: 100%;
    }

    nav {
        justify-content: space-between;
    }


    /*     TARJETAS PARTIDOS    */
    .container_logo {
        min-height: 17rem;
    }

    .container_logo img {
        width: 50%;
     }

     .pTarjeta {
        font-size: 1.3rem;
     }
    
     .pTarjeta2 {
        font-size: 1.3rem;
        margin-top: 1rem;
     }

     .nombreEquipo {
        font-size: 1.3rem;
     }

     .versus {
        font-size: 2rem;
     }


/*   TABLA   */
    table {
        width: 100%
    }


/*   TARJETAS TEXTO   */
.copa img {
    width: 40%;
    margin-top: 10.5rem;
}

.torneo img {
    width: 40%;
    margin-top: 10.5rem;
}

    /* .torneo img,
    .copa img {
        display: none;
        } */
        
    
/*   MENU NAVEGADOR   */
    .divLogo {
            min-height: 4rem;
            padding-left: 1rem;
        }

    .langSeleccion ul {
        height: 2rem;
        padding-right: 0.5rem;
    }

    .navPaginas ul {
        height: 2rem;
        padding-right: 0.5rem;
    }

    .navPaginas li {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    /* .navPaginas ul li a {
        font-size: 1rem;
} */

/*   FOOTER   */
    footer {
        justify-content: space-between;
            }
    .logoFooter {
        padding-left: 2rem;
    }
    .navFooter {
        padding-right: 2rem;
    }

}


/*  Codigo pagina en smartphone   */    

@media (max-width:768px) { 
    .headerEventos {
        min-height: 10rem;
    }
    section {
        width: 100%;
    }
    section div {
        width: 100%;
    padding-right: 0;
    padding-left: 0;
}
    h2 {
        display: flex;
    justify-content: center;
    margin-top: 1rem;
}
    article {
        border-radius: 0;
        /* box-shadow: none; */
    }
    table {
        border-radius: 0;
        -moz-border-radius: 0;
        /* box-shadow: none; */
        margin-bottom: 1rem;
    }
    th:first-of-type {border-top-left-radius: 0;}
    
    th:last-of-type {border-top-right-radius: 0; }
            
    tr:last-of-type td:first-of-type {border-bottom-left-radius: 0;}
              
    tr:last-of-type td:last-of-type {border-bottom-right-radius: 0;}
    th {font-size: 1.5rem;}

    /*   MENU HAMBURGUESA   */
    .labelBurguer {
        display: block;
        position:fixed;
        top: 0rem;
        right:0rem;
        z-index: 101; 
    }

    #menu {
        display: none;
            position:fixed;
            top: 0rem;
            right:0rem;
            z-index: 101; 
        }

    nav ul {
        width: 100%;
        color: white;
    }

    nav ul li {
        display: flex;
        flex-direction: column;
        min-height: 5rem;
        justify-content: center;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid white;
}


    nav ul li a {
        color: white;
    }

    .divLogo {
        display: none;
    }

    .divLogo2 {
                width: 100%;
                display: flex;
                justify-content: left;
                align-items: center;
                padding-left: 1rem;

            }

    .divNavegacionSP {width: 100%;}

    .divNavegacion ul{
        display: none;
      }
    
    #menu:checked  ~ .divNavegacionSP {translate: 50rem 0px;
      }

    #menu:checked ~ label .burguer {background-color: #618C03;
        color: white;}

    #menu:checked ~ label .burguer {
            background-color: #618C03;
            color: white;
            border:none;
        }


    .divNavegacionSP ul li:active {background-color: #B3D92B;
    }

    .desplegable {
        min-height: 6rem;
        justify-content: space-evenly;
    }

    .liSubmenu {
        display: flex;
        width: 100%;
        text-align: center;
        min-height: 2rem;
        justify-content: center;
        align-items: center;
        border-bottom: none;
    }

    /*   TARJETAS PARTIDOS   */
    .container_fechas {
        border-radius: 0px;
        width: 100%;
    }

    /* .copa {
        flex-direction: column-reverse;
        width: 100%;
    }

    .torneo {
        flex-direction: column-reverse;
        width: 100%;
    }

    .torneo img,
    .copa img {
        display: block;
        width: 100%;
        align-self: flex-end;
        }
         */

    /*   TARJETAS TEXTO   */
    .copa img,
    .torneo img {
        width: 100%;
        margin-top: 0;
    }
    
    /*   FOOTER   */
    footer {flex-direction: column;
        align-items: center;}
    
    .logoFooter {width: 100%;
        padding-left: 0;
        padding-top: 2rem;
        padding-bottom: 1rem;
        min-height: 0;
        }
    /* .rrss {width: 100%;
        min-height: 0;
        padding-top: 1rem;
        padding-bottom: 1rem;
        font-size: 2rem;} */

    .navFooter {
        justify-content: space-around;
        text-align: center;
        font-size: 1rem;
        font-weight: bolder;
        width: 100%;
        padding-right: 0;
        padding-top: 1rem;
        padding-bottom: 1rem;
        min-height: 0;}

    .navFooter ul li {padding-bottom: 0.5rem;
    }

    /* .rrss ul {width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
            align-items: center;
            align-content: center;}

    .rrss ul li {justify-content: center;} */

    }


