/* Custom Stylesheet */
html {
    min-width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}
.left{
    float:left;
}
.left-mobile {
    float: left;
}
.right {
    float: right;
}
.right-mobile {
    float: right;
}
body {
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 100%;
    position: absolute;
    background-color: #081929;
}
button, a.btn, button:hover, a.btn:hover, a.btn:active, a.btn:visited, a.btn:not(:disabled):not(.disabled):active {
    border-radius: .25rem!important;
    border-color: transparent !important;
}
hr.stylish {
    overflow: visible; /* For IE */
    height: 15px;
    border-style: solid;
    border-color: #dda74c;
    border-width: 1px 0 0 0;
    border-radius: 20px;
    margin-bottom: 0px;
    margin-top: 10px;
    width: 100%;
}

    hr.stylish:before { /* Not really supposed to work, but does */
        display: block;
        content: "";
        height: 15px;
        margin-top: -15px;
        border-style: solid;
        border-color: #dda74c;
        border-width: 0 0 1px 0;
        border-radius: 20px;
    }
.container {
    color: white;
    margin-top: -75%;
    /*position: relative;*/
}
    .container .content {
        padding: 8px 16px;
        border-radius: 15px;
        background-color: rgba(0, 0, 0, 0.3);
        border: 1px solid #dea84c;
    }
    .container .title {
        width: 100%;
    }
.floating-title {
    position: absolute;
    width: 100%;
    top: 40%;
    z-index: 99999999;
    text-align: center;
    font-size: 50px;
    color: white;
    text-shadow: 4px 4px 3px rgba(0,0,0,0.5);
}
    .floating-title:hover {
        color: white;
        text-decoration:none;
    }
.nav-link.secondary {
    color: #fafafa;
}
    .nav-link.secondary.active {
        color: #FFFFFF;
        /*background-color: #545b62;
        border-color: #4e555b;*/
    }
/* FADE OUT MASK */
.fade-right {
    -webkit-mask-image: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,1)), color-stop(0.75, rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    mask: url(#fade_right_svg_mask);
}
.fade-left {
    -webkit-mask-image: -webkit-gradient(linear, right top, left top, from(rgba(0,0,0,1)), color-stop(0.75, rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    mask: url(#fade_left_svg_mask);
}
.fade-left:hover {
    -webkit-mask-image: -webkit-gradient(linear, right top, left top, from(rgba(0,0,0,1)), color-stop(0.75, rgba(0,0,0,1)), to(rgba(0,0,0,1)));
    mask: url(#fade_left_svg_mask);
}
/* CHEVRON */

.chevron-container {
    display: block;
    width: 100px;
    margin: auto;
    top: 55%;
    position: sticky;
    z-index: 99999;
}

.chevron {
    position: absolute;
    width: 40px;
    height: 20px;
    opacity: 0;
    transform: scale(0.3);
    animation: move-chevron 3s ease-out infinite;
}

    .chevron:first-child {
        animation: move-chevron 3s ease-out 1s infinite;
    }

    .chevron:nth-child(2) {
        animation: move-chevron 3s ease-out 2s infinite;
    }

    .chevron:before,
    .chevron:after {
        content: '';
        position: absolute;
        top: 0;
        height: 100%;
        width: 50%;
        background: #ffffff;
    }

    .chevron:before {
        left: 0;
        transform: skewY(30deg);
    }

    .chevron:after {
        right: 0;
        width: 50%;
        transform: skewY(-30deg);
    }

@keyframes move-chevron {
    25% {
        opacity: 0.5;
    }

    33.3% {
        opacity: 1;
        transform: translateY(1px);
    }

    66.6% {
        opacity: 1;
        transform: translateY(15px);
    }

    100% {
        opacity: 0;
        transform: translateY(30px) scale(0.5);
    }
}

/* FRAME */
.frame {
    z-index: 1031;
    position: fixed;
    pointer-events: none;
}

#frame-left {
    left: 0;
    height: 100%;
    width: 15px;
    background-image: url(../images/frame/frame-left.png);
    image-rendering: pixelated;
    background-repeat-x: no-repeat;
    background-repeat-y: repeat;
}
    
#frame-right {
    right: 0;
    height: 100%;
    width: 15px;
    background-image: url(../images/frame/frame-right.png);
    image-rendering: pixelated;
    background-repeat-x: no-repeat;
    background-repeat-y: repeat;

}
    
#frame-top {
    width: 100%;
    height: 42px;
    background-image: url(../images/frame/frame-big-top.png);    
    image-rendering: pixelated;
    background-repeat-x: repeat;
    background-repeat-y: no-repeat;
}
#frame-top-left {
    top: 0;                 
    left: 0;
}
#frame-top-right {
    top: 1px;
    right: 0;
}

/* NAVBAR */

.navbar {
    padding-top: 60px;
    background: rgba(0,0,0,0.5)
}
.navbar-brand {
    height: 32px;
    text-align: center;
}
.nav-item:last-child {
    padding-right: 24px;
}
.nav-item a {
    margin-left: 8px;
    transition: background-color .3s ease-out;
    padding: .5rem 1rem;
}
.nav-pills .nav-link {
    border: 1px solid #007bff85;
}
/* PARALLAX */
.parallax-container {
    width: 100%;
    overflow: hidden;
    margin: 0;
    margin-top: 36px;
}

