/*style.css*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*
{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-padding-top: 2rem;
}
:root
{
    --main-color:#fa5353;
    --dark-color:#1b182b;
    --light-color:#322f40;
    --text-color:hsl(0,0%,91%);
}
::selection
{
    color: var(--text-color);
    background: var(--main-color);
}
section
{
    padding: 4rem 0 3rem;
}
img
{
    width: 100%;
}
body
{
    color: var(--text-color);
    background: var(--dark-color);
}
.container
{
    max-width: 1068px;
    margin: auto;
    width: 100%;
}

/*HEADER*/

header
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--dark-color);
    z-index: 100;
}

/*NAV BAR*/

.nav
{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}
/*LOGO*/
.logo
{
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    margin: 0 auto 0 0;
}
.logo span
{
    color: var(--main-color);
}
/*NAV ICONS*/
.nav-icons
{
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
.nav-icons .fa-solid
{
    font-size: 20px;
    height: 44px;
    width: 44px;
    display: grid;
    place-items: center;
    color: var(--text-color);
    background: var(--light-color);
    border-radius: 50%;
    cursor: pointer;
}
#bell-icon
{
    position: relative;
}
#bell-icon span
{
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--main-color);
    position: absolute;
    top: 10px;
    right: 14px;
}
/*MENU ICONS*/
.menu-icon
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 5px;
    height: 44px;
    width: 44px;
    border-radius: 50%;
    background: var(--light-color);
    cursor: pointer;
    z-index: 200;
    transition: 0.3s;
}
.menu-icon div
{
    display: block;
    background: var(--text-color);
    height: 2px;
    width: 25px;
    transition: 0.3s;
}
.move .liine1
{
    transform: rotate(-45deg) translate(-5px, 5px);
}
.move .line2
{
    opacity: 0;
}
.move .line3
{
    transform: rotate(-45deg) translate(-5px, 5px);
}

/*MENU*/

.menu
{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 14, 0.9);
    z-index: 106;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.5s;
    clip-path: circle(0% at 100% 0%);
}
.menu.active
{
    clip-path: circle(144% at  100% 0%);
}
.menu img
{
    width: 400px;
    margin-left: 5rem;
}
.navbar
{
    display: grid;
    row-gap: 1rem;
    text-align: right;
    padding-right: 2rem;
}
.navbar a
{
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.2s;
}
.navbar a:hover
{
    border-bottom: 4px solid var(--main-color);
    font-size: 1.8rem;
}
/*NOTIFICATION*/
.notification
{
    position: absolute;
    top: 110%;
    right: 5rem;
    background: var(--light-color);
    width: 300px;
    height: 350px;
    border-radius: 0.5rem;
    padding: 10px;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    clip-path: circle(0% at 100% 0%);
}
.notification.active
{
    clip-path: circle(144% at 100% 0%);
    transition: 0.3s;
}
.notification-box
{
    display: flex;
    align-items: baseline;
    column-gap: 1rem;
    border-radius: 0.5rem;
    background: var(--dark-color);
    padding: 10px;
}
.notification-box .fa-solid
{
    color: #faf102 ;
}
.box-color
{
    background: hsl(0, 0%, 100%, 0.4);
}
.box-color .fa-solid
{
    color: var(--main-color);
}

/*-----------------HOME SECTION------------*/

.home
{
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 5rem;
}
.home img
{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.4rem;
    z-index: -1;
}
.home-text
{
    padding-right: 4rem;
    text-align: right;
}
.home-text h1
{
    font-size: 1.8rem;
    text-transform: uppercase;
    color: var(--dark-color);
    margin-bottom: 1rem;
}
.btn
{
    background: var(--main-color);
    padding: 15px 20px;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 500;
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 10% 100%, 0% 68%);
}
.btn:hover
{
    background: var(--light-color);
    transition: 0.3s all linear;
}
/*HEADING*/
.heading
{
    display: flex;
    align-items: center;
    column-gap: 1rem;
    margin-bottom: 2rem;
}
.heading .fa-solid
{
    font-size: 12px;
    color: var(--text-color);
    background: var(--main-color);
    padding: 6px;
    border-radius: 5rem;
}
.heading h2
{
    font-size: 1.2rem;
    font-weight: 500;
}
/*CONTENT*/
.box 
{
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 0.5rem;
}
.box img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}
.box .box-text
{
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 10px;
    background: hsl(227, 14%, 20%, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
}
.box .box-text h2
{
    font-size: 1rem;
    font-weight: 500;
}
.box .box-text h3
{
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
}
/*RATING*/
.rating-download
{
    display: flex;
    justify-content: space-between;
}
.rating
{
    display: flex;
    align-items: center;
    column-gap: 4px;
    background: hsl(0, 0%, 100%, 0.4);
    padding: 4px 10px;
    border-radius: 0.5rem;
}
.rating .fa-solid
{
    color: #faf102;
    font-size: 0.9rem;
}
.rating span
{
    color: #faf102;
    font-size: 0.9rem;
}
.box-btn .fa-solid
{
    padding: 8px;
    background: var(--text-color);
    border-radius: 5rem;
    color: var(--main-color);
    font-size: 12px;
}
.box-btn .fa-solid:hover 
{
    background: var(--dark-color);
}

/*----------NEW SECTION---------*/

.new-content
{
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit,minmax(240px,auto));
    gap: 1.2rem;
}
.box-new
{
    position: relative;
    height: 350px;
    border-radius: 0.5rem;
}
.box-new img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}
.box-new .text-box
{
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 10px;
    background: hsl(227, 14%, 20%, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
}
.box-new .text-box h2
{
    font-size: 1rem;
    font-weight: 500;
}
.box-new .text-box h3
{
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
}
/*NEXT PAGE*/
.next-page
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}
.next-page a
{
    background: var(--main-color);
    padding: 12px 20px;
    color: var(--text-color);
    letter-spacing: 1px;
    font-weight: 500;
}
.next-page a:hover
{
    background: var(--light-color);
    transition: 0.3s all linear;
}
/*COPYRIGHT*/
.copyright
{
    display: flex;
    justify-content: space-between;
    padding: 20px;
}
.copyright p
{
    font-size: 0.9rem;
    color: var(--text-color);
}

