@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;0,500;0,600;0,800;1,200;1,400;1,600&display=swap');

* {
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
    font-family: 'Montserrat', sans-serif;
}

::-webkit-scrollbar {
    width: 0;
}
  
body {
    margin: 0px;
    font-size: 14px;
    width: 100vw;
}

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

h1 {
    font-size: 40px;
    font-weight: 600;
    margin: 15px 0;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.input {
    all: unset;
    padding: 15px;
    border-radius: 15px;
}

.underline-text-href {
    text-decoration: underline;
}

.main-page {
    width: 100%;
    max-width: 500px;
    height: 100vh;
    flex-direction: column;
    display: flex;
    background: url('../src/grid\ 2.png');
    background-color: #31333C;
    margin: 0 auto;
    padding-bottom: 10px;
}

.main-page--title {
    position: relative;
    width: 100%;
    padding: 20px;
    text-align: center;
    margin-top: 25px;

}

.main-page--title > a {
    position: absolute;
    left: 20px;

}

.main-page--title > span {
    color: #FDFDFD;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 21.488px;
    letter-spacing: -0.13px;
    text-transform: uppercase;
}



.main-page-selector {
    background: #292B30;
    width: calc(100% - 20px);
    margin: 0 10px;
    clip-path: 
        polygon(
            0% 14px,     /* верхняя левая */
            14px 0%,     /* верхняя левая */
            calc(100% - 14px) 0%,    /* верхняя правая */
            100% 14px,   /* верхняя правая */
            100% calc(100% - 14px),  /* нижняя правая */
            calc(100% - 14px) 100%,  /* нижняя правая */
            14px 100%,   /* нижняя левая */
            0 calc(100% - 14px)      /* нижняя левая */
        );
    overflow: scroll;
    position: relative;
}

.results-table {
    text-transform: uppercase;
    border-spacing: 0px;
    border-collapse: collapse;
}

.results-tb--teams-row {
    position: sticky;
    top: 0;
    background-color: #292B30;
    z-index: 5;
}


.teams-row--first {
    color: #fff;
    opacity: 0.6;
    font-size: 16px;
    padding: 12px 15px;
    padding-top: 22px;
    padding-left: 25px;
    text-align: left;
}
.results-tb--team-cont {
    padding: 5px 10px;
    margin: 15px 10px;
    margin-top: 25px;
    color: #000;
    font-size: 16px;
    background-color: #FF8A00;
    clip-path: 
        polygon(
            0% 8px,     /* верхняя левая */
            8px 0%,     /* верхняя левая */
            calc(100% - 8px) 0%,    /* верхняя правая */
            100% 8px,   /* верхняя правая */
            100% calc(100% - 8px),  /* нижняя правая */
            calc(100% - 8px) 100%,  /* нижняя правая */
            8px 100%,   /* нижняя левая */
            0 calc(100% - 8px)      /* нижняя левая */
        );
    white-space: nowrap;
}

.results-tb--summary-row > td {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 10px;
}
.results-tb--summary-row > th {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 25px;
}
.teams-row--back {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #1C1E21;
    border-radius: 7px;
    width: 100%;
    height: 61px;
    z-index: -1;
}

.results-tb--summary-row {
    position: sticky;
    top: 71px;
    background-color: #292B30;
    z-index: 5;
}
.summary-row--back {
    position: absolute;
    top: 6px;
    left: 10px;
    background-color: #31333C;
    border-radius: 7px;
    width: 100%;
    height: 52px;
    z-index: -1;
}


.results-tb--standart-row > th {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 20px 0;
    position: sticky;
    left: 0;
    background-color: #292B30;
    z-index: 4;
    Box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.20),0px -2px 0px rgba(0, 0, 0, 0.20),2px 0px 0px rgba(0, 0, 0, 0.20),-2px 0px 0px rgba(0, 0, 0, 0.20);
}

.results-tb--standart-row > td {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    padding: 15px 0;
}
.results-tb--standart-row > td {
    Box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.20),0px -1px 0px rgba(0, 0, 0, 0.20),1px 0px 0px rgba(0, 0, 0, 0.20),-1px 0px 0px rgba(0, 0, 0, 0.20);

}