/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* variables */
:root {
    --header-height: 3rem;
    /*========== Colors ==========*/
    --black-color: #07080A;
    --black-color-alt: #0E1013;
    --title-color: #E7E8EB;
    --text-color: #BFC1C5;
    --text-color-light: #A7A9AE;
    --white-color: #FFF;
    --body-color: #0A0C0F;
    --container-color: #131519;
    --text-gradient: linear-gradient(var(--text-color), var(--black-color-alt));
    --scroll-thumb-color: #202328;
    --scroll-thumb-color-alt: #292C32;
    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 5rem;
    --bigger-font-size: 3rem;
    --big-font-size: 2.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    --text-line-height: 2rem;
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
    /*========== margin Bottom ==========*/
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 968px) {
    :root {
      --biggest-font-size: 7.5rem;
      --bigger-font-size: 4.5rem;
      --big-font-size: 4rem;
      --h2-font-size: 1.5rem;
      --h3-font-size: 1.25rem;
      --normal-font-size: 1rem;
      --small-font-size: .875rem;
      --smaller-font-size: .813rem;
    }
}

/* bse */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

h1, h2, h3 {
    color: var(--title-color);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

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

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

/* css classes */
.section {
    padding: 4rem 0 2rem;
}

.section_title {
    font-size: var(--bigger-font-size);
    text-align: center;
    margin-bottom: var(--mb-2-5);
}

.section_title-gradient {
    background: var(--text-gradient);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

/* layout */
.main {
    overflow: hidden;
}
  
.container {
    max-width: 1024px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}
  
.grid {
    display: grid;
}

/*=============== HEADER ===============*/
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background: transparent;
}

/*=============== NAV ===============*/
.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_logo {
    display: flex;
    width: 4rem;
}
  
.nav_toggle {
    font-size: 1.2rem;
    color: var(--white-color);
    cursor: pointer;
}


@media screen and (max-width: 767px) {
.nav_menu {
    position: fixed;
    background-color: var(--body-color);
    top: -100%;
    left: 0;
    width: 100%;
    padding: 4rem 0 3rem;
    transition: .4s;
}   
}
  
.nav_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
}
  
.nav_link {
  /*  color: var(--white-color);*/
    font-size: var(--h2-font-size);
    text-transform: uppercase;
    font-weight: var(--font-semi-bold);
    /* background: var(--text-gradient); */
    /* color: transparent; */
    color:var(--title-color);
    -webkit-background-clip: text; 
    background-clip: text;
    transition: color 0.4s ease, background 0.4s ease;
}
  
.nav_link:hover {
    /* background: var(--text-gradient);
    color: transparent; */
    color: lightblue;
    -webkit-background-clip: text;
    background-clip: text;
}
  
.nav_close {
    position: absolute;
    font-size: 1.5rem;
    top: 1rem;
    right: 1rem;
    color: var(--white-color);
    cursor: pointer;
}

/* show menu */
.show-menu {
    top: 0;
}

/* Change background header */
.scroll-header {
    background-color: var(--body-color);
}
  
/* Active link */
.active-link {
    background: var(--white-color);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}


/*=============== HOME ===============*/
.home_img {
    width: 90%;
    position: absolute;
}
  
.home_data {
    padding-top: 5rem;
}

.home_header {
    position: relative;
}
  
.home_title {
    position: absolute;
    top: -4rem;
    left: 1rem;
    line-height: 6rem;
    font-size: var(--biggest-font-size);
    background: var(--text-gradient);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}
  
.home_subtitle {
    font-size: var(--big-font-size);
    margin-bottom: var(--mb-2-5);
}
  
.home_title-description {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1);
}
  
.home_description {
    margin-bottom: var(--mb-2-5);
    line-height: var(--text-line-height);
}
  
/*=============== BUTTONS ===============*/
.button {
    display: inline-block;
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 1rem 1.25rem;
    border-radius: .5rem;
    transition: .3s;
}
  
.button:hover {
    background-color: var(--black-color-alt);
}
  
.button_icon {
    font-size: 1.2rem;
}
  
