* {
    margin: 0;
    font-family: "Roboto", sans-serif;
}

html,body{
    height:100%;
}

.header {
    position: fixed;
    width: 100%;
    transition: 0.2s all;
    justify-content: space-between;
    display: flex;
    align-items: center;
    z-index: 999;
}

.header-mobile {
    display: none;
    height: auto;
    width: 100%;
    background-color: white;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
     user-select: none; /* Standard syntax */
}

.nav-icon {
    font-size: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
    vertical-align: middle;
    margin-left: 25px;
}

.nav-mobile {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
}

.nav-mobile > div {
    color: black;
    text-align: center;
    position: relative;
}

.nav-mobile a {
	text-decoration: none;
	font-size: 24px;
    font-weight: 600;
	color: rgb(0, 0, 0);
}

.nav-mobile li {
    text-transform: uppercase;
    list-style-type: none;
    margin: 50px;
}

.logo-mobile {
    position: relative;
    height: 18px;
    padding: 25px;
    left: 50%;
    transform: translateX(-50%);
    vertical-align: middle;
    margin-left: -50px;
}

.no-scroll {
    overflow: hidden;
 }

.nav {
    color: white;
    font-size: 18px;
    transition: 0.2s all;
}
	
.nav li {
	display: inline;
    margin: 20px;
    text-transform: uppercase;
    transition: 0.2s all;
}

.nav a {
	text-decoration: none;
	font-size: 14px;
	color: #ffffff;
    transition: 0.2s all;
}

.nav a:hover {
	text-decoration: underline;
    text-underline-offset: 5px;
}

.nav-left{
    display: flex;
    align-items: center;
    transition: 0.2s all;
}

.nav-right{
    justify-content: space-between;
    display: flex;
    align-items: center;
    transition: 0.2s all;
}

.logo {
    height: 18px;
    padding: 20px;
    margin: 25px;
    background-color: white;
    transition: 0.2s all;
}

.search {
    padding: 15px;
    margin: 25px;
    margin-left: 0;
    margin-right: 0;
    font-size: 12px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    color: white;
    border-radius: 15px;
    width: 18vh;
    transition: 0.2s all;
}

.cart {
    padding: 14px;
    margin: 25px;
    font-size: 18px;
    color: white;
    width: rgb(255, 255, 255);
    transition: 0.2s all;
}

.hero {
    width: 100%;
    min-height: 100%;
    height: auto;
    background: rgb(0,0,0);
    background: linear-gradient(165deg, rgba(0,0,0,1) 0%, rgba(87,57,130,1) 50%, rgba(0,0,0,1) 100%);
    display: flex;
    flex-wrap: wrap-reverse;
}

.hero-image {
    object-fit: contain;
    width: 100%;
    object-position: bottom;
    padding: 100px;
    padding-bottom: 150px;
    box-sizing: border-box;
}

.hero-text {
    padding: 100px;
    padding-bottom: 150px;
}

.hero h1 {
    color: white;
    font-size: 100px;
    line-height: 90px;
    font-weight: 800;
}

.hero h2 {
    color: white;
    font-size: 24px;
    font-weight: 200;
    margin-top: 50px;
    margin-bottom: 50px;
}

.hero button {
    color: white;
    background: none;
    border: 2px solid white;
    padding: 15px;
    padding-left: 25px; padding-right: 25px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 400;
}

.hero button:active {
    color: black;
    background-color: rgb(233, 233, 233);
}

.row {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}

.column {
    flex: 50%;
    max-width: 50%;
    align-self: flex-end;
}

.content {
    position: relative;
    width: auto;
    height: auto;
    font-size: 35px;
    color: white;
    margin: auto;
    padding-bottom: 50px;
    padding-top: 50px;
}

