#fixtures-header {
    display: flex;
    padding: 15px;
    position: sticky;
    top: 64px;
    z-index: 2;
    
}

#fixtures-header > section {
    display: flex;
    
}
#fixtures-header > section:nth-of-type(1) {
    width: 100%;
}

#fixtures-header-searchbar {
    position: relative;
    height: 40px;
    min-width: 210px;
    width: 100%;
    max-width: 100%;

    
}
#fixtures-header-searchbar > span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: inherit;
    padding-block: 8px;
    padding-inline: 12px;
    padding-right: 5px;
    font-weight: 500;
    font-size: 24px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;

}

#fixtures-header-searchbar > input {
    display: block;
    border-radius: 50px;
    border-width: 2px;
    font-size: 14px;
    width: 100%;
    height: inherit;
    padding-left: 45px;
    outline: none;
    font-family: var(--font-1);
    
}
#fixtures-header-searchbar > input:focus {
    border: 1px solid var(--theme-color) !important;
}
@media only screen and (min-width: 600px) {
    #fixtures-header-searchbar > input {
        max-width: 400px;

    }

}


#fixtures-header-sport {
    display: flex;
    border-radius: 50px;
    margin-left: 10px;
    border-width: 2px;
}
#fixtures-header-sport > span:nth-of-type(1) {
    display: block;
    margin-block: auto;
    margin-inline: 3px;
    padding: 0;
    font-size: 32px;
    font-weight: 100;
    color: var(--theme-color) !important;
}
#fixtures-header-sport > p {
    margin-block: auto;
    font-size: 14px;
    margin-right: 5px;
}
#fixtures-header-sport > span:nth-of-type(2) {
    display: block;
    margin-block: auto;
    margin-right: 5px;
    padding: 0px;
    border-radius: 5px;
    font-size: 24px;
}

#fixtures-header-switch {
    border-radius: 8px;
    padding: 1px;
    position: relative;
    display: flex;
    border-width: 2px;
    margin-left: 10px;
}
#fixtures-header-switch > span:nth-of-type(1) {
    position: absolute;
    height: 32px;
    aspect-ratio: 1;
    top: 0;
    left: 0;
    margin: auto;
    margin-top: 1.5px;
    margin-left: 1.5px;
    border-radius: 5px;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    transition: all 0.2s;
}
#fixtures-header-switch > span:not(:first-of-type) {
    padding: 5px;
    z-index: 2;
    font-size: 24px;
    cursor: pointer;

}
#fixtures-header-calender {
    margin-left: 10px;
    position: relative;
    height: min-content;
    z-index: 4;
}
#fixtures-header-calender > div:nth-of-type(1) {
    display: flex;
    cursor: pointer;
    border-radius: 50px;
    border-width: 2px;
}
#fixtures-header-calender > div:nth-of-type(1) > span {
    margin-block: auto;
    font-size: 24px;
    margin-inline: 5px;
}
#fixtures-header-calender.active > div:nth-of-type(1) > span:first-of-type {
    margin-block: auto;
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
}
#fixtures-header-calender > div:nth-of-type(1) > div {
    border-radius: 30px;
    margin-block: auto;
    padding-inline: 10px;
    padding-block: 6px;
    display: flex;
    margin-block: auto;
    text-wrap: nowrap;
    text-align: center;
}
#fixtures-header-calender > div:nth-of-type(1) > div > button {
    font-size: 18px;
    padding: 2px;
    border-radius: 5px;
    margin-block: auto;
    border: none;
    outline: none;
}
#fixtures-header-calender > div:nth-of-type(1) > div > p {
    font-size: 12px;
    font-weight: 500;
    margin-block: auto;
    margin-inline: 10px;
    min-width: 58px;
    text-align: center;
}

#fixtures-header-calender > section {
    position: absolute;
    top: 0;
    right: 0;
    margin: auto;
    margin-top: 45px;
    display: none;
}
#fixtures-header-calender > section > .body {
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    padding: 4px;
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.5);
}
#fixtures-header-calender > section > .body > button {
    display: flex;
    border-radius: 8px;
    padding: 8px;
    translate: 0;
    font-family: var(--font-1);
    width: 100%;
    border: none;
}
#fixtures-header-calender > section > .body > button:hover {
    box-shadow: 0 0 2px rgba(0,0,0,0.5);

}
#fixtures-header-calender > section > .body > button:not(.active):hover > span {
    opacity: 1;

}
#fixtures-header-calender > section > .body > button > p {
    font-size: 14px;
    margin-block: auto;
    font-weight: 400;
}
#fixtures-header-calender > section > .body > button > span {
    margin-left: auto;
    font-size: 18px;
    margin-block: auto;
    cursor: pointer;
    transition: opacity 0.2s;

    font-variation-settings:
        'FILL' 0,
        'wght' 700,
        'GRAD' 0,
        'opsz' 48;
    }
    #fixtures-header-calender > section > .body > button.active > span {
        color: var(--theme-color) !important;
        opacity: 1 !important;
    }
