@charset "UTF-8";
/*========================================================
Includes
========================================================*/
/*========================================================
                      Main Styles
=========================================================*/

html.no-webp::before {
    background-image: url('../i/d2/bg-1.png');
}

.fixed {
    position: fixed !important;
}

.hidden {
    opacity: 0;
    transition: all 0.5s ease-in;
}

#bg1, #bg2, #bg3, #bg4, #bg5 {
    display: block;
    background-position: top left;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: -10;
    transition: all 0.5s ease-in;
}

#bg1 {
    background-image: url('../i/d2/bg-no-star.webp');
}

.no-webp #bg1 {
    background-image: url('../i/d2/bg-no-star.png');
}

#bg2 {
    opacity: 0;
    background-image: url('../i/d2/bg-1.webp');
}

.no-webp #bg2 {
    background-image: url('../i/d2/bg-1.png');
}

#bg2.active {
    opacity: 1;
}

body {
    font: 600 18px/1.2 "Noto Serif";
    color: #6f0f13;
    -webkit-text-size-adjust: none;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

strong {
    font-weight: bold;
}

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

img {
    max-width: 90%;
    height: auto;
}

a {
    font: inherit;
    text-decoration: none;
    color: #7f745a;
}

a:hover, a:active {
    text-decoration: none;
    color: inherit;
}

a:focus {
    outline: none;
}

a:active {
    background-color: transparent;
}

a[href^="tel:"],
a[href^="callto:"] {
    color: inherit;
    text-decoration: none;
}

p {
    margin-bottom: 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 10px 0 20px;
}

.page {
    overflow: hidden;
    min-height: 500px;
}

.lt-ie9 .page {
    min-width: 1200px;
}

textarea,
input[type="text"] {
    border: 1px solid #8f8d8d;
    border-radius: 2px;
    font-size: 16px;
    line-height: 20px;
    color: #706f6c;
    padding: 10px;
    width: 100%;
    outline: none;
    font-weight: 300;
    text-align: left;
}

textarea:focus,
  input[type="text"]:focus {
    border-color: #d5b9b6;
}

textarea {
    font-family: "Noto Serif";
    max-width: 100%;
    min-width: 100%;
}

select {
    border: 1px solid #8f8d8d;
    border-radius: 2px;
    font-size: 14px;
    line-height: 22px;
    color: #999999;
    padding: 16px;
    width: 100%;
}

select:focus {
    border-color: #d8c3b2;
}

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

/* Track */
::-webkit-scrollbar-track {
    background-color: #e8e8e8;
    border-radius: 2px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #252e57;
    border-radius: 2px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #252e57;
}

/*========================================================
Main Layout
========================================================*/
h1, h2, h3, h4, h5, h6 {
    color: #0e548e;
}

h1 {
    margin: 0;
    margin-bottom: 0.7em;
    color: #0e548e;
    font-family: "Noto Serif";
    font-size: 72px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
    text-rendering: optimizeLegibility;
}

h2 {
    margin: 0;
    margin-bottom: 0.7em;
    color: #0e548e;
    font-family: "Noto Serif";
    font-size: 60px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.35;
    text-rendering: optimizeLegibility;
}

h3 {
    margin: 0;
    margin-bottom: 5px;
    color: #0e548e;
    font-family: "Noto Serif";
    font-size: 20px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.35;
    text-rendering: optimizeLegibility;
}

h4 {
    margin: 0;
    margin-bottom: 20px;
    color: #0e548e;
    font-family: "Noto Serif";
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.35;
    text-rendering: optimizeLegibility;
}

h5 {
    margin: 0;
    margin-bottom: 20px;
    color: #0e548e;
    font-family: "Noto Serif";
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.35;
    text-rendering: optimizeLegibility;
}

h6 {
    font-size: 10.2px;
}

div, span {
    box-sizing: border-box;
}

/*========================================================
Header Section
========================================================*/

.logo-box {
    opacity: 0;
    position: fixed;
    top: 10%;
    left: 10%;
    padding: 0px;
    max-width: 80vh;
    transition: all 0.5s ease-out;
}

.logo-box.active {
    opacity: 1;
    transition: all 0.5s ease-in;
}

.text-box {
    z-index: 1000;
    opacity: 0;
    position: absolute;
    bottom: 10%;
    left: 10%;
    padding: 0px;
    max-width: 80vh;
    transition: all 0.5s ease-out;
}

.text-box img {
    width: 50%;
}

.text-box.active {
    opacity: 1;
    transition: all 0.5s ease-in;
}

.section-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 5;
}

.section-2 {
    display: flex;
    align-items: bottom;
    justify-content: flex-end;
    width: 100%;
    /*height: 100%;*/
    position: relative;
    z-index: 2000;
    height: 160vh;
}

.small-logo_z {
    max-width: 370px;
    margin-top: 10px;
    position: absolute;
    right: 1%;
}

