/*GOOGLE FONTS*/
@import url('https://fonts.googleapis.com/css2?family=Overlock:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Reggae+One&display=swap');

/*VARIABLES CSS*/
:root {
    --header-height: 4rem;

    --clr-font: rgb(39, 39, 39);
    --clr-header: hsl(0, 0%, 90%);
    --clr-body: hsl(0, 0%, 100%);
    --clr-button: hsl(0, 0%, 100%);
    --clr-container: hsl(0, 0%, 76%);

    --clr-orange: rgb(244, 122, 48);
    --clr-gray: rgb(235, 236, 237);
    --clr-white: rgb(255, 255, 255);
    --clr-white-dark: rgb(247, 247, 247);
    --clr-black: rgb(33, 33, 33);
    --clr-black-light: rgb(50, 50, 50);

    --box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 15px;
    --box-shadow-2: rgba(0, 0, 0, 0.5) 0px 0px 5px;

    --shadow-black-small-img: drop-shadow(0 4px 16px hsla(0, 0%, 0%, 0.3));
    --shadow-black-big-img: drop-shadow(0 8px 24px hsla(0, 0%, 0%, 0.3));

    --main-font: "Raleway", sans-serif;
    --second-font: "Overlock", sans-serif;
    --third-font: "Reggae One", system-ui;

    --big-font-size: 2.5rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;

    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 768px) {
    :root {
        --big-font-size: 2.75rem;
    }
}

@media screen and (min-width: 1024px) {
    :root {
        --big-font-size: 3rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
    }
}

/*RESET CSS*/

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

* {
    margin: 0;
    padding: 0;

    font-family: var(--main-font);
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;

    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    background-color: var(--clr-body);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

input,
button {
    outline: none;
    border: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

#root,
#__next {
    isolation: isolate;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}


/*REUSABLE CSS CLASSES*/

.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding-block: 5rem 5rem;
}

.section-title {
    color: var(--clr-black);
    font-size: var(--big-font-size);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.05rem;
    font-family: var(--second-font);
}

.main {
    overflow: hidden;
}

/*SCROLL UP*/

.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -50%;
    background-color: var(--clr-orange);
    box-shadow: var(--box-shadow-2);
    color: var(--clr-white);
    display: inline-flex;
    padding: 6px 12px;
    font-size: 1.4rem;
    font-weight: var(--font-bold);
    border-radius: .5rem;
    z-index: var(--z-tooltip);
    transition: bottom .4s, transform .4s;
}

.scrollup:hover {
    transform: translateY(-.25rem);
    color: var(--clr-black);
}

.show-scroll {
    bottom: 1rem;
    right: 1rem;
}

/*HERO*/

.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.3);
}

.hero .section-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--clr-white);
    line-height: 1;
    font-size: calc(var(--big-font-size) - .3rem);
}

#about .hero {
    height: 55vh;
}

#about .hero-img {
    filter: brightness(40%);
}

#policies .hero {
    height: 55vh;
}

#policies .hero-img {
    filter: brightness(40%);
}

#tutorial .hero {
    height: 55vh;
}

#tutorial .hero-img {
    filter: brightness(40%);
}


.hero-img {
    width: 100%;
    height: inherit;
    object-fit: cover;
    z-index: -1;
}

/*HEADER*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: var(--z-fixed);
    transition: all 0.3s ease;
}

.header-sticky {
    box-shadow: var(--box-shadow);
    background-color: var(--clr-white);
    padding: 0.25rem 0.5rem;
}

.header-sticky .nav-logo {
    content: url(/assets/images/nav-logo-black.png);
}

.header-sticky .show-menu {
    top: 4.5rem;
}

/*NAVIGATION*/

.nav {
    height: var(--header-height);
}

.nav-logo,
.nav-burger,
.nav-close {
    color: var(--clr-orange);
}

.nav-data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    width: 150px;
}

