@charset "utf-8";

<link href="https://fonts.googleapis.com/css?family=Rubik&display=swap" rel="stylesheet"> 

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Rubik', sans-serif;
    
    display: flex;

    flex-direction: column;
    
    justify-content: center;

}

ul {
    list-style: none;
}
header img {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    
}

header,

footer {
    background-color: black;
        
}

.material-icons {
    padding-right: .25em;
}

#llamamenu .material-icons {
    padding-right: 0;
    justify-content: flex-end;
    align-content: center;
}


header nav {
    background-color: red;
    color: white;
}  
header nav a,

header nav button {
  
    color: whitesmoke;
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header nav a:hover,
header nav button:hover {
    background-color: black;
    color: white;
}

header nav button {
    background: none;
    cursor: pointer;
    padding: .5em;
}
header nav ul {
    justify-content: flex-end;
    align-items: baseline;
}

header nav ul {
    display: none;
}

@media (min-width: 40em) {
    
    header nav button {
        display: none;
    }
    
    header nav ul {
        display: flex;
        flex-wrap: wrap;
    }
    
    header nav ul {
        flex-basis: 25%;
    }
    
        main {
    flex-grow: 1;
            background-color: whitesmoke;
}

main > section {
    margin-top: 8px;
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
  margin-left: 130px;
  margin-right: 130px;
}
    

        
    #proximopartido h1 {
    margin: 0;
    list-style: none;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#proximopartido ul {
    margin: 0;
    padding: 0;
    list-style: none;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#proximopartido ul li {
    margin: 1em;
}

#proximopartido ul li a {
    color: red;
    font-weight: bold;
    text-decoration: none;
    
    display: flex;
    align-items: center;
}

#proximopartido ul li a:hover {
    color: darkslateblue;
    text-decoration: underline;
}

.imagen {
    padding-bottom: 2em;
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    
}

.imagen h2 {
    width: 100%;
    padding: 1em;
}

.imagen figure {
    width: 100vmin;
    margin: .100em;
    
    
}

.imagen img {
    width: 100%;


}

.imagen figcaption {
    background-color: black;
    color: whitesmoke;
    padding: .5em;
    line-height: 1em;
    display: flex;
    flex-direction: column;
    }
    
.contenedor {
    background-color: black;
    color: whitesmoke;
    
    max-width: 70rem;
    margin: 0 auto;
    padding: 1em;
}

    footer {
    font-size: .85em;
}
