.gates-button {
    border-radius: 100px;
    background:#b26f23;
    border: 3px solid #b26f23;
    background:none;
    color:#b26f23;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    top:calc(50% + 100px);
    padding: 20px 30px;
}
.snowflake {
    width: 7px;
    height: 7px;
    position: absolute;
    background: url(images/snowflake.png);
    background-size: 100% 100%;
}

@media(max-width: 640px) {

}

.gates-wrapper {
    background: #000000;
    position: relative;
    height: 1056px;
    width: 100%;
}
.gates {
    background: url(images/gates-bg--1.png);
    background-size: 1490px auto;
    background-repeat: no-repeat;
    background-position: top center;
    width: 100%;
    height: 1056px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.gates--floor-snow {
    background: url(images/gates-fg--gate-snow.png);
    background-size: 1346px auto;
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
    height: 976px;
    position: absolute;
    right:40px;
    justify-content: center;
    align-items: flex-end;
    z-index: 100;
}
.door--left {
    background: url(images/gate--left.png);
    background-size: cover;
    width: 404px;
    height: 639px;
    position: relative;
    top:-81px;
    left:-15px;
    margin-bottom: 70px;

}



.door--left-animate {
    animation: openDoorLeft 2s ease-in 0.8s 1 forwards;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    transform-origin: left bottom;
    animation-play-state: running !important;
    transition: all 0.5s ease-in-out;
}

.door--left-mask {
    background: url(images/gate--left-mask.png);
    background-size: cover;
    width: 424px;
    height: 648px;
    opacity: 0;
    position: relative;
    top:-1px;
    left:1px;
    margin-bottom: 70px;

}

.door--left-animate-mask {
    animation: openDoorLeftMask 2s ease-in 0.8s 1 forwards;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    transform-origin: left bottom;
    animation-play-state: running !important;
    transition: all 0.5s ease-in-out;
}

@-webkit-keyframes openDoorLeft {
    from {
        -webkit-transform: perspective(1200px) rotateY(0deg);
        -webkit-transform-origin: 0% 0%;
    }
    to {
        -webkit-transform: perspective(1200px) rotateY(70deg);
        -webkit-transform-origin: 0% 50%;
    }
}
@keyframes openDoorLeft {
    from {
        -webkit-transform: perspective(1200px) rotateY(0deg);
        -webkit-transform-origin: 0% 0%;
    }
    to {
        -webkit-transform: perspective(1200px) rotateY(70deg);
        -webkit-transform-origin: 0% 50%;
    }
}
@-webkit-keyframes openDoorLeftMask {
    from {

        opacity: 0;
    }
    to {

        opacity: 1;
    }
}
@keyframes openDoorLeftMask {
    from {

        opacity: 0;
    }
    to {

        opacity: 1;
    }
}
.door--right {
    background: url(images/gate--right.png);
    background-size: cover;
    width: 404px;
    height: 631px;
    position: relative;
    top:-89px;
    left:-16px;
    margin-bottom: 70px;

}

.door--right-animate {
    animation: openDoorRight 2.4s ease-in-out 0.8s 1 forwards;
    animation-play-state: running !important;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    transform-origin: left bottom;
    transition: all 0.5s ease-in-out;
}
.door--right-mask {
    background: url(images/gate--right-mask.png);
    background-size: cover;
    width: 424px;
    height: 624px;
    position: relative;
    top:-2px;
    left:-4px;
    opacity: 0;
    margin-bottom: 70px;

}
.door--right-animate-mask {
    animation: openDoorRightMask 2s ease-in-out 0.8s 1 forwards;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    transform-origin: left bottom;
    animation-play-state: running !important;
    transition: all 0.5s ease-in-out;
}
@-webkit-keyframes openDoorRight {
    from {
        -webkit-transform: perspective(1200px) rotateY(0deg);
        -webkit-transform-origin: 100% 0%;
    }
    to {
        -webkit-transform: perspective(1200px) rotateY(-70deg);
        -webkit-transform-origin: 100% 50%;
    }
}
@keyframes openDoorRight {
    from {
        -webkit-transform: perspective(1200px) rotateY(0deg);
        -webkit-transform-origin: 100% 0%;
    }
    to {
        -webkit-transform: perspective(1200px) rotateY(-70deg);
        -webkit-transform-origin: 100% 50%;
    }
}

@-webkit-keyframes openDoorRightMask {
    from {

        opacity: 0;
    }
    to {

        opacity: 1;
    }
}
@keyframes openDoorRightMask {
    from {

        opacity: 0;
    }
    to {

        opacity: 1;
    }
}

/*---------------------
-----------------------
-- SLIDER
-----------------------
---------------------*/
.gates-slider {
    position: absolute;
    top: calc(50%);
    width: 420px;
    height: 200px;
    z-index: 0;
}
.gates-slider__tab {
    font-size: 35px;
    font-weight: 500;
    width: 420px;
    margin: 0 auto;
    text-transform: uppercase;
}
.gates-slider__intro {
    font-size: 40px;
    font-weight: 500;
    text-transform: uppercase;
    width: 600px;
}
/************************************************************/
/******************Styles for Mobile START*******************/
/************************************************************/
    
  @media only screen and (max-width: 768px) {
    .gates {
        background: url(images/gates-bg--1.png) no-repeat;
        background-size: 910px auto;
        height: 526px;
        background-position: center;
    }
    .gates--floor-snow {
        background-size: 798px auto;
        height: 516px;
        position: absolute;
        right: 20px;
    }
    .door--left {
        width: 246px;
        height: 391px;
        position: relative;
        top:41px;
        left:-7px;
    }
    .door--right {
        width: 243px;
        height: 399px;
        position: relative;
        top:49px;
        left:-7px;
    }
    .door--right-mask {
    width: 243px;
    height: 399px;
    position: relative;
    top:1px;
    left:-1px;
    opacity: 0;
    margin-bottom: 70px;
    }
    .door--left-mask {
    width: 246px;
    height: 391px;
    opacity: 0;
    position: relative;
    top:0px;
        left:-1px;
    }
    .gates-slider__tab {
        font-size: 24px;
        font-weight: 500;
        width: 280px;
        text-transform: uppercase;
    }   
  }
  @media only screen and (max-width: 600px) {
    .gates {
        background: url(images/gates-bg--1.png) no-repeat;
        background-size: 740px auto;
        height: 546px;
        background-position: center;
    }
    .gates--floor-snow {
        background-size: 686px auto;
        height: 501px;
        position: absolute;
        right: 20px;
    }
    .door--left {
        width: 197px;
        height: 321px;
        position: relative;
        top:-9px;
        left:-7px;
    }
    .door--right {
        width: 198px;
        height: 321px;
        position: relative;
        top:-9px;
        left:-7px;
    }
    .door--right-mask {
    width: 198px;
    height: 312px;
    position: relative;
    top:1px;
    left:-1px;
    opacity: 0;
    margin-bottom: 70px;
    }
    .door--left-mask {
    width: 197px;
    height: 321px;
    opacity: 0;
    position: relative;
    top:0px;
        left:-1px;
    }
    .gates-slider__tab {
        font-size: 24px;
        font-weight: 500;
        width: 280px;
        text-transform: uppercase;
    }   
    .gates-wrapper {
        height: 666px;
        overflow: hidden;
    }
  }
  @media only screen and (max-width: 414px) {
    .gates-wrapper {
        height: 446px;
    }
    .gates {
        background: url(images/gates-bg--1.png) no-repeat;
        background-size: 480px auto;
        height: 406px;
        background-position: center;
    }
    .gates--floor-snow {
        background-size: 436px auto;
        height: 348px;
        position: absolute;
        right: 14px;
    }
    .door--left {
        width: 130px;
        height: 207px;
        position: relative;
        top:-10px;
        left:-6px;
    }
    .door--right {
        width: 130px;
        height: 207px;
        position: relative;
        top:-10px;
        left:-6px;
    }
    .door--right-mask {
    width: 130px;
    height: 207px;
    position: relative;
    top:1px;
    left:-1px;
    opacity: 0;
    margin-bottom: 70px;
    }
    .door--left-mask {
    width: 130px;
    height: 207px;
    opacity: 0;
    position: relative;
    top:0px;
        left:-1px;
    }
    .gates-slider__tab {
        font-size: 20px;
        font-weight: 500;
        width: 193px;
        position: relative;
        text-transform: uppercase;
    }   
  }


  /*
SNOW
*/

.snow__wrapper--2 {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-family: Signika Negative, Asap, sans-serif;
    color: white;
    overflow: hidden;
    position: absolute;
    height: 1056px;
    width: 100%;
    z-index: 204;
}

@media only screen and (max-width: 414px) {
    
    .snow__wrapper--2 {
        height: 600px;
    }
}


/*---------------------
-----------------------
-- SLIDER
-----------------------
---------------------*/

.gates-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 420px;
}
@media only screen and (max-width: 414px) {
    
    .gates-slider {
        align-items: flex-start;
    }
}
.gates-slider__parent {
    justify-content: center;
}
@media only screen and (max-width: 414px) {
    .gates-slider__parent {
        justify-content: flex-start;
    }
}

