body {
    margin: 0; /* отступ у body убираем */
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #6c7279;
    background: #fff;
    -webkit-font-smoothing: antialiased; /* сглаживание шрифта */
}

*,
*:before,
*:after { 
    box-sizing: border-box; /* алгоритм подсчета размера блоков с учетом бэндингов */
}

h1, h2, h3, h4, h5, h6 { /* убираем отступы у всех заголовков */
    margin: 0;
}

p { /* стилизуем отступ у абзацев */
    margin: 0 0 10px 0;
}

/* --------------------CONTAINER-------------------- */
.container {
    width: 100%;
    max-width: 1200px; /* по идее 1170, но у нас padding по 15 слева и справа */
    margin: 0 auto; /* выравнивание по центру */
    padding: 0 15px; /* это чтобы плотно к границам экрана контент не прилегал */
}

/* --------------------SNOW-------------------- */
canvas {
    /* display: block;  */
    position: absolute;
    background-color: transparent; 
    margin: 0; 
    padding: 0;
    opacity: 1; 
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}
.snow {
    position: relative;
    border: 1px solid transparent;
    border-radius: 6px;
    /* padding: 8px 16px; */
    /* width: 100%;
    min-width: 8em;
    text-align: center; */
    color: #fff;
    /* background-image: 
        linear-gradient(to bottom, #f12828, #a00332, #9f0f31),
        linear-gradient(to bottom, #ae0034, #6f094c); */
    /* background-clip: padding-box, border-box;
    background-origin: padding-box, border-box; */
    box-shadow: 
        inset 0 1px rgb(255 255 255 / .25),
        inset 0 -1px rgb(0 0 0 / .1),
        0 2px 4px rgb(0 0 0 / .25);
    transition-property: transform, filter;
    transition-duration: .2s;
    will-change: transform;
    resize: both;
}
.snow::after {
    --overflow-x: 4px;
    --snow-image: url('https://assets.codepen.io/4175254/snow-cap-test-2.png');
    content: '';
    position: absolute;
    top: -6px;
    left: calc(var(--overflow-x) * -1);
    border-image-source: var(--snow-image);
    border-image-slice: calc(6 * 56 / 20) fill;
    border-image-width: calc(28px / 3);
    border-image-repeat: round;
    width: calc(100% + var(--overflow-x) * 2);
    height: 28px;
    filter: drop-shadow(0 2px 1px rgb(0 0 0 / .25));
    opacity: 1;
    animation: fade-in 2s;
}
.santa-hat {
    position: relative;
}
.santa-hat::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background-image: url("images/santa-hat.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -23px;
    left: 12px;
    z-index: 1;
}
.flower {
    position: relative;
}
.flower::before {
    content: "";
    display: block;
    width: 37px;
    height: 37px;
    background-image: url("images/flower.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -10px;
    right: 64px;
    z-index: 1;
}
.flame {
    position: relative;
}
.flame::before {
    content: "";
    display: block;
    width: 40px;
    height: 45px;
    background-image: url("images/flame.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -17px;
    right: 61px;
    z-index: 1;
}
.may9 {
    position: relative;
}
.may9::before {
    content: "";
    display: block;
    width: 37px;
    height: 37px;
    background-image: url("images/may9.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -4px;
    right: 62px;
    z-index: 1;
}

/* --------------------HEADER-------------------- */
.header {
    position: absolute; /* делаем header поверх intro */
    height: 100px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.header__inner {
    display: flex;  /* работаем с флексами */
    justify-content: space-between; /* св-во разделения блоков */
    border-bottom: 1px solid #505168; /* линия */
    padding: 35px 0;
    align-items: center;
}

.header.fixed { /* класс при fixed меню */
    height: auto;
    position: fixed;
    background-color: #31354f;
}

.header.fixed .header__inner{ /* работаем с inner при fixed */
    padding: 15px 0;
    border-bottom: 0px;
}

/* --------------------NAV-------------------- */
.nav {
    display: flex;
    font-size: 13px;
    font-weight: 700;/* шрифт bold */
    text-transform: uppercase; /* все буквы заглавные */
    
}

.nav__link {
    margin-left: 50px;
    color: #fff;
    text-decoration: none; /* убираем подчеркивание */
    opacity: 0.75; /* прозрачность */
    transition: opacity 0.1s linear;
}

.nav__link:hover { /* при наведении св-во прозрачности */
    opacity: 1;
}

.nav__link:first-child { /* убираем отступ 50 у первой ссылки */
    margin-left: 0;
}

.burger {
    display: none; /* скрываем пока бургер меню */
    cursor: pointer;
    background: none;
    border: 0;
    padding: 12px 0;
}

.burger__item {
    width: 30px;
    height: 3px;
    position: relative;
    font-style: 0; /* чтоб не видно было надписи MENU */
    color: transparent;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.burger__item span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger__item span:nth-child(1) {
    top: -10px;
}

.burger__item span:nth-child(2) {
    top: 0px;
}

.burger__item span:nth-child(3) {
    top: 10px;
}

.burger.active .burger__item span:nth-child(1) {
    top: 0px;
    transform: rotate(135deg);
}

.burger.active .burger__item span:nth-child(2) {
    opacity: 0;
    left: -100px;
}

.burger.active .burger__item span:nth-child(3) {
    top: 0px;
    transform: rotate(-135deg);
}

/* --------------------INTRO-------------------- */
.intro {
    display: flex; /* дисплей флекс */
    flex-direction: column; /* кажд новый элемент будет с новой строки */
    justify-content: center; /* выравниваем ячейку по центру */
    height: 700px;
    background: #31354f url("images/intro-bg.jpg") no-repeat center; 
    background-size: cover;/* cover - пропорционально ширине */
    padding-top: 100px; /* отступ вниз из-за header */
    position: relative;
}

.intro__inner {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}

.intro__item {
    width: 50%;
    text-align: center;
}

.intro__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 65px;
    line-height: 1.1; /* межстрочный интервал */
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.intro__subtitle {
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 60px;
}

/* --------------------BUTTON-------------------- */
.btn {
    display: inline-block; /* чтобы мы могли задавать padding */
    vertical-align: top; /* выравн вертик границы по верху */
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 14px 40px;
    border-radius: 2px; /* скругление кнопки */
    font-family: inherit; /* настройки для кнопок - button - наследуем font с body */
    border: 0;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.1s linear; 
    z-index: 2;
}

.btn--red {
    background-color: #e84545;
}
.btn--long {
    min-width: 250px;
    margin-top: 100px;
}
.btn--black {
    background-color: #383838;
}
.btn--red:hover {
    background-color: #c93030;
}
.btn--black:hover {
    background-color: #242424;
}

/* --------------------SPORT_ZAL-------------------- */
.zapis {
   padding: 100px 0;
   margin-top: 20px;
}
.zapis__header__title {
    text-align: center;
    font-size: 32px;
    font-weight: 300;
    color: #2d3033;
    padding-top: 20px;
}
.zapis__content {
    display: flex;
    flex-wrap: wrap; /* разрешаем перепрыгивать на новую строку, если не входят элементы - 33% - 3шт макс */
}
.order {
    width: 100%;
    max-width: 680px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 10px;
}
.order__item{
    width: 40%;
    margin: 5px 0;
}
.order__input {
    width: 100%;
    background: #fff;
    height: 40px;
    border: 1px solid #3a3e64;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 15px;
    color: #333333;
    padding: 6px 6px;
    margin: 12px 0 12px;
}
input.order__input::-webkit-outer-spin-button,
input.order__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number].order__input {
    -moz-appearance: textfield;
}
.order__input::placeholder {
    color: #cccccc;
}
.order__input:focus {
    outline: 0;
    border-color: #992525;
}
.checkbox__form {
    line-height: 1.3;
    padding-top: 10px;
    font-size: 16px;
}
.checkbox__label1 { 
    color: #333333;
}
.checkbox__label2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #a56c46;
    transition: color 0.2s linear;
}
.checkbox__label2:hover {
    color: #992525;
}
.privacy__content {
    padding: 20px;
}
.privacy__header {
    display: flex;
    justify-content: space-between;
}
.privacy__text-black {
    color: #000;
}
.modal.show .intro__button {
    text-align: center;
}

/* =================MODALS=============== */
.modal {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    background-color:rgba(0, 0, 0, 0.7);
    padding: 0 10px;
    overflow: auto; /* скрол при большом контенте */
}
.modal__dialog {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    background-color: #fff;
    position: relative;
    transform: rotateX(90deg);
    transition: transform .3s linear;
}
.modal__close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1;
    width: 25px;
    height: 25px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    transition: transform .2s linear;
}
.modal__close:hover {
    transform: translateY(-1px);
}
.modal.show {
    display: flex;
}


/* --------------------REGISTRATION-ZAL-------------------- */
.registration {
    text-align: center;
    background-color: #3a3e64;
    padding: 80px 0;
    margin-top: 30px;
}

.registration__title {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.registration__subtitle {
    font-size: 16px;
    color: #fff;
    font-weight: 700;
}

.registration__text {
    display: flex;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    color:#c0c0c0;
    line-height: 1.6;
    font-weight: 400;
}

.table {
	width: 80%;
	border: none;
    font-size: 16px;
}
.table thead th {
	font-weight: bold;
	text-align: left;
	border: none;
	padding: 8px 12px;
	background: #d4d4d4;
    color: #1d1d1d;
}
.table thead tr th:first-child {
	border-radius: 8px 0 0 8px;
}
.table thead tr th:last-child {
	border-radius: 0 8px 8px 0;
}
.table tbody td {
	text-align: left;
	border: none;
	padding: 8px 12px;
	vertical-align: top;
}
.table tbody tr:nth-child(even){
	background: #5b5b79;
}
.table tbody tr:nth-child(odd){
	background: #4e4e69;
}
.table tbody tr td:first-child {
	border-radius: 8px 0 0 8px;
}
.table tbody tr td:last-child {
	border-radius: 0 8px 8px 0;
}

/* --------------------TIMER-------------------- */
.timer {
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    color: #2d3033;
    padding-top: 20px;
}
.timer__items {
    display: flex;
    justify-content: center;
  }
  .timer__item {
    position: relative;
    min-width: 60px;
    margin-left: 2px;
    margin-right: 2px;
    padding-bottom: 15px;
    text-align: center;
  }
  .timer__item::before {
    content: attr(data-title);
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    font-size: 12px;
  }
  .timer__item:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: -5px;
  }


/* --------------------FOOTER-------------------- */
.footer {
    background-color: #3a3e64;
}


/* --------------------COPYRIGHT-------------------- */
.copyright {
    padding: 22px 0;
    background-color: #313454;
}

.copyright__text {
    color: #808080;
    font-style: 14px;
    line-height: 1.6;
    text-align: center;
}

.copyright__link {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #fff;
    text-decoration: none;
    transition: font-size .1s linear, color .1s linear;
    position: relative;
}
.copyright__link:after { /* Делаем полоску внизу, используя псевдоэлемент*/
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 90%; /* будет в самом низу */
    left: 0;
    z-index: 1;
    opacity: 0.5; /* скрываем */
    transition: opacity .1s linear, color .1s linear;
}
.copyright__link:hover {
    font-size: 14px;
    color: rgb(255, 145, 145);
}
.copyright__link:hover:after,
.copyright__link.active:after {
    opacity: 1;
    background-color: rgb(255, 145, 145);
}

/* --------------------STUFF_ONLY-------------------- */
.stuff__content {
    display: flex;
    flex-wrap: wrap; /* разрешаем перепрыгивать на новую строку, если не входят элементы - 33% - 3шт макс */
}
.stuff__text {
    font-size: 14px;
    color: #131313;
    padding-top: 15px;
    font-weight: 700;
}
.stuff {
    width: 100%;
    max-width: 680px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 10px;
}
.stuff__item {
    width: 15%;
}
.stuff__item2 {
    width: 30%;
    text-align: right;
    font-size: 13px;
}
.stuff--comment {
    width: 95%;
    height: 80px;
}
.stuff__input {
    width: 100%;
    background: #fff;
    height: 40px;
    border: 1px solid #3a3e64;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 15px;
    color: #333333;
    padding: 6px 6px;
    margin: 12px 0 12px;
}
input.stuff__input::-webkit-outer-spin-button,
input.stuff__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number].stuff__input {
    -moz-appearance: textfield;
}
.stuff__input::placeholder {
    color: #cccccc;
}
.stuff__input:focus {
    outline: 0;
    border-color: #992525;
}



/* --------------------ADAPTATION-------------------- */
/* --------------------ДЛЯ ПЛАНШЕТОВ-------------------- */
@media (max-width: 1200px) {
    
    
}

@media (max-width: 991px) { /* при ширине экрана менее 990 */
    /* -----NAV----- */
    .nav { 
        display: none; /* скрываем нашу навигацию */
        position: absolute; /* позиция абсолют относительно шапки */
        right: 0;
        flex-direction: column;
        text-align: right;
        top: 100%;
        width: 50%;
        background-color: #31354f;
    }

    .nav.show { /* класс для показывания меню */
        display: flex;
    }

    .nav__link {
        padding: 10px 15px;
    }

    .burger { /* показываем меню бургер */
        display: block;
    }
    /* -----INTRO----- */
    .intro__title { /* меняем шрифт интро титр */
        font-size: 48px;
    }
    .intro__subtitle {
        font-size: 18px;
    }
    .zapis {
        padding: 100px 0;
    }
    .registration {
        padding: 60px 0;
    }
    .registration__title {
        font-size: 20px;
    }
    .registration__subtitle {
        font-size: 14px;
    }
    .table {
        font-size: 14px;
    }

    

}

/* --------------------ДЛЯ МОБИЛЬНЫХ-------------------- */
@media (max-width: 767px) {
    .intro {
        height: auto;
        padding-top: 200px;
        padding-bottom: 60px;
    }
    .intro__item {
        width: 100%;
        padding-bottom: 70px;
    }
    .intro__title {
        margin-bottom: 10px;
        font-size: 44px;
    }

    .intro__subtitle {
        margin-bottom: 30px;
        font-size: 16px;
    }
    .zapis {
        padding: 60px 0;
    }
    .zapis__header__title {
        font-size: 28px;
    }
    .checkbox__form {
        font-size: 14px;
    }
    .btn--long {
        margin-top: 60px;
    }
    .registration {
        margin-top: 20px;
    }
    .registration__title {
        font-size: 18px;
    }
    .stuff__item {
        width: 30%;
    }
    .stuff__item2 {
        width: 45%;
        text-align: center;
    }


}

@media (max-width: 575px) { /* двинем картинку чтоб лучше смотрелась */
    .intro__content {
        text-align: center;
    }
    .order__item {
        width: 100%;
    }
    .zapis {
        padding: 50px 0;
    }
    .zapis__header__title {
        font-size: 24px;
    }
    .order {
        text-align: center;
    }
    .btn--long {
        margin-top: 40px;
    }
    .registration__title {
        font-size: 16px;
    }
    .registration__subtitle {
        font-size: 13px;
    }
    .registration__text {
        font-size: 14px;
    }
    .table {
        width: 100%;
        font-size: 13px;
    }
    .stuff__item {
        width: 45%;
    }
    .stuff__item2 {
        width: 95%;
    }


}