/* Reset */
* {
    border: 0;
    margin: 0;
    padding: 0;
    outline: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    line-height: inherit;
    box-sizing: border-box;
    vertical-align: baseline;
}
a {
    text-decoration: none;
}
button, input, select {
    appearance: none;
    background-color: transparent;
}
button, select {
    cursor: pointer;
    position: relative;
}
h1 {
    font-size: 32px;
}
h2 {
    font-size: 24px;
}
h3 {
    font-size: 20px;
}
h4 {
    font-size: 18px;
}
h5, h6 {
    font-size: 16px;
}
b, h1, h2, h3, h4, h5, h6, strong {
    font-weight: 600;
}
ul, ol {
    list-style: none;
}
img {
    height: auto;
    display: block;
    max-width: 100%;
}
button *, .button * {
    user-select: none;
    pointer-events: none;
}
section {
    margin: 30px auto;
}
body {
    color: #555;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    overflow-x: hidden;
    background-color: #fff;
    font-family: sans-serif;
}
.wrap {
    width: 100%;
    margin: auto;
    padding: 0 15px;
    max-width: 1280px;
}

/* Header */
#header {
    box-shadow: 0 5px 10px rgba(0, 0, 0, .05);
}
#header .wrap {
    display: flex;
    align-items: center;
}
#header .name {
    margin-right: auto;
}
#header .name h2 {
    line-height: 1;
    font-size: 25px;
}
#header .name h2 a {
    display: block;
    color: #16a34a;
    line-height: 65px;
}
#header .menu {
    display: flex;
    align-items: center;
}
#header .menu ul {
    gap: 15px;
    display: flex;
    align-items: center;
}
#header .menu ul li a {
    display: block;
    font-weight: 600;
    line-height: 65px;
    transition: color 200ms;
}
#header .menu ul li a:hover {
    color: #16a34a;
}
#header .menu button {
    width: 22px;
    height: 17px;
    display: none;
    box-sizing: content-box;
}
#header .menu button span {
    left: 0;
    width: 100%;
    height: 2px;
    position: absolute;
    border-radius: 2px;
    background-color: #555;
}
#header .menu button span:nth-child(1) {
    top: 0;
}
#header .menu button span:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
}
#header .menu button span:nth-child(3) {
    bottom: 0;
}

/* Menu */
#menu {
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    background-color: rgba(31, 41, 55, .75);
}
#menu.show {
    display: block;
}
#menu .box {
    top: 50%;
    left: 50%;
    width: 500px;
    max-width: 90%;
    max-height: 90%;
    padding: 10px;
    position: absolute;
    border-radius: 10px;
    background-color: #fff;
    transform: translate(-50%, -50%);
}
#menu .box button {
    top: 20px;
    right: 20px;
    line-height: 1;
    position: absolute;
}
#menu .box button svg {
    width: 24px;
    stroke: currentcolor;
}
#menu .box ul {
    padding: 20px 0;
}
#menu .box ul li a {
    display: block;
    padding: 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    text-transform: uppercase;
    transition: color 200ms;
}
#menu .box ul li a:hover {
    color: #16a34a;
}

/* Title */
#title {
    text-align: center;
}
#title h1 {
    line-height: 1;
    color: #065f46;
    text-align: center;
    margin-bottom: 10px;
}
#title p {
    font-size: 18px;
}

/* List */
.list .line {
    color: #fff;
    margin-top: 10px;
    background-color: #16a34a;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.list .line span {
    display: block;
    padding: 7px;
}
.list .matchs {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    border-top: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.list .matchs li {
    border-top: 1px solid #eee;
}
.list .matchs li:first-of-type {
    border-top: none;
}
.list .matchs li.hide {
    display: none;
}
.list .matchs li.no_results {
    padding: 15px;
    color: #a31616;
    font-weight: 600;
}
.list .matchs li a {
    gap: 10px;
    display: flex;
    padding: 15px;
    align-items: center;
    transition: opacity 200ms;
}
.list .matchs li a:hover {
    opacity: .7;
}
.list .matchs li a img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.list .channels li a img {
    width: 60px;
    height: 60px;
    padding: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .8);
}
.list .matchs li a span, .list .matchs li a b {
    line-height: 1.2;
}

/* Fields */
.fields {
    gap: 10px;
    display: flex;
    align-items: center;
}
.fields input, .fields select {
    width: 100%;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.fields input:focus, .fields select:focus {
    outline: 2px solid #101010;
}

/* Single */
#single h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 5px;
    text-align: center;
}
#single h4 {
    opacity: .7;
    font-size: 16px;
    line-height: 1;
    text-align: center;
}
#single .desc {
    margin-top: 30px;
    padding-top: 30px;
    text-align: center;
    border-top: 1px solid #eee;
}

/* Iframe */
#iframe {
    margin: 30px auto;
}
#player {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: rgba(255, 255, 255, .1);
}
#player iframe {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 5px;
}

/* Players */
#players {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    margin: 30px auto;
    justify-content: center;
}
#players a {
    color: #fff;
    cursor: pointer;
    padding: 10px 15px;
    white-space: nowrap;
    border-radius: 5px;
    background-color: #16a34a;
    transition: background-color 200ms;
}
#players a:hover {
    background-color: #15803d;
}
#players a.active {
    pointer-events: none;
    background-color: #000;
}

/* Footer */
#footer {
    padding: 60px 0;
    background-color: rgba(0, 0, 0, .02);
}
#footer .wrap {
    gap: 60px;
    display: flex;
    flex-wrap: wrap;
}
#footer .col {
    flex: 1;
    min-width: 250px;
}
#footer ul {
    gap: 10px;
    display: flex;
    flex-direction: column;
}
#footer ul a:hover {
    text-decoration: underline;
}

/* Screen */
@media only screen and (max-width: 768px) {

    /* Header */
    #header .menu ul {
        display: none;
    }
    #header .menu button {
        display: block;
    }

    /* Single */
    #single h1 {
        font-size: 20px;
    }

}