html, body{
    font-family: "Stack Sans Headline", sans-serif;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

body {
    background-color: rgb(245, 250, 254);
    display: flex;
    flex-direction: column;
    gap: 100px;
}

button, input {
    background-color: inherit;
    color: inherit;
    font-family: inherit;
    font-weight: 300;
}

h1 {
    font-size: 5rem;
    margin: 0;
}

h2 {
    font-size: 2.5rem;
    line-height: 40px;
    margin: 0;
}

h3 {
    font-size: 2rem;
    margin: 0;
}

h4 {
    font-size: 1.75rem;
    margin: 0;
}

h5 {
    font-size: 1.5rem;
    margin: 0;
}

h6 {
    font-size: 1.15rem;
    margin: 0;
}

p {
    font-size: 1rem;
    font-weight: 300;
    margin: 0;
}

table {
    border-radius: 25px;
    border-collapse: collapse; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    min-width: 30%;
}

thead {
    background-color: #1c1c1c;
    color: white;
    height: 45px;
}

th {
    padding: 10px;
}

td {
    border: 1px solid #eee;
    padding: 12px 0;
    text-align: center;
}

tr a {
    text-decoration: none;
    color: black;
    transition: 0.1s ease-in;
}

tr a:hover {
    text-decoration: underline;
    color: #999;
}

select, option {
    font-family: inherit;
    font-weight: 300;
}

/* Custom CSS buttons */
.button-35 {
    align-items: flex-start;
    background-color: white;
    border: 3px solid transparent;
    border-radius: 5px;
    box-shadow: rgba(18, 18, 18, .1) 0 6px 20px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 275px;
    padding: 1rem 1.2rem;
    outline: none;
    transition: border 0.3s ease-in, box-shadow .2s;
    width: 280px;
}

.button-35:hover {
    border-image: linear-gradient(45deg, #50c7da, #2b9df1) 1;
    box-shadow: none;
}

.button-35 p {
    color: grey;
    font-size: 1rem;
    margin: 2px 0; 
}

.button-64 {
    align-items: center;
    background-image: linear-gradient(144deg, #50c7da, #2b9df1 50%, #00DDEB);
    border: 2px solid transparent;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 15px 30px -5px;
    box-sizing: border-box;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    max-width: 100%;
    min-width: 140px;
    padding: 0;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    cursor: pointer;
    height: 60px;
    line-height: 55px;
  }
  
.button-64:active, .button-64:hover {
    outline: 0;
    border-color: #50c7da;
}

.button-64 span {
    background-color: rgb(0, 0, 0);
    border-radius: 6px;
    width: 100%;
    height: 100%;
    transition: 0.25s;
}

.button-64:hover span {
background: none;
}

@media (min-width: 768px) {
  .button-64 {
    font-size: 1rem;
    min-width: 196px;
  }
}

/* Class for pulsating circle when a tournament is live */
.span-pulse-circle {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    animation: pulse 1.2s infinite ease-in-out; 
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

/* Container for page titles */
.div-page-title {
    margin-top: -50px;
    align-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
    padding-left: 75px;
    padding-right: 75px;
    justify-content: space-between;
}

.div-page-title p {
    color: grey;
}

/* Class for Google Icons */
.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
    user-select: none;
}

/* Light and Dark mode styling */
.light {
    background-color: rgb(245, 250, 254);
    color: black;
}

.light header {
    background-color: white;
}

.light .card {
    background-color: white;
}

.dark {
    background-color: #1c1c1c;
    color: white;
}

.dark header {
    background-color: black;
}

.dark button, .card {
    background-color: #222;
}

.dark th {
    background-color: white;
    color: black;
}

.dark tr {
    background-color: #222;
    color: white;
}

.dark tr a {
    color: white;
}

.dark tr a:hover {
    color: #777;
    cursor: pointer;
}