.content h1 {
    font-size: 40px;
    color: black;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.cards {
    width: auto;
    display: grid;
    gap: 1rem;
    padding: 150px 150px;
    padding-top: 0px;
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background-color: rgb(235, 235, 235);
    color: white;
    padding: 3rem;
    height: auto;
    width: auto;
    margin: auto;
    text-align: center;
}

.card img {
    margin: auto;
    width: 200px;
    height: 200px;
    text-align: center;
    object-fit: contain;
}

.card:hover > img {
    scale: 1.1;
}

.card h3 {
    color: black;
    font-size: 18px;
    text-align: center;
    padding: 15px;
    height: 20px;
}

.parallax-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.parallax {
    /* The image used */
    background-image: url("https://assets.corsair.com/image/upload/f_auto/q_auto/v1665093138/akamai/hybris/homepage/images/cia/cia-pc-builder.jpg");
  
    /* Set a specific height */
    height: auto;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    grid-area: 1 / 1 / 2 / 4;
}

.parallax-info {
    height: 100%;
    background-color: black;
    grid-area: 1 / 4 / 2 / 5;
}

.parallax-info h1 {
    font-size: 45px;
    color: white;
    padding: 50px;
}

.parallax-info h2 {
    font-size: 18px;
    font-weight: 200;
    color: white;
    padding: 50px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.parallax-info button {
    color: white;
    background: none;
    border: 2px solid white;
    padding: 15px;
    padding-left: 25px; padding-right: 25px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 400;
    margin: 50px;
}

.parallax-info button:active {
    color: black;
    background-color: rgb(233, 233, 233);
}



.products-content {
    position: relative;
    width: auto;
    height: auto;
    font-size: 35px;
    color: white;
    margin: auto;
    padding-bottom: 50px;
    padding-top: 50px;
}

.products-content h1 {
    font-size: 40px;
    color: black;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.product-cards {
    width: auto;
    display: flex;
    gap: 1rem;
    /* padding: 150px 150px; */
    padding-top: 0px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    overflow-x: auto;
    padding-left: 25px;
    padding-right: 25px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.product-cards::-webkit-scrollbar {
    width: 0px;
    height: 0px;
  }

.product-card {
    background-color: rgb(235, 235, 235);
    color: white;
    padding: 3rem;
    height: auto;
    width: auto;
    margin: auto;
    text-align: center;
    width: 150px;
    scroll-snap-align: center;
}

.product-card img {
    margin: auto;
    width: 150px;
    height: 130px;
    text-align: center;
    object-fit: contain;
}

.product-card h3 {
    color: black;
    font-size: 18px;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
    height: 48px;
    overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2; 
   -webkit-box-orient: vertical;
}

.product-card h4 {
    color: #573982;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.product-card h5 {
    color: #823939;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: line-through;
    height: 14px;
}


.bonus {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: black;
    padding: 5vh;
}

.bonus-card {
    color: white;
    height: auto;
    width: 100%;
    margin: auto;
}

.bonus-icon {
    font-size: 35px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.bonus-info {
    text-align: center;
}

.bonus-info h2 {
    font-size: 25px;
    color: white;
}

.bonus-info h4 {
    font-size: 14px;
    color: white;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 25px;
}




.news-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-left: 150px;
    padding-right: 150px;
    gap: 8rem;
}

.news {
    color: black;
    height: auto;
    margin: auto;
    padding: 15px;
    transition: 0.2s all;
}

.news:hover {
    box-shadow: 0px 0px 25px rgb(221, 221, 221);
}

.news-img {
    height: 350px;
    width: auto;
    background-image: url('https://spcgear.com/wp-content/uploads/2020/07/spcgear-categories-mice.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.news h4 {
    margin-top: 15px;
    padding: 10px;
    padding-bottom: 0px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.news h2 {
    padding: 10px;
    font-size: 18px;
    font-weight: 300;
    text-align: left;
}

.news h1 {
    padding: 10px;
    font-size: 35px;
    font-weight: 500;
    text-align: left;
}





.footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: black;
    padding: 5vh;
}

.footer-card {
    color: white;
    height: auto;
    width: 100%;
}

.footer-info {
    text-align: left;
}

.footer-social {
    text-align: left;
}

.footer-icon {
    margin-right: 25px;
    font-size: 55px;
}

.footer-info h2 {
    font-size: 20px;
    color: white;
}

.footer-info h4 {
    font-size: 14px;
    color: white;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 25px;
    line-height: 22px;
}


/* Responsive layout - makes a two column-layout instead of four columns */

@media screen and (max-width: 1600px) {
    .cards { 
        grid-template-columns: repeat(4, 1fr);
        padding: 10px 10px;
    }

}

@media screen and (max-width: 1400px) {
    .cards { 
        grid-template-columns: repeat(4, 1fr);
        padding: 5px 5px;
    }
    .news-container {
        gap: 4rem;
    }
}

@media screen and (max-width: 1270px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
    .header {display: none;}
    .header-mobile {display: block;}
    .parallax-box {grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr);}
    .parallax {background-attachment: scroll; grid-area: 2 / 1 / 3 / 5;}
    .parallax-info {grid-area: 1 / 1 / 2 / 5;}
    .hero-text {
        padding: 50px;
        padding-bottom: 50px;
        text-align: center;
    }
    .cards {
        grid-template-columns: repeat(2, 1fr); 
        padding: 20px 20px;
        
    }
    .bonus {
        grid-template-columns: repeat(1, 1fr);
    }
    .news-container {
        grid-template-columns: repeat(1, 1fr);
        padding-left: 50px;
        padding-right: 50px;
    }
    .news {
        padding: 10px;
    }
    .footer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 980px) {
    .parallax-box {grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr);}
    .parallax {background-attachment: scroll; grid-area: 2 / 1 / 3 / 5;}
    .parallax-info {grid-area: 1 / 1 / 2 / 5;}
    .cards {
        grid-template-columns: repeat(2, 1fr); 
        padding: 50px 50px;
        
    }
}


@media screen and (max-width: 800px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
    .hero h1 {
        font-size: 50px;
        line-height: 45px;
    }
    .hero h2 {
        font-size: 14px;
    }
    .hero-text {
        padding: 50px;
        padding-bottom: 50px;
        text-align: center;
    }
    .cards {
        grid-template-columns: repeat(2, 1fr); 
        padding: 20px 20px;
        
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 650px) {
    .column {
      flex: 100%;
      max-width: 100%;
    }
    .hero h1 {
        font-size: 50px;
        line-height: 45px;
    }
    .hero h2 {
        font-size: 14px;
    }
    .hero-text {
        padding: 50px;
        padding-bottom: 50px;
        text-align: center;
    }
    .cards { grid-template-columns: repeat(2, 1fr); padding: 5px 25px; }
    .card {padding: 15px;}
    .card img { width: 120px; height: 120px; }
    .content h1 {
        font-size: 28px;
    }
    .products-content h1 {
        font-size: 28px;
    }
    .footer {
        grid-template-columns: repeat(1, 1fr);
    }
    .footer-social {
        text-align: center;
    }
    .footer-icon {
        margin: 25px;
        font-size: 25px;
    }
    
  }




















/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #d3d3d3; 
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #ffffff; 
}
/* Track */
::-webkit-scrollbar-track {
    background: #573982; 
}

