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

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

button {
    border: none;
    cursor: pointer;
    background-color: transparent;
}

a {
    text-decoration: none;
}

/**/

.body {
    font-family: "Roboto", sans-serif;
    background-color: #1b0e26;
}

.wrapper {
    max-width: 1200px;
    width: 100%;
    padding: 0 10px;
    margin: 0 auto;
}

/**/

.container {
    display: flex;
    width: 100%;
    min-height: 100%;
}

.main {
    overflow: auto;
    width: 100%;
    /*width: calc(100% - 58px);*/
}

/**/

.nav {
    background-color: #271a31;
    min-height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    position: relative;
    z-index: 10;
    transition: 0.3s;
}

.nav.active {
    width: 150px;
}

.nav .menu,
.header .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    width: 64px;
    box-shadow: 0 0 1px #00000052,0 4px 8px #0000003d;
}

.header .menu {
    display: none;
}

.nav .menu svg,
.header .menu svg {
    height: 24px;
    width: 24px;
    color: #FFFFFF;
}

.nav .menu svg:nth-child(2) {
    display: none;
}

.nav .group {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row-gap: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav .group svg {
    height: 24px;
    width: 24px;
    color: #8E8A92;
}

.nav .group:last-child svg{
    color: #09E41F;
}

.nav .group.active {
    align-items: flex-start;
}

.nav .group a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    grid-column-gap: 10px;
    transition: 0.3s;
    height: 32px;
}

.nav .group a:hover {
    opacity: 0.6;
    transform: scale(1.03);
}

.nav .group span {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    padding-right: 0;
    display: block;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, width 0.5s ease;
}

.nav .group.active span {
    opacity: 1;
    width: auto;
    padding-right: 14px;
}

.nav .group img {
    height: 32px;
    width: 32px;
}

.nav .group:nth-child(4) {
    border-bottom: none;
}

/**/

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #1b0e26;
    padding: 6px 24px;
    box-shadow: 0 0 1px #00000052, 0 4px 8px #0000003d;
}

.header .lside {
    display: flex;
    align-items: center;
    grid-column-gap: 10px;
}

.header .lside .links {
    display: flex;
    grid-column-gap: 20px;
}

.header .lside .links a {
    display: flex;
    align-items: center;
    grid-column-gap: 6px;
    color: #8E8A92
}

.header .lside .links a:first-child{
    color: #FFF20B;
}

.header .lside .links svg {
    height: 16px;
    width: 16px;
}

.header .buttonGroup {
    display: flex;
    align-items: center;
    grid-column-gap: 10px;
}

.header .buttonGroup svg {
    color: #FFFFFF;
    width: 24px;
    height: 24px;
    opacity: 0.6;
}

.header .buttonGroup a {
    padding: 8px 12px;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #FFFFFF;
    border-radius: 22px;
    box-shadow: 0 0 3px #313539;
    transition: 0.3s;
}

.header .buttonGroup a:hover {
    transform: scale(1.03);
    opacity: 0.6;
}

.header .buttonGroup a:nth-child(2) {
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}

.header .buttonGroup a:nth-child(3) {
    background-color: rgb(255,220,65);
    color: #000000;
}

/**/

.main .content {
    padding: 24px 12px;
}

/**/

.carousel {
    
}

.carousel .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 24px;
    border-radius: 12px;
    height: 190px;
    transition: background-size 0.3s ease;
}

.carousel .item:hover {
    background-size: 110%;
}

.carousel .item .top h2 {
    font-weight: 700;
    font-size: 10px;
    color: #FFFFFF;
    padding: 2px 4px;
    border-radius: 2px;
    background-color: #554C5C;
    width: fit-content;
}

.carousel .item .middle p {
    font-weight: 900;
    font-size: 20px;
    line-height: 28px;
    color: #F6DA24;
}

.carousel .item .bottom p {
    display: inline-block;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #FFFFFF;
    border-radius: 22px;
    box-shadow: 0 0 3px #313539;
    transition: 0.3s;
    background-color: rgb(255,220,65);
    color: #000000;
}

.carousel .item1 {
    background-image: url('../img/image1.webp');
}

.carousel .item2 {
    background-image: url('../img/image2.png');
}

/**/

.topGames {
    padding-top: 60px;
    padding-bottom: 70px;
}

.topGames .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topGames h2 {
    font-weight: 700;
    font-size: 28px;
    color: #C8C8C8;
}

.topGames .views a {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid #FFFFFF;
}

.topGames .views span {
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    padding: 4px;
    background-color: #554C5C;
    border-radius: 50%;
    margin-left: 4px;
}

.topGames .games {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    margin-top: 16px;
}

.topGames .games .item .image {
    overflow: hidden;
    border-radius: 14px;
}

.topGames .games .item:hover .image img {
    transform: scale(1.03);
}

.topGames .games .image img {
    border-radius: 14px;
    width: 100%;
    transition: 0.3s;
}

.topGames .games .bottom {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    grid-column-gap: 10px;
}

.topGames .games .bottom .name {
    font-weight: 600;
    font-size: 14px;
    color: #C8C8C8;
}

.topGames .games .bottom .tag {
    font-weight: 500;
    font-size: 12px;
    color: #6C6572;
    margin-top: 5px;
}

.topGames .games .bottom svg {
    height: 24px;
    width: 24px;
    min-width: 24px;
    color: #6C6572;
}

.info-content{
    color: #c8c8c8;
}

.info-content ul, ol{
    padding: 20px;
}
/**/

.owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column-gap: 10px;
    margin-top: 20px;
}

.owl-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #FFFFFF;
    opacity: 0.5;
    transition: 0.3s;
}

.owl-dot.active {
    opacity: 1;
}

/**/

.mobileMenu {
    display: none;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #271a31;
    padding: 7px 0;
}

.mobileMenu svg {
    height: 24px;
    width: 24px;
}

.mobileMenu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row-gap: 1px;
    font-weight: 600;
    font-size: 10px;
    color: #77717C;
}

.mobileMenu .item:first-child a {
    color: #FFF20B;
}

@media screen and (max-width: 1224px) {
    .carousel .item {
        height: 220px;
    }
}

@media screen and (max-width: 1024px) {
    .topGames .games {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .topGames .games {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .header .lside .links {
        display: none;
    }

    .nav {
        display: none;
    }

    .mobileMenu {
        display: flex;
    }
}

@media screen and (max-width: 525px) {
    .header .buttonGroup {
        margin-right: 0;
    }

    .carousel .item .bottom p {
        font-size: 18px;
    }

    .header .logo img {
        height: 28px;
    }

    .nav .menu {
        height: 30px;
        width: 30px;
    }

    .nav .group img {
        height: 21px;
        width: 21px;
    }

    .carousel .item {
        height: 190px;
    }

    .carousel .item .top p {
        margin-top: 8px;
    }

    .header {
        padding: 6px 12px;
    }

    /**/

    .nav {
        position: fixed;
        left: -100%;
        transition: 0.3s;
    }

    .nav.active {
        left: 0%;
    }

    .header {
        justify-content: flex-start;
    }

    .header .logo {
        margin-left: 10px;
    }

    .header .menu {
        display: block;
    }

    .header .buttonGroup {
        margin-left: auto;
        grid-column-gap: 5px;
    }

    .nav .menu svg:nth-child(1) {
        display: none;
    }

    .nav .menu svg:nth-child(2) {
        display: block;
    }
}

@media screen and (max-width: 425px) {
    .header .buttonGroup a {
        height: auto;
        padding: 10px;
    }

    .topGames .games {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 375px) {
    .nav .menu, .header .menu {
        height: 30px;
        width: 30px;
    }
}


