@font-face {
  font-family: Exo;
  src: url(Exo2-Regular.otf);
}
@font-face {
  font-family: Roboto;
  src: url(Roboto-Light.ttf);
}


* {
  margin: 0px;
  padding: 0px;
  font-family: Roboto;

}
a {
  text-decoration: none;
  color: black;
}
body {
  background-image: url(../fondo.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  /* background-color: #ccc; */
}
table {
  border-collapse: separate;
  border-spacing: 0px;
  width: 100%;
}

/* ------------- F O R M A T O S ------------- */

h1 {
  font-family: Exo, sans-serif;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}
h2 {
  font-family: Exo, sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}
h3 {
  font-family: Exo, sans-serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
h3 {
  font-family: Exo, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
p {
  font-family: Roboto, sans-serif;
  margin-bottom: 1rem;
  text-align: justify;
}
time {
  margin-bottom: 1rem;
  font-style: italic;
  display: block;
}

/* -------------- H E A D E R -------------- */

header {
  background-color: #ED1C24;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
header > div {
  flex: 1;
  max-width: 960px;
}

.headerizquierda {
  display: inline-block;
}

.headerderecha {
  display: inline-block;
  width: 80%;
  text-align: center;
  justify-content: center;
}

.logo {
  height: 6rem;
  padding: 0.25rem;
  padding-left: 2rem;
}



.tituloprincipal {
  font-family: Exo;
  font-size: 3rem;
  color: white;
  text-align: center;
  margin-block-start: 0rem;
  margin-block-end: 0rem;
}

.logosclubes {
  margin-top: 0.5rem;
}

.logosclubes img {
  width: 1.75rem;
}




nav {
  display: flex;
  justify-content: center;
  text-align: center;
}

nav ul a li {
  display: inline-block;
  padding: 0.5rem;
  font-family: Exo;
}

nav ul a {
  text-decoration: none;
  color: white;
  padding: 0.5rem;
}

nav ul a:hover {
  background-color: white;
  color: #ED1C24;
}

/* ------------- M A I N ------------- */

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

main > div {
  flex: 1;
  max-width: 960px;
  display: grid;
}

.iniciocuadricula {
  grid-template-columns: 2fr 1fr;
  grid-gap: 1rem;
}

main img {
  width: 100%;
  margin-bottom: 1rem;
}

section > a:hover {
  text-decoration: underline;
}

section article {
  padding: 1rem 1rem 0.001rem 1rem;
  background-color: white;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

.iniciosecundario {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap: 1rem;
}
.iniciosecundario p {
  margin-bottom: 0px;
}
.inicioprincipal p {
  margin-bottom: 0px;
}
.iniciosecundario img {
  margin-bottom: -0.01rem;
}
.iniciosecundario > div {
  grid-column: 2/3;
  grid-row: 1/3;
}



.anunciocelular {
  display: none;
}
.anunciopc {
  display: block;
  margin-bottom: 1rem;
}

/* -------------- A S I D E -------------- */

aside article {
  padding: 1rem;
  background-color: white;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

aside th, aside td {
  padding: 0.25rem;
  text-align: center;
}

aside tr {
  border-color: black;
}

.inicioprogramacion th {
  color: white;
  background-color: #ED1C24;
}

.iniciotabla th {
  color: white;
  background-color: #ED1C24;
}

.iniciotablaeliminatorias th {
  color: white;
  background-color: #2958F2;
}

.iniciotabla tr:nth-child(odd) {
  background-color: #ccc;
}
.iniciotabla tr:nth-child(even) {
  background-color: white;
}

.iniciotabla {
  background-color: #F4E6C9;
}

.iniciotablaeliminatorias tr:nth-child(odd) {
  background-color: #ccc;
}
.iniciotablaeliminatorias tr:nth-child(even) {
  background-color: white;
}

.iniciotablaeliminatorias {
  background-color: #79A867;
}

.inicioresultados tr:nth-child(odd) {
  background-color: white;
}
.inicioresultados tr:nth-child(even) {
  background-color: #ccc;
}



.inicioprogramacion {
  background-color: #040B38;
  color: white;
}

.inicioresultados {
  background-color: white;
}

/* -------------- F O O T E R -------------- */
footer {
  background-color: #000000;
  display: flex;
  justify-content: center;
  color: white;
}
footer > div {
  flex: 1;
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
footer section {
  margin: 1rem;
}
footer li {
  list-style: none;
}
footer a {
  text-decoration: none;
  color: white;
}

/* -------------- M E D I A S   Q U E R Y -------------- */

@media (max-width: 960px) {
  .logo {
    height: 5rem;
  }
  .iniciocuadricula {
    grid-gap: 0px;
  }
  header {
    margin-bottom: 0px;
  }
  footer {
    margin-top: 0px;
  }
  section article {
    border-radius: 0px;
    margin: 0px;
    border-width: 0.5px;
    border-color: #ccc;
    border-style: solid;
  }
  aside article {
    border-radius: 0px;
    margin: 0px;
  }
  .logosclubes img {
    width: 1.5rem;
  }
  .anunciopc {
    display: block;
    margin-bottom: 0px;
  }
}
@media (max-width: 720px) {
  .logo {
    display: none;
  }
  .logosclubes img {
    width: 1rem;
  }
  .iniciocuadricula {
    grid-template-columns: 1fr;
  }
  footer > div {
    grid-template-columns: 1fr 1fr;
  }
  .headerizquierda {
    display: none;
  }
  .headerderecha {
    width: 100%;
  }
  .anunciopc {
    display: none;
  }
  .anunciocelular {
    display: block;
  }
}
@media (max-width: 480px) {

  .tituloprincipal {
    font-size: 2.5rem;
  }
  footer > div {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}
@media (max-width: 320px) {
  .logosclubes img {
    display: none;
  }
}
