/*=== Common ===*/

html,
body {
    margin: 0px;
    padding: 0px;
}

html {
    scroll-behavior: smooth;

}

body {
    margin: 0 auto;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

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

a {
    color: rgb(63, 63, 63);
    text-decoration: none;
}

a:hover {
    color: red;
}

button {
    cursor: pointer;
    background: red;
    border: 0;
    border-radius: .375em;
    font-size: 1rem;
    color: white;
    padding: 10px;
    width: 245px;
}

button:hover {
    background-color: rgb(163, 39, 39);
}


.white-text {
    color: white;
}

.mg-lf {
    margin-left: auto;
}

.text-center {
    text-align: center;
}

.inactive-regular {
    background-color: rgba(128, 128, 128, 0.541);
    pointer-events: none;
}

.inactive-bordered {
    border: 1px solid rgba(128, 128, 128, 0.733) !important;
    color: rgba(128, 128, 128, 0.733) !important;
    pointer-events: none;
    background: transparent;
}

.btn-link {
    color: red;
    font-size: 1.5em;
}

.btn-link:hover {
    color: rgb(163, 39, 39);
}

.btn-bordered {
    background-color: transparent;
    border: 1px solid red;
    color: red;
}

.btn-bordered:hover {
    background-color: red;
    /* border: 1px solid red; */
    color: white;
}

h1 {
    margin-bottom: 2em;
    font-size: 2em;
}

/*=== Navigation ===*/

nav {
    z-index: 1;
    position: fixed;
    background: black;
}

#mainNav.scrolled {
    background-color: white !important;
    transition: background-color 200ms linear;
}

#mainNav.scrolled a {
    color: black;
}

#mainNav.scrolled a:hover {
    color: red;
}

#mainNav.navbar-shrink .nav-link:active {
    color: #467370;
}

#mainNav.scrolled a.active {
    /* color: #64a19d; */
    outline: none;
    border-bottom: 0.25rem solid #64a19d;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding-right: 40px;
    font-size: 1.2em;
    border-radius: 4px;
    /* transition: all 0.3s linear; */
}

@media only screen and (max-width: 600px) {
    nav {
        font-size: 0.5em;
        padding: 0;
    }
}

nav li {
    padding: 20px;
    opacity: 70%;
}

nav a {
    color: white;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

nav a:hover {
    opacity: 100%;
    color: red;
}

.sticky {
    position: fixed;
    z-index: 3;
    top: 0;
    width: 100%;
}


/*=== Header ===*/

header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 75%, #000000 100%), url("/assets/images/bg-smash.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: auto;
    min-height: 35rem;
    color: white;
}

/* header animation */
.img-animation-wrapper {
    position: relative;
}

.img-animation-wrapper::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #fff;
    z-index: 1;
}

.img-animation-wrapper::after {
    content: "";
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #f6f7f9;
    z-index: 2;
}

.img-animated::before {
    animation: img-cover-opacity 0.1s 0.5s forwards;
}

.img-animated::after {
    animation: img-cover-enter 0.5s ease-in-out forwards, img-cover-props 0s 0.5s forwards, img-cover-out 0.5s 0.5s ease-in-out forwards;
}

@keyframes img-cover-enter {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes img-cover-props {
    from {
        left: auto;
        right: 0;
    }

    to {
        left: auto;
        right: 0;
    }
}

@keyframes img-cover-out {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

@keyframes img-cover-opacity {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* content for the sections (page content) */
.hero,
.content {
    text-align: center;
    position: relative;
    width: 100%;
}

/* inside all section */
.inner {
    min-height: 1000px;
    position: relative;
}

header .inner {
    background: rgba(0, 0, 0, 0.4) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAD0lEQVQIW2NkQABjRmQOAAM+AGkQsDBSAAAAAElFTkSuQmCC) repeat;
    padding: 15rem 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

header img {
    width: 40%;

}

header h2 {
    font-size: 1.2rem;
}

@media only screen and (min-width: 900px) {
    header h2 {
        font-size: 1.5rem;
        padding: 0;
    }
}

@media only screen and (max-width: 600px) {
    header h2 {
        font-size: 1rem;
        padding: 0 20px;
    }
}

.mouse {
    display: block;
    margin: 0 auto;
    width: 26px;
    height: 46px;
    border-radius: 13px;
    border: 2px solid white;
    position: absolute;
    bottom: 100px;
    position: absolute;
    left: 50%;
    margin-left: -26px;
}

.mouse span {
    display: block;
    margin: 6px auto;
    width: 2px;
    height: 2px;
    border-radius: 4px;
    background: white;
    border: 1px solid transparent;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: scroll;
    animation-name: scroll;
}

@-webkit-keyframes scroll {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
        transform: translateY(20px);
    }
}


.vid-bg {
    background: #000000;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.vid-bg #myvid, .vid-fg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-sizing: border-box;
}

.vid-fg {
    /* padding-bottom: 56.25%; */
    box-sizing: border-box;
    margin-top: -50px;
}

.vid-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.6;
    box-sizing: border-box;
}

@media (min-aspect-ratio: 16/9) {
    .video-foreground { height: 300%; top: -100%; }
  }
  @media (max-aspect-ratio: 16/9) {
    .video-foreground { width: 300%; left: -100%; }
  }
  @media all and (max-width: 600px) {
  .vid-info { width: 50%; padding: .5rem; }
  .vid-info h1 { margin-bottom: .2rem; }
  }
  @media all and (max-width: 500px) {
  .vid-info .acronym { display: none; }
  }

/*=== Sections ===*/

/* section {
    margin-right: auto;
    margin-left: auto;
    display: block;
    padding: 5rem 10rem;
} */

.container {
    margin-right: auto;
    margin-left: auto;
    display: block;
    padding: 5rem 10rem;
}

section .inner {
    background: rgba(0, 0, 0, 0.5) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAD0lEQVQIW2NkQABjRmQOAAM+AGkQsDBSAAAAAElFTkSuQmCC) repeat;
    padding: 15rem 0;
    /* text-align: center; */
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 600px) {
    .container {
        padding: 5rem 5rem;
    }
}

