:root
{
    /*Цвета*/
    --main-color: #282828;
    --dark-color: #202020;
    --dark-color2: #141414;
    --light-color2: #383838;
    --light-color: #292828;
    --standart-color: #F44336;
    --standart-color2: #24370f;
    --accent-color: #ff5722;
    --accent-color2: #b18911;
    --accent-color3: #e91e63;
    --accent-color4: #97e92d;
    --accent-color5: #8c36dd;
    --accent-color6: #2fc7b3;
    --accent-color7: #8dbd0a;
    --accent-color8: #dd3315;
    --accent-color9: #310c75;
    --accent-color10: #154c80;
    --text-color: white;
    /*Градиенты*/
    --green: -webkit-linear-gradient(61deg, #637605, #839405, #a4a019, #d8da72);
    --green2: linear-gradient(61deg, #637605, #839405, #a4a019, #d8da72);
    --red: -webkit-linear-gradient(61deg, #80150a, #a11212, #cb4810, #ee5353);
    --red2: linear-gradient(90deg, #80150a, #a11212, #cb4810, #ee5353);
    --yellow: -webkit-linear-gradient(61deg, #765705, #c08a16, #cb4810, #bb7330, #ffb375);
    --yellow2: linear-gradient(90deg, #765705, #c08a16, #cb4810, #bb7330, #ffb375);
    --pink: -webkit-linear-gradient(61deg, #9f234b, #e51343, #cb4810, #cb7d29);
    --pink2: linear-gradient(61deg, #9f234b, #e51343, #cb4810, #cb7d29);
    --half: -webkit-linear-gradient(61deg, #407605, #77c016, #cb4810, #bb7330, #ffb375);
    --half2: linear-gradient(61deg, #407605, #77c016, #cb4810, #bb7330, #ffb375);
    /*Шрифты*/
    --standart-font: Arial;
    /*Отступы*/
    --standart-section: 0 10%;
    --standart-section-right:10%;
}


html {
    scrollbar-color: #612323 #141414 ;
    scrollbar-width: thin;
    background: var(--main-color);
}

body {
    background: var(--main-color);
    padding: 0;
    margin: 0;
    border: 0;
    font-size: 12px;
    color: var(--text-color);
    opacity: 0;
    scroll-behavior: smooth;
    transition: 0.8s opacity ease;
}

header
{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 2em;
    justify-content: space-between;
    background-color: var(--dark-color);
}

main, .main, .module {
    margin-top: 2em;
    margin-bottom: 4em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    transition: 0.8s max-height ease;
}

.main__title-wrap {
    padding: var(--standart-section);
}

a,a:visited
{
    color: var(--text-color);
    text-decoration: none;
    font-size: 100%;
    font-family: var(--standart-font);
    cursor: pointer;
}

span,li,div,label
{
    color: var(--text-color);
    text-decoration: none;
    font-size: 100%;
    font-family: var(--standart-font);
    line-height: 1;
}

p
{
    color: var(--text-color);
    text-decoration: none;
    font-size: 100%;
    font-family: var(--standart-font);
    margin: 0;
    text-align: justify;
    line-height: 1.5;
}

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

h1 {
    color: var(--light-color);
    font-family: var(--standart-font);
    font-size: 250%;
    text-align: right;
    margin:1em 0;
    font-weight: normal;
}

#main-teams h1 {
    color: var(--text-color);
}

h2 {
    width: 100%;
    font-family: var(--title-font);
    font-size: 150%;
    margin: 0;
    padding: 0;
    padding-bottom: 0.5em;
    border-bottom: 1px white solid;
}

input
{
    color: var(--text-color);
    padding: 0.5em 1em;
    background-color: var(--dark-color);
    border-radius: 5px;
    font-size: 100%;

}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button 
{
    -webkit-appearance: none; 
}

input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus 
{
    appearance: none;
    -moz-appearance: textfield;
}

input[type='date']::-webkit-calendar-picker-indicator {
    background-color: white;
    border-radius: 5px;
}

input[type='date']
{
    background-color: transparent;
}

select
{
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5em 1em;
    background-color: var(--dark-color);
    border-radius: 5px;
    border: none;
    font-size: 100%;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    gap: 1em;
    row-gap: 1em;
    align-items: center;
    justify-content: flex-start;
}

.nav-menu__item {
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-item__link {
    padding: 1em 2em;
    border-bottom: 1px transparent solid;
    transition: 0.2s ease;
    cursor: pointer;
}

.nav-item__link.active {
    border-bottom: 1px white solid;
    border-color: var(--accent-color4);
}

.nav-item__link:hover
{
    border-bottom: 1px white solid;
}

.button {
    padding: 0.5em 1em;
    background-color: var(--dark-color);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s background-color ease;
}

.action-button::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: var(--dark-color2);
    z-index: -1;
    transform: translate(120%, 120%);
    transition: 0.5s ease;
}

.action-button {
    box-sizing: border-box;
    padding: 0.5em;
    border-style: solid;
    border-width: 1px;
    border-image-slice: 1;
    border-image-width: 1;
    border-image-outset: 0;
    text-align: center;
    cursor: pointer;
    line-height: 1;
    overflow: hidden;
    min-width: 8em;
    font-size: 100%;
    height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-image-source: var(--green);
    border-image-source: var(--green2);
    position: relative;
    transition: 0.3s ease;
    background-color: transparent;
}

.action-button:hover::before{
    transform: translate(0,0);
}

.action-button:hover{
    background-color: var(--dark-color);

}

.button:hover {
    background-color: var(--dark-color2);
}

.module__title-wrap 
{
    padding: var(--standart-section);
    width: 100%;
    box-sizing: border-box;
    
}

.module__inner-area {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.module__overlay {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1em;
    bottom: 0.5em;
    top: unset;
    transform: none;
    position: absolute;
    right: 0;
    flex-wrap: wrap;
}

.module__overlay-input {
    outline: none;
    border: 1px white solid;
    border-radius: 0;
    box-sizing: border-box;
    height: 3em;
}

.terminal__area {
    border-left: 5px white solid;
    border-color: var(--accent-color);
    padding: 1em;
    background-color: var(--dark-color);
}

.colored-border
{
    border-radius: 0 5px 5px 0;
    border-left: 5px white solid;
}
.colored-border.colored-border--0{border-color: var(--accent-color2);}
.colored-border.colored-border--1{border-color: var(--accent-color);}
.colored-border.colored-border--2{border-color: var(--accent-color3);}
.colored-border.colored-border--3{border-color: var(--accent-color4);}
.colored-border.colored-border--4{border-color: var(--accent-color5);}
.colored-border.colored-border--5{border-color: var(--accent-color6);}
.colored-border.colored-border--6{border-color: var(--accent-color7);}
.colored-border.colored-border--7{border-color: var(--accent-color8);}
.colored-border.colored-border--8{border-color: var(--accent-color9);}
.colored-border.colored-border--9{border-color: var(--accent-color10);}
.colored-border.colored-border--10{border-color: var(--standart-color);}
.colored-border.colored-border--11{border-color: var(--standart-color2);}

.colored-cell-green{border-image: var(--green);border-image: var(--green2);border-image-slice: 1;}
.colored-cell-red{border-image: var(--red);border-image: var(--red2);border-image-slice: 1;}
.colored-cell-yellow{border-image: var(--yellow);border-image: var(--yellow2);border-image-slice: 1;}
.colored-cell-orange{border-image: var(--orange);border-image: var(--orange2);border-image-slice: 1;}
.colored-cell-half{border-image: var(--half);border-image: var(--half2);border-image-slice: 1;}
.colored-cell-pink{border-image: var(--pink);border-image: var(--pink2);border-image-slice: 1;}
.colored-cell-white{border-image: white;border-image-slice: 1;}

/*checkbox*/

.toggler-wrapper.toggler-style {
    width: 54px;
    -webkit-box-shadow: 0 0.07em 0.1em -0.1em rgba(0, 0, 0, 0.4) inset, 0 0.05em 0.08em -0.01em rgba(255, 255, 255, 0.7);
    box-shadow: 0 0.07em 0.1em -0.1em rgba(0, 0, 0, 0.4) inset, 0 0.05em 0.08em -0.01em rgba(255, 255, 255, 0.7);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.07)), to(rgba(255, 255, 255, 0))), #ddd;
    background: linear-gradient(rgba(0, 0, 0, 0.07), rgba(255, 255, 255, 0)), #ddd;
    border-radius: 100px;
  }
  
  .toggler-wrapper.toggler-style input[type="checkbox"]:checked+.toggler-slider .toggler-knob {
    left: calc(100% - 19px - 3px + 5px);
  }
  
  .toggler-wrapper.toggler-style .toggler-slider {
    -webkit-box-shadow: 0 0.08em 0.15em -0.1em rgba(0, 0, 0, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(255, 255, 255, 0.7), 0 0 0 0 rgba(68, 204, 102, 0.7) inset;
    box-shadow: 0 0.08em 0.15em -0.1em rgba(0, 0, 0, 0.5) inset, 0 0.05em 0.08em -0.01em rgba(255, 255, 255, 0.7), 0 0 0 0 rgba(68, 204, 102, 0.7) inset;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.07)), to(rgba(255, 255, 255, 0.1))), #d0d0d0;
    background: linear-gradient(rgba(0, 0, 0, 0.07), rgba(255, 255, 255, 0.1)), #d0d0d0;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
  }
  
  .toggler-wrapper.toggler-style .toggler-knob {
    width: calc(25px - 6px);
    height: calc(25px - 6px);
    border-radius: 50%;
    left: calc(3px - 5px);
    top: calc(3px - 5px);
    -webkit-box-shadow: 0 0.1em 0.15em -0.05em rgba(255, 255, 255, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(0, 0, 0, 0.5);
    box-shadow: 0 0.1em 0.15em -0.05em rgba(255, 255, 255, 0.9) inset, 0 0.2em 0.2em -0.12em rgba(0, 0, 0, 0.5);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, #f5f5f5), to(#eeeeee));
    background: linear-gradient(#f5f5f5 10%, #eeeeee);
  }
  
  .toggler-wrapper {
    display: block;
    width: 45px;
    height: 25px;
    cursor: pointer;
    position: relative;
  }
  
  .toggler-wrapper input[type="checkbox"] {
    display: none;
  }
  
  .toggler-wrapper input[type="checkbox"]:checked+.toggler-slider {
    background:linear-gradient(90deg, #c2e222,#abfa00,#87c502,#3ad80e);
  }
  
  .toggler-wrapper .toggler-slider {
    background-color: #ccc;
    position: absolute;
    border-radius: 100px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
  }
  
  .toggler-wrapper .toggler-knob {
    position: absolute;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
  }

/**/

.nav-panel {
    position: fixed;
    bottom: 2em;
    right: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overlay-nav-buttons {
    cursor: pointer;
    background-color: var(--dark-color);
    padding: 0.5em;
    transition: 0.2s ease;
    min-width: 1em;
    text-align: center;
}

.overlay-nav-buttons:hover {
    background-color: var(--dark-color2);
}

.no-checked:hover
{
    border-color: transparent !important;
}

div#load-page {
    display: none;
    position: fixed;
    top: -120%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #202020;
    z-index: 999999;
    transition-property: top;
    transition-duration: 0.6s;
    transition-timing-function: ease-in;
}

#load-page-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-1000%, -50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition-property: all;
    transition-duration: 0.8s;
    transition-timing-function: ease-in;
    opacity: 0;
}

div#load-page-wrap2 {
    position: relative;
    width: 100px;
    height: 100px;
}

div#load-page-wrap2 > * {
    position: absolute;
}
.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3f5511;
    border-image: -webkit-linear-gradient(61deg, #637605, #839405, #a4a019, #d8da72);
    border-image: linear-gradient(61deg, #637605, #839405, #a4a019, #d8da72);
    border-image-slice: 1;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    box-sizing: border-box;
}

div#load-page-wrap2 > * {
    position: absolute;
}
.loader2 {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3f5511;
    border-image: linear-gradient(90deg, #765705, #b2a61f, #c7b333, #d8da72);
    border-image: -webkit-linear-gradient(61deg, #765705, #b2a61f, #c7b333, #d8da72);
    border-image-slice: 1;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 4s linear infinite;
    box-sizing: border-box;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#load-page span {
    font-size: 300%;
    margin-left: 1em;
}

.notice {
    position: fixed;
    top: 5em;
    right: 10%;
    background-color: var(--dark-color2);
    border-radius: 5px;
    transition: 0.8s transform ease;
    transform: translatex(1000%);
    padding: 1em;
    font-size: 150%;
    display: flex;
    gap: 1em;
    align-items: center;
    justify-content: space-between;
    z-index: 99999;
    max-width: 50%;
}

.alert {
    position: fixed;
    top: 5em;
    right: 10%;
    background-color: var(--dark-color2);
    border-radius: 5px;
    transition: 0.8s transform ease;
    transform: translatex(1000%);
    padding: 1em;
    font-size: 150%;
    display: flex;
    gap: 1em;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 99999;
    max-width: 50%;
}

.alert__close:hover {
    background-color: var(--accent-color);
}

.alert__close {
    padding: 0.3em;
    border-radius: 5px;
    border: 1px white solid;
    cursor: pointer;
    transition: 0.3s;
}

.alert__message {
    line-height: 1.25;
}

#blacker
{
    opacity: 1;
    z-index: 1;
}