
@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Regular.ttf");
}

@font-face {
    font-family: "InterSemiBold";
    src: url("../fonts/Inter-SemiBold.ttf");
}

@font-face {
    font-family: "InterBold";
    src: url("../fonts/Inter-Bold.ttf");
}

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

html, body {
    height: 100%;
}

::-webkit-scrollbar {
    width: 2px;
}

::-webkit-scrollbar-thumb {
    width: 2px;
    background-color: #C4C7D4;
}

.widgets {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', serif;

    max-width: 720px;
    width: 100%;
    margin:  0px auto;
 /*   padding: 8px; */
}

.match-content {
    height: max(100%, 372px);
    width: max(100%, 360px);
/*    padding: 0 6px; */
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* HEADER */

.match-content__header {
    display: none;
    height: clamp(44px, 10vw, 44px);
    width: 100%;
    /* display: flex; */
    justify-content: space-between;
}

/* For All Header */

.team-about {
    width: clamp(130px, 30vw, 270px);
    display: flex;
    align-items: center;
    margin: clamp(8px, 1.5vw, 10px) clamp(6px, 1.5vw, 8px);
}

.team-info__logo {
    width: clamp(24px, 4.5vw, 26px);
    height: clamp(24px, 4.5vw, 26px);
}

.home-logo, .away-logo {
    width: clamp(24px, 4.5vw, 26px);
    height: clamp(24px, 4.5vw, 26px);
}

.team-info__title span{
    font-style: normal;
    font-weight: 600;
    font-size: clamp(12px, 2.5vw, 13px);
    line-height: 15px;
    color: #121421;
}

.team-result {
    width: clamp(36px, 6vw, 38px);
    height: clamp(28px, 5vw, 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    /*
    background-color: #F7F7F8;
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.1);
    */
}

.team-result span {
    font-size: clamp(14px, 2.5vw, 16px);
}

/* HOME */

.team-info__home {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-info__home .team-about {
    justify-content: left;
}

.team-info__home .team-info__title {
    margin-left: 4px;
}

.team-info__home .team-result {
    margin-right: 1px;
    border-radius: 8px 0 0 8px;
}

/* AWAY */

.team-info__away {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-info__away .team-about {
    justify-content: right;
}

.team-info__away .team-info__title {
    margin-right: 4px;
}

.team-info__away .team-result {
    border-radius: 0 8px 8px 0;
    margin-left: 1px;
}

.team-info__title {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.team-info__title .tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  position: absolute;
  top: 30px;
  right: 5px;
  z-index: 1;
}

.team-info__title .right{
  top: 30px;
  right: 5px;
}

.team-info__title .left{
  top: 30px;
  left: 5px;
}

.team-info__title:hover .tooltiptext {
  visibility: visible;
}

/* RESULT INFO */
/* MOMENTUM */
.match-content__result-info {
    height: clamp(60px, 10vw, 60px);
    width: max(100%, 344px);
    display: flex;
    align-items: center;
    border-radius: 8px;
background: #f5f4f1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.result-info__table {
color: black;
    width: 100%;
}

.result-info__table-body {
    display: flex;
    flex-direction: column;
}

.result-info__table-row {
    height: 19px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.result-info__table-row:first-child {
    border-bottom: 2px solid #E3E3E8
}

.result-info__table-data-cells-empty {}

.result-info__table-data-cells {
    width: 180px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.result-info__table-data-cells span {
color: #4F5264;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-info__table-data-cells span:last-child {
    color: #04AAA0;
}

/* MOMENTUM */

.match-content__momentum {
    height: clamp(55px, 10vw, 55px);
    width: max(100%, 344px);
    display: flex;
    align-items: center;
    border-radius: 8px;
background: #f5f4f1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

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

/* TEAMS TITLE */

.team__title {
    padding: clamp(8px, 1.5vw, 10px) clamp(10px, 1.5vw, 12px);
    display: flex;
}

.team__title span {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(10px, 1.5vw, 12px);
    line-height: 12px;
    text-transform: uppercase;
}

/* TEAMS INFO */

.momentum__teams-info {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* TIME LINE */

.teams-info__time-line {
    height: 12px;
    width: 98.5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}

.teams-info__time-line span {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    display: block;
    text-align: center;
    font-size: clamp(9px, 2vw, 10px);
    line-height: 11px;
}

.teams-info__time-line span:not(:first-child, :last-child) {
    width: 50px;
}

.teams-info__time-line span:first-child {
    text-align: left;
    width: 30px;
}

.teams-info__time-line span:last-child {
    text-align: right;
    width: 22px;
}

/* LINES & STREAMS */

.teams-info__lines-streams {
    height: clamp(30px, 5vw, 35px);
    width: 98.5%;
    margin-left: 3px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.streams {
    height: 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
}

/* TOP */

.stream__srm-top {
    height: 25px;
    width: 100%;
    position: relative;
    display: flex;
}

.stream__srm-top .substitute {
    position: absolute;
    left: 36%;
    bottom: 0;
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);
}

.stream__srm-top .boll {
    position: absolute;
    left: 51%;
    bottom: 0;
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);
}

/* BOTTOM */

.stream__srm-bottom {
    height: 25px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.stream__srm-bottom .boll {
    position: absolute;
    left: 17%;
    top: 0;
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);
}

.stream__srm-bottom .first-yellow-card {
    position: absolute;
    left: 45%;
    top: 0;
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);

}

.stream__srm-bottom .second-yellow-card {
    position: absolute;
    left: 51%;
    top: 0;
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);
}

.stream__srm-bottom .red-card {
    position: absolute;
    left: 57%;
    top: 0;
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);
}

.streams .event {
    position: absolute;
    width: clamp(14px, 3vw, 16px);
    height: clamp(14px, 3vw, 16px);
}

/* LINES STREAMS */

.teams-info__lines-streams .vertical {
    height: 1px;
    position: absolute;
    top: 47%;
    left: 0;
    right: 0;
    background-color: #E3E3E8;
}

.teams-info__lines-streams .vertical__live {
    height: 1px;
    position: absolute;
    top: 47%;
    left: 0;
    right: 100%;
    background-color: #04AAA0;
}

.teams-info__lines-streams .vertical__round {
    height: 7px;
    width: 7px;
    position: absolute;
    top: 39%;
    right: 100%;
    border-radius: 50%;
    background-color: #04AAA0;
}

.teams-info__lines-streams .horizontal:not(:last-child) {
    width: 1px;
    height: 100%;
background-color: #E3E3E8;
}


