@font-face {
    font-family: roboto;
    src: url(fonts/Roboto-Regular.ttf);
}

body {
    font-family: roboto;
    margin: 0px;
    padding: 0px;
    flex-wrap: wrap;
    background-color: #f0f0f0;
}

header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #000;
    color: #fff;
    margin: 0px;
    padding: 5px 5%;
}

header h1 a {
    text-decoration: none;
    color: #fff;
}

header .navigation ul {
    list-style: none;
    display: flex;
    justify-content: start;
    margin-top: 1.5rem;
}

header .navigation ul a {
    text-decoration: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    color: #fff;
}

header .navigation ul a.active {
    color: #999;
}

header .navigation ul a:hover {
    color: #999;
}

#hero {
    min-height: 70vh;
    background: url(images/bg_hero.jpg);

    margin: 0px;
    position: relative;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

#hero #herocontent {
    position: absolute;
    background-color: rgb(0, 0, 0, 0.5);
    border-radius: 10px;
    width: auto;
    color: #fff;
    font-style: italic;

    top: 35%;
    left: 40%;
    padding: 10px 15px;
}

#hero #herocontent h1 {
    font-size: 2rem;
    margin: 0.5rem;
}

#hero #herocontent .buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

#hero #herocontent button {
    padding: 9px 15px;
    background-color: #11cc11;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

#hero #herocontent button:hover {
    background-color: #11aa11;
    box-shadow: 1px 1px 5px rgba(200, 200, 200, 50);
}

#hallofframe #hero,
#gallery #hero {
    min-height: 50vh;
}
.gallery{
    cursor: pointer;
}
.section_title {
    font-size: 2rem;
    font-style: italic;
    text-align: center;
}

.container {
    width: 80%;
    margin: auto;
}

@media (min-width: 500px) {

    #players_section .section_content,
    #rules_section .section_content,
    #gallery_section .section_content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {

    #players_section .section_content,
    #rules_section .section_content,
    #gallery_section .section_content {
        grid-template-columns: repeat(3, 1fr);
    }
}

#players_section .section_content,
#rules_section .section_content {
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: 16px;
}

#players_section .section_content .player,
#rules_section .section_content .rule {
    background-color: #ddd;
    padding: 0.5rem;

    text-align: center;
}

#players_section .section_content .player img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}
#players_section .section_content .player p small{
    font-size: 14px;
    
}
#players_section .section_content .player p {
    font-size: 1.3rem;
    padding: 10px;
    margin: 0px;
}

#rules_section .section_content .rule p {
    text-align: justify;
    margin: 5px 10px;
}

#rules_section .section_content .rule {
    border-bottom: 1px solid #000;
}

#footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 5px 0px 20px;
    margin-top: 3rem;
}

#gallery_section .section_content {
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: 16px;
}

#gallery_section .section_content .gallery {
    background-color: #ddd;
    padding: 0.2rem;

    text-align: center;
}

#gallery_section .section_content .gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}

@media (max-width: 786px) {
    #hero {
        min-height: 40vh;
    }

    #hero #herocontent {
        left: 25%;
    }
}

@media (max-width: 500px) {
    .navigation ul {
        margin: 0px;
        padding: 0px;
    }
}

#day {
    margin: 5px 0px 30px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding-top: 3rem;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}