/*
Theme Name: newmoon-wp
Theme URI: https://newmoonproduction.com/
Author: New Moon
Author URI: https://newmoonproduction.com/
Description: A custom theme for newmoon website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: newmoon-theme
*/

/*--------------------------------------------------------------
# adding custom font-faces
--------------------------------------------------------------*/

@font-face {
    font-family: Lato;
    src: url("fonts/Lato.ttf") format("truetype");
}

@font-face {
    font-family: Oswald;
    src: url("fonts/Oswald.ttf") format("truetype");
}

@font-face {
    font-family: Poppins;
    src: url("fonts/Poppins.ttf") format("truetype");
}

/*--------------------------------------------------------------
# overwriting plugins style rules  
--------------------------------------------------------------*/

/*--
--- changing background of simple lightbox from white to black
 */
.sl-overlay {
  background: black!important;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

header {
    -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    -moz-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    -ms-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    -o-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
    box-shadow: rgb(10 12 40 / 70%) 0px 0px 25px;
}

.navbar-collapse.show {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 4px solid rgba(255, 255, 255, 0.3);
    height: 100vh;

}

.navbar-collapse.show .nav-item {
    display: block;
    width: 100%;
    text-align: center;
}

.navbar-collapse.show .socialIcons {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 4px solid rgba(255, 255, 255, 0.3);
}

.navbar-collapse.show .socialIcons a {
    margin-top: 20px;
    width: 100%;
    text-align: center;

}

.navbar-collapse.show .socialIcons a:hover {
    transform: translateY(0px);
    border: 0;
    text-shadow: 0;
}

.navbar-collapse.collapsing {
    display: none;
}

.socialIcons {
    position: absolute;
    right: 0;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
}

a,
button {
    font-family: 'Lato', sans-serif;
}

footer a {
    color: rgba(203, 227, 255, .5)
}

footer a:hover {
    color: rgba(203, 227, 255, 1);
}

body,
p {
    font-family: 'Lato', sans-serif;
}

.section-news-heading h3 a {
    font-size: 22px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #5a5a5a;
    padding-bottom: 15px;


}

.section-news-heading .btn {
    color: #2a1a47;
    text-transform: uppercase;
}

.section-news-heading img {
    border-radius: 6px 36px;
}


.carousel-caption .moon-button,
.moon-button {
    text-shadow: 2px 2px 0 rgb(0, 0, 0, 5);
    font-size: 1.4rem;
}

.carousel-caption .moon-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-caption .moon-button:focus,
.moon-button:focus {
    text-shadow: 3px 3px 0 rgb(0, 0, 0, 0);
}


.games-stores-btn {
    box-shadow: none;
    width: 38px;
    height: 38px;
    opacity: 0.7;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: 18px 18px;
    padding: 3px;
    border: 1px solid #444;
    -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    -moz-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    -ms-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    -o-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
}

.games-stores-btn:hover {
    opacity: 1;
}

.games-stores-btn.store-apple {
    background-image: url(images/misc/apple.png);
}


.games-stores-btn.store-google {
    background-image: url(images/misc/google-play.png);
}


.games-stores-btn.store-windows {
    background-image: url(images/misc/microsoft.png);
}

.games-stores-btn.store-steam {
    background-image: url(images/misc/steam.png);
}

.games-stores-btn.store-amazon {
    background-image: url(images/misc/amazon.png);
}

.games-stores-btn.store-web {
    background-image: url(images/misc/web.png);
}

/* Parallax */

.parallax {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.parallax__layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.parallax__layer--base {

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transform: translateZ(90px) scale(1.1);
    transform: translateZ(90px) scale(1.1);
    z-index: 1;
    background: url(images/characters-bottom-careers.png) fixed no-repeat bottom right;
}

.parallax__layer--back {
}

.bg-space {
    background: url(images/stars-hd.png) fixed no-repeat bottom right;
    background-size: cover;
}

/* Backgrounds */

.section-bg-careers {

    background-size: 960px auto;
    color: rgba(203, 227, 255, .75);


}

.section-bg-careers .subtitle-paragraph::before {
    left: 0;
    margin: 0;
}


.section-bg-careers p {
    color: #fff
}

.section-bg-careers img {
    right: 0;
    position: absolute;
    bottom: 0;
}

.section-bg-careers a {
    color: rgba(203, 227, 255, 1);
    border-color: rgba(203, 227, 255, .5);


}


.footer-top-links {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);

}

.footer-top-links h3 {
    color: #f8f9fa;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 22px;

}


.footer-social-container svg {
    margin-top: -3px;
    padding-right: 5px;
    width: 24px;
    height: 24px;

}


footer a,
.footer-top-links a {
    font-family: 'Poppins', sans-serif;
    text-transform: none;
}

.footer-top-links h3:before {
    position: absolute;
    left: 0;
    top: auto;
    bottom: 0;
    height: 2px;
    width: 80px;

    background: rgba(255, 255, 255, 0.3);
    content: "";
}


.footer-top-links:after {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    content: "";
}


.float-to-top {
    float: right;
}

.float-to-top span,
.float-to-top svg {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-left: 5px;
}


.about-us-caption {
    height: 60vh;
}

.about-us-caption h1 {
    -webkit-text-stroke: 0px #2c2c2c;
}

.about-us-caption p {
    color: #fff;
    font-size: 32px;
}

.about-us-caption .btn-transparent {
    color: rgba(203, 227, 255, 1);
    font-family: 'Poppins', sans-serif;
    text-transform: none;
}

.about-us-caption .btn-transparent:hover {
    color: rgba(203, 227, 255, 0.5);
    font-family: 'Poppins', sans-serif;
    text-transform: none;
}


@media (max-width: 1280px) {
    .mainNav ul li a {
        font-size: 18px;
    }

    .logo {
        width: 160px
    }

    .socialIcons .btn {
        padding: 0;
        margin-left: 20px;
    }


}

@media (max-width: 1680px) {
    .carousel-item > img.characterImage {
        max-width: 70%;
    }


}

@media (max-width: 800px) {
    .nav {
        width: 100%;
    }


}

@media (max-width: 640px) {
    .carousel-item > img.characterImage {
        display: none;
    }


}


@media (max-width: 992px) {
    .footer-links-list,
    .footer-social-container {
        text-align: center;
    }

    .footer-links-list img {
        max-width: 240px;

    }

    footer h3 {
        text-align: center;
        padding-top: 25px !important;
    }

    .footer-top-links h3:before {
        left: 50%;
        width: 420px;
        margin-left: -210px;
    }

    .float-to-top {
        float: none;
        margin: 50px auto 0;
    }

    .games-stores-btn {
        width: 96px;
        margin-top: 20px;
        height: 96px;
    }
}


/* Animations */

.delay-1 {
    animation-delay: .25s;
}

.delay-2 {
    animation-delay: .5s;
}

.delay-3 {
    animation-delay: .75s;
}

.delay-4 {
    animation-delay: 1s;
}

.delay-5 {
    animation-delay: 1.5s;
}

.delay-6 {
    animation-delay: 2.5s;
}


.delay-b-1 {
    animation-delay: .5s;
}

.delay-b-2 {
    animation-delay: .15s;
}

.delay-b-3 {
    animation-delay: .25s;
}

.delay-b-4 {
    animation-delay: .30s;
}

.delay-b-5 {
    animation-delay: .5s;
}

.delay-b-6 {
    animation-delay: 2.5s;
}


a.anchor {
    display: block;
    position: relative;
    top: -250px;
    visibility: hidden;
}




