@font-face {
    font-family: BlissHeavy;
    src: url(../fonts/blisspro-heavy.otf);
}
* {
    margin: 0;
    padding: 0;
}
img {
    width: 100%;
    display: block;
    height: auto;
}
html,
body {
    height: 100%;
}
#layout {
    position: relative;
    z-index: 2;
    min-height: 100%;
    overflow-x: hidden;
    font-size: 10px;
}
body {
    background: #080e03 url('../images/bg-desk.jpg') 50% 0 no-repeat;
    font-family: Candara, Arial, sans-serif;
}


#header {
    max-width: 104em;
    margin: 0 auto;
    padding-top: 12.7em;
    overflow: hidden;
}
.logo {
    background: url('') 0 0 no-repeat;
    width: 25.3em;
    height: 21.5em;
    background-size: contain;
    margin-right: 4em;
    float: left;
}
.top_txt {
    float: left;
    width: 45.7em;
    height: 10.5em;
    background: url('../images/top-txt.png') 0 0 no-repeat;
    background-size: contain;
    margin-top: 0.4em;
}



.bags_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    padding-top: 4em;
    margin-bottom: -3em;
}
.bag {
    height: 29em;
    width: 40.1em;
    margin: 0 -6em;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    background-image: url('../images/bags.png');
    background-size: 40.1em 92.2em;
    background-position: 0 0;
}
.bag_inner {
    background-image: url('../images/bags.png');
    background-size: 40.1em 92.2em;
    background-position: 0 -59em;
    height: 33.2em;
    width: 40.1em;
    position: absolute;
    z-index: 3;
    -webkit-tap-highlight-color: transparent;
    top: -3.9em;
    left: -1.15em;
    opacity: 0;
    animation-name: bagBlinking;
    animation-delay: 0s;
    animation-duration: .5s;
    animation-iteration-count: infinite;
}
.bag.act {
    top: -1.5em;
}
.bag.opened .bag_inner,
.bag.act .bag_inner {
    opacity: 0!important;
}
.bag.opened  {
    background-position: 0 -29em;
}
.bag.opened .bag_inner {
    display: none!important;
}
.bags_wrapper.hovered .bag_inner {
    animation: none;
}
.bag.disabled .bag_inner,
.bag.act .bag_inner {
    opacity: 1!important;
    animation: none!important;
}
.bag.disabled {
    background-position: 0 0!important;
    cursor: auto!important;
}
.bag.disabled .bag_inner {
    display: none;
}
.bag.disabled.act {
    top: 0!important;
}

@keyframes bagBlinking {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.bottom_txt {
    position: relative;
    z-index: 5;
    padding-top: 3em;
}
.bottom_txt div {
    margin: 0 auto;
    background-image: url('../images/btm-txt.png');
    width: 70.8em;
    height: 8.3em;
    background-size: 70.8em 33.2em;
    background-repeat: no-repeat;
    background-position: 50% 0;
}
.bottom_txt.act div {
    background-position: 50% -8.3em;
}

#footer {
    max-width: 70.5em;
    margin: 0 auto;
    width: 95%;
    text-align: center;
    padding: 8em 0 2em;
}
#footer p {
    font-family: Arial, sans-serif;
    font-size: 1.3em;
    color: #524600;
}

