@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300&display=swap');
/*=============== VARIABLES CSS ===============*/
:root{
    /*========== Colors ==========*/
    --hue-color: 206;
  --black-color: hsl(var(--hue-color), 4%, 4%);
  --black-color-alt: hsl(var(--hue-color), 4%, 8%);
  --title-color: hsl(var(--hue-color), 4%, 95%);
  --text-color: hsl(var(--hue-color), 4%, 75%);
  --text-color-light: hsl(var(--hue-color), 4%, 65%);
  --white-color: #FFF;
  --body-color: hsl(206, 100%, 10%);
  --container-color: hsl(var(--hue-color), 4%, 10%);
  --text-gradient: linear-gradient(hsl(var(--hue-color), 4%, 24%), hsl(var(--hue-color), 4%, 8%));
  --scroll-thumb-color: hsl(var(--hue-color), 4%, 16%);
  --scroll-thumb-color-alt: hsl(var(--hue-color), 4%, 20%);

  /*=============== FONTS AND TYPOGRAPHY ===============*/
  --body-font:'Poppins', sans-serif;
  --normal-font-size: .938rem;
  --h2-font: 1.2rem;
  --big-font-size: 4rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .60rem;
  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);
}

/*=============== UTILITIES ===============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 overflow: unset;
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 968px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.button_flex {
  display: flex;
  align-items: center;
}

.section_title {
  text-align: center;
  font-size: 4.5rem;
  margin-bottom: 3.5rem;
}

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

/*=============== HAMBURGER MENU ===============*/
.hamburger {
  cursor: pointer;
  transition: all 0.25s;
  display: none;
  position: relative;
  margin-right: 10px;
}
.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--white-color);
  transform: rotate(0);
  transition: all 0.5s;
}
.hamburger-middle {
  transform: translateY(7px);
}
.hamburger-bottom {
  transform: translateY(14px);
}
.open {
  transform: rotate(90deg);
  transform: translateY(0px);
}
.open .hamburger-top {
  transform: rotate(45deg) translateY(6px) translate(6px);
}
.open .hamburger-middle {
  display: none;
}
.open .hamburger-bottom {
  transform: rotate(-45deg) translateY(6px) translate(-6px);
}

.nav_menu.show {
  top: 0;
}

/*=============== HEADER ===============*/
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding-top: 1rem;
}

.header_scroll {
  background-color: var(--body-color);
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.grid {
  display: grid;
}

/*=============== LAYOUT ===============*/
.main {
  overflow: hidden;
}

.section {
  padding: 4rem 4rem;
}

/*=============== NAV ===============*/
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
}

.logo img{
  display: flex;
  width: 6rem;
}

.nav_items {
  display: flex;
  align-items: center;
}

