html{
    box-sizing: border-box;
}

*,
*::after,
*::before{
    box-sizing: inherit;
    margin: 0;
}

a{
    text-decoration: none;
    color: inherit;
}

ul{
    list-style: none;
    padding: 0;
}

button{
    border: 0;
}

body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Russo One', sans-serif;
    font-size: 16px;
    color: white;
    background-image: url(../img/background.jpg);
    background-repeat:no-repeat;
    background-size: cover;
}

.wrapper{
    flex: 1;
    display: flex;
    flex-direction: column;
}

.body__content{
    flex: 1;
}

.header{
    position: relative;
}

.header:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: linear-gradient(272deg, rgb(56 56 56 / 29%) 1%, white 55%, rgb(58 58 58 / 0%));
    box-shadow: 0px 2px 5px 1px rgb(0 0 0 / 45%);
    bottom: 0;
}

.conteiner{
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.header__inner{
    display: flex;
    justify-content: space-between;
    align-items: end;
    min-height: 140px;
    padding-bottom: 10px;
}

.logo{
    display: flex;
    align-items: center;
}

.header__inner img{
    width: 65px;
    height: 65px;
}

.logo__text{
    margin-left: 15px;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
}

.logo__text_top{
    margin-top: -5px;
    color: #ff8300;
    letter-spacing: 2px;
}

.logo__text_bootom{
    margin-top: -5px;
    color: white;
    letter-spacing: 8px;
}

.menu{
    margin-bottom: 10px;
}

.menu__list{
    display: flex;
}

.menu__item{
    margin-left: 30px;
    margin-right: 30px;
}

.menu__link{
    /* font-family: 'Roboto', sans-serif; */
    text-transform: uppercase;
}

.menu__link:hover{
    color: #ff8300;
}


.header__under{
    background-color: rgba(0, 0, 0, 0.5);
}

.leagues{
    display: flex;
    justify-content:center;
    align-items: center;
    max-height: 100px;
    position: relative;
    /* border-bottom: 1px solid white; */
}

.leagues:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: linear-gradient(272deg, rgb(56 56 56 / 29%) 1%, white 55%, rgb(58 58 58 / 0%));
    box-shadow: 0px 2px 5px 1px rgb(0 0 0 / 45%);
    bottom: 0;
}

.league{
    margin: 15px 100px;
}

.league:hover{
    color: #ff8300;
}

.league-img{
    max-width: 73px;
    min-height: 73px;
}

.league__inner{
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.league__text{
    text-transform: uppercase;
    -webkit-text-stroke: 0.5px #666667;
}

.league_name{
    margin-left: 10px;
    font-size: 36px;
    color: #3c439d;
    text-transform: uppercase;
    -webkit-text-stroke: 0.5px white;
    /* -webkit-text-stroke: 0.5px #666667; */
}

.content{
    display: flex;
    justify-content: space-between;
    margin: 50px 20px;
    max-height: 380px;
}

.content__left{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 490px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 25px;
}


.current__date{
    font-size: 24px;
    margin-bottom: 10px;
    margin-left: 30px;
    border-bottom: #e30303 1px solid;
}


.games__table{
    overflow: auto;
    width: 100%;
    text-transform: uppercase;
}

.games__table::-webkit-scrollbar{
    opacity: 1;
}

.game{
    display: flex;
}

.time{
    display: flex;
    align-items: center;
    width: 40px;
}

.game__details{
    display: flex;
    align-items: center;
    justify-content:center;
    width: 100%;
}

.team__left{
    display: flex;
    align-items: center;
    width: 172px;
    justify-content: end;
}

.team__right{
    display: flex;
    align-items: center;
    width: 172px;
}

.team__img{
    max-width: 34px;
    max-height: 34px;
    margin-left: 10px;
    margin-right: 10px;
}

.team-right__img{
    order: -1;
}

.content__center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    position: relative;
}