.rules {
    width: 100%;
    display: flex;
    align-items: top;
    justify-content: right;
    height: 100%;
}

.rules .description {
    /*filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.9));*/
    color: #fff;
    font-size: 31px;
    line-height: 36px;
    text-align: left;
    padding-right: 20%;
    padding-left: 20%;
    margin: 0 auto;
    position: absolute;
    top: 34vh;
}

.rules .description a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}

.rules .description a:hover {
    text-decoration: none;
}

.section {
    background-size: cover !important;
    min-height: 100vh;
    height: 100vh;
  /* 100vh - 100% от высоты viewport(окна браузера) */
    overflow: hidden;
    position: relative;
}

.section_pr {
    padding-left: 0px;
}

#main-1 {
    padding-top: 30%;
    padding-bottom: 30%;
    position: relative;
    border: 0px solid #f00;
    display: flex;
    align-items: bottom;
    justify-content: flex-end;
}

.yellow-bottom-area {
    position: absolute;
    height: 33%;
    width: 100%;
    background-color: #efb726;
    bottom: 0;
    opacity: 0;
}

.logologo {
    position: fixed;
    width: 470px;
    margin-top: 0px;
    top: 54px;
    left: 340px;
    opacity: 0;
    z-index: 10000;
    transition: all 0.5s ease-in;
}

.logologo.active {
    opacity: 1;
    transition: all 0.5s ease-out;
}

.slogan {
    text-align: center;
    width: 28%;
    position: absolute;
    left: 0px;
    top: 70%;
    text-transform: uppercase;
}

#header {
    height: 100vh !important;
    transition: all 0.5s ease-in;
}

#header.hidden {
    opacity: 0;
    transition: all 0.5s ease-out;
}

#header.section {
    min-height: 100vh;
}

#footer.section {
    min-height: 100vh;
    /*background: url('../i/d2/gradient.png') left top repeat-y;*/
    background-color: #efb726;
    z-index: 10000;
}

.box-products {
    position: absolute;
    display: flex;
    justify-content: right;
    margin-bottom: 40px;
    margin-right: 3%;
    width: 70%;
    align-items: flex-end;
    min-height: 100vh;
    bottom: 0;
    z-index: 1000;
}

.box-products .product {
    font-size: 24px;
}

.box-products .name {
    /*filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.56));*/
    font-size: 1.1vw;
    font-family: "Noto Serif";
    margin-bottom: 30px;
    text-align: left;
    color: #9b6c3e;
}

.box-products .name .label {
    display: inline-block;
    font-size: 60%;
    text-transform: uppercase;
    margin-top: 5px;
    white-space: nowrap;
}

.box-products .name .second_title {
    display: inline-block;
    font-size: 80%;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.gold {
    display: inline-block;
    width: 100%;
    color: #fff;
    font-size: 200%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin-top: 15px;
    margin-bottom: 15px;
}

.params {
    display: inline-block;
    font-size: 200%;
}

.box-products.box-products-1 .product {
    padding: 0 1%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.box-products.box-products-1 .product .image {
    margin-bottom: 30px;
    margin-top: auto;
}

.box-products.box-products-1 .product .image img {
        /*box-shadow: 30px 30px 30px rgba(0, 0, 0, 0.56); */
    filter: drop-shadow(0px 5px 30px rgba(0, 0, 0, 0.5));
}

.box-products.box-products-2 .image {
    margin-bottom: -30px;
    position: relative;
}

.box-products.box-products-2 .image img {
    position: relative;
    right: -18%;
}

.box-products.box-products-2 .product {
    text-align: center;
    padding: 0;
}

body.active {
    overflow: hidden;
}

body.active #overlay {
    display: block;
}

body.active .brand,
  body.active #logo {
    visibility: hidden;
    opacity: 0;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    z-index: 20;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;
    z-index: 100000;
}

.popup {
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    position: absolute;
    /*background-image: url('../i/d2/bg-popup.webp');*/
    background: #095d8b7f;
    background-size: cover;
    z-index: 21;
    font-size: 34px;
    animation: fade .6s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Serif";
}

