
body {
    background-image: url(/assets/WOOD.jpg);
    background-position: center;
    background-repeat: repeat;
}
.back {
    position: relative;
    display: flex;
    gap: 20px;
    margin: 1%;
}

.topnav {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.topnav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #333;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.topnav a:hover {
    background-color: #555;
    transform: scale(1.1); 
}

.topnav a.active {
    background-color: #111;
}

.back a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #333;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.back a:hover {
    background-color: #555;
    /*transform: scale(1.1); */
}

.back a.active {
    background-color: #111;
}

.gamingCupboard {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.gamingCupboard img {
    width: 70%;
    height: auto;
}
.image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

.image-container img {
    width: 300px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-in-out;
}

.image-container img:hover {
    transform: scale(1.1);
}

.image-container {
    margin-bottom: 150px; 
}
.container img {
    width: 25%;
    height: auto;
}
.section {
    margin-bottom: 40px;
}
.section h1 {
    text-align: center;
}

.game-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Optional: Add some space between items */
}

.game-item img {
    width: 100%;
    height: auto;
}
.game-item a {
    display: block;
    text-align: center;
}

.game-item {
    perspective: 1000px; /* Add perspective for the 3D effect */
    margin: 10px;
    flex: 1 1 20%; /* Change this to make items smaller */
    max-width: 20%; /* Change this to make items smaller */
    box-sizing: border-box;
}

.game-item a {
    display: block;
    transform-style: preserve-3d;

}

.game-item:hover a {
    filter: drop-shadow(0 0px 4px #ffffff);
}


footer {
    text-align: center;
    margin-top: 50px;
}

body {
    background-image: url(/assets/WOOD.jpg);
    background-position: center;
    background-repeat: repeat;
}

.topnav {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.topnav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #333;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.topnav a:hover {
    background-color: #555;
    transform: scale(1.1); 
}

.topnav a.active {
    background-color: #111;
}

.gamingCupboard {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.gamingCupboard img {
    width: 70%;
    height: auto;
}

.section {
    margin-bottom: 40px;
}

.section h1 {
    text-align: center;
}

body {
    background-image: url(/assets/WOOD.jpg);
    background-position: center;
    background-repeat: repeat;
}

.topnav {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.topnav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #333;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.topnav a:hover {
    background-color: #555;
    transform: scale(1.1);
}

.topnav a.active {
    background-color: #111;
}

.gamingCupboard {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.gamingCupboard img {
    width: 70%;
    height: auto;
}

.section {
    margin-bottom: 40px;
}

.section h1 {
    text-align: center;
}

body {
    background-image: url(/assets/WOOD.jpg);
    background-position: center;
    background-repeat: repeat;
}

.topnav {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.topnav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #333;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.topnav a:hover {
    background-color: #555;
    transform: scale(1.1);
}

.topnav a.active {
    background-color: #111;
}

.gamingCupboard {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.gamingCupboard img {
    width: 70%;
    height: auto;
}

.section {
    margin-bottom: 40px;
}

.section h1 {
    text-align: center;
}

.rating-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.rating-item {
    width: 200px; /* Adjust size as needed */
    height: 300px; /* Adjust size as needed */
    perspective: 1000px;
    margin: 10px; /* Space between cards */
    display: flex;
    justify-content: center;
    align-items: center;
}

.rating-link {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.rating-item:hover .rating-link {
    transform: rotateY(180deg);
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 90%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px; /* Adjust font size as needed */
    color: black;
    padding: 10px; /* Adjust padding as needed */
    box-sizing: border-box; /* Ensure padding does not affect size */
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
}

.front img, .back img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images cover the container without stretching */
}

footer {
    text-align: center;
    margin-top: 50px;
    color: white; /* Keep the footer text white */
}