.gates-slider__tab {
    font-size: 26px;
    width: 300px;
    text-transform: uppercase;
}

@media only screen and (max-width: 414px) {
    
    .gates-slider__intro {
        font-size: 20px;
        line-height: 22px;
        margin: auto;
        width: 100px;
    }
}
.gates-slider__tab {
    display: none;
    opacity: 0;
    font-size: 35px;
    text-transform: uppercase;
    width: 420px;
}
.gates-slider__button--next {
    display: none;
    padding-top: 50px;
}
.gates-slider__button {
    
    margin: auto;
    opacity: 0;
    width: 33px;
}

.gates-slider__prod-img__img {
    width: 250px;
}
@media only screen and (max-width: 414px) {
    
    .gates-slider__prod-img__img {
        width: 140px;
    }
}
.gates-slider__prod-title {
    color: #ffffff;
    font-size: 24px;
    line-height: 26px;
    padding-bottom: 20px;
}

.gates-slider__prod-cta {
    background: #b26f23;
    color: #ffffff;
    font-size: 20px;
    margin: auto;
    padding: 10px 0px;
    width: 150px;
}
.gates-slider__prod-cta:hover {
    background:#eba660; 
      cursor: pointer;
}
.gates-slider__prod-cta h7{
    text-align:center; 
      font-size: 25px; 
      padding:5px; 
      letter-spacing: 2px;
      font-weight: 400;
      font-family: "Knockout", sans-serif;
      text-transform: uppercase;
      padding-top: 12px;
      color:#351e1f;
}
@media only screen and (max-width: 768px) {
    .gates-slider__intro {
        font-size: 30px;
        width: 250px;
        position: relative;
        top: -40px;
    }
    .gates-wrapper {
        height: 600px;
        overflow: hidden;
    }
    .gates-slider__prod-img {
        position: relative;
        top: -79px;
    }
    .gates-slider__prod-title {
        position: relative;
        top: -71px;
        font-size: 20px;
        line-height: 20px;
    }
    .gates-slider__prod-cta {
        position: relative;
        top: -70px;
    }
    .gates-slider__button--next {
        position: relative;
        top:-89px;
    }
}
@media only screen and (max-width: 600px) {
    .gates-slider__prod-img {
        position: relative;
        top: -100px;
    }
    .gates-slider__prod-img__img {
        width: 140px;
    }
    .gates-slider__prod-title {
        position: relative;
        top: -91px;
        font-size: 20px;
        line-height: 20px;
    }
    .gates-slider__prod-cta {
        position: relative;
        top: -88px;
    }
    .gates-slider__button--next {
        position: relative;
        top:-99px;
    }
}
@media only screen and (max-width: 414px) {
    .gates-wrapper {
        height: 440px;
        overflow: hidden;
    }
    .gates-slider__intro {
        font-size: 20px;
        width: 150px;
        position: relative;
        top: -40px;
    }
    .gates-slider__prod-img {
        position: relative;
        top: -180px;
    }
    .gates-slider__prod-img__img {
        width: 140px;
    }
    .gates-slider__prod-title {
        position: relative;
        top: -171px;
        font-size: 20px;
        line-height: 20px;
    }
    .gates-slider__prod-cta {
        position: relative;
        top: -178px;
    }
    .gates-slider__button--next {
        position: relative;
        top:-209px;
    }
}
@media only screen and (max-width: 360px) {
    .gates-wrapper {
        height: 440px;
        overflow: hidden;
    }
    .gates-slider__prod-img {
        position: relative;
        top: -180px;
    }
    .gates-slider__prod-title {
        position: relative;
        top: -171px;
    }
    .gates-slider__prod-cta {
        position: relative;
        top: -178px;
    }
    .gates-slider__button--next {
        position: relative;
        top:-209px;
    }
}
@media only screen and (max-width: 320px) {
    
    .gates-slider__prod-img {
        position: relative;
        top: -180px;
    }
    .gates-slider__prod-title {
        position: relative;
        top: -171px;
    }
    .gates-slider__prod-cta {
        position: relative;
        top: -178px;
    }
    .gates-slider__button--next {
        position: relative;
        top:-209px;
    }
}