.tagcloud {
    width: 100%;
    height: 100%;
    cursor: grab;
}

.tagcloud:active {
    cursor: grabbing;
}

.content__right{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 490px;
    padding: 20px;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
}

.live{
    border-bottom: #e30303 1px solid;
}

/* Слайдер */
.slick-slider{
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Ограничивающая оболочка */
.slick-list {
    overflow: hidden;
}
/* Лента слайдов */
.slick-track{
    display: flex;
}
/* Слайд */
.slick-slide{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider{
    position: relative;
}

/* Стрелка */
.slick-arrow{
    position: absolute;
    top: 40%;
    font-size: 0;
    z-index: 10;
    width: 30px;
    height: 60px;
}
/* Стрелка влево */
.slick-arrow.slick-prev{
    left: 0;
    background: url(../img/sl-arrow_l.svg) 0 0 / 100% no-repeat;
}
/* Стрелка вправо */
.slick-arrow.slick-next{
    right: 0;
    background: url(../img/sl-arrow_r.svg) 0 0 / 100% no-repeat;
}

/* Точки (булиты) */
.slick-dots{
    display: flex;
    align-items: center;
    justify-content: center;
}
.slick-dots li{
    list-style: none;
    margin-left: 10px;
}
/* Активная точка */
.slick-dots li.slick-active button{
    background-color: transparent;
    border: 1px solid #fff ;
}
/* Элемент точки */
.slick-dots li button{
    font-size: 0;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 50%;
}


.league__name-live{
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
}

.livegame__details{
    margin-top: 30px;
}

.livegame__link{
    display: flex;
    align-items: center;
}

.team__left-live,
.team__right-live{
    display: flex;
    flex-direction: column;
    align-items: center;
}


.team__img-live{
    width: 100px;
    height: 100px;
}

.vs-icon{
    margin-left: 30px;
    margin-right: 30px;
}

.stats__icons{
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
}

.footer{
    background-color: rgba(0, 0, 0, 0.5);
    min-height: 100px;
    margin-top: 50px;
}

.footer::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: linear-gradient(272deg, rgb(56 56 56 / 29%) 1%, white 55%, rgb(58 58 58 / 0%));
    z-index: 99;
}

/*    live_list.html */

.live__league-name{
    display: flex;
    align-items: end;
    margin-top: 40px;
    margin-left: 110px;
    font-size: 24px;
    text-transform: uppercase;
}

.live__league-name img{
    max-width: 30px;
    max-height: 30px;
    margin-right: 10px;
}

.live__game-conteiner{
    display: flex;
    align-items: center;
    margin-top: 20px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    position: relative;
}

.live__game-link{
    position: absolute;
    width: 100%;
    height: 100%;
}

.live__game-l{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 630px);
    /* height: 120px; */
}

.current_time{
    display: flex;
    align-items: center;
}

.current_time p{
    margin-left: 10px;
    color: #44b18a;
}

.live__game-l .item__top {
    padding-left: 50px;
    -webkit-text-stroke: 0.3px #44b18a;
}



.live__game-l .item__top, .item__middle, .item__bootom{
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    width: 100%;
}

.item__top, .item__middle, .item__bootom{
    height: 40px;
}


.item__middle{
    display: flex;
    align-items: center; 
    border-bottom: white solid 1px;
}


.live__game-l .item__bootom{
    display: flex;
    align-items: center;
}

.img__team{
    max-width: 30px;
    max-height: 30px;
    margin-right: 10px;
}

