/*------------------------------------------------------------------
[Main Stylesheet]

Author: AtypicalThemes
Template: STRIDER 2 - Video Game Studio

-------------------------------------------------------------------
Table of contents

    -General
    -Loading Screen
    -Cookie Management
    -Header & Navigation
    -Hero Section
    -Latest Game Section
    -Games Section
    -Team Section
    -Contact Section
    -Footer
    -Careers Page
    -Policy Pages
    -404 Page

Colors used:
    #B22222
    #66CC33
    #F9CA24

-------------------------------------------------------------------*/

/* --------------------------- /////////// GENERAL /////////// --------------------------- */
/* -Resets- */
html, body { 
    color: #FFF;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/bg.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-size: 16px;
    font-family: 'Varela Round', sans-serif;
    overflow-x: hidden;
}

.background-blur {
    background: transparent;
    backdrop-filter: blur(5px);
}

.highlight {
    color: #B22222;
}

.hidden {
    opacity: 0;
}

.visible {
    opacity: 1;
}

.socials {
    margin-top: 0.625rem;
}

.socials li {
    display: inline;
    margin-right: 0.9375rem;
}

.socials li i {
    transition: 0.3s;
}

/* -Link Styling- */
a {
    color: #B22222;
    font-family: 'Montserrat', sans-serif;
	text-decoration: none;
    transition: 0.3s;
}

a:visited {
    color: #B22222;
    text-decoration: none;
}

a:hover:not(.nav-link, .socials li a) {
	text-decoration: underline;
}

a:active {
    color: #FFF;
    text-decoration: underline;
}

a:focus {
    color: #FFF;
    text-decoration: none;
}

a:link {
    color: #B22222;
}

a.button, .modal a.button {
    color: #222;
}

a.button:hover, .modal a.button:hover {
    color: #FFF;
}

/* -Text Styling */
h1,h2,h3,h4,h5,h6 {
	font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

h1 {
    font-size: 3rem;
} 

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    font-family: 'Varela Round', sans-serif;
    font-size: 1rem; /* 16px */
    padding: 0.3125rem 0.3125rem 0.3125rem 0;
    font-weight: 400;
}

.loader-logo, #main-logo {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    letter-spacing: 0.5rem;
}

.strong {
    font-weight: bold;
}

.uppercase {
    text-transform: uppercase;
}

.capitalized {
    text-transform: capitalize;
}

.spaced {
    letter-spacing: 0.3125rem;
}

.subtle {
	color: #999;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

ul {
    margin: 0.625rem 0;
    list-style: none;
    padding: 0;
}

/* -Margins and Floats- */
.floated-left {
     float: left;
}

.floated-right {
    float: right;
}

.inline {
	display: inline;
}

.tiny-margin {
    margin-bottom: 3rem;
}

.small-margin {
	margin-bottom: 6rem; 
}

.medium-margin {
	margin-bottom: 9rem; 
}

.large-margin {
	margin-bottom: 12rem; 
}

/* -hr- */
hr {
    width: 100%;
    height: 1px;
    color: #FFF;
    margin: 1rem auto;
}

/* -General Button Styles */
button {
    outline: none !important;
}

.button {
    height: auto;
    width: auto;
    margin: 1.25rem auto;
    padding: 0.625rem 0.9375rem;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #222;
    border: none;
    border-radius: 5px;
    background: #FFF;
	display: inline-block;
    outline: none;
	transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
}

.button:visited {
    color: #222;
}

.button:hover {
    text-decoration: none !important;
    color: #FFF;
    background: #B22222;
}

.button:focus {
    color: #222;
}

.help-block {
    font-size: 0.75rem;
}

/* --------------------------- /////////// LOADING SCREEN /////////// --------------------------- */
/* -Loading Screen- */
#loader-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    text-align: center;
    z-index: 1050;
}

#loader-wrapper .flex-wrapper {
    width: 100%;
}

.loader-logo {
    color: #FFF;
    font-size: 3rem;
}

#progress {
    width: 0;
    height: 2px;
    background: #B22222;
}

.loader-text {
    color: #FFF;
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* -Loading Screen Animation- */
.content-loaded {
    transform: translate3d(0px, -100%, 0px);
    transition: all 0.5s ease;
}

/* --------------------------- /////////// NEWSLETTER MODAL /////////// --------------------------- */
#newsletter-modal .modal-body {
    padding: 2rem;
}

#newsletter-modal .btn-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: #FFF;
    opacity: 1;
    padding: 10px;
    transition: 0.3s;
}

#newsletter-modal .btn-close:hover {
    background-color: #333;
}

