:root {
    --primary-bg-colour: rgb(15, 15, 15);
    --secondary-bg-colour: rgb(39, 38, 38);
    --oob-bg-colour: rgb(32, 32, 32);
    --primary-element-colour: rgb(92, 86, 80);
    --secondary-element-colour: rgb(117, 102, 102);
    --header-colour: white;
    --paragraph-colour: white;

}

html {
    scrollbar-width: none;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}
a:link {
    color: var(--paragraph-colour);
}
a:visited {
    color: var(--paragraph-colour);
}
a:hover {
    color: var(--paragraph-colour);
}
a:active {
    color: var(--paragraph-colour);
}

body {
    background-color: var(--oob-bg-colour);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

main {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0;
    background-color: var(--oob-bg-colour);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--header-colour);
    font-family: Lexend, sans-serif;
}
p {
    color: var(--paragraph-colour);
    font-family: Lexend, sans-serif;
}

.navbar {
    width: 100dvw;
    margin: 0;
    height: 80px;
    display: flex;
    top: 0;
    left: 0;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.342);
    backdrop-filter: blur(100px) brightness(80%);
    justify-content: space-between;
    z-index: 1000;
}
.navbar a {
    height: 80%;
    justify-self: center;
    align-self: center;
    margin-left: 20px;
}
.navbar a img {
    height: 100%;
}
.navbar ul {
    display: flex;
    flex-direction: row;
    align-self: center;
    justify-self: center;
    width: auto;
    font-family: Lexend, sans-serif;
    text-align: center;
    margin: 100px;
    gap: 50px;
    padding: 0;
    list-style: none;
    right: 0;
}
.navbar ul li {
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 18px;
}

#home_banner {
    margin-top: 20px;
    margin-bottom: 20px;
}
#home_banner a img {
    width: 100%;
    display: block;
    margin: auto;
    object-fit: contain;
}

.latest_statement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-bottom: 1px;
    margin-bottom: 20px;
}
.latest_statement h2 {
    margin-bottom: 10px;
}
.latest_statement h3 {
    margin-top: 0;
}

.latest_announcement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.latest_announcement h2 {
    margin-bottom: 0px;
}
.latest_announcement h3 {
    margin-bottom: 0;
}
.latest_announcement a {
    display: flex;
    flex-direction: row;
}
.latest_announcement a img {
    width: 250px;
    border-radius: 10px;
    align-self: center;
}

.latest_ad {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.latest_ad h2 {
    margin-bottom: 0px;
}
.latest_ad h3 {
    margin-bottom: 0;
}
.latest_ad a {
    display: flex;
    flex-direction: row;
}
.latest_ad a img {
    height: 250px;
    border-radius: 10px;
}


.featured_games {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: black;
}
.featured_games h2 {
    margin-bottom: 0px;
    text-align: left;
}
.featured_games h4 {
    margin-bottom: 0;
    margin-top: 5px;
    text-align: left;
}
.featured_games a {
    display: flex;
    flex-direction: row;
}
.featured_games a img {
    width: 300px;
    border-radius: 10px;
    margin: 20px;
}
.featured_games .rating, .featured_games .rating h2 {
    margin-top: 0;
}


.our_story {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}
.our_story p {
    margin: 20px;
}


.games_grid {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}
.games_grid img {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    transition-duration: 0.2s;
}
.games_grid img:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.808);
    transition-duration: 0.2s;
    transform: translateY(-5px);
}
@media (max-width: 1700px) {
    .games_grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 1100px) {
    .games_grid {
        grid-template-columns: 1fr;
    }
}