.button--flex {
    display: inline-flex;
    align-items: center;
    column-gap: .75rem;
}

/*=============== SPONSOR ===============*/
.sponsor_img {
    width: 90px;
  }
  
  .sponsor_container {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    row-gap: 3rem;
    justify-items: center;
    align-items: center;
  }
  
/*=============== Experience ===============*/
.experience_container {
    position: relative;
}
  
.experience_content {
    row-gap: 1.5rem;
}
  
.experience_data {
    display: grid;
    row-gap: .25rem;
}
  
.experience_icon {
    font-size: 1.2rem;
    color: var(--white-color);
}
  
.experience_title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
}
  
.experience_subtitle {
    font-size: var(--smaller-font-size);
}
  
.experience_data:nth-child(1), .experience_data:nth-child(4) {
    margin-left: 1.5rem;
}
  
.experience_img {
    width: fit-content;
    height: 100%;
    position: absolute;
    top: -2rem;
    right: -2rem;
    z-index: -1;
}

/*=============== Offer ===============*/
.offer_container {
    position: relative;
    /* background-color: var(--container-color); */
    padding: 3rem 3rem;
    border-radius: .75rem;
}
  
.offer_title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
}
  
.offer_description {
    margin-bottom: var(--mb-1);
}
  
.offer_img {
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 4rem;
    right: -5rem;
}

 /*=============== PRODUCTS ===============*/
.products_line {
    line-height: 4rem;
}
  
.products_container {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem 1.5rem;
    padding-top: 3rem;
}
  
.products_card {
    position: relative;
    height: 132px;
    background-color: var(--container-color);
    padding: .75rem;
    border-radius: .5rem;
    display: grid;
}
  
.products_img {
    height: 100%;
    position: absolute;
    inset: 0;
    margin-right: auto;
    margin-left: auto;
    top: -4rem;
}
  
.products_content {
    align-self: flex-end;
}
  
.products_title, .products_price {
    font-size: var(--small-font-size);
}
  
.products_price {
    font-weight: var(--font-semi-bold);
}
  
.products_button {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    padding: .5rem;
    border-radius: .35rem;
}

/*=============== FOOTER ===============*/
.footer_container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    row-gap: 2rem;
    column-gap: 1rem;
    justify-self: center;
}
  
.footer_logo {
    width: 5rem;
}
  
.footer_title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1);
}

.footer_links {
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
}
  
.footer_link {
    color: var(--text-color);
}
  
.footer_link:hover {
    color: var(--white-color);
}
  
.footer_form {
    display: flex;
    column-gap: .5rem;
    background-color: var(--container-color);
    padding: .5rem .75rem;
    border-radius: .5rem;
    margin-bottom: var(--mb-2);
}
  
.footer_input {
    background-color: var(--container-color);
    width: 90%;
    color: var(--white-color);
}
  
.footer_input::placeholder {
    color: var(--text-color);
    font-size: var(--normal-font-size);
    font-family: var(--body-font);
}
  
.footer_social {
    display: flex;
    column-gap: 1.25rem;
    justify-self: center;
}
  
.footer_social-link {
    display: inline-flex;
    color: var(--white-color);
    background-color: var(--container-color);
    padding: .5rem;
    border-radius: .25rem;
    font-size: 1rem;
}
  
.footer_social-link:hover {
    background-color: var(--black-color);
}
  
.footer_copy {
    margin-top: 5rem;
    text-align: center;
}

.footer_copy-link {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
}
  
/*=============== SCROLL UP ===============*/
.scroll_up {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    display: flex;
    background-color: var(--container-color);
    border-radius: .25rem;
    padding: .45rem;
    opacity: 9;
    z-index: var(--z-tooltip);
    transition: .4s;
}
  
.scroll_up:hover {
    background-color: var(--black-color);
    opacity: 1;
}
  
.scroll_up_icon {
    color: var(--white-color);
    font-size: 1.35rem;
}
  
/* Show Scroll Up*/
.show-scroll {
    bottom: 5rem;
}
  
/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: .7rem;
    border-radius: .5rem;
}
  