.popup .content {
    /*filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.56));*/
    padding: 0 30px;
    text-align: center;
    max-width: 1000px;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

.popup .content .older {
    font-size: 22px;
    margin: 35px 0 30px;
    color: #fff;
}

.popup .content .btn-group-pop {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup .content .btn-group-pop .btn {
    color: #fff;
    box-shadow: 4px 5px 6px 0px rgba(0, 0, 0, 0.5);
    font-size: 28px;
    width: 232px;
    height: 79px;
    line-height: 39px;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    margin: 0 8px;
    transition: 0.3s ease;
    font-weight: 300;
    border: 0px solid #052860;
    background: #052860;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup .content .btn-group-pop .btn:hover {
    opacity: 0.8;
}

.popup .content .btn-group-pop .btn-2 {
    background: #efb726;
}

@media (min-width: 1930px) {
    
    .box-products .name {
        font-size: 32px;
    }
    
}

@media (max-width: 1680px) {

    .slogan {
        top: 63%;
    }
    
    .logologo {
        position: fixed;
        width: 220px;
        margin-top: 0px;
        top: 50px;
        left: 280px;
    }
    
    .small-logo {
      width: 100%;
    }
    
    .rules .description {
        font-size: 24px;
    }
    
    .box-products {
        width: 60%;
        margin-bottom: 40px;
    }
  
}

@media (max-width: 1440px) {

    .slogan {
        top: 63%;
    }
    
    .logologo {
        position: fixed;
        width: 200px;
        margin-top: 0px;
        top: 40px;
        left: 240px;
    }
    
    .rules .description {
        font-size: 20px;
    }
    
    .box-products {
        margin-bottom: 40px;
    }
    
}

@media (max-width: 1366px) {

    .slogan {
        top: 63%;
    }
    
    .logologo {
        width: 180px;
        top: 40px;
        left: 240px;
    }
    
    .rules .description {
        font-size: 20px;
    }
    
    .box-products {
        margin-bottom: 15px;
    }
    
    .box-products.box-products-1 .product .image img {
        /* box-shadow: 30px 30px 30px rgba(0, 0, 0, 0.56); */
        filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.5));
    }
    
}

@media (max-width: 1366px) and (max-height: 650px) {
    
    .slogan {
        top: 73%;
    }
    
}

@media (max-width: 1280px) {

    .slogan {
        top: 65%;
    }
    
    .logologo {
        width: 180px;
        top: 34px;
        left: 240px;
    }
    
    .rules .description {
        font-size: 18px;
    }
    
}

@media (max-width: 1152px) {

    .slogan {
        top: 70%;
    }
    
    .section-2 {
        width: 100%;
    }
    
    .section_pr {
        padding: 0px;
    }
    
    #main-1, #main-2, #main-3 {
        margin-top: 0px;
    }
    
    .box-products .product {
        font-size: 13px;
    }

    .box-products.box-products-2 .image {
        margin-bottom: -20px;
    }

    .box-products .name {
        font-size: 20px;
    }
    
    .rules .description {
        font-size: 20px;
    }
    
    .popup .content .btn-group-pop .btn {
        width: 130px;
        font-size: 22px;
        line-height: 1.2;
        height: 50px;
    }

}

@media (max-width: 1024px) {
    .box-products {
        width: 95%;
        margin-bottom: 40px;
    }

    .text-box {
        display: none;
    }
    
    .box-products.box-products-1 .product .image img {
        /* box-shadow: 30px 30px 30px rgba(0, 0, 0, 0.56); */
        filter: drop-shadow(0px 5px 30px rgba(0, 0, 0, 0.5));
    }
    
}

@media (max-width: 500px) {
    
    #bg2 {
        background-position: top center;
    }
    
    .slogan {
        bottom: 10%;
        top: auto;
        width: 100%;
    }
    
    .slogan.gold {
        font-size: 12px;
    }
    
    .logo-box.active {
        top: 5%;
    }
    
    .logologo {
        width: 100%;
        top: 40px;
        left: 0px;
        text-align: right;
        padding-right: 10%;
    }
    
    .small-logo {
        width: 40%;
        display: inline-block;
    }
    
    .section {
        height: auto;
    }
    
    .section-2 {
        height: auto;
    }
    
    .image img {
        max-width: 70%;
    }
    
    #main-1 {
        padding-bottom: 0px;
    }
    
    .fixed {
        position: relative !important;
    }
    
    .section-2 {
        display: none;
    }
    
    .text-box {
        display: block;
        position: fixed !important;
        bottom: 40px !important;
        z-index: 10;
    }
    
    .yellow-bottom-area, .yellow-bottom-area.fixed {
        position: absolute !important;
        opacity: 1;
        top: auto;
        bottom: 0;
    }
    
    .box-products {
        position: relative !important;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin: 0px;
        width: 100%;
    }
    
    .box-products .name {
        text-align: center;
        font-size: 14px;
    }
    
    .rules .description {
        font-size: 20px;
        padding-right: 5%;
        padding-left: 5%;
        top: 26vh;
    }
    
}

@media (max-width: 360px) {
    
    body {
        font-size: 14px;
    }
    
    .popup .content {
        font-size: 16px;
        padding: 0px 10px;
    }
    
    .popup .content .older {
        font-size: 14px;
    }
    
    .popup .content .btn-group-pop .btn {
        width: 100px;
        font-size: 16px;
        line-height: 1.2;
        height: 40px;
    }
    
    .logologo {
        top: 30px;
    }
    
    .section {
        min-height: auto;
    }
    
    .box-products .name {
        font-size: 10px;
    }
    
    .rules .description {
        font-size: 11px;
        line-height: 18px;
    }
}