.game_sidebar {
    background-color: var(--primary-bg-colour);
    width: 30%;
    height: 100dvh;
    position: sticky;
    top: 0;
    left: 0;
    margin-right: 10px;
    padding-top: 10px;
}
.game_sidebar .info {
    margin-top: 100px;
    top: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    animation: FadeUp 1s;
}
.game_sidebar .info img {
    border-radius: 10px;
    width: 70%;
    align-self: center;
}
.game_sidebar .info .game_sidebar_button {
    background-color: var(--primary-element-colour);
    padding: 10px;
    border-radius: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 10px;
    width: 64%;
}
.game_sidebar .info .game_sidebar_button h4 {
    margin: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.vids {
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 500px));
    gap: 25px;
    justify-content: center;
    width: 69%;
    justify-self: center;
    align-self: center;
}
.vids iframe {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    height: auto;
}
.vids iframe:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
}

.game_info .screenshots img {
    height: 200px;
    border-radius: 10px;
}
@media (min-width: 800px) {
    .game_info .screenshots img {
        filter: grayscale(1) brightness(0.5);
        transition: 0.2s;
    }
    .game_info .screenshots img:hover {
        transition: 0.2s;
        filter: grayscale(0) brightness(1);
    }
}

.game_page {
    display: flex; 
    flex-direction: row;
    margin-top: 10px;
}

.game_info {
    background-color: var(--secondary-bg-colour);
    width: 70%;
    display: flex;
    flex-direction: column;
    align-content: center;
}
.game_info #desc {
    margin: 90px;
    text-align: center;
    font-size: 20px;
}
.game_info .screenshots {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 10px;
    justify-content: center;
    width: 100%;
}
@media (max-width: 1050px) {
    .game_info .screenshots {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}
.game_info .specs {
    padding-top: 25px;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    width: 100%;
    align-self: center;
    background-color: rgb(15, 15, 15);
}   
.game_info .specs #label {
    margin-right: 10px;
    text-align: end;
}
.game_info .specs #label p {
    font-weight: bold;
}
.game_info .specs #value p {
    margin: 0;
    margin-bottom: 10px; 
}
.game_info .specs #label p {
    margin: 0;
    margin-bottom: 10px; 
}
.game_info .specs #value a img {
    height: 100px;
}

#reviews {
    margin-top: 10px;
    padding-top: 10px;
    background-color: var(--primary-bg-colour);
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding-bottom: 50px;
}
#reviews .review {
    background-color: var(--secondary-bg-colour);
    width: 90%;
    border-radius: 10px;
    justify-self: center;
    padding: 10px;
    margin-bottom: 10px;
}
#reviews .review button {
    margin: 10px;
    border: none;
    background-color: transparent;
    color: white;
    font-family: Lexend, sans-serif;
}


.vidspage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
    gap: 0;
}
.vidspage h2 {
    margin-bottom: 0px;
}
.vidspage h3 {
    margin-bottom: 0;
}
.vidspage .hscrollable {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
}
.vidspage .video {
    background-color: rgba(0, 0, 0, 0.672);
    width: 48.6%;
    margin: 10px;
    flex: 0 0 auto;
}

.vidspage .video img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.vidspage .video h3 {
    margin: 0;
    padding: 20px;
    margin-bottom: 4px;
}

.news {
    text-align: left;
    padding: 15px;
    margin-top: 10px;
}
.news .article {
    background-color: brown;
    margin-bottom: 10px;
    display: flex;
    padding: 15px;
}
.news .article h2 {
    margin-top: 0;
}
.news .article img {
    width: 300px;
    margin-right: 20px;
    object-fit: contain;
}
.news .statement {
    background-color: darkslategrey;
    margin-bottom: 10px;
    display: block;
    padding: 20px;
    text-align: center;
}
.news .statement h2 {
    margin-top: 0;
}
.news h3 {
    margin-bottom: 0;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.64);
    font-weight: normal;
}
.news h2 {
    margin-bottom: 4px;
}






footer {
    display: flex;
    justify-content: center;
}
footer .footer .socials {
    justify-self: center;
    margin-bottom: 20px;
}
footer .footer .socials svg {
    margin-left: 10px;
    margin-right: 10px;
}


.return_home {
    display: none;
}

.collapsible-content {
    display: none;
}