#fixtures-header-calender > section > .body > button:not(.active) > span {
    opacity: 0;
}
#fixtures-header-calender > section > .cover {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    background: transparent;
    z-index: -1;
}

#fixtures-header-calender > div:nth-of-type(2) {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    margin: auto;
    margin-top: 45px;
    z-index: 5;
    
}
#fixtures-header-calender > div:nth-of-type(2) > .main {
    border-radius: 10px;
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.5);
}
#fixtures-header-calender > div:nth-of-type(2) > .main > .header {
    display: flex;
    padding-block: 5px;
    padding-inline: 8px;
    font-weight: 400;
}
#fixtures-header-calender > div:nth-of-type(2) > .main > .header > p {
    font-size: 14px;
    font-weight: 500;
    margin-block: auto;
    margin-right: auto;
}

#fixtures-header-calender > div:nth-of-type(2) > .main > .footer {
    display: flex;
    justify-content: right;
    padding: 5px;
    
}
#fixtures-header-calender > div:nth-of-type(2) > .main > .footer > button {
    font-family: var(--font-1);
    font-size: 14px;
    border-radius: 10px;
    padding-block: 5px;
    padding-inline: 15px;
    display: block;
    cursor: pointer;
}
#fixtures-header-calender > div:nth-of-type(2) > .main > .footer > button:nth-of-type(2) {
    border: none;
    background-color: var(--theme-color);
    color: black;
    font-weight: 600;
    margin-left: 5px;

}
#fixtures-header-calender > div:nth-of-type(2) > .cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}


@media only screen and (max-width: 600px) {
    #fixtures-header {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 2, auto;
        
        
    }
    #fixtures-header > section:nth-of-type(2) {
        margin-top: 10px;
        justify-content: left;
    }

    #fixtures-header-switch {
        margin-left: 0;
    }
    #fixtures-header-calender {
        margin-left: auto;
    }

}

    

#fixtures-body {
    display: grid;
    grid-auto-columns: 100%;
    grid-auto-flow: column;
    padding-inline: 0;
    position: relative;

    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 0;
}
#fixtures-body::-webkit-scrollbar {
    display: none;
}
#fixtures-body > section {
    scroll-snap-align: start;
    padding-inline: 5px;
    position: relative;
    min-height: calc(100vh - 134px);
}

#fixtures-body > section > .load-data {
    min-height: calc(100vh - 134px);
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 30px);
    /* height: 100%; */
    display: flex;
    justify-content: center;
    justify-items: center;
    margin-inline: 15px;
    border-radius: 15px;
    
}
#fixtures-body > section > .load-data > div {
    margin: auto;
    height: min-content;
    display: none;

}
#fixtures-body > section > .load-data > div > embed,
#fixtures-body > section > .load-data > div > img {
    width: 80px;
    height: auto;
    display: block;
    margin-inline: auto;
}
#fixtures-body > section > .load-data > div > p {
    font-size: 12px;
    text-align: center;
    margin-block: 0;
    margin-top: 10px;
}
#fixtures-body > section > .load-data > div > button {
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: black;
    background: white;
    border-radius: 50px;
    padding: 8px;
    padding-inline: 30px;
    display: block;
    border: none;
    outline: none;
    text-align: center;
    margin-top: 10px;
    transition: all 0.2s !important;
}
#fixtures-body > section > .load-data > div > button:hover {
    scale: 1.05 !important;
}
#fixtures-body > section > .load-data > span {
    display: block;
    display: block;
    border-radius: 50px;
    height: 48px;
    aspect-ratio: 1;
    background: transparent;
    border: 6px solid rgba(31,111,235,0.2);
    border-left: 6px solid var(--theme-color);

    margin: auto;
    animation: loader-anim 1s ease 0s infinite normal forwards;
}