.scene {
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 200%;
    margin-left: -50%;
    height: 100%;
}

.expand-width {
  width: 100%;
}

.layer img {
    display: block;
    padding: 0;
    margin: 0;
}
.layer:nth-child(1) img {
    height: 115%;
    width: 115%;
    margin-left: -7.5%;
    margin-top: -7.5%;
}
.layer:nth-child(2) img {
    height: 109%;
    width: 109%;
    margin-left: -4.5%;
    margin-top: -4.5%;
}
.layer:nth-child(3) img {
    height: 107%;
    width: 107%;
    margin-left: -3.5%;
    margin-top: -3.5%;
}
.layer:nth-child(4) img {
    height: 105%;
    width: 105%;
    margin-left: -2.5%;
    margin-top: -2.5%;
}


/* SOCIAL MEDIA STICKER WIDGETS */
.sticky-container{
    padding: 0px;
    margin: 0px;
    position: fixed;
    right: -120px;
    top: 130px;
    width: 200px;
    z-index: 999999999;
}
.sticky li{
    list-style-type: none;
    background-color: rgba(0,0,0,0.8);
    color: #efefef;
    height: 43px;
    padding: 0px;
    margin:0px 0px 1px -3px;
    -webkit-transition:all 0.25s ease-in-out;
    -moz-transition:all 0.25s ease-in-out;
    -o-transition:all 0.25s ease-in-out;
    transition:all 0.25s ease-in-out;
    cursor: pointer;
}
.sticky li:hover{
    margin-left: -115px;
}
.sticky li img{
    float: left;
    margin: 5px 5px;
    margin-right: 10px;
}
.sticky li p{
    padding: 0px;
    margin: 0px;
    text-transform: uppercase;
    font-size:13px;
    line-height: 43px;
    font-weight: bold;
}
.sticky a{
    text-decoration: none;
}
    
#facebook-widget,
#discord-widget {
    width: 500px;
    padding: 0px;
    margin: 0px;
    position: fixed;
    bottom: -500px;
    z-index: 999999999;
    right: 12px;
}
#facebook-widget iframe,
#discord-widget iframe {
    position: fixed;
    z-index: 999999999999;
    border: none;
}
.widget-container {
    height: 500px;
    list-style-type: none;
    background-color: none;
    color: #efefef;
    padding: 0px;
    margin: 0px 0px 1px 0px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: gray;
    -webkit-filter: grayscale(100%) blur(0.8px) brightness(1.1) contrast(0.8);
}

.widget-container.collapsed {
    margin-bottom: 500px;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(0%) blur(0px) brightness(1) contrast(1);
    z-index: 20;
}
.widget-controller{
    z-index: 9999999999;
    position: absolute;
    top: 0px;
    right: 2px;
    height: 0;
    display: block;
}
.widget-controller span{
    font: 800 18.3333px Arial;
    padding: 0px 7px;
    padding-bottom: 0px;
    background: rgba(255,255,255,0.3);
    color: white;
    text-shadow: none;
    -webkit-text-decorations-in-effect: blink;
}
.widget-controller button{
    margin-left: 1px;
}
.widget-controller .close:focus{
    outline: none;
}

/* WAYPOINT ANIMATIONS */

.waypoint-hero img {
    display:none;
}

@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}
@keyframes fadeOut {
    100% {
        opacity: 0;
    }
}

@keyframes flipInX {
    from {
        -webkit-transform: perspective(400px) rotateY(90deg);
        transform: perspective(400px) rotateY(90deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0;
    }

    40% {
        -webkit-transform: perspective(400px) rotateY(-20deg);
        transform: perspective(400px) rotateY(-20deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    60% {
        -webkit-transform: perspective(400px) rotateY(10deg);
        transform: perspective(400px) rotateY(10deg);
        opacity: 1;
    }

    80% {
        -webkit-transform: perspective(400px) rotateY(-5deg);
        transform: perspective(400px) rotateY(5deg);
    }

    to {
        -webkit-transform: perspective(400px);
        transform: perspective(400px);
        opacity: 1;
    }
}

@keyframes popDown {
    0% {
        transform: translateY(-100px);
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(300px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-300px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-300px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(300px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toBottomFromTop {
    49% {
        transform: translateY(100%);
    }

    50% {
        opacity: 0;
        transform: translateY(-100%);
    }

    51% {
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    60% {
        opacity: 1;
        transform: scale(1.05);
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.waypoint {
    opacity: 0;
}

.animated.slide-up {
    animation: slideUp .75s ease both;
}

.animated.slide-down {
    animation: slideDown .75s ease both;
}

.animated.slide-in-left {
    animation: slideInLeft .75s ease both;
}

.animated.slide-in-right {
    animation: slideInRight .75s ease both;
}

.animated.flip-in-x {
    animation: flipInX .75s ease both;
}

.animated.pop-in {
    animation: popIn 1s both;
}

.animated.fade-in {
    animation: fadeIn .75s ease both;
}

.animated.fade-out {
    animation: fadeOut 1.2s ease both;
}
