body, html {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #d5e8fc;
}

.logo {
    max-width: 10%;
    max-height: 10%;
}

.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url("images/hero.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 50%;
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

#navbar {
    background-color: #0076B6;
}

#navbar ul, footer ul {
    text-align: center;
    display: inline-block;
    list-style-type: none;
}

#navbar li, footer li {
    display: inline;
    margin-left: 15px;
}

#navbar a, footer a, #return {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

#navbar a:hover, footer a:hover, #return:hover {
    text-decoration: underline;
}

footer {
    background-color: #0076B6;
    width: 100%;
    margin-top: 10em;
    padding: 1em 0;
    text-align: left;
}

main {
    padding: 2em;
}

h1 {
    margin-bottom: 1em;
}

.news-article {
    margin-bottom: 2em;
    padding: 1em;
    border: 1px solid #ccc; 
    border-radius: 5px; 
    background-color: #fff; 
}

.read-more {
    display: inline-block;
    margin-top: 1em;
    color: #0076B6;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline; 
}

.game-image, .injury-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #0076B6;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

#signup-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #0076B6;
    color: white;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #005f8d;
}

.wrapper {
    display: flex;
    margin: 20px;
}

#sidebar {
    width: 300px;
    background-color: #0095D9;
    padding: 20px;
    margin-right: 20px;
    color: white;
}

#sidebar h2, #sidebar h3 {
    margin: 10px 0;
}

#sidebar ul {
    list-style: none;
    padding: 0;
}

#sidebar a {
    color: white; 
}

#sidebar a:hover {
    text-decoration: underline;
}

.main-content {
    flex-grow: 1;
}

.sidebar-item {
    margin-bottom: 1em;
}

#signup {
    width: 90%;
}
/* intermediate technique applied */
@media (min-width: 600px) {  
    .wrapper {
        flex-direction: row;
    }

    .image-gallery img {
        width: 30%;
    }
}

@media (min-width: 1024px) {
    #navbar {
        padding: 1.5em;
    }

    .hero-image {
        height: 400px;
    }

    .image-gallery img {
        width: 32%;
    }
}

.news-article h2 {
    margin: 0;
}

.article-title {
    text-decoration: none;
    color: inherit;
}

.article-title:hover {
    text-decoration: underline;
}