/*=== About ===*/
#about {
    text-align: center;
    padding-top: 1rem;
    line-height: 2em;
    color: #929292;
    background-color: black;
}

#about p {
    font-size: 1.2em;
}

#about p a {
    color: #b97e7e;
}

/*=== Games ===*/
#games {
    background: url("/assets/images/bg-supermario.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

@media only screen and (max-width: 600px) {
    #games {
        text-align: center;
    }
}

#games .inner {
    padding: 0;
    min-height: 830px;
}

#games a {
    color: white;
}

#games a:hover {
    color: red;
}

#games img {
    width: 245px;
    border: 1px solid #dadada;
    border-radius: .375em;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    grid-gap: 20px;
}

.card {
    margin: 10px;
}


/*=== News ===*/
#news {
    background-color: #f6f6f6;
}

#news h1 {
    margin-bottom: 2rem;
}

#news .btn-link {
    float: right;
    margin-left: 700px;
}

#news .btn-bordered {
    float: right;
    margin-left: 700px;
}

@media only screen and (max-width: 600px) {
    #news .btn-bordered {
        margin-top: 30px;
        margin-left: 0;
        float: none;

    }
}

#news .btn-link img {
    width: 30px;
}

@media only screen and (max-width: 600px) {
    #news .btn-link {
        font-size: 100%;
        width: 200px;
        margin: 20px;
        /* margin-left: 900px; */
    }

    #news .btn-link img {
        /* mar */
        width: 25px;
    }
}

.news-feed-heading {
    font-size: 2.5rem;
}

#news div:hover {
    color: red;
    /* border: 1px solid rgb(63, 63, 63);; */
}

#news h3 {
    margin-bottom: 7px;
}

#news h3 span {
    font-size: 0.7em;
    font-weight: 400;
    color: gray;
}

#news hr {
    color: rgba(128, 128, 128, 0.219);
}

.img-centered img {
    margin-top: -60px;
    /* margin-bottom: 15px; */
    padding: 0 55px;
    width: 700px;
}

.img-centered #poke {
    width: 350px;
    float: right;
    margin-top: -150px;
}

@media screen and (max-width: 768px) {
    .feed-item-heading {
        font-size: 1.25rem !important;
    }
}

/*=== Support ===*/
#support {
    margin-top: -4.5em;
    /* background: url("/assets/images/smash.png"); */
    /* background-color: transparent; */
    /* background: url("/assets/images/bg-mario-pattern.jpg"); */
    /* background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 8 8'%3E %3Ccircle cx='1' cy='1' r='1' opacity='0.25' /%3E %3Ccircle cx='5' cy='5' r='1' opacity='0.25' /%3E %3C/svg%3E"); */
    /* SVG encoded with https://cdpn.io/rrOZQQ */
}

#support .inner {
    background: rgba(250, 250, 250, 0.4) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAD0lEQVQIW2NkQABjRmQOAAM+AGkQsDBSAAAAAElFTkSuQmCC) repeat;
    padding: 1rem 0;
    min-height: 0;
}

#support h1 {
    margin-bottom: 1rem;
}

#support span {
    color: gray;
}

/* #support button{
    background-color: transparent;
    border: 1px solid red;
    color: red;
} */

/*=== Footer ===*/

footer {
    background-color: #afafaf;
    text-align: center;
    height: 200px;
    padding: 20px;
    text-align: center;
}

footer img {
    width: 150px;
    float: left;
}

.scrollTop {
    position: fixed;
    right: 10%;
    bottom: 10px;
    background-color: #BE3F48;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s ease-in-out 0s;
}

.scrollTop a {
    font-size: 18px;
    color: #fff;
}

/*=== Extra Animation Code ===*/
/* animation for navbar */
.animate-reveal {
    /* font: bold 1.5em sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px; */
    opacity: 0;
    -webkit-animation: reveal 1s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
    -moz-animation: reveal 1s ease-in 1 normal forwards;
    -o-animation: reveal 1s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
    animation: reveal 1s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
}

.animate-first {
    -webkit-animation-delay: 0;
    -moz-animation-delay: 0;
    -o-animation-delay: 0;
    animation-delay: 0;
}

.animate-second {
    -webkit-animation-delay: 500ms;
    -moz-animation-delay: 500ms;
    -o-animation-delay: 500ms;
    animation-delay: 500ms;
}

.animate-third {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    -o-animation-delay: 1s;
    animation-delay: 1s;
}

.animate-forth {
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    -o-animation-delay: 2s;
    animation-delay: 2s;
}

@-webkit-keyframes reveal {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -o-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

@-moz-keyframes reveal {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -o-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

@-o-keyframes reveal {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -o-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes reveal {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -o-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

/* animation ends */