*{  
    margin: 0;
    padding: 0;
    font-family: Arial;
}
.mobile button{
    display: none;
}
.mobile button.always-show {
    display: inline-block !important;
}
.mobile .disclaim{
    display: block;
}
.header{
    min-height: 40vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/bannerV2.webp);
    background-position: center;
    background-size: cover;
    position: relative;
}
.footer{
    width: 80%;
    text-align: center;
    padding: 30px 0;
    margin: auto;
}
.footer h4{
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: 600;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}
nav img{
    width: 150px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #ffc000;
    display: block;
    margin: auto;
    transition: .5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
nav .fa{
    display: none;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 40px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: white;
}
.frontpage{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-top: 15px;
}
.frontpage h1{
    text-align: center;
}
.stats{
    margin: 5px 10px;
    display: flex;
    justify-content: space-evenly;
}
.statsbox{
    padding: 15px;
    background: white;
    text-align: center;
    font-size: 20px;
    border: black 3px solid;
    margin-bottom: 10px;
    margin-inline: 5px;
    width: 70px;
    box-shadow: 0 0 5px 3px rgba(0,0,0,0.3);
}
.graveyard{
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 300px;
}
.graveyard img{
    margin: 0 20px;
}
.statsbox p{
    font-size: 15px;
    font-style: italic;
}
.gameblock{
    background: white;
    border: black solid 3px;
    text-align: center;
    padding-bottom: 3px;
    margin-bottom: 10px;
    color: black;
}
.matchblock{
    display: flex;
    justify-content: space-evenly;
    padding: 5px 10px;
    color: black;
}
.teamblock{
    text-align: center;
}
.teamblock img{
    max-width: 50px;
}
.schedule{
    text-align: center;
}
.results{
    margin: auto;
    height: 800px;
    max-width: 90vw;
    overflow: scroll;
    border: 3px black solid;
    background: white;
}
.results th{
    background: white;
    position: sticky;
    top: 0;
    z-index: 2;
}
.frontpage img{
    max-width: 50px;
}
.grayscale {
    filter: grayscale(100%);
}
.week-cell {
    position: relative;
    width: 55px;
    height: 55px;
}
.half-size {
    width: 70%;
}
.week-cell img.half-size:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
}
.week-cell img.half-size:nth-child(2) {
    position: absolute;
    bottom: 0;
    right: 0;
} 
table .remaining-team-logo {
    max-width: 50px;
}
.wp {
    width: 200px;
    margin: 0 10px;
    text-align: center;
    border: black solid 3px;
    background: white;
    padding: 5px 10px;
    box-shadow: 0 0 5px 5px rgba(0,0,0,0.3);
}
.wpheader {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.arrow {
    font-size: 24px;
    cursor: pointer;
    user-select: none;
}
.arrow.left{
    margin-right: 10px;
    margin-left: 10px;
}
.arrow.right{
    margin-right: 10px;
    margin-left: 10px;
}
.wpheader-text {
    flex-grow: 1;
}
.rollup {
    margin-top: 20px;
}
.team {
    display: flex;
    justify-content: space-evenly;
    margin: 5px 0;
    align-items: center;
}
.team span{
    margin: auto auto;
    font-size: 20px;
}
button{
    background: navy;
    width: 200px;
    border: solid black 3px;
    outline: none;
    color: white;
    height: 35px;
    border-radius: 50px;
    box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
    margin: 5px auto;
}
button:hover {
    transform: scale(1.1);
}
input{
    height: 30px;
    width: 100%;
    margin: 10px auto;
}
.tablefilters{
    display: flex; 
    justify-content: space-between;
    padding-bottom: 15px;
}
select{
    width: 55px;
}
.disclaim{
    display: none;
}
@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: navy;
        height: 100%;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: right 0.5s ease;
    }
    nav .fa{
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
    }
    nav img{
        height: 70px;
        width: 70px;
    }
    .nav-links ul{
        padding: 30px;
    }
    .tablefilters{
        flex-direction: column;
        margin: auto;
        margin-inline: 10px;
        align-items: center;
    }
}
/* Container */
#toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.toggle-wrapper {
  position: relative;
  width: 160px;       
  height: 40px;       
  border-radius: 20px;
  background: #ccc;
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  padding: 0 3px;
  box-sizing: border-box; 
}

.toggle-wrapper input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  top: 0;
  left: 0;
  z-index: 3;
  margin: 0;
  cursor: pointer;
}

.labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  color: #fff;
  z-index: 2;
  position: relative;
  pointer-events: none;
  padding: 0 2px; 
}

.labels .label {
  width: 50%;
  text-align: center;
  overflow: hidden; 
  white-space: nowrap; 
  text-overflow: ellipsis;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 12px; 
}

.slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background: navy;
  border-radius: 20px;
  transition: 0.3s;
  z-index: 1;
}

/* Move slider when checked */
.toggle-wrapper input:checked ~ .slider {
  transform: translateX(calc(100%));
}