::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color);
    border-radius: .5rem;
}
  
::-webkit-scrollbar-thumb:hover {
    background-color: var(--scroll-thumb-color-alt);
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  .section_title {
    font-size: var(--big-font-size);
  }
  .home_img {
    width: 250px;
    /* top: -13rem; */
  }
  .home_title {
    top: -4rem;
    font-size: var(--bigger-font-size);
  }
  .home_data {
    padding-top: 3rem;
  }
  .home_description {
    font-size: var(--small-font-size);
  }
  .experience_img {
    width: 200px;
  }

  .products_container {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  /* .home_container {
    grid-template-columns: .8fr 1fr;
  } */
  /* .home_data {
    padding-top: 2rem;
  } */
  /* .home_img {
    width: 100%;
    left: 0;
  } */
  /* .experience_img {
    position: initial;
  } */
  /* .experience_container {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
  } */
  /* .offer_img {
    position: initial;
  } */
  /* .offer_container { */
    /* grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center; */
  /* } */
  /* .products_container { */
    /* grid-template-columns: repeat(3, 142px); */
    /* justify-content: center; */
  /* } */
}

@media screen and (min-width: 767px) {
  /* body {
    margin: 0;
  } */
  /* .section {
    padding: 6rem 0 2rem;
  } */
  /* .nav {
    height: calc(var(--header-height) + 1.5rem);
  } */
  /* .nav_logo {
    width: 5rem;
  } */
  /* .nav_list {
    flex-direction: row;
    column-gap: 3.5rem;
  } */
  /* .nav_link {
    font-size: var(--normal-font-size);
    text-transform: initial;
  } */
  /* .nav_toggle, .nav_close {
    display: none;
  } */
  /* .home_container {
    position: relative;
    grid-template-columns: repeat(2, 1fr);
  } */
  /* .home_img { */
    /* top: -9rem; */
    /* left: 4rem; */
  /* } */
  /* .home_data {
    padding-top: 8rem;
  } */
  /* .specs_img {
    width: 300px;
  } */
  /* .discount_container { */
    /* grid-template-columns: 250px max-content; */
    /* justify-content: center; */
    /* column-gap: 5rem; */
    /* padding: 3rem 0; */
  /* } */
  /* .discount_title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
  } */
  /* .discount_description {
    margin-bottom: var(--mb-2);
  } */
  /* .products_container { */
    /* grid-template-columns: repeat(3, 1fr);
    gap: 6rem 3rem; */
    /* padding-top: 5rem; */
  /* } */
  /* .products_card {
    height: 152px;
    padding: .85rem;
  } */
  /* .products_img { */
    /* width: 95px; */
  /* } */
  /* .footer_container { */
    /* grid-template-columns: .4fr .7fr .7fr 1fr, .3; */
  /* } */
}

/* For large devices */
@media screen and (min-width: 1024px) {
.nav_list {
    flex-direction: row;
    column-gap: 3.5rem;
}
.nav_link {
    font-size: var(--normal-font-size);
    text-transform: initial;
}
.nav_toggle, .nav_close {
    display: none;
}
.container {
    margin-left: auto;
    margin-right: auto;
}
.home_container {
    position: relative;
    grid-template-columns: repeat(2, 1fr);
}
.home_data {
    padding-top: 8rem;
}
.home_img {
    width: 100%;
    /* top: -15rem; */
}
  .home_title {
    top: -5rem;
    left: 3.5rem;
  }
  .home_description {
    padding-right: 5rem;
  }
  .sponsor_img {
    width: 100px;
  }
  .experience_container {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
  }
  .experience_img {
    position: initial;
  }
  .offer_container {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
  }
  .offer_img {
    position: initial;
    height: 100%;
  }
  .products_container {
    grid-template-columns: repeat(3, 1fr);
    gap: 6rem 3rem;
    justify-content: center;
  }
  .footer_container {
    grid-template-columns: 1fr 3fr 2fr 5fr 1fr;
    padding-top: 3rem;
  }
  .footer_logo {
    width: 3rem;
  }
  .footer_copy {
    margin-top: 9rem;
  }
}