#newsletter-modal #newsletter {
    margin-bottom: 1rem;
    height: 50px;
    width: 80%;
    border-radius: 5px;
    border: none;
}

#newsletter-modal .button {
    margin: 0.5rem;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #FFF inset !important;
    -webkit-text-fill-color: #000 !important;
}

/* --------------------------- /////////// COOKIE MANAGEMENT /////////// --------------------------- */
#policy-message, .policy-notice-bar {
    position: fixed;
    width: 100%;
    background-color: #111;
    color: #fff;
    z-index: 1060;
    transition: 0.5s ease;
    border-top: 1px solid #B22222;
}

#policy-message {
    bottom: -50%;
    height: 60px;
    padding: 12px;
    text-align: center;
}

#policy-message.open {
    bottom: 0;
}

.policy-notice-bar {
    height: auto;
    bottom: -50%;
    padding: 1rem;
}

.policy-notice-bar a {
    color:#B22222;
}

.policy-notice-bar a:hover {
    text-decoration: underline;
}

.policy-notice-bar.open {
    bottom: 0;
}

.policy-notice-bar p, #policy-message p {
    display: inline-block;
    margin-bottom: 0;
}

.policy-notice-bar .close, #close-policy-message {
    background-color: #FFF;
    color: #000;
    float: right;
}

.policy-bar-buttons {
    display: inline-block;
}

.policy-notice-bar button {
    display: inline-block;
    margin-left: 1rem;
}

.policy-notice-bar button, .policy-notice-bar .close, #close-policy-message {
    padding: 5px 10px;
    transition: 0.3s;
    border: none;
    border-radius: 2px;
}

.policy-notice-bar button:hover, .policy-notice-bar .close:hover, #close-policy-message:hover {
    background-color: #B22222;
    color: #FFF;
}

.checkbox-wrapper {
    margin: 1rem 0;
}

.checkbox {
    font-size: 0.875rem;  
}

#policy-modal {
    color: #FFF;
}


/* --------------------------- /////////// HEADER AND NAVIGATION /////////// --------------------------- */
#main-logo {
    color: #fff;
    font-size: 1.6rem;
    margin: 0 1.25rem;
    text-decoration: none;
    max-height: 100px;
    width: auto;
}

.navbar {
    transition: 0.3s;
}

.navbar-nav .nav-item a {
    color: #FFF;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #B22222;
}

.navbar-nav {
    margin-top: 0;
}

.fixed-top {
    z-index: 90;
}

.flex {
    display: flex;
}

.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 90;
}

/* Dropdown Menu */
.navbar-collapse .dropdown-menu {
	margin-top: 0.625rem;
	border: none;
	border-radius: 4px;
	background-color: rgba(0, 0, 0, 0.6); 
}

.navbar-collapse .dropdown-item {
	color: #fff;
	text-decoration: none;
}

.navbar-collapse .dropdown-item:hover {
	background: none; 
}

.navbar-collapse .dropdown-item .item-text {
	font-size: 0.875rem;
    transition: all 0.3s ease;
}

.navbar-collapse .dropdown-item:hover .item-text {
	letter-spacing: 2px;
}

.navbar-collapse .dropdown-items-divide-hr {
	width: 100%;
	height: 1px;
	margin: 0.25rem auto 0.25rem auto;
	border: none;
	background-color: #b5bcc4;
	opacity: 0.2;
}

/* Menu icon for mobile */
.navbar-toggler {
    border: none;
    cursor: pointer;
}
.navbar-toggler:focus {
    box-shadow: none;
}

#hamburger .icon-bar {
    display: block;
    height: 0.125rem;
    width: 1.5625rem;
    background: #FFF;
    margin: 0.4375rem 0;
    transition: .3s ease-in-out;
}

/* - Mobile menu animation - */
#hamburger .icon-bar:nth-child(1) {
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#hamburger .icon-bar:nth-child(2) {
   -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#hamburger .icon-bar:nth-child(3) {
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#hamburger.open .icon-bar:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#hamburger.open .icon-bar:nth-child(2) {
    width: 0%;
    opacity: 0;
}

#hamburger.open .icon-bar:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}