.live__game-m{
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.live__game-m .item__top{
    display: flex;
    align-items: center;
}

.live__game-m .item__middle, .live__game-m .item__bootom{
    justify-content: center;
    align-items: center;
    border-right: white solid 1px;
}

.live__game-r{
    width: 530px;
    display: flex;
    flex-direction: column;
}

.live__game-r .item__top{
    display: flex;
    align-items: center;
    justify-content: end;    
}

.live__game-r .item__middle, .live__game-r .item__bootom{
    justify-content: end;
    align-items: center;
}

.score_cell{
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 67px;
    margin-right: 5px;
}

/* Results style */

.wraper_conteiner{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.name_page{
    display: flex;
    margin-top: 50px;
    font-size: 30px;
    text-decoration:underline;
    text-transform: uppercase;
}

.leagues__results{
    width: 100%;
    margin-top: 50px;
}

.league__results{
    display: flex;
    position: relative;
    flex-direction: column;
    margin-bottom: 5px;
}

.league__results .leagues__results_active.name__league-results ~ div {
    display: flex;
    transition: 1s;
}

.name__league-results{
    display: inline-flex;
    align-items: center;
    width: 100%;
    height: 50px;
    cursor: pointer;
    background-color: rgba(51, 51, 61, 0.64);
    border: rgb(51,51,51) solid 1px;
    text-transform: uppercase;
    margin-bottom: 1px;
    border-radius: 10px;
}

.name__league-results img{
    width: 30px;
    height: 30px;
    margin-left: 10px;
    margin-right: 10px;
}

.name__league-results p:after {
    position: absolute;
    content: url(../img/arrow.svg);
    width: 24px;
    height: 24px;
    display: inline-flex;
    right: 18px;
    transform: rotate( 180deg);
}

.name__league-results.leagues__results_active p:after {
    transform: rotate( 0deg);
}

.league__results:hover .name__league-results p,
.league__results:hover .name__league-results p::after{
    transition: 0.4s;
}

.league__results .league__results ~ div {
    display: none;
}

.game__item-result{
    display: none;
    position: relative;
    justify-content: space-between;
    min-height: 50px;
    color: black;
    text-transform: uppercase;
    background-color: #d9d9d999;
    border-bottom: 1px solid rgb(51,51,51);
    border-radius: 10px;
    /* -webkit-text-stroke: 0.2px white; */
}

.game__item-result a{
    position: absolute;
    width: 100%;
    height: 100%;
}

.date__game-result{
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-result{
    margin: 5px;
    min-width: 85px;
}

.time-result{
    position: absolute;
    top: 25px;
}

.teames__game-result{
    display: flex;
    width: 100%;
    align-items: center;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.team__game{
    display: flex;
    align-items: center;
    margin-right: 15px;
    width: 160px;
}

.team__game-left{
    justify-content: end;
}

.team__game img{
    width: 28px;
    height: 28px;
    margin-left: 10px;
    margin-right: 10px;
}

.score__game-result{
    width: 395px;
    display: flex;
    align-items: center;
}

.score__result{
    margin-left: 20px;
    margin-right: 20px;
}

.date_search_form{
    display: flex;
    margin-top: 10px;
}

.date_search_form button{
    opacity: 50%;
    margin-left: 10px;;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}

.datepicker {
    padding-left: 8px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 3px;
    border: 1px solid #645f5f00;
    color: black;
    opacity: 50%;
    cursor: pointer;
}



/* Statistics */
table{
    display: none;
    border-collapse: collapse;
}

.league__results .leagues__results_active.name__league-results ~ table {
    display: table;
    transition: 1s;
}

thead{
    height: 40px;
}

tr {
    text-align: center;
    text-transform: uppercase;
    background-color: #d9d9d999;
    color: #000;
}

tbody tr{
    height: 30px;
    border-top: 2px solid rgb(51,51,51);
}

.team-td{
    display: flex;
    padding-left: 40px

}
td .team__game{
    width: 100%;
    justify-content: start;
}

/* game_detail */

.tablo{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.tablo__top{
}

.current_time-tb{
    display: flex;
    align-items: center;

}

.current_time-tb svg{
    margin-right: 5px;
}

.tablo__middle{
    display: flex;
    margin: 20px 0px;
    font-size: 34px;
}

.team_left{
    justify-content: end;
}

.team_left , .team_right{
    display: flex;
    align-items: center;
    text-transform: uppercase;
    width: 400px;
}

.team_left .team__img-tb, .team_right .team__img-tb{
    display: flex;
    align-items: center;
    margin: 0px 20px;
}

.team_left img, .team_right img{

    height: 100px;
    width: 100px;
}

.event__scorre{
    font-size: 34px;
    text-align: center;
    border: 2px solid #fff;
    border-left: 4px solid #ff8300;
    border-right: 4px solid #4149ac;
    width: 150px;
    height: 100%;
    padding: 20px 0px;
    margin-left: 20px;
    margin-right: 20px;
}

.halfs{
    display: flex;
    text-align: center;
}

.half{
    margin-left: 10px;
}

.match-stats-widget{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.stat-tb{
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stat-row{
    padding: 5px 50px;
    display: flex;
    justify-content: space-between;
    width: 50%;
    background: linear-gradient(272deg, rgb(56 56 56 / 29%) 1%, rgb(51, 51, 51) 55%, rgb(58 58 58 / 0%));
}

.row-l{
    text-align: center;
    font-size: 24px;
    -webkit-text-stroke: 0.5px #000;
}

.row-r{
    font-size: 24px;
    -webkit-text-stroke: 0.5px #000;
}

/* Leagues */

.leagues__wrapper{
    display: flex;
    justify-content: center;
}

.info-link{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    padding: 10px;
    margin: 40px;
    font-size: 25px;
}

.info-link img{
    width: 100%;
    margin-top: 10px;
    margin-bottom: 100px;
}

.info-title{
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 70px;
}

.info-link:hover .info-title{
    transform: scale(1.2);
    color: #4149ac;
    -webkit-text-stroke: 1px white;
}


/* Leagues Detail */

.conteiner__wrapper{
    display: flex;
    padding: 30px;
}

.title__league-info{
    font-size: 40px;
    text-transform: uppercase;
    -webkit-text-stroke: 1px #4149ac;
}

.teams__league-info{
    margin: 15px 0px;
    font-size: 20px;

}

.league__wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 30px;
    margin-right: 30px;
    text-transform: uppercase;
}

.teams__wrapper{
    display: grid;
    grid-template-columns: repeat(3, 250px);
    gap: 20px;
    place-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.538);
    border-radius: 25px;
}


.team__league-info{
    display: flex;
    width: 180px;
    align-items: center;
    justify-content: start;
    color: #000000;
    text-transform: uppercase;
}

.team__league-info img{
    margin-right: 20px;
    height: 70px;
}

.team__league-info:hover p{
    font-size: 20px;
    color: white;
}

.team__league-info:hover img{
    transform: scale(1.2);
}

.last__10{
    text-align: center;
    margin-top: 63px;
}


.last__10-p{
    font-size: 20px;
    margin-bottom: 15px;
    margin-left: 60px;
}

.last__10 .game__item-result{
    display: flex;
    min-height: 0px;
    margin-top: 10px;
}

.last__10 .teames__game-result{
    border-right: none;
}


.last__10 .game__item-result:hover{
    display: flex;
    min-height: 0px;
    background-color: #fff;
}

.last__10 .team__game{
    margin: 0px 5px;
}

.last__10 .teames__game-result span{
    min-width: 38px;
}

.last__10 img{
    margin: 0px 5px;
}


@media (max-width: 1425px){
    .conteiner__wrapper{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    .last__10 .game__item-result{
        max-width: 500px;
    }
}


@media (max-width: 1850px){

    .menu__list{
        font-size: 20px;
    }

    .content{
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
        align-items: center;
        max-height: none;
    }

    .content__left{
        width: 82%;
    }

    .content__right{
        width: 82%;
    }

    .team__img-live{
        width: 200px;
        height: 200px;
    }

    .league__name-live{
        font-size: 30px;
    }
}