/*-----------DOWNLOAD----------*/

.video-container video
{
    width: 100%;
    aspect-ratio: 16/9;
}
.video-container
{
    margin-top: 2rem;
}
/*GAME ABOUT*/
.about
{
    margin-top: 2rem;
}
.about h2
{
    display: inline-flex;
    font-size: 1.4rem;
    font-weight: 500;
    border-bottom: 4px solid var(--main-color);
}
.about p
{
    font-size: 0.938rem;
    margin-top: 1rem;
    text-align: justify;
}
/*SCREENSHOTS*/

.screenshot h2
{
    display: inline-flex;
    font-size: 1.4rem;
    font-weight: 500;
    border-bottom: 4px solid var(--main-color);
    margin: 1.6rem 0;
}
.screenshot-content
{
    display: grid;
    grid-template-columns: repeat(auto-fit,mimax(250px,auto));
    gap: 10px;
    justify-content: center;
    max-width: 800px;
    margin: auto;
    width: 100%;
}
.screenshot-content img
{
    width: 100%;
    height: 440px;
    object-fit: cover;
}
/*DOWNLOAD*/
.download
{
    max-width: 800px;
    margin: auto;
    width: 100%;
    display: grid;
    justify-content: center;
    margin-top: 2rem;
}
.download h2
{
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 1.6rem 0;
}
.download-links
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 2rem;
}
.download-links a
{
    text-align: center;
    background: var(--main-color);
    padding: 12px 20px;
    color: var(--text-color);
    letter-spacing: 1px;
    font-weight: 500;
}
.download-links a:hover 
{
    background: var(--light-color);
    transition: 0.3s all linear;
}

/*CONTACT US*/
.contact
{
    display: block;
    text-align: center;
    margin-bottom: 2rem;
}
.contact h2
{
    font-size: 1.9rem;
    font-weight: 100;
    letter-spacing: .2rem;
    padding-bottom: .2rem;
}
.contact span
{
    color: var(--main-color);
}
.contact .fa-brands, .fas
{
    font-size: 2rem;
    padding: .9rem;
    margin: .2rem;
    background: var(--light-color);
    border-radius: 2rem;
    color: white;
}
.contact .fa-brands:hover
{
    background: var(--main-color);
    cursor: pointer;
    transition: .3s all linear;
}
.contact .fas:hover
{
    background: var(--main-color);
    cursor: pointer;
    transition: .3s all linear;
}


/*DISPLAY BLOCK FOR  DEAFAULT SCROLL BAR*/

html::-webkit-scrollbar
{
    display: none;
}

/*CUSTOM SCROLL BAR*/
.progress
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 300;
}
.progress-bar
{
    height: 4px;
    background: var(--main-color);
    width: 0%;
}

/*MEDIA QUERY*/

@media(max-width:1080px)
{
    .container
    {
        margin: 0 auto;
        width: 90%;
    }
    .nav
    {
        padding: 10px 0;
    }
    .notification
    {
        right: 4rem;
    }
    .menu img 
    {
        width: 500px;
    }
    section 
    {
        padding: 3rem 0 2rem;
    }
    .home
    {
        margin-top: 4rem !important;
        min-height: 440px;
    }
    .home img 
    {
        border-radius: 1rem;
    }
    .new-content
    {
        grid-template-columns:  repeat(auto-fit, minmax(200px, auto));
    }
    .video-container
    {
        margin-top: 5rem !important;
    }
}

@media(max-width:774px)
{
    .notification
    {
        right: 1rem;
    }
    .menu img 
    {
        width: 400px;
    }
    .home
    {
        min-height: 300px;
    }
    .home-text h1
    {
        font-size: 2rem;
    }
    .btn
    {
        padding: 12px 17px;
    }
    .screenshot-content
    {
        grid-template-columns:  repeat(auto-fit, minmax(250px, 300px));
    }
}

@media(max-width:560px)
{
    .menu img 
    {
        display: none;
    }
    .menu
    {
        justify-content: flex-end;
    }
    .nav
    {
        padding: 8px 0 ;
    }
    .nav-icons .fa-solid,
    .menu-icon
    {
        height: 40px;
        width: 40px;
    }
    .home
    {
        min-height: 240px;
    }
    .home-text
    {
        padding-right: 1rem;
    }
    p
    {
        font-size: 0.875rem;
    }
    .download-links
    {
        grid-template-columns: 1fr;
    }
}

@media(max-width:360px)
{
    .logo
    {
        font-size: 1.2rem;
    }
    .navbar a
    {
        font-size: 1.3rem;
    }
    .navbar a:hover 
    {
        font-size: 1.4rem;
    }
    .notification
    {
        width: 270px;
    }
    .home
    {
        min-height: 214px;
    }
    .home-text h1
    {
        font-size: 1.4rem;
    }
    .heading .fa-solid
    {
        padding: 8px;
    }
    .heading h2 
    {
        font-size: 1.1rem;
    }
    .box
    {
        height: 420px;
    }
    .copyright .logo
    {
        margin: 0;
    }
    .about h2,
    .screenshot h2 .download h2 
    {
        font-size: 1.2rem;
    }
}