@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&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;
    /* transition: .5s ease-in-out; */
}

:root {
    --main-color: rgb(153, 16, 172);
    /* second color  */
    /* --main-color: #0d81ec;  */
    /* --dark-color: #1b182b;  */
    --dark-color: #000;
    --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%;
    height: 100%;
}

body {
    background: var(--dark-color);
    color: var(--light-color);
}

.container {
    max-width: 1500px;
    margin: auto;
    width: 100%;
}

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

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--text-color);
    text-transform: uppercase;
    margin: 0 auto 0 0;
}

.logo span {
    color: var(--main-color);
}

.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 {
    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: .3s;
}

.menu-icon div {
    display: block;
    background: var(--text-color);
    height: 2px;
    width: 25px;
    transition: .3s;
}

.move .line1 {
    transform: rotate(-45deg) translate(-5px, 5px);
}

.move .line2 {
    opacity: 0;
}

.move .line3 {
    transform: rotate(45deg) translate(-5px, -5px);
}

.menu {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 14, .9);
    z-index: 106;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    clip-path: circle(0% at 100% 0%);
}

.menu img {
    height: 400px;
    width: 400px !important;
}

.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 {
    position: absolute;
    top: 110%;
    right: 9rem;
    background: var(--light-color);
    width: 300px;
    height: 350px;
    border-radius: 0.5rem;
    padding: 10px;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    color: var(--text-color);
    clip-path: circle(0% at 100% 0%);
}

.notification.active {
    clip-path: circle(144% at 100% 0%);
    transition: .3s;
}

.notification-box {
    display: flex;
    align-items: baseline;
    column-gap: 1rem;
    border-radius: 0.5rem;
    background: var(--dark-color);
    padding: 10px;
}

.notification-box .bx {
    color: #faf102;
}

.box-color {
    background: hsl(0, 0%, 100%, 0.4);
}

.box-color .bx {
    color: var(--main-color);
}

.home {
    background: var(--dark-color);
    width: 100% !important;
    height: 700px;
}

.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 {
    z-index: 2;
    padding-right: 4rem;
    text-align: right;
}

.home-text h1 {
    font-size: 2.4rem;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.btn {
    position: relative;
    /* background: var(--main-color); */
    background: #444;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.5em;
    letter-spacing: 0.1em;
    padding: 10px 30px;
    border-radius: 15px;
    transition: 0.3s;
}

.btn:hover {
    letter-spacing: 0.2em;
    background: var(--main-color);
    color: var(--text-color);
    box-shadow: 0 0 35px var(--main-color);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--main-color);
    border-radius: 15px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn i {
    position: absolute;
    inset: 0;
    display: block;
}

.btn i:before {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    top: -2.9px;
    left: 80%;
    width: 20px;
    height: 5px;
    border: 1px solid var(--main-color);
    background: #27282c;
    transition: 0.5s;
}

.btn:hover i:before {
    width: 30px;
    left: 20%;
}

.btn i:after {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    bottom: -2.9px;
    left: 20%;
    width: 20px;
    height: 5px;
    border: 1px solid var(--main-color);
    background: #27282c;
    transition: 0.5s;
}

.btn:hover i:after {
    width: 30px;
    left: 80%;
}

/* heading  */
.heading {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    margin-bottom: 2rem;
}

.heading .bx {
    font-size: 21px;
    color: var(--text-color);
    background: var(--main-color);
    padding: 10px;
    border-radius: 5rem;
}

.heading h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
}

.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%, 24%, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
}

.box .box-text h2 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.box .box-text h3 {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.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 .bx {
    color: #faf102;
    font-size: 0.9rem;
}

.rating span {
    color: #faf102;
    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;
    transition: .3s;
}

.box-btn .bx:hover{
    background: var(--main-color);
    color: var(--text-color);
}

/* nouveaux */

.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: 3rem;
}