.nav-toggle {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav-burger,
.nav-close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.5rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav-close {
    opacity: 0;
}

@media screen and (max-width: 1024px) {
    .nav-menu {
        position: absolute;
        left: 0;
        top: 3rem;
        width: 100%;
        height: calc(100vh - 4rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }

    .nav-menu::-webkit-scrollbar {
        width: 0;
    }

    .nav-list {
        background-color: var(--clr-black);
    }
}

.nav-link {
    color: var(--clr-white);
    font-weight: var(--font-semi-bold);
    font-size: var(--normal-font-size);
    text-transform: uppercase;
    letter-spacing: .05rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
}

.nav-link:hover {
    background-color: var(--clr-black-light);
    color: var(--clr-orange);
}

.show-menu {
    opacity: 1;
    top: 4rem;
    pointer-events: initial;
}

.show-icon .nav-burger {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav-close {
    opacity: 1;
    transform: rotate(90deg);
}

/*#region HOME PAGE*/

.game:nth-child(even) {
    background-color: var(--clr-white-dark);
}

.game-container {
    row-gap: 2.5rem;
}

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

.game-img {
    width: 325px;
    margin: auto;
    justify-content: center;
    filter: var(--shadow-black-big-img);
}

.game-description {
    margin-bottom: 1.5rem;
    padding: 0rem 0.25rem;
}

.download-buttons {
    display: block;
}

.download-buttons a {
    margin: 0.5rem 0.5rem;
}

.button-download {
    width: 12rem;
    display: inline-flex;
    filter: var(--shadow-black-small-img);
    transition: all .4s ease;
}

.button-download:hover {
    transform: scale(1.05);
}

.button-download::after {
    transform: scale(1);
}

.cta-container {
    position: relative;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
    border-radius: 3rem;
    overflow: hidden;
}

/* Blur Layer */
.cta-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/cta-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(70%);
}

.cta-data {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-title {
    color: var(--clr-white);
    font-size: calc(var(--big-font-size) - 1rem);
    font-family: var(--third-font);
    box-shadow: var(--shadow-black-big-img);

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.6),
        /* normal siyah shadow */
        0 0 10px rgba(0, 0, 0, 0.7),
        /* turuncu dış glow */
        0 0 20px rgba(0, 0, 0, 0.5);
    /* daha yumuşak turuncu */
}

/*#endregion */

/*#region ABOUT PAGE*/

.about .section-title {
    line-height: 1.25;
}

.about-container {
    row-gap: 2.5rem;
}

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

.about-img {
    width: 400px;
    margin: auto;
    justify-content: center;
    filter: var(--shadow-black-big-img);
    border-radius: 30px;
}

.about-description {
    padding: 0rem 0.25rem;
}

/*#endregion */

/*#region POLICIES PAGE*/
.policies-tabs {
    display: flex;
    justify-content: center;
    column-gap: 2rem;
    margin-bottom: 2rem;
}

.policies-button {
    font-size: var(--medium-font-size);
    font-weight: var(--font-medium);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: var(--clr-black);
    border-bottom: 3px solid;
}

.policies-button:hover {
    color: var(--clr-orange);
}

.policies-content {
    text-align: center;
    display: flex;
    justify-self: center;
}

.policies-data {
    text-align: left;
    display: grid;
    gap: 1rem;
}

.policies [data-content] {
    display: none;
}

.policies-active[data-content] {
    display: block;
}

.policies-button.policies-active {
    color: var(--clr-orange);
}

/*#endregion*/


/*FOOTER*/
.footer {
    background-color: var(--clr-black);
    padding-block: 3rem 2rem;
    box-shadow: 0 -10px 15px -5px rgba(0, 0, 0, 0.3);
}

.footer-container,
.footer-content {
    row-gap: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-logo {
    width: 175px;
    justify-self: center;
    margin-bottom: 2rem;
}

.footer-contact i {
    font-size: 1rem;
    color: var(--clr-orange);
}

.footer-contact a {
    margin-left: .5rem;
    color: var(--clr-white);
    transition: background-color .5s;
}

.footer-contact a:hover {
    color: var(--clr-orange);
}

.footer-nav-link {
    color: var(--clr-white);
    font-weight: var(--font-semi-bold);
    font-size: var(--small-font-size);
    letter-spacing: .05rem;
    text-transform: uppercase;
    padding: 0;
    justify-content: initial;
    transition: background-color .5s;
}

.footer-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
}

.footer-nav-link:hover {
    color: var(--clr-orange);
}

.footer-social {
    display: flex;
    column-gap: 2rem;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.footer-social-link {
    font-size: 3rem;
    transition: transform .4s;
    color: var(--clr-white);
}

.footer-social-link:hover {
    transform: translateY(-.25rem);
    color: var(--clr-orange);
}

.footer-policy {
    display: flex;
    column-gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.footer-policy a:hover {
    color: var(--clr-orange);
}

.footer-policy-link {
    font-size: var(--medium-font-size);
    color: var(--clr-white);
}

.footer-copy {
    display: block;
    margin-top: 2rem;
    text-align: center;
    font-size: var(--small-font-size);
    color: var(--clr-white);
}

.swiper {
    max-width: 325px;
    height: auto;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--clr-orange);
}

.swiper-slide img {
    border-radius: 15px;
    justify-self: center;
    width: 225px;
    height: auto;
    object-fit: contain;
}

.tutorial-description {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tutorial-description h1 {
    margin-bottom: 1rem;
}

.tutorial-description ul {
    list-style: square inside;
}

/*#region BREAKPOINTS!!!*/

@media screen and (max-width: 375px) {

    .container {
        margin-inline: 1rem;
    }

    .game-description {
        padding: 0rem 0rem;
    }

    .about-description {
        padding: 0rem 0rem;
    }

    .swiper {
        max-width: 300px;
    }

    .swiper-slide img {
        width: 200px;
    }

}

@media screen and (min-width: 480px) {

    .about-container,
    .game-container {
        grid-template-columns: 480px;
        justify-content: center;
    }

    .game-description {
        padding: 0rem 0.5rem;
    }

    .about-description {
        padding: 0rem 0.5rem;
    }

    .swiper {
        max-width: 350px;
    }

    .swiper-slide img {
        width: 250px;
    }

}

@media screen and (min-width: 768px) {
    .nav {
        height: calc(var(--header-height) + 0.5rem);
    }

    .nav-logo {
        width: 175px;
    }

    .nav-burger,
    .nav-close {
        font-size: 1.5rem;
    }

    .about-container,
    .game-container {
        grid-template-columns: 520px;
    }

    .footer-content {
        margin: auto;
        display: flex;
        justify-content: space-between;
    }

    .footer-logo {
        margin-bottom: 1rem;
    }

    .scrollup {
        right: 1.5rem;
    }

    .show-scroll {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .swiper {
        max-width: 375px;
    }

    .swiper-slide img {
        width: 275px;
    }
}

/*TAMAMLANACAK!*/
@media screen and (min-width: 1024px) {
    .container {
        margin-inline: auto;
    }

    .header .container {
        max-width: 1350px;
        padding: 0rem 2rem;
    }

    .nav {
        height: calc(var(--header-height) + 1rem);
        display: flex;
        justify-content: space-between;
    }

    .nav-logo {
        width: 175px;
    }

    .nav-toggle {
        display: none;
    }

    .nav-burger,
    .nav-close {
        font-size: 1.5rem;
    }

    .nav-list {
        height: 100%;
        display: flex;
        align-items: center;
        column-gap: 2rem;
    }

    .nav-link {
        padding: 0;
        justify-content: initial;
    }

    .nav-link:hover {
        background-color: transparent;
    }

    .header-sticky .nav-link {
        color: var(--clr-black);
    }

    .header-sticky .nav-link:hover {
        color: var(--clr-orange);
    }

    .about-container {
        grid-template-columns: 500px 400px;
        align-items: center;
        column-gap: 5rem;
    }

    .about-data {
        text-align: initial;
    }

    .about-data .section-title {
        text-align: initial;
        margin-bottom: 1.5rem;
    }

    .about-description {
        padding: 0rem 0rem;
    }

    .game-container {
        grid-template-columns: 325px 500px;
        align-items: center;
        column-gap: 7rem;
    }

    .game:nth-child(even) img {
        order: 1;
    }

    .game:nth-child(even) .game-container {
        grid-template-columns: 500px 325px;
    }

    .game-data .section-title {
        text-align: initial;
        margin-bottom: 1rem;
    }

    .game-data {
        text-align: initial;
    }

    .game-description {
        padding: 0rem 0rem;
    }

    .download-buttons {
        justify-self: left;
    }

    .download-buttons a {
        margin: 0rem 1rem 0rem 0rem;
    }

    .policies-container {
        padding: 0rem 1.5rem;
    }

    .footer-content {
        max-width: 1140px;
        padding-inline: 2rem;
    }

    .scrollup {
        right: 2rem;
    }

    .show-scroll {
        bottom: 2rem;
        right: 2rem;
    }
}

/*#endregion */