/* --- MAIN --- */

.container-1 {
    display: flex;
    max-width: 1200px;
    min-height: 800px;
    margin: 0 auto;
    padding-bottom: 2px;
}
label {
    display: flex;
    align-items: center;
}

/* --- ASIDE --- */

aside {
    width: 20%;
    padding-top: 4em;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.exit-aside {
    display: none;
}
.aside-category {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    padding: 0.5em 0.6em 0.3em 0.6em;
    border-radius: 5px;
}
.aside-category:hover {
    cursor: pointer;
    background-color: rgb(241, 241, 241);
}
.category-arrow {
    font-size: 1.3rem;
    transform: rotate(90deg);
}
.category-arrow-turn {
    transform: rotate(-90deg);
}
.option-group {
    height: 120px;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
}
.option-group-2 {
    height: 60px;
    padding: 0 0.6em;
}
.aside-hide {
    height: 0px;
}
.aside-option {
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}
.aside-option-2 {
    height: 60px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 1em;
}
.checkbox {
    transform: scale(1.2);
    margin: 1em 1em 1em 3em;
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
}
.price-box {
    font-size: 1rem;
    height: 40px;
    width: 70px;
    border: 1px solid rgb(214, 214, 214);
    text-align: center;
}
.price-box:focus::placeholder {
    color: transparent;
}
.price-box::placeholder {
    text-align: center;
    font-size: 0.9rem;
}
.aside-btn {
    margin-top: 0.5em;
    border-top: 1px solid rgb(88, 88, 88);
    padding-top: 1em;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.reset {
    width: 95%;
    height: 40px;
    font-size: 1rem;
    letter-spacing: 0.05rem;
    background-color: rgb(235, 235, 235);
    border: 1px solid rgba(88, 88, 88, 0);
    border-radius: 10px;
    color: inherit;
    transition: border 0.2s ease;
}
.reset:hover {
    cursor: pointer;
    border: 1px solid rgba(88, 88, 88, 255);
}
.filter {
    width: 95%;
    height: 40px;
    font-size: 1rem;
    letter-spacing: 0.05rem;
    border: 1px solid rgba(88, 88, 88, 0);
    border-radius: 10px;
    color: inherit;
    transition: border 0.2s ease;
    background-color: #C0C0C0;
}
.filter:hover {
    cursor: pointer;
    border: 1px solid rgba(88, 88, 88, 255);
}

/* --- ARTICLE --- */

article {
    height: 100%;
    width: 80%;
}

/* Sort and pages */
.mobile-aside {
    display: none;
}
.pages {
    width: 100%;
    padding: 1em 4em;
    display: flex;
    justify-content: space-between;
}
.list-sort {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 30%;
}
.list-sort > p {
    padding-right: 0.5em;
    display: flex;
    align-items: center;
}
.list-sort > select {
    font-size: 0.8rem;
    padding: 0.5em 0.7em;
    color: inherit;
    appearance: none;
    border: none;
    border-radius: 10px;
    background-color: rgb(235, 235, 235);
}
.list-sort > select:hover {
    cursor: pointer;
}
.list-sort > select:focus {
    outline: none;
}
.list-pages {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 30%;
}
.page-number {
    height: 30px;
    width: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}
.page-number:hover {
    cursor: pointer;
    background-color: rgb(241, 241, 241);
    border-radius: 30%;
}

/* Items */
.items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.items a {
    width: calc(100%/4);
}
.game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
    padding: 1em 0;
    transition: all 0.2s ease;
}
.game-item:hover {
    border: 1px solid rgb(214, 213, 213);
    transform: scale(1.01);
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 15px -7px rgba(66, 68, 90, 1);
    -moz-box-shadow: 0px 0px 15px -7px rgba(66, 68, 90, 1);
    box-shadow: 0px 0px 15px -7px rgba(66, 68, 90, 1);
}
.game-item > img {
    width: 60%;
    margin-bottom: 0.6em;
}
.game-title {
    font-size: 0.95rem;
    font-weight: bold;
    padding: 0 1em 0.3em 1em;
    text-align: center;
}
.game-price {
    font-size: 0.9rem;
    padding-bottom: 0.7em;
}

/* --- @MEDIA --- */

@media screen and (max-width: 480px){

/* --- @MAIN --- */

.container-1 {
    min-height: 500px;
    margin: 0;
    padding: 0;
}

/* --- @ASIDE --- */

aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    padding: 0;
    z-index: 100;
    transform: translate(100%);
    transition: transform 0.3s ease-in-out;
}
.aside-show {
    transform: translate(0%);
}
.fixed {
    position: fixed;
}
form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}
.exit-aside {
    display: flex;
    border-bottom: 1px solid grey;
}
.arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    height: 60px;
    width: 60px;
    background-color: rgb(198, 197, 197);
}
.arrow-back {
    width: 100%;
    padding-left: 1em;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}
.aside-category {
    font-size: 1.5rem;
}
.aside-category:hover {
    background-color: inherit;
}
.checkbox {
    transform: scale(1.6);
}
.aside-option-2 {
    padding: 0 4em;
}
.price-box {
    height: 55px;
    width: 85px;
}
.aside-btn {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
    
/* --- @ARTICLE --- */

article {
    height: 100%;
    width: 100%;
}

/* @Sort and pages */
.mobile-aside {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #C0C0C0;
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
    margin-top: -1px;
}
.mobile-aside > p {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    letter-spacing: 3px;
    height: 40px;
}
.mobile-aside:hover {
    background-color: #aeadad;
}
.pages {
    padding: 1em;
}
.list-sort {
    width: 50%;
    font-size: 0.8rem;
}
.list-pages {
    width: 50%;
}
/* @Items */
.items a {
    width: 50%;
}
.game-item {
    transition: none;
}
.game-item:hover {
    transform: none;
}
}