/*Google fonts*/
@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: #FF0000;
    --dark-color: #1b182b;
    --light-color: #322f40;
    --text-color: hsl(0,0%,91%);
}

::selection
{
    color: var(--text-color);
    background: var(--main-color);
}
.trending
{
    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 */
.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 .bx
{
    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: var(--main-color);
    position: absolute;
    top: 10px;
    right: 14px;
}

/* menu icon */

.menu-icon
{
}
.menu-icon div
{
 
}
.move .line1
{
    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: 700px;
}
.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: 10%;
    right: 10rem;
    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;
    z-index: 1000;
}
.notification-box
{
    display: flex;
    align-items: baseline;
    column-gap: 1rem;
    border-radius: 0.5rem;
    background: var(--dark-color);
    padding: 10px;
}
.notification-box .bx
{
    color: #02fa57;
}
.box-color
{
    background: hsl(0, 0%, 100%, 0.4);
}
.box-color .bx
{
    color: var(--main-color);
}

/* Home */

.home
{
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 2rem;
}
.home img
{
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: -1;
}
.home-text
{
    text-align: left;
    background: #020201;
    border-radius: 50px 0px 0px 0px;
    padding: 16px;
}
.home-text h1
{
    font-size: 2.4rem;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1rem;
    line-height: 50px;
}
.btn
{
    background: var(--main-color);
    padding: 10px 10px;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 10px;
}
.btn:hover
{
    background: var(--light-color);
    transition: 0.3s all linear;

}

/* Heading */

.heading
{
    display: flex;
    align-items: center;
    column-gap: center;
    margin-bottom: 2rem;
}
.heading .bx
{
    font-size: 21px;
    color: var(--text-color);
    background: var(--main-color);
    padding: 10px;
    border-radius: 5rem;
    margin-right: 15px;
}
.heading h2
{
    font-size: 1.2rem;
    font-weight: 500;
}

.box
{
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 0.5rem;
}
.box:hover
{
    border: 5px solid var(--main-color);
    transition: 0.3s;
    border-radius: 1rem;
}
.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: hsla(0, 0%, 54.9%, 0.8);
    border-radius: 0.5rem;
}
.box .box-text h2
{
    font-size: 1rem;
    font-weight: 600;
}
.box .box-text h3
{
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
}
.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 .bx
{
    color: #eeff00;
    font-size: 0.9rem;
}
.rating span
{
    color: #eeff00;
    font-size: 0.9rem;
}
.box-btn .bx
{
    padding: 8px;
    background: var(--text-color);
    border-radius: 5rem;
    color: var(--main-color);
    font-weight: 400;
    font-size: 20px;
}
.box-btn .bx:hover
{
    background: var(--dark-color);
    transition: 0.5s;
}
/*new*/
.new-content
{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,auto));
    gap: 1.2rem;
}
.next-page
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}
.next-page a
{
    background: var(--main-color);
    padding: 12px 20px;
    color: var(--text-color);
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 0.5rem;
}
.next-page a:hover
{
    background: var(--light-color);
    transition: 0.3s all linear;
}
.copyright
{
    display: flex;
    justify-content: space-between;
    padding: 20px;
}
.copyright p
{
    font-size: 0.9rem;
    color: var(--text-color);
}

/*download page css*/
.video-container video
{
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 0.5rem;
}
.video-container
{
    margin-top: 1rem;
}
.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 h2
{
    display: inline-flex;
    font-size: 1.4rem;
    font-weight: 500;
    border-bottom: 4px solid var(--main-color);
    margin: 1.6rem 0;   
}
.screenshots-content
{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,auto));
    gap: 10px;
    justify-content: center;
    max-width: 800px;
    margin: auto;
    width: 100%;
}
.screenshots-content img
{
    width: 100%;
    height: 440px;
    object-fit: cover;
}
.download-Page
{
    max-width: 800px;
    margin: auto;
    width: 100%;
    display: grid;
    justify-content: center;
    margin-top: 2rem; 
}
.download-Page h2
{
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 1.6rem 0;
}
.download-link
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 2rem;
}
.download-link a
{
    text-align: center;
    background: var(--main-color);
    padding: 12px 20px;
    color: var(--text-color);
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 0.5rem;
}
.download-link a:hover
{
    background: var(--light-color);
    transition: 0.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%;
}

