* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: "Roboto", sans-serif;
    color: #fff;
    letter-spacing: 0.01em;
    background: #382039;
}

.container {
    width: 70%;
    margin: auto;
}

#main-header {
    width: 100vw;
    height: 60px;
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #200f21;
}

#main-header h1 {
    margin-left: 30px;
    font-size: 1.5em;
    font-weight: 400;
}

#home-page-btn:hover {
    cursor: pointer;
}

#navbar {
    margin-right: 30px;
}

#navbar ul {
    height: 60px;
    display: flex;
    list-style: none;
}

#navbar li {
    height: 100%;
    margin: 0 5px;
    padding: 0 5px;
    display: flex;
    align-items: center;
}

#navbar li:hover {
    cursor: pointer;
}

#navbar li:nth-child(2) {
    padding-top: 3px;
    border-bottom: 3px solid #f638dc;
}

#navbar li:nth-child(2) a {
    color: #fff;
}

#navbar a {
    color: gainsboro;
    text-decoration: none;
}

#navbar li:hover a {
    color: #fff;
}

#games {
    margin-top: 40px;
}

#games h1 {
    font-size: 1.75em;
    font-weight: 500;
}

#games-container {
    height: calc(100vh - 60px - 170px + 20px);
    margin-top: 20px;
    padding: 25px;
    background: #5a3d5c;
    border-radius: 10px;
}

#games-list-view {
    width: 100%;
    height: 100%;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, 180px);
}

.games-item {
    width: 180px;
    height: 180px;
    display: grid;
    grid-template-rows: 3fr 1fr;
    background: #382039;
    border-radius: 10px;
}

.games-item:hover {
    cursor: pointer;
}

.games-image img {
    width: 75%;
}

.games-info {
    background: #200f21;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#footer {
    height: 170px;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #200f21;
}

#footer-nav {
    margin-bottom: 20px;
}

#footer-nav ul {
    display: flex;
    list-style: none;
}

#footer-nav li {
    margin: 0 10px;
}

#footer-nav a {
    text-decoration: none;
    color: #fff;
}

#footer-socials {
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
}

#footer-socials i, img {
    margin: 0 8px;
}

#footer-socials i:hover, img:hover {
    cursor: pointer;
}

#footer-socials img {
    width: 25px;
}

@media only screen and (max-device-width: 800px) {
    .container {
        width: 90%;
        margin: auto;
    }
}