/*------------------------------------------------------------------
[Main Stylesheet]

Author: AtypicalThemes
Template: STRIDER 2 - Video Game Studio

-------------------------------------------------------------------
Table of contents

    -General
    -Loading Screen
    -Age Checker
    -Cookie Management
    -Header & Navigation
    -Hero Section
    -Features Section
    -Media Section
    -CTA Section
    -Footer
    -Policy Pages

Colors used:
    #F2BC58

-------------------------------------------------------------------*/

/* --------------------------- /////////// GENERAL STYLES /////////// --------------------------- */
/* - Declaring site colors - */
:root {
    --background-color: #111;
    --text-color: #FFF;
    --accent-color: #F2BC58;
    --subtle-color: #999;
}

/* -Link Styling- */
a {
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
	text-decoration: none;
}

a:visited {
    color: var(--text-color);
}

a:hover {
    color: var(--accent-color);
}

a:active {
    color: var(--accent-color);
}

a:focus {
    color: var(--accent-color);
}

a:link {
    color: var(--text-color);
}

/* -Resets- */
html, body {
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* -Text Styling- */
h1,h2,h3,h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    font-family: 'Inter', sans-serif;
}

.game-page h1, .game-page h2, .game-page h3, .game-page h4 {
    letter-spacing: 5px;
}

.loader-logo, #main-logo {
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.5rem;
    font-weight: 200;
}

.strong {
    font-weight: bold;
}

.uppercase {
    text-transform: uppercase;
}

.capitalized {
    text-transform: capitalize;
}

.spaced {
    letter-spacing: 0.3125rem;
}

.subtle {
	color: var(--subtle-color);
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.highlight {
    color:var(--accent-color);
}

.clickable {
    cursor: pointer;
}

/* -List styling- */
ul {
    font-family: 'Inter', sans-serif;
    padding-left: 0;
    list-style: none;
}

/* -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: 8rem; 
}

.large-margin {
	margin-bottom: 12rem; 
}

/* -General Button Styles */
button {
    width: auto;
    height: auto;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --------------------------- /////////// LOADING SCREEN /////////// --------------------------- */
/* -Loading Screen- */
#loader-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color);
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    text-align: center;
    z-index: 1050;
    overflow: hidden;
}

#loader-wrapper .flex-wrapper {
    width: 100%;
}

.loader-logo {
    color: var(--text-color);
    font-size: 3rem;
}

#progress {
    width: 0;
    height: 2px;
    background: var(--accent-color);
}

.loader-text {
    color: var(--text-color);
    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;
    background-color: var(--background-color);
    border-radius: 5px;
}

#newsletter-modal .btn-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: var(--text-color);
    opacity: 1;
    padding: 10px;
    transition: 0.3s;
}

#newsletter-modal .btn-close:hover {
    background-color: var(--subtle-color);
}

#newsletter-modal #newsletter {
    margin-bottom: 1rem;
    height: 50px;
    width: 80%;
    border-radius: 5px;
    border: none;
    padding-left: 1rem;
}

#newsletter-modal .button {
    margin: 0.5rem;
}

.newsletter-button {
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 5px;
    transition: 0.3s;
}

.newsletter-button:hover {
    color: var(--background-color);
    background-color: var(--text-color);
}

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 var(--text-color) inset !important;
    -webkit-text-fill-color: var(--background-color) !important;
}

/* --------------------------- /////////// AGE CHECKER /////////// --------------------------- */
#age-checker-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#age-checker-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

#age-checker {
    position: fixed;
}

#age-checker input:focus {
    box-shadow: none;
    outline: 1px solid var(--accent-color);
}

#age-checker .card-body {
    background: rgba(0, 0, 0, 0.5);
    padding: 2.5rem;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

#age-checker .card-body button {
    background-color: var(--accent-color);
    border: none;
    color: var(--background-color);
    padding: 10px 0;
}

#age-checker .card-body button:hover {
    background-color: var(--accent-color);
}

/* --------------------------- /////////// COOKIE MANAGEMENT /////////// --------------------------- */
#policy-message, .policy-notice-bar {
    position: fixed;
    width: 100%;
    background-color: var(--background-color);
    color: var(--text-color);
    z-index: 1060;
    transition: 0.5s ease;
    border-top: 1px solid #F2BC58;
}

#policy-message {
    bottom: -50%;
    height: 60px;
    padding: 12px;
    text-align: center;
}

#policy-message.open {
    bottom: 0;
}

.policy-notice-bar {
    position: fixed;
    height: auto;
    bottom: -50%;
    padding: 1rem;
}

.policy-notice-bar.open {
    bottom: 0;
}

.policy-notice-bar p, #policy-message p {
    display: inline-block;
    margin-bottom: 0;
}

#policy-message p {
    margin-top: 5px;
}

.policy-notice-bar a {
    color: var(--accent-color);
}

.policy-notice-bar .close, #close-policy-message {
    background-color: var(--text-color);
    color: var(--background-color);
    float: right;
    border: none;
}