.btn2 {
    position: relative;
    /* background: var(--main-color); */
    background: #444;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2em;
    letter-spacing: 0.1em;
    padding: 12px 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.btn2:hover {
    letter-spacing: 0.15em;
    background: var(--main-color);
    color: var(--text-color);
    box-shadow: 0 0 35px var(--main-color);
}

.btn2::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--main-color);
    border-radius: 15px;
}

.btn2 span {
    position: relative;
    z-index: 1;
}

.btn2 i {
    position: absolute;
    inset: 0;
    display: block;
}

.btn2 i:before {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    top: -2.9px;
    left: 80%;
    width: 20px;
    height: 5px;
    border: 1px solid var(--main-color);
    background: #27282c;
    transition: 0.5s;
}

.btn2:hover i:before {
    width: 30px;
    left: 20%;
}

.btn2 i:after {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    bottom: -2.9px;
    left: 20%;
    width: 20px;
    height: 5px;
    border: 1px solid var(--main-color);
    background: #27282c;
    transition: 0.5s;
}

.btn2:hover i:after {
    width: 30px;
    left: 80%;
}

.copyright{
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.copyright p{
    font-size: 0.9rem;
    color: var(--text-color);
}




/* TELECHARGEMENT CSS */
.video-container video{
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid white;
}

.video-container{
    margin-top: 5rem;
}

.about{
    margin-top: 2rem;
}

.about h2{
    color: var(--text-color);
    display: inline-flex;
    font-size: 1.4rem;
    font-weight: 500;
    border-bottom: 4px solid var(--main-color);
}

.about p{
    color: var(--text-color);
    text-align: justify;
    font-size: 0.938rem;
    margin-top: 1rem;
}

.screenshots h2{
    color: var(--text-color);
    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, minmax(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{
    max-width: 800px;
    margin: auto;
    width: 100%;
    display: grid;
    justify-content: center;
    margin-top: 2rem;
}

.download h2{
    color: var(--text-color);
    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;
}

.btn3 {
    position: relative;
    /* background: var(--main-color); */
    background: #444;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1em;
    letter-spacing: 0.1em;
    padding: 12px 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.btn3:hover {
    letter-spacing: 0.13em;
    background: var(--main-color);
    color: var(--text-color);
    box-shadow: 0 0 35px var(--main-color);
}

.btn3::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--main-color);
    border-radius: 15px;
}

.btn3 span {
    position: relative;
    z-index: 1;
}

.btn3 i {
    position: absolute;
    inset: 0;
    display: block;
}

.btn3 i:before {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    top: -2.9px;
    left: 80%;
    width: 20px;
    height: 5px;
    border: 1px solid var(--main-color);
    background: #27282c;
    transition: 0.5s;
}

.btn3:hover i:before {
    width: 30px;
    left: 20%;
}

.btn3 i:after {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    bottom: -2.9px;
    left: 20%;
    width: 20px;
    height: 5px;
    border: 1px solid var(--main-color);
    background: #27282c;
    transition: 0.5s;
}

.btn3:hover i:after {
    width: 30px;
    left: 80%;
}

/* display block au scroll*/
html::-webkit-scrollbar{
    display:none;
}

/* custom scroll bar */
.progress{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    z-index: 500;
}

.progress-bar{
    height: 8px;
    background: var(--main-color);
    width: 0%;
}


/* Making responsive */
@media (max-width:1080px){
    .container{
        margin: 0 auto;
        width: 90%;
    }
    .nav{
        padding: 10px 0;
    }
    .notification{
        right: 4rem;
    }
    .menu img {
        height: 400px !important;
        width: 400px !important;
    }
}

/* Medium screen  */
@media (max-width : 800px){
    .navbar {
        row-gap: 0.5rem;
    }
    .menu img {
        height: 300px !important;
        width: 300px !important;
        margin-left: 1rem;
    }
}

/* Small screen  */
@media (max-width: 600px){
    .menu img {
        /* height: 150px !important;
        width: 150px !important;
        margin-left: 1rem; */
        display: none;
    }
    .navbar{
        position: absolute;
        right: 10px;
        line-height: 2.5rem;
    }
    .navbar a {
        font-size: 1.6rem;
    }
}