/* --------------------------- /////////// HERO SECTION /////////// --------------------------- */
.hero-section {
    min-height: 100vh;
    height: auto;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/hero.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-caption {
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero-caption h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    font-size: 4.5rem;
}

/* --------------------------- /////////// ABOUT SECTION /////////// --------------------------- */
.about-section img {
    border-radius: 10px;
}
/* --------------------------- /////////// GAMES SECTION /////////// --------------------------- */
.game-tags button {
    background: none;
    border: none;
    color: #FFF;
    font-size: 1.4rem;
    transition: 0.3s;
}

.game-tags button:hover {
    color: #B22222;
}

.game-tags li {
    position: relative;
    display: inline-block;
}

.divider {
    font-size: 1.4rem;
}

.game-genre, .rating, .price, .purchase-button {
    display: inline-block;
}

.rating {
    float: right;
}

.rating span {
    background-color: #66CC33;
    padding: 5px;
    border-radius: 5px;
    margin-right: 5px;
}

.rating li {
    display: inline;
}

.rating i {
    color: #F9CA24;
}

.game-card {
    margin-left: auto;
    margin-right: auto;
}

.game-card .col-lg-6:first-of-type {
    position: relative;
}

.game-card .button {
    margin-right: 1rem;
}

.gallery-icon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: #FFF;
    opacity: 0;
    transition: 0.3s;
    z-index: 2;
}

.game-card img {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.11);
    transition: 0.3s;
    border-radius: 10px;
}

.game-card img:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.10);
    filter: brightness(0.4);
}

.game-card a:hover .gallery-icon {
    opacity: 1;
}

.price {
    font-size: 1.5rem;
    vertical-align: bottom;
    margin-right: 1rem;
}

.discounted {
    text-decoration: line-through;
}

.discount-rate {
    background-color: #66CC33;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1.2rem;
    vertical-align: middle;
}

/* --------------------------- /////////// TEAM SECTION /////////// --------------------------- */
.team-card img {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.11);
    transition: 0.3s;
    border-radius: 10px;
}

.socials.team {
    margin-top: 1.5rem;
}

.socials.team li a {
    font-size: 1.2rem;
}

.socials.team li a i {
    transition: 0.6s;
}

.socials.team li a:hover i {
    transform: rotate(360deg);
}

/* --- /// Careers /// --- */
.job-card {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 6rem 5rem;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: 0.3s;
}

.job-card:hover {
    border-color: #B22222;
}

.job-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.4);
    transition: 0.3s;
    z-index: -1;
}

.job-card:hover img {
    filter: grayscale(0) brightness(0.4);
}

.job-card h4 {
    transform: translateY(30px);
    transition: 0.3s;
}

.job-card:hover h4 {
    transform: translateY(0);
}

.job-card button {
    transform: translateY(35px);
    opacity: 0;
    transition: 0.3s;
}


.job-card:hover button {
    transform: translateY(0);
    opacity: 1;
}

.modal-content {
    background-color: #070707;
}

.skill-list, .job-requirements {
    list-style: none;
    padding: 0;
}

.skill-list li {
    display: inline-block;
    border: 1px solid #B22222;
    border-radius: 20px;
    padding: 5px 15px 7px 15px;
    margin: 5px 5px;
}

.job-requirements li:before {
    content: "\f101";
    color: #B22222;
    display: inline-block;
    width: 1rem;
    margin-left: -10px;
    font-family: fontawesome;
}

.job-requirements li {
    margin: 1rem;
}

.job-requirements li p {
    padding: 0 10px;
    display: inline;
}

.modal-header button {
    background-color: #FFF;
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
}

.modal-footer .button {
    margin: 0 0 0 1rem;
}

/* --- /// Media /// --- */

.gallery-box .col-lg-4{
    overflow: hidden;
    border: 1px solid transparent;
}
.gallery-box img {
    width: 100%;
    transition: 0.5s;
}

.gallery-box img:hover {
    filter: brightness(0.5);
    transform: scale(1.2);
}

/* Lightbox caption style */
.glightbox-clean .gslide-description {
    background-color: rgba(0, 0 ,0 , 0.5);
}
.glightbox-clean .gdesc-inner {
    background-color: transparent;
    padding: 1rem;
}

.glightbox-clean .gslide-title {
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    color: #FFF;
    margin: 0;
}

/* --------------------------- /////////// CONTACT SECTION /////////// --------------------------- */
#contactForm input, #contactForm textarea {
    background: transparent;
    border: none;
    border-bottom: 2px solid #B22222;
    width: 80%;
    margin-bottom: 1.5rem;
    color: #FFF;
}

#contactForm input:focus, #contactForm textarea:focus {
    outline: none;
    border-color: #FFF;
}

#contactForm textarea {
    margin-bottom: 0;
}

#contactForm input:-webkit-autofill,
#contactForm input:-webkit-autofill:hover, 
#contactForm input:-webkit-autofill:focus,
#contactForm textarea:-webkit-autofill,
#contactForm textarea:-webkit-autofill:hover,
#contactForm textarea:-webkit-autofill:focus,
#contactForm select:-webkit-autofill,
#contactForm select:-webkit-autofill:hover,
#contactForm select:-webkit-autofill:focus {
    box-shadow: none !important;
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #FFF !important;
}