#close-policy-message {
    justify-self: flex-end;
}

.policy-bar-buttons {
    display: inline-block;
}

.policy-notice-bar button {
    background-color: var(--text-color);
    color: var(--background-color);
    display: inline-block;
    margin-left: 1rem;
    border: none;
    border-radius: 2px;
}

.policy-notice-bar button, .policy-notice-bar .close, #close-policy-message {
    padding: 5px 10px;
    transition: 0.3s;
}

.policy-notice-bar button:hover, .policy-notice-bar .close:hover, #close-policy-message:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
}

.checkbox-wrapper {
    margin: 1rem 0;
}

#policy-modal .modal-content {
    background-color: var(--background-color);
}

#policy-modal .form-check {
    margin-bottom: 1rem;
}

/* --------------------------- /////////// HEADER /////////// --------------------------- */
#main-logo {
    font-size: 1.6rem;
    max-height: 100px;
    width: auto;
}
.nav-link {
    color: var(--text-color);
    letter-spacing: 2px;
}

.dropdown-item {
    color: var(--background-color) !important;
}

.nav-item:last-child {
    border-radius: 5px;
    background-color: var(--text-color);
    margin-left: 1rem;
    padding: 0 10px;
    transition: 0.3s;
}

.nav-item:last-child:hover {
    transform: scale(1.1);
}

.nav-item:last-child a {
    color: var(--background-color);
    font-weight: 700;
}

.nav-item:last-child:hover a {
    color: var(--background-color);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color);
}

.navbar-nav .nav-link:focus {
    color: var(--accent-color);
}

.navbar-nav .nav-link:active {
    color: var(--accent-color);
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0); /* navbar background gradient */
    z-index: 3;
}

/* Menu bars for mobile */
.navbar-toggler {
    border: none;
    cursor: pointer;
}
.navbar-toggler:focus {
    box-shadow: none;
}

#hamburger {
    width: auto;
}

#hamburger .icon-bar {
    display: block;
    height: 0.125rem;
    width: 1.5625rem;
    background: var(--text-color);
    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;
}

#bgvid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-section h1 {
    font-size: 5rem;
    letter-spacing: 0.5rem;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0 ,0 , 0.5);
    z-index: 0;
}

.trailer-play-button {
    display: block;
    width: 100px;
    margin: 5rem auto 8rem auto;
    transition: 0.3s ease;
}

.trailer-play-button img {
    display: block;
    width: 100%;
}

.trailer-play-button:hover {
    transform: scale(1.2);
}

.dropdown-toggle {
    display: none !important;
    color: var(--text-color);
    font-weight: bold;
}

.dropdown-toggle:hover {
    color: var(--background-color);
}

.dropdown-menu {
    width: auto;
    border-radius: 2px;
}

.dropdown-menu li a {
    color: var(--background-color);
}

.dropdown-menu li a:focus {
    background-color: var(--subtle-color);
    color: var(--text-color);
}

.platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    margin: 0;
    transition: 0.4s ease;
}

.platforms li {
    margin: 0 1rem 1rem 1rem;
    display: inline-block;
    transition: 0.3s;
}

.platforms li:hover {
    transform: scale(1.1);
}

.platform-button {
    display: block;
    min-width: 150px;
    width: auto;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.platform-button:hover {
    background-color: var(--text-color);
}

.platform-button.mobile {
    display: flex;
    align-items: center;
    width: auto;
    padding: 10px 15px;
}

.platform-button i {
    margin-right: 10px;
}

.platform-button span {
    font-size: 1.1rem;
    font-weight: 500;
}

.platform-button:hover span, .platform-button:hover i {
    color: var(--background-color);
}

.hero-section .platforms.mobile {
    margin-bottom: 3rem;
}

#steam {
    background-image: url(../images/icons/steam.svg);
}

#steam:hover {
    background-image: url(../images/icons/steam-dark.svg);
}

#xbox {
    background-image: url(../images/icons/xbox.svg);
}

#xbox:hover {
    background-image: url(../images/icons/xbox-dark.svg);
}

#playstation {
    background-image: url(../images/icons/ps-wide.svg);
    background-size: 90%;
}

#playstation:hover {
    background-image: url(../images/icons/ps-wide-dark.svg);
    background-size: 90%;
}

.socials {
    margin: 2rem 0;
    text-align: center;
}

.socials a {
    transition: 0.3s ease;
    color: var(--text-color);
}

.socials a:hover {
    color: var(--accent-color);
}

.socials li {
    display: inline;
    margin: 0 0.4rem;
}

/* --------------------------- /////////// FEATURES SECTION /////////// --------------------------- */
.feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    height: auto;
    padding: 0 1.5rem;
    background-size: cover;
    background-position: top;
}

.feature img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.4);
}

.feature p, .feature h2 {
    transition: 0.5s ease;
    z-index: 1;
}