/*making responsive / breakpoints*/

@media (max-width:1080px)
{
    .container
    {
        margin: 0 auto;
        width: 90%;
    }
    .nav {
        padding: 16px 0;
      }
      .notification {
        position: absolute;
        top: 12%;
        right: 4rem;
      }
      .menu img {
        width: 500px;
      }
      .section
      {
          padding: 3rem 0 2rem;
      }
      .trending {
        padding: 2rem 0 2rem;
      }
      .home {
        margin-top: 1rem !important;
        min-height: 550px;
      }
      .container {
        width: 95%;
      }
      .video-container {
        margin-top: 1rem !important;
      }
}

@media (max-width:774px)
{
    .notification {
        position: absolute;
        top: 13%;
        right: 1.8rem;
      }
      .home {
        margin-top: 1rem !important;
        min-height: 386px;
      }
      .menu img {
        width: 400px;
      }
      .screenshots-content {
        grid-template-columns: repeat(auto-fit,minmax(200px,auto));
        max-width: 700px;
      }
      .video-container {
        margin-top: 0rem !important;
      }
      .download-Page {
        margin-top: 0rem;
      }
}
@media (max-width:560px)
{
    .menu img {
        display: none;
      }
      .menu {
        justify-content: flex-end;
      }
      .nav {
        padding: 8px 0;
      }
      .home {
        margin-top: 1rem !important;
        min-height: 281px;
      }
      .home-text h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        line-height: 30px;
      }
      .btn {
        padding: 6px 0px;
        font-size: 13px;
      }
      .home-text {
        text-align: right;
        padding: 10px;
        padding-left: 6px;
      }
      .notification {
        top: 11%;
        right: 1.3rem;
      }
      .nav-icons .bx {
        height: 40px;
        width: 40px;
      }
      .menu-icon {
        height: 40px;
        width: 40px;
      }
      .container {
        width: 92%;
      }
      .screenshots-content {
        grid-template-columns: repeat(auto-fit,minmax(100px,auto));
        max-width: 500px;
      }
      .screenshots-content img {
        height: 250px;
      }
      .copyright p {
        font-size: 0.8rem;
        margin-top: 8px;
      }
      .about p {
        font-size: 0.875rem;
      }
}

@media (max-width:375px)
{
    .container {
        width: 91%;
      }
    .home {
        min-height: 175px;
      }
      .btn {
        padding: 7px 0px;
        font-size: 8px;
        font-weight: 900;
      }
      .heading .bx {
        padding: 6px;
      }
      .heading h2 {
        font-size: 1.1rem;
      }
      .notification.active {
        height: auto;
      }
      .notification {
        top: 10%;
      }
      .home-text h1 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
        line-height: 23px;
      }
      .navbar a {
        font-size: 1.5rem;
      }
      .box {
        height: 420px;
      }
      .logo {
        font-size: 1.1rem;
      }
      .next-page {
        margin-top: 1rem;
      }
      .next-page a {
        padding: 6px 17px;
        margin-bottom: 10px;
      }
      .copyright {
        flex-direction: column;
        align-items: center;
      }
      .copyright p {
        font-size: 0.8rem;
        margin-top: 7px;
      }
      .copyright .logo
      {
          margin-right: 0;
      }
      .about p {
        font-size: 0.800rem;
      }
      .about h2,
      .screenshots h2
      {
        font-size: 1.2rem;
      }
      .download-link
      {
        grid-template-columns: repeat(1, 1fr);
        margin-bottom: 1rem;
      }
      .screenshots-content {
        grid-template-columns: repeat(1, 1fr);
      }
      .download-link a {
        padding: 8px 7px 6px 10px;
      }
}