@font-face {
    font-family: ExtraBold;
    src: url(../fonts/Montserrat-ExtraBold.ttf);
}

@font-face {
    font-family: Bold;
    src: url(../fonts/Montserrat-Bold.ttf);
}

@font-face {
    font-family: Reg;
    src: url(../fonts/Montserrat-Regular.ttf);
}

@font-face {
    font-family: Light;
    src: url(../fonts/Montserrat-Light.ttf);
}



:root {
    --dark: #111113;
    --grey: #646464;
    --pink: #fb0cfc;
    --darker: #090909;
    --purple: #9f00ff;
    --white: #d7d7d7;
}

html body {
    background-image: url(../images/background.jpg);
    background-size: cover; 
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
    overflow-y: overlay;
    padding: 0;
  }


  
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark)

}
  
  /* Handle */
::-webkit-scrollbar-thumb {
    background: var(--pink);
}
  
  /* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--dark);
}

:root {
    --dark: #111113;
    --grey: #646464;
    --pink: #fb0cfc;
    --darker: #090909;
    --purple: #9f00ff;
    --white: #d7d7d7;
}



html body {
    background-image: url(../images/background.jpg);
    background-size: cover; 
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
  }






/* Start of Navbar */

.navbar {
    position: fixed;
    top: 0;
    width: 95%;
    padding: 0 2.5%;
    height: 80px;
    font-family: Light;
    background-color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    z-index: 999;
    overflow: hidden;
    transition: height 300ms ease-in-out;
}

.main-nav {
    position: fixed;
    display: flex;
    top: 0;
    right: 0;
    flex-wrap: wrap;
    width: 95%;
    padding: 0 2.5%;
    height: 80px;
    align-items: center;
    justify-content: space-between;
}
.logo {
    margin-right: auto;
}

.logo img{
    height: 35px;
}

.links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70%;
    max-width: 40rem;
    margin-right: 2%;
}

.link-item {
    display: flex;
    align-items: center;
}

.link-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.link-item svg {
    fill: white;
    margin-left: 5px;
    margin-right: 10px;
}

.selected svg {
    fill: var(--pink);
}

.selected a {
    color: var(--pink);
}

.link-item:hover a{
    color: var(--pink);
}

.link-item:hover svg{
    fill: var(--pink);
}

.store-items {
    border-top: thin solid var(--grey);
    top: 5rem;
    right: 0;
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 5rem;
    width: 100%;
    background-color: var(--dark);
}

.store-items a {
    margin: 0 1rem;
    text-decoration: none;
    color: white;
}


.nav-border {
    height: 35px;
    width: 1px;
    margin-right: 2%;
    background-color: var(--grey);
}

a {
    text-decoration: none;
}

.cart {
    display: flex;
    width: 40px;
    height: 20px;
    align-items: center;
    justify-content: space-between;
}

.cart a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.cart-number {
    margin: 0;
    color: white;
    font-size: 15px;
}

.cart a svg path{
    fill: white;
    padding: 0;
    margin: 0;
}

.cart a:hover svg path {
    fill: var(--pink);
}

.mobile-nav {
    display: none;
    height: 100%;
}

.mobile-icon {
    height: 30px;
    z-index: 999;
}

.mobile-bar {
    height: 1px;
    margin-bottom: 10px;
    background-color: white;
    width: 28px;
    transition: transform ease-in-out 250ms, opacity ease-in 100ms;
}

.mobile-icon-active .mobile-bar:nth-child(3) {
    opacity: 0;
}

.mobile-icon-active .mobile-bar:nth-child(2) {
    transform: rotate(45deg);
}
.mobile-icon-active .mobile-bar:nth-child(1) {
    transform: translateY(11px) rotate(-45deg);
}


.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 990;
    background-color: var(--dark);
    transform: translateX(100%);
    width: 50%;
    height: 100vh;
    border-left: thin solid var(--pink);
    transition: transform ease-in-out 300ms;
}

.mobile-cart {
    display: flex;
    align-items: center;
    width: 70px;
    margin-left: 15px;
    margin-top: 26px;
}

.mobile-cart a{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.mobile-cart svg {
    margin-right: 10px;
}

.mobile-cart h1 {
    color: white;
    font-size: 15px;
}

.mobile-cart a svg path{
    fill: white;
    padding: 0;
    margin: 0;
}

.mobile-cart svg:hover  path{
    fill: var(--pink);
}



.mobile-sidebar-active {
    transform: translateX(0%);
}

.mobile-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 50%;
    flex-direction: column;
    margin-top: 5rem;

}
.mobile-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9rem;
    height: 3rem;
    border: thin solid var(--purple);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.mobile-link-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
}

.mobile-link-item svg {
    height: 25px;
    margin-right: 10px;
}

.mobile-selected svg path {
    fill: var(--pink);
}

.mobile-selected a {
    color: var(--pink);
}

@media only screen and (max-width: 600px) {
    .mobile-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

    .logo img{
        height: 25px;
    }

    .nav-border {
        display: none;
    }

    .links {
        display: none;
    }

    .cart {
        margin: 0 25px 5px 0;
    }
  }


/* End of Navbar */



/* Start of Mini-Nav */

.mini-nav {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 95%;
    padding: 0 2.5%;
    gap: 0 5px;
    height: 5rem;
    margin-top: 5rem;
}

.mini-nav p {
    font-family: Light;
    font-size: 15px;
    text-decoration: none;
}

.mini-nav {
    color: white;
}

.mini-nav p a:not(.mini-selected) {
    color: white;
    text-decoration: none;
}