.feature p {
    padding: 0 10%;
    opacity: 0;
}

.feature h2 {
    margin-top: 8rem;
}

.feature:hover p{
    opacity: 1;
}

.feature:hover h2 {
    margin-top: 0;
}

/* --------------------------- /////////// MEDIA SECTION /////////// --------------------------- */
#media-carousel .carousel-item {
    height: 100vh;
    background-color: var(--background-color);
}

#media-carousel .slide-img {
    opacity: 0.8;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Progress bar container */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 2;
}
        
/* Progress bar filler */
.carousel-progress .progress-bar {
    height: 100%;
    width: 0%;
    background-color: #bbbbbb;
    transition: width linear;
}

/* --------------------------- /////////// CTA SECTION /////////// --------------------------- */
.cta-section { 
    padding: 1rem;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0 ,0, 0.7) 100%), url(../images/cta.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-container {
    padding: 15rem 0;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

/* --------------------------- /////////// FOOTER /////////// --------------------------- */
#main-footer {
    height: auto;
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 0.5rem 0;
    border-top: 1px solid var(--subtle-color);
}

#main-footer:not(.socials) {
    font-size: 14px;
}

.footer .col-lg-3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer ul li {
    display: inline-block;
    margin: 0 10px;
    font-family: 'Montserrat', sans-serif;
}

.footer ul li a {
    color: var(--text-color);
}

.footer ul li a:hover {
    color: var(--accent-color);
}

.footer ul li button {
    background: none;
    color: var(--text-color);
    border: none;
}

.footer ul li button:hover {
    color: var(--accent-color);
}

#copyright {
    color: var(--subtle-color);
    margin-top: 0.425rem;
    margin-bottom: 0;
}

.age-rating, .company-logo {
    display: block;
    margin: 1rem auto 1rem auto;
}

.age-rating {
    width: 100%;
}

.company-logo {
    width: 100%;
}

/* --------------------------- /////////// POLICY PAGES /////////// --------------------------- */
.extra-page {
    font-size: 0.875rem;
}

.extra-page section {
    min-height: auto;
}

.extra-page h2 {
    font-family: "Inter", sans-serif;
    font-size: 1.8rem;
}

.extra-page h3 {
    font-size: 1.5rem;
}

.extra-page a:not(.button, .socials li a) {
    color: var(--accent-color);
}

.extra-page a:hover:not(.button, .socials li a) {
    color: var(--accent-color);
    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;
    font-weight: bold;
}

.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: var(--subtle-color);
}

.breadcrumb-item.active::before {
    color: var(--subtle-color);
}

#footer-extra {
    padding-top: 1.5625rem;
    border-top: 1px solid #F2BC58;
}

#footer-extra .socials {
    margin: 0;
}

#footer-extra .socials li a {
    margin-bottom: 10px;
}

#footer-extra .socials li a:hover {
    text-decoration: none;
}

/* --------------------------- /////////// RESPONSIVE STYLES /////////// --------------------------- */

@media (hover: none) {
    .feature h2 {
        margin-top: 0;
    }

    .feature p {
        opacity: 1;
    }
    
}

@media (max-width: 1366px) {

}

@media (max-width : 1200px) {
    .policy-bar-buttons, .policy-notice-bar .close {
        margin-top: 10px;
    }
}
  
@media (max-width: 991px) {
    .navbar-dark {
        background-color: rgba(0,0,0,0.8);
    }

    .nav-item:last-child {
        margin: 1rem 0 1rem 0;
        width: 170px;
    }

    .hero-section {
        padding-top: 10%;
    }

    .trailer-play-button {
        margin: 3rem auto 5rem auto;
    }

    .platforms li {
        margin-bottom: 1rem;
    }

    .footer ul li {
        margin-bottom: 8px;
    }

    #footer-extra .col-md-4 {
        justify-content: center !important;
        text-align: center;
        padding-bottom: 2rem;
    }

}

@media (max-width: 768px) {
    #main-logo {
        margin-right: 0;
        margin-left: 1rem;
    }

    .dropdown-toggle {
        display: block !important;
        margin: 0 auto;
    }

    .platforms.pc, .platforms.mobile {
        display: none;
    }

    .navbar-collapse {
        padding-left: 1rem;
    }
    
    #policy-bar button {
        display: block;
        margin-top: 1rem;
        margin-left: 0;
    }

    #close-policy-bar {
        float: none;
    }

    #close-policy-message {
        margin-top: 5px;
        float: none;
    }

    .hero-section h1 {
        margin-top: 20%;
        font-size: 3rem;
    }

    .platform-button {
        min-width: 170px;
    }

    #copyright {
        font-size: 14px;
    }
}

@media (max-width : 692px) {
    #policy-message {
        height: 140px;
    }

    #newsletter-modal .btn-close {
        position: relative;
        margin: 0 auto 1rem auto;
        top: 0;
        right: 0;
    }
}

@media (max-width : 480px) {

}

