html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
*,
*::before,
*::after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}
a {
    text-decoration: none;
    color: inherit;
    outline: rgba(0, 0, 0, 0);
}
ul,
ol {
    padding: 0;
}
ul {
    list-style: none;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
blockquote {
    margin: 0;
}
img {
    max-width: 100%;
    display: block;
}
input,
button,
textarea,
select {
    font: inherit;
    padding: 0;
    background-color: rgba(0, 0, 0, 0);
    outline: rgba(0, 0, 0, 0);
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
button {
    cursor: pointer;
    display: inline-block;
}
address,
cite {
    font-style: normal;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff;
}
svg,
path,
g,
circle {
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
@font-face {
    font-family: "TT Hoves";
    src: url("/static/table/fonts/TTHoves-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
    overflow: hidden;
}
.section-animate {
    scroll-snap-align: start;
}
main {
    max-height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.html.active {
    overflow: hidden;
}
.body {
    font-family: "TT Hoves", sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 30px;
    color: #454545;
    background-color: #fff;
    position: relative;
    overflow-x: hidden;
}

@keyframes fade {
    from {
        opacity: 0.1;
    }
    to {
        opacity: 1;
    }
}

.desk {
    padding: 30px;
    column-count: 2;
    column-gap: 98px;
}

.desk-item {
    cursor: pointer;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 8px;
    gap: 10px;
    padding: 6px 16px;
    border-bottom: 1px solid #b4b4b4;
}
.desk-item__left {
    display: flex;
    align-items: center;
    gap: 26px;
}
.desk-item__left span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    color: #9e9e9e;
    font-size: 30px;
}
.desk-item__right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
}
.desk-item__right span {
    color: #9e9e9e;
}

.desk-item__val {
    display: flex;
    align-items: center;
    gap: 10px;
}
.desk-item__val p {
    padding: 11px 19px;
    border-radius: 48px;
    background-color: #fff;
    color: #34b141;
}

/* empty  */
.desk-item.empty .desk-item__val {
    color: #ef4646;
}
/* empty  */

/* positions  */
.desk-item.first .desk-item__left span {
    background-color: #fbc028;
    color: #393939;
}
.desk-item.second .desk-item__left span {
    background-color: #d9d9d9;
    color: #393939;
}
.desk-item.third .desk-item__left span {
    background-color: #fba455;
    color: #393939;
}
/* positions  */

/* colored  */
.desk-item.colored {
    border-radius: 16px;
}
.desk-item.colored .desk-item__right span {
    color: #454545;
}
.desk-item.colored .desk-item__left span {
    background-color: #fff;
}

.desk-item.first.colored {
    background-color: #fbc028;
}

.desk-item.second.colored {
    background-color: #d9d9d9;
}

.desk-item.third.colored {
    background-color: #fba455;
}

/* colored  */

/* modal large */

.modal-large {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 100px;
    display: flex;
    opacity: 0;
    justify-content: center;
    overflow: auto;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}
.modal-large__block {
    max-width: 980px;
    width: 100%;
    height: 556px;
    background-color: #fff;
    border-radius: 82px;
    overflow: hidden;
    position: relative;
    transition: all 1s ease-in-out;
    will-change: max-width, height, width;
}

.modal-large__block span {
    font-size: 72px;
    font-weight: 500;
    line-height: 72px;
    color: #454545;
    position: relative;
    z-index: 5;
    transition: all 1s ease-in-out;
    transform: translateY(50px);
    clip-path: inset(0 0 100% 0);
}
.modal-large__block p {
    font-size: 152px;
    font-weight: 500;
    line-height: 152px;
    letter-spacing: -0.02em;
    text-align: center;
    position: relative;
    color: #454545;
    z-index: 5;
    transition: all 1s ease-in-out;
    transition-delay: 1.5s;
    transform: translateY(50px);
    clip-path: inset(0 0 100% 0);
}
.modal-large__block:after {
    content: "";
    width: 885px;
    height: 885px;
    top: -248px;
    left: 972px;
    border: 1px solid #ffffff;
    position: absolute;
    border-radius: 100%;
}
.modal-large__block::before {
    content: "";
    width: 1314px;
    height: 1314px;
    top: -88px;
    left: -757px;
    border: 1px solid #ffffff;
    position: absolute;
    border-radius: 100%;
}

.modal-block__top {
    background-color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 175px;
    height: 175px;
    transform: scale(0) translateZ(0);
    transition: margin-top 0.5s ease-in-out, transform 1.5s ease-in-out;
    transition-delay: 1s;
    animation: fade 1s ease-in-out;
}
.modal-large__inner,
.modal-large__container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
}
.modal-large__container {
    padding-top: 100px;
}

.modal-large__inner:after {
    content: "";
    width: 572px;
    height: 572px;
    top: 637px;
    left: -154px;
    position: absolute;
    border-radius: 100%;
    background-color: #bebebe;
    transform: translate(0, 260px) translateZ(0);
    transition: transform 1s ease-in-out;
    transition-delay: 1.5s;
}
.modal-large__inner::before {
    content: "";
    width: 719px;
    height: 719px;
    top: 719px;
    left: 214px;
    position: absolute;
    border-radius: 100%;
    background-color: #e9e9e9;
    z-index: 2;
    transform: translate(0, 200px);
    transition: transform 1s ease-in-out;
    transition-delay: 1.5s;
}

.modal-large__container:after {
    content: "";
    width: 1040px;
    height: 1040px;
    top: 637px;
    left: 766px;
    position: absolute;
    border-radius: 100%;
    background-color: #fff;
    z-index: 1;
    transform: translate(0, 300px);
    transition: transform 1s ease-in-out;
    transition-delay: 1.5s;
}

.modal-large__wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}
.modal-large__wrapper:after {
    content: "";
    width: 631px;
    height: 631px;
    top: -221px;
    left: 379px;
    position: absolute;
    border-radius: 100%;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    transform: translate(500px, -300px);
    transition: transform 1s ease-in-out, opacity 0.2s ease-in-out;
    transition-delay: 1s;
    opacity: 0;
}

.modal-large__wrapper::before {
    content: "";
    width: 513px;
    height: 513px;
    top: 206px;
    left: 37px;
    position: absolute;
    border-radius: 100%;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    transform: translate(0, 350px);
    transition: transform 1s ease-in-out, opacity 0.2s ease-in-out;
    transition-delay: 1s;
    opacity: 0;
    z-index: 2;
}

.modal-large.show.default .modal-large__wrapper::before {
    opacity: 1;
    transform: translate(0);
}
.modal-large.show.default .modal-large__wrapper::after {
    opacity: 1;
    transform: translate(0);
}

.info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    margin-top: -200px;
    transition: all 1s ease-in-out;
}
.modal-large.show {
    opacity: 1;
    visibility: visible;
}
.modal-large.show.default .modal-large__container {
    justify-content: center;
    padding-top: 0;
}