.nav_link {
  padding: 10px 28px;
  color: var(--white-color) !important;
  font-size: var(--h2-font);  
  background: var(--text-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.nav_link:hover {
  background: var(--body-color) !important;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/*=============== HOME ===============*/
.home img{
  width: 300px;
  position: absolute;
  top: -2rem;
  left: 4.7rem;
}

.home_container {
  grid-template-columns: repeat(2, 1fr);
}

.home_data {
  padding-top: 5rem;
}

.home_header {
  position: relative;
}

.home_title {
  font-size:4rem;
  font-family: var(--body-font);
  font-weight: 300;
  background: var(--text-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  position: absolute;
  top: -4rem;
  left: 1rem;
  line-height: 6.5rem;
}

.home_subtitle {
  font-size: 4rem;
  margin-bottom: 3rem;
  margin-top: 5rem;
}

.home_title_description {
  margin-bottom: 2rem;
}

.home_description {
  margin-bottom: var(--mb-2-5);
  line-height: var(--text-line-height);
}

.home_footer .home_title_description {
  font-family: sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.home_description {
  line-height: 2;
  margin-bottom: 1.5rem;
}
.read-more {
  color: rgb(249, 249, 254);  
  font-style: italic;
}
/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  background-color: var(--black-color-alt);
  color: var(--white-color);
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  outline: unset;
  border: unset;
  transition: .3s;
}

.button:hover {
  background-color: var(--black-color);
}

.data i {
  font-size: 16px;
  margin-right: 0.5rem;
}
/*=============== SPONSOR ===============*/

.sponsor img {
  width: 90px;
}

.sponsor_container{
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  align-items: center;
  gap: 5rem;
  justify-content: center;
}
.white-line {
  border: 1px solid white; 
  margin: 20px 0;
}
/*=============== SPECS ===============*/

.spec_container {
  position: relative;
}

.spec_content {
  row-gap: .5rem;
  margin-left: 5rem;
}

.spec_data {
  display: grid;
  row-gap: .25rem;
}

.spec_title {
  font-size: 1rem;
}

.spec_subtitle {
  font-size: .875rem;
}

.spec_data:nth-child(1),
.spec_data:nth-child(4) {
  margin-left: 2rem;
}

.spec_container img {
  position: absolute;
  width: 500px;
  right: 5rem;
  top: 2rem;
}

/*=============== CASE ===============*/
.case_container {
  position: relative;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.case_data {
  padding: 5rem 0 3rem;
}

.case_img {
  width: 300px;
}

.case__description {
  font-size: .875rem;
  margin-bottom: 1rem;
}

.case_data i {
  font-size: 16px;
  margin-right: 0.5rem;
}
/*=============== DISCOUNT ===============*/
.discount_container {
  position: relative;
  background-color: #254049;
  padding: 4rem 2rem;
  border-radius: .75rem;
  align-items: center;
}

.discount img {
  position: absolute;
  width: 300px;
  top: 4rem;
  right: 5rem;
}

.discount_title {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.discount_description {
  margin-bottom: 1.5rem;
}

.discount i {
  font-size: 16px;
  margin-right: 0.5rem;
}
/*=============== PRODUCT ===============*/
.product h2{
  line-height: 0.85;
}

.product_container {
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem 1.5rem;
  padding-top: 2rem;
}

.product_card {
  position: relative;
  height: 132px;
  background-color: #254049;
  padding: .75rem;
  border-radius: .5rem;
  display: grid;
}

.product_img {
  width: 100px;
  position: absolute;
  inset: 0;
  margin-left: auto;
  margin-right: auto;
  top: -3rem;
}

.product_content {
  align-self: flex-end;
}

.product_title,
.product_price {
  font-size: .875rem;
}

.product_price {
  font-weight: bold;
}

.product_button {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  padding: .5rem;
}
/*=============== FOOTER ===============*/
.footer {
  padding-top: 5rem;
}

.footer_container {
  grid-template-columns: repeat(4, 1fr);
  /* grid-gap: 2rem; */
}

.footer_title {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.footer_links {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.footer_link {
  color: var(--text-color);
}

.footer_link:hover {
  color: var(--white-color);
}

.footer_form {
  display: flex;
  column-gap: .5rem;
  background-color: #254049;
  padding: .4rem .75rem;
  border-radius: .5rem;
  margin-bottom: 1.5rem;
}

.footer_form input {
  background-color: #254049;
  width: 100%;
  color: var(--white-color);
  outline: 0;
  border: unset;
}

.footer_form::placeholder {
  color: var(--text-color);
  font-weight: bold;
  font-size: 1.5rem;
}

.footer_social {
  display: flex;
  column-gap: 1.25rem;
}

.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 {
  background-color: var(--black-color);
}

.footer_form .button {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.footer_form .button i {
  margin-right: 0.5rem;
}

.footer .footer_copy {
  text-align: center;
  margin: 5rem 0 2rem 0;
}

/*=============== MOBILE RESPONSIVNESS ===============*/


@media (max-width: 680px) {

  .section {
   padding: 2rem 2rem;
  }
  .logo img {
    width: 2.5rem;
  }

  .nav_menu {
    position: fixed;
    background-color: var(--body-color);
    top: -100%;
    left: 0;
    width: 100%;
    padding: 5.5rem 0 3rem;
    transition: .4s;
  }

  .hamburger{
    display: block;
  }

  .nav_items {
    display: flex;
    flex-direction: column;
    margin-top: 2.5rem;
    align-items: center;
    row-gap: 1rem;
  }

  .nav_link {
    text-transform: uppercase;
  }

  .home img {
    width: 200px;
    margin-top: 22px;
  }

  .home_container {
    grid-template-columns: 1fr;
  }

  .home_title {
    font-size: 5.5rem;
    left: 0;
    top: -4rem;
  }

  .home_subtitle {
    font-size: 3rem;
  }

  .sponsor_container {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }  

  .spec_container img {
    width: 200px;
    right: -7rem;
  }

  .spec_content {
    margin-left: 1rem;
  }

  .case_img {
    position: initial;
    width: 200px;
  }

  .case_data {
    padding: 0;
  }

  .case_container {
    grid-template-columns: max-content 250px;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
  }

  .discount img {
    right: -12rem;
  }

  .discount {
    grid-template-columns: 250px max-content;
    justify-content: center;
    column-gap: 5rem;
    padding: 3rem 0;
  }

  .product h2 {
    font-size: 3.5rem;
    line-height: 1;
  }

  .product_container {
    grid-template-columns: repeat(2, 1fr);
  }

  .product_card {
    height: 152px;
    padding: .85rem;
  }

  .footer_container {
    grid-template-columns: 1fr;
  }

  .footer_logo img {
    margin-bottom: 2.5rem;
    width: 3rem;
  }

  .footer_title {
    font-size: 1.5rem;
    margin-top: 1.5rem;
  }

  .footer_links {
    row-gap: 1.5rem;
  }

  .footer_form {
    margin-top: 2.5rem;
  }
}
@media (max-width: 770px) {
  .spec_container img {    
    width: 500px;
    transform: translateX(160px) !important;
    top: 2rem;
}
}