.statement_article .article_info, .statement_article .article_content {
    background-color: var(--primary-bg-colour);
    margin-top: 20px;
}
.statement_article .article_info {
    text-align: center;
    padding: 10px;
}
.statement_article .article_info h1 {
    margin-bottom: 5px;
}
.statement_article .article_info h3 {
    margin-top: 0;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.64);
}
.statement_article blockquote {
    color: white;
    font-family: Lexend, sans-serif;
    font-style: oblique;
}
.statement_article .article_content {
    padding: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: justify;
}
.statement_article ul li {
    color: white;
}
.statement_article ul li p {
    margin-top: 0;
    margin-bottom: 5px;
}

.vgr {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-direction: column;
    width: 100%;
}
.vgr .vgr_icons {
    flex-direction: column;
}
.vgr .vgr_icons img {
    height: 200px;
}
.vgr .vgr_content {
    background-color: var(--primary-bg-colour);
    width: 100%;
    text-align: center;
    padding: 20px;
}
.vgr #vgr_last_reviewed {
    width: 95%;
    text-align: end;
    color: rgba(255, 255, 255, 0.64);
}
.vgr ul li {
    text-align: left;
    list-style-type: none;
}



@media (max-width: 800px) {

    .vgr .vgr_icons {
        flex-direction: row
    }

    .statement_article .article_content {
        padding: 20px;
        padding-top: 10px;
        text-align: left;
    }


    .news {
        text-align: center;
    }
    .news .article {
        display: flex;
        flex-direction: column;
        padding: 20px;

    }
    .news .article img {
        height: 200px;
        margin-right: 0px;
    }

    .game_info #desc {
        margin: 90px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .game_info .screenshots {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .vids {
        grid-template-columns: repeat(1, minmax(300px, 500px));

    }

    .game_page {
        display: flex; 
        flex-direction: column;
    }
    .game_sidebar {
        width: 100dvw;
        position: relative;
        height: 100%;
        padding-bottom: 20px;
    }
    .game_info {
        width: 100dvw;
    }

    .return_home {
        display: flex;
        position: absolute;
        justify-self: center;
        width: 100%;
        justify-content: center;
    }
    .return_home a {
        background-color: rgb(56, 56, 56);
        width: 100%;
        padding: 5px;
        border-radius: 10px;
        width: 30%;
        margin-bottom: 25px;
    }

    .games_grid {
        box-sizing: border-box;
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 10px;
    }
    .games_grid img {
        width: 80dvw;
        height: auto;
    }

  .navbar a img {
    display: none;
  }
  .navbar ul {
    gap: 10px;
    margin: 0;
    padding: 0;
    position: fixed;
    left: 0;
    right: 0;
  }
  .navbar ul li a{
    font-size: 14px;
  }

  .latest_announcement a {
    flex-direction: column;
  }
  .latest_announcement a div h3,
  .latest_announcement a div h2 {
    text-align: center;
  }
  .latest_announcement a img {
    object-fit: contain;
    height: 200px;
    border-radius: 10px;
    }

    .featured_games {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        background-color: black;
    }
    .featured_games h2 {
        margin-bottom: 0px;
        text-align: center;
    }
    .featured_games h4 {
        margin-bottom: 0;
        margin-top: 5px;
        text-align: center;
    }
    .featured_games a {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    .featured_games a img {
        width: 300px;
        border-radius: 10px;
        margin: 20px;
        align-self: center;
        margin-bottom: 0;
    }
    .featured_games .rating{
        display: none;
    }

    .vidspage .video {
        background-color: rgba(0, 0, 0, 0.672);
        width: 100%;
    }
    .vidspage {
        width: 100%;
    }
    .vidspage .hscrollable {
        flex-direction: column;
        overflow-x: hidden;
    }


}


@keyframes FadeUp {
    from {
        transform: translateY(32px);
        filter: opacity(0) brightness(0);
    }
    to {
        transform: translateY(0px);
        filter: opacity(1) brightness(1);
    }
}