.modal-large.show:not(.default) .modal-large__block {
    max-width: 1570px;
    height: 890px;
}
.modal-large.show .modal-large__inner:after,
.modal-large.show .modal-large__inner::before,
.modal-large.show .modal-large__container:after {
    transform: translate(0);
}

.modal-large.show .modal-large__block span {
    clip-path: inset(0);
    transform: translate(0);
    transition: all 1s ease-in-out;
}

.modal-large.show .modal-large__block p {
    clip-path: inset(0);
    transform: translate(0);
    transition: all 1s ease-in-out;
}

.modal-large.show:not(.default) .info {
    margin-top: 0;
}

.modal-large.show.default .modal-large__block p {
    color: #3cd04b;
    transition: all 1s ease-in-out;
}
.modal-large.show.default .modal-block__top {
    transition: all 0.25s ease-in-out;
}
.modal-large.show:not(.default) .modal-block__top {
    transform: scale(1);
}

/* first  */
.modal-large.show.first .modal-large__block {
    background-color: #fdbd1a;
}
.modal-large.show.first .modal-large__inner:after {
    background-color: #ffd25e;
}

.modal-large.show.first .modal-large__inner::before {
    background-color: #ffb800;
}
.modal-large.show.first .modal-large__container:after {
    background-color: #ffa217;
}

/* second  */

.modal-large.show.second .modal-large__block {
    background-color: #d9d9d9;
}

.modal-large.show.second .modal-large__inner:after {
    background-color: #bebebe;
}

.modal-large.show.second .modal-large__inner::before {
    background-color: #e9e9e9;
}
.modal-large.show.second .modal-large__container:after {
    background-color: #ffffff;
}

/* third  */

.modal-large.show.third .modal-large__block {
    background-color: #fba455;
}

.modal-large.show.third .modal-large__inner:after {
    background-color: #ec903c;
}

.modal-large.show.third .modal-large__inner::before {
    background-color: #ff8a1f;
}
.modal-large.show.third .modal-large__container:after {
    background-color: #ee8525;
}
.desk-item.colored{
    color: #34b141;
}
/* modal large */