.mini-selected {
    color: var(--pink);
}

/* End of Mini-Nav */




/* Start of Main Header */

.main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: auto;
    height: 10rem;
}

.main-header header {
    display: flex;
    align-items: center;
    margin: 0;
    font-family: Bold;
    color: white;
    font-size: 3.5rem;
    gap: 0 10px;
}

.main-header header img {
    height: 50px;
}

.main-header p {
    font-family: Reg;
    color: var(--grey);
    font-size: 15px
}

@media only screen and (max-width: 700px) {
    .main-header {
        width: 90%;
        margin: auto;
    }

    .main-header header {
        font-size: 2rem;
    }

    .main-header p {
        text-align: center;
    }
  }

/* End of Main Header */


/* Start of Search */
.search {
    display: flex;
    flex-direction: row-reverse;
    max-width: 50rem;
    gap: 1rem;
    margin: auto;
    justify-content: space-around;
}

.searchbar {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 30rem;
    height: 3rem;
    border-radius: 10px;
    background-color: var(--dark);
    border: thin solid var(--pink);
    padding: 0 15px;
}

.searchbar svg {
    margin-right: 10px;
}

.searchbar svg path{
    fill: var(--purple);
}


.searchinput {
    width: 100%;
    outline: none;
    color: white;
    height: 100%;
    border: 0;
    background: none;
}

.filterButton {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3rem;
    width: 10rem;
    padding: 1rem;
    border-radius: 10px;
    background-color: var(--dark);
    color: var(--grey);
    border: thin solid var(--pink);
    cursor: pointer;
    transition: border-radius ease-in-out 400ms;
}

.filter-btn-opened {
    transition: border-radius ease-in-out 150ms;
    border-radius: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.filter-icon path{
    fill: var(--purple);
}

.filter-list {
    transform: translateY(-1px);
    width: calc(10rem - 2px);
    overflow: hidden;
    height: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: none;
    transition: all ease 300ms;
    transform-origin: top;
}

.filter-list-opened {
    border: thin solid var(--pink);
}

.filter {
    display: flex;
    flex-direction: column;
    width: 10rem;
    max-width: 10rem;
    padding: 0;
}

.filter-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 2.5rem;
    width: 100%;
    border: 0;
    margin: 0;
    background-color: var(--dark);
    border-bottom: thin solid var(--grey);
    color: white;
    text-align: left;
    font-size: 11px;
    font-family: Reg;
    transition: background-color ease-in-out 150ms;
}

.filter-box svg {
    display: none;

}

.filter-box svg path {
    fill: var(--dark);
}

.filter-selected {
    border-bottom: thin solid var(--dark);
    background-color: var(--pink);
}

.filter-selected svg {
    display: flex;
}

.filter-box:last-child {
    border-bottom: 0;
}


.filter-box:not(.filter-selected):hover {
    background-color: var(--darker);
}

@media only screen and (max-width: 800px) {
    .search {
        width: 90%;
        gap: 2rem;
    }
  }

/* End of Search */


/* Start of Games */
.game-row {
    display: flex;
    margin: auto;
    margin-top: 5rem;
    width: 80%;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--dark);
    width: 20rem;
    margin: 0 1rem;
    margin-top: 2rem;
    border-radius: 18px;
    border: thin solid var(--pink);
}

.card-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.card-bottom {
    width: 100%;
    display: flex;
    padding: 0 0 20px 0;
    justify-content: space-between;
}

.card-bottom a button {
    padding: 1rem 1.5rem;
    margin-right: 1rem;
    border-radius: 10px;
    border: thin solid var(--grey);
    background: none;
    font-family: reg;
    color: white;
    transition: all ease-in-out 150ms;
}

.card-bottom a button:hover {
    border: thin solid var(--purple);
    background-color: var(--pink);
}

.game-card img {
    width: 100%;
}

.game-card h1 {
    color: white;
    font-size: 20px;
    font-family: Bold;
    margin-left: 15px;
}

.game-card p:not(.game-card span) {
    color: white;
    font-size: 15px;
    font-family: reg;
    margin-left: 15px;
}

.game-card span {
    color: var(--pink);
}
/* End of Games */

/* Start of Footer */

footer {
    position: relative;
    background-color: var(--dark);
    bottom: 0;
    margin-top: 10rem;
    width: calc(100% - 5rem);
    padding: 4rem 2.5rem;
}

.footer-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 150rem;
    margin: auto;
}

.footer-info {
    width: 25rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.footer-logo img {
    height: 35px;
}

.footer-logo h1 {
    color: var(--white);
    font-size: 18px;
    margin: 0 0 0 15px;
    font-family: ExtraBold;
}

.footer-info p{
    color: var(--grey);
    font-family: Reg;
}

.footer-navigation {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-direction: row;
    margin-left: auto;
    width: 60rem;
}

.footer-navigation ul {
    min-width: 10rem;
    margin-top: 6px;
    list-style-type: none;
}

.list-title {
    margin-bottom: 20px;
    font-family: ExtraBold;
    color: var(--white);
}

.footer-navigation ul li a {
    color: var(--grey);
}

.footer-navigation ul li:not(.list-title) {
    color: var(--grey);
    font-family: Reg;
}

@media only screen and (max-width: 1000px) {
    .footer-info {
        margin-right: auto;
        margin-bottom: 2rem;
    }
    .footer-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        max-width: 150rem;
        margin: auto;
    }
    .footer-navigation {
        margin: 0;
        justify-content: start;
        flex-wrap: wrap;
        width: 100%;
    }
  }

/* End of Footer */