.fixture-category {
    padding: 5px;
    border-radius: 10px;
    margin-block: 5px;
    max-height: 52px;
    transition: all 0.2s;
    overflow-y: hidden;
}

.fixture-category-header {
    display: flex;
    width: 100%;
    margin-block: 5px;
}

.fixture-category-header > .img {
    margin-block: auto;
    height: 24px;
    display: block;
    margin-inline: 5px;

}
.fixture-category-header > span:nth-of-type(1) {
    margin-left: auto !important;
    margin-inline: 5px;
    margin-block: auto;
    font-size: 12px;
    border-radius: 50px;
    padding-inline: 10px;
    padding-block: 2px;
    cursor: pointer;
}

.fixture-category-header > span:nth-of-type(2) {
    border-radius: 8px;
    padding: 0;
    width: min-content;
    height: min-content;
    font-size: 22px;
    margin-inline: 5px;
    margin-block: auto;
    cursor: pointer;
    transition: all 0.2s;
}
.fixture-category-header > p {
    margin-block: 5px;
    font-size: 14px;
    margin-left: 10px;
    font-weight: 500;
}




.fixture-category-body {
    border-radius: 10px;
    margin: 5px;
    margin-top: 10px;
    overflow: hidden;
}
.fixture-category-body > .loader {
    display: flex;
}
.fixture-category-body > .loader > span {
    display: block;
    border-radius: 50px;
    height: 24px;
    aspect-ratio: 1;
    background: transparent;
    border: 4px solid rgba(31,111,235,0.2);
    border-left: 4px solid var(--theme-color);

    margin: auto;
    animation: loader-anim 1s linear 0s infinite normal forwards;
}

@keyframes loader-anim {
    from {
        rotate: 0deg;
    }
    to {
        rotate: 360deg;
    }
}
.fixture-category-body > div {
    min-height: 50px;

}

.fixture-category-body > .competition > .header {
    display: flex;
}
.fixture-category-body > .competition > .header > .img {
    height: 24px;
    margin-block: auto;
    padding-inline: 25px;
    width: 74px;
}
.fixture-category-body > .competition > .header > p {
    font-size: 13px;
    font-weight: 500;
    margin-block: auto;
}
.fixture-category-body > .competition > .header > span {
    margin-block: auto;
    font-size: 24px;
    padding-block: 10px;
    padding-inline: 10px;
    text-align: center;
    font-weight: 500;
    margin-left: auto;
    cursor: pointer;
}

.fixture-category-body > .competition > .body {
    overflow: hidden;
}
.fixture-category-body > .competition > .body > div:first-of-type {
    margin-top: 0;
}
.fixture-category-body > .competition > .body > div {
    display: flex;
    font-weight: 400;
    font-size: 12px;
    margin-block: 5px;
    padding-block: 5px;
}

.fixture-category-body > .competition > .body > div > div:nth-of-type(1) {
    min-width: 74px;
    text-align: center;
    border-right: solid 1px var(--dark-theme-5);
    
}
.fixture-category-body > .competition > .body > div > div:nth-of-type(1) > span {
    display: block;
}
.fixture-category-body > .competition > .body > div.active > div:nth-of-type(1) > span:nth-of-type(2) {
    color: var(--color-red) !important;
}
.fixture-category-body > .competition > .body > div > div:nth-of-type(2) {
    margin-left: 10px;
    width: calc(100% - 45px);
}
.fixture-category-body > .competition > .body > div > div:nth-of-type(2) > div {
    display: flex;
}
.fixture-category-body > .competition > .body > div > div:nth-of-type(2) > div > * {
    margin-block: auto;
    margin-right: 10px;
}
.fixture-category-body > .competition > .body > div > div:nth-of-type(2) > div > p:nth-of-type(2) {
    margin-left: auto;
    padding-inline: 5px;
    min-width: 30px;
    text-align: right;
    font-weight: 500;
}
.fixture-category-body > .competition > .body > div.active > div:nth-of-type(2) > div > p:nth-of-type(2) {
    color: var(--color-red) !important;
}
.fixture-category-body > .competition > .body > div > div:nth-of-type(3) {
    display: flex;
    margin-left: auto;
    border-left: solid 1px var(--dark-theme-5);
}
.fixture-category-body > .competition > .body > div > div:nth-of-type(3) > span {
    display: block;
    font-size: 24px;
    margin-inline: 10px;
    margin-block: auto !important;
    cursor: pointer;
}