/*
Copyright (C) 2021 Echedey López Romero <elr@disroot.org>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

html {
    font-size: 16px;
    background-image: url("./../images/manchester-united-background.webp");
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
}

* {
    margin: 0;
    box-sizing: border-box;
    border-radius: 0.5rem;
}

body {
    margin: 0 auto;
    width: 64rem;
    background-color: rgb(255, 140, 0, 0.75);
    padding: 2rem;
}

header {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 2rem;
    background-color: rgb(217, 62, 65, 0.75);
    padding: 0.25rem;
}

header img {
    width: 8rem;
    margin-right: 0.25rem;
}

header h1 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    text-align: center;
    background-image: url("./../images/manchester-united-panorama.webp");
    background-size: cover;
    background-position: center;
    color: white;
    font-size: 3rem;
    font-weight: 900;
    color: rgb(255, 226, 66);
}

nav {
    width: 100%;
    margin-bottom: 2rem;
}

nav > ul {
    display: flex;
    width: 100%;
    padding: 0.5rem;
}

nav li {
    list-style-type: none;
    display: inline-block;
    flex: 1;
    text-align: center;
}

nav li:not(:last-child) {
    margin-right: 0.5rem;
}

nav li:nth-child(odd) {
    background-color: rgb(217, 62, 65);
}

nav li:nth-child(odd) > a {
    color: rgb(255, 226, 66);
    border-width: 0.15rem;
    border-style: dashed;
    border-color: rgb(217, 62, 65);
}

nav li:nth-child(odd) > a:hover {
    text-decoration: underline;
    border-width: 0.15rem;
    border-style: dashed;
    border-color: rgb(255, 226, 66);
}

nav li:nth-child(even) {
    background-color: rgb(255, 226, 66);
}

nav li:nth-child(even) > a {
    color: rgb(217, 62, 65);
    border-width: 0.15rem;
    border-style: dashed;
    border-color: rgb(255, 226, 66);
}

nav li:nth-child(even) > a:hover{
    text-decoration: underline;
    border-width: 0.15rem;
    border-style: dashed;
    border-color: rgb(217, 62, 65);
}

nav a {
    text-decoration: none;
    display: block;
    padding: 0.75rem;
    margin: auto;
    font-weight: bold;
}

main {
    margin-bottom: 2rem;
    padding: 0.5rem;
    overflow: hidden;
    color: rgb(255, 226, 66);
}

main a {
    color: rgb(255, 226, 66);
}

footer {
    text-align: center;
    background-color: rgb(217, 62, 65);
    color: white;
    padding: 0.5rem;
}

footer a {
    color: rgb(255, 226, 66);
}