.company-info {
    margin-top: 2rem;
}

.company-info li {
    margin-bottom: 0.75rem;
}

.company-info li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    background: rgba(0, 0 ,0 , 0.5);
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

#map-canvas {
    min-height: 500px;
    height: 100%;
    width: 100%;
    background-color: #222;
}

/* --------------------------- /////////// FOOTER /////////// --------------------------- */
#main-footer {
    width: 100%;
    height: auto;
    background-color: #0d0d0d;
    border-top: 2px solid #B22222;
    padding: 10px 0 5px 0;
}

#main-footer a {
    color: #FFF;
}

#main-footer a:hover {
    color: #B22222;
    text-decoration: none;
}

#main-footer .col-lg-3:last-of-type {
    display: flex;
    justify-content: end;
}

.footer-links li {
    display: inline;
    margin: 0 1rem;
}

.footer-links li button {
    background: transparent;
    border: none;
    color: inherit;
    font-family: 'Montserrat', sans-serif;
}

.footer-links li button:hover {
    color: #B22222;
}

#copyright {
    margin: 5px 0 10px 0;
}

/* --------------------------- /////////// POLICY PAGES /////////// --------------------------- */
.extra-page {
    font-size: 0.875rem;
    background: #0d0d0d;
}

.extra-page h3 {
    font-size: 1.5rem;
}

#pmsgSubmit {
    font-size: 1.5rem;
}

.extra-page a {
    color: #B22222;
}

.extra-page a:hover {
    text-decoration: underline;
}

.extra-page .hero-unit {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25rem;
    height: auto;
    background: #222;
    border: none;
}

.extra-page h1 {
    font-size: 3.5rem;
}

.extra-page h2 {
    font-size: 2rem;
}

.text-container ul {
    list-style: circle;
    margin-left: 2.5rem;
}

.text-container ul li {
    margin: 0.3125rem 0;
}

.text-container ol li {
    margin: 0.3125rem 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    background: #171717;
    border: none;
    height: 3.75rem;
}

.breadcrumb {
    border: none;
    background: none;
    margin: 0;
    padding-left: 1rem;
}

.breadcrumb-item.active {
    color: #999;
}

.breadcrumb-item.active::before {
    color: #999;
}

#footer-extra {
    padding-top: 1.5625rem;
    border-top: 1px solid #B22222;
}

#footer-extra .socials li a {
    margin-bottom: 10px;
    color: #FFF;
    transition: 0.3s;
}

#footer-extra .socials li a:hover {
    text-decoration: none;
    color: #B22222;
}


/* --------------------------- /////////// RESPONSIVE STYLES /////////// --------------------------- */
@media (max-width : 1200px) {
    .policy-bar-buttons, .policy-notice-bar .close {
        margin-top: 10px;
    }
}

@media (max-width : 1024px) {
    .navbar {
        background-color: rgba(0, 0, 0, 0.9);
    }

    .navbar-nav {
        padding-left: 1rem;
    }

    .about-section {
        text-align: center;
    }

    .about-section .awards {
        margin-bottom: 2rem;
    }

    .game-card {
        width: 100%;
    }

    .game-card img {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .large-margin {
        margin-bottom: 9rem;
    }

    .team-card {
        text-align: center !important;
    }

    .team-card img {
        margin: 0 auto 1.5rem auto;
    }

    .order-xs-1 {
        order: 1;
    }

    .order-xs-2 {
        order: 2;
    }

    .careers .col-lg-4 {
        margin-bottom: 2rem;
    }

    .contact-box {
        text-align: center;
    }

    #main-footer {
        text-align: center;
    }

    .footer-links li {
        display: block;
    }

    #main-footer .col-lg-3:last-of-type {
        justify-content: center;
    }

    #footer-extra .col-md-4 {
        justify-content: center !important;
        text-align: center;
        padding-bottom: 2rem;
    }
}

@media (max-width : 768px) {
    #policy-bar button {
        display: block;
        margin-top: 1rem;
        margin-left: 0;
    }

    #close-policy-bar {
        float: none;
    }

    #close-policy-message {
        float: none;
        margin-top: 10px;
    }

    .hero-caption h1 {
        font-size: 3rem;
    }

    .game-card {
        text-align: center;
    }

    .game-genre, .rating, .price {
        display: block;
        float: none;
    }

    .price {
        margin-right: 0;
    }

    .features-link {
        display: block;
        margin-top: 1rem;
    }
}

@media (max-width : 692px) {
    #policy-message {
        height: 150px;
    }
}

@media (max-width : 480px) {

    .company-info li {
        text-align: left;
    }

    .company-info li i {
        display: none;
    }
}