.popup_overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.6);
    z-index: 100;
    font-size: inherit;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.popup_window {
    display: none;
    width: 51.6em;
    height: 51.1em;
    background: url('../images/popup-bg.png') 0 0 no-repeat;
    background-size: contain;
    position: relative;
    text-align: center;
    box-sizing: border-box;
    padding-top: 5em;
    font-family: BlissHeavy, Arial, sans-serif;
}
.popup_txt_1 {
    text-transform: uppercase;
    color: #fff;
    font-size: 5.25em;
    line-height: 1;
}
.popup_txt_2 {
    text-transform: uppercase;
    color: #fff;
    font-size: 4.25em;
    padding-bottom: 0.25em;
}
.popup_txt_3 {
    text-transform: uppercase;
    color: #fde249;
    padding-bottom: 2.5em;
}
.popup_txt_3 div,
.popup_txt_3 span {
    background: -webkit-linear-gradient(top, #ffff90 0%, #fde250 50%, #e6a633 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}
.popup_txt_3 div {
    font-size: 7.25em;
    line-height: 1;
}
.popup_txt_3 span {
    font-size: 2.4em;
    line-height: 1;
}
.popup_btn {
    display: block;
    text-decoration: none;
    width: 40em;
    height: 8.5em;
    margin: 0 auto;
    border-radius: 0.9em;
    text-align: center;
    background-color: #00af10;
    transition: background-color ease .2s;
}
.popup_btn:hover {
    background-color: #05cc17;
}
.popup_btn span {
    text-transform: uppercase;
    color: #fff;
    font-size: 4em;
    line-height: 2.1;
}



@media (max-width: 1024px) and (min-width: 931px) and (orientation: landscape) {
    body {
        background-size: 1750px;
    }
    #layout {
        font-size: 9px;
    }
}
@media (max-width: 930px) and (orientation: landscape) {
    body {
        background-size: 1150px;
    }
    #layout {
        font-size: 6px;
    }
}
@media (max-width: 830px) and (orientation: landscape)  {
    body {
        background-size: 965px;
    }
    #layout {
        font-size: 5px;
    }
}
@media (max-width: 640px) and (orientation: landscape){
    body {
        background-size: 775px;
    }
    #layout {
        font-size: 4px;
    }
}








@media (max-width: 768px) and (orientation: portrait) {
    body {
        background: #0b1302 url('../images/bg-mob.jpg') 50% -85px no-repeat;
    }
    #header {
        padding-top: 3em;
        max-width: none;
    }
    .logo {
        float: none;
        margin: 0 auto;
    }
    .top_txt {
        float: none;
        margin: 0 auto;
    }
    .bottom_txt {
        padding-top: 0;
    }
    .bottom_txt div {
        height: 8.9em;
        background-position: 50% -16.6em;
    }
    .bottom_txt.act  div {
        background-position: 50% -25.5em;
    }
    .bags_wrapper {
        padding-top: 30em;
    }
    .bag.act {
        top: 0;
    }
    #footer {
        padding: 8em 0 10em;
    }
    .bags_wrapper {
        font-size: 9px;
        margin-bottom: 2.5em;
    }
}
@media (max-width: 767px) and (orientation: portrait) {
    #container {
        font-size: 7px;
    }
    .bags_wrapper {
        font-size: inherit;
        padding-top: 45em;
    }
    .bottom_txt {
        padding: 0.75em 0 0;
    }
}
@media (max-width: 600px) and (orientation: portrait) {
    body {
        background: #0b1302 url(../images/bg-mob.jpg) 50% -75px no-repeat;
        background-size: 700px;
    }
    #layout {
        font-size: 7px;
    }
    #header {
        font-size: 120%;
    }
    #container {
        font-size: inherit;
    }
    .bags_wrapper {
        font-size: 85%;
        margin-bottom: 3.5em;
    }
    #footer {
        font-size: 10px;
        padding: 5em 0 10em;
    }
}
@media (max-width: 520px) and (orientation: portrait) {
    #layout {
        font-size: 6px;
    }
    body {
        background-size: 615px;
    }
    #footer p {
        font-size: 1.1em;
        padding-top: 0.25em;
    }
}
@media (max-width: 445px) and (orientation: portrait) {
    body {
        background: #0b1302 url(../images/bg-mob.jpg) 50% -65px no-repeat;
        background-size: 520px;
    }
    #layout {
        font-size: 5px;
    }
    .bags_wrapper {
        padding-top: 48em;
    }
}
@media (max-width: 360px) and (orientation: portrait) {
    body {
        background-size: 465px;
    }
    #layout {
        font-size: 4.35px;
    }
}