/* Test Things */
/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.game-card {
    border: 1px solid #ccc;
    overflow: visible; /* Allow the tooltip to extend outside of the card */
    position: relative;
}

.game-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.game-details {
    padding: 10px;
    background-color: white;
}

.game-info {
    position: absolute;
    top: 10px;
    right: -20px; /* Adjust this value to move the tooltip further to the right */
    width: 180px;
    background: #fff;
    color: #000;
    padding: 10px;
    border: 1px solid #ccc;
    visibility: hidden;
    z-index: 1000; /* Add this line */
}

.game-card:hover .game-info {
    right: 2%; /* Adjust this value to move the tooltip further to the right when hovered */
    visibility: visible;
    transition: visibility 0.3s, right 0.3s;
}

@media (max-width: 768px) {
    .game-info {
        right: auto;
        left: -200px;
    }

    .game-card:hover .game-info {
        left: 10px;
    }
}

/* Normal Css */
@media (max-width: 768px) {
    .main-container {
        margin: 10px auto; 
        flex-direction: column;
    }
    .sidebar {
        order: 2; 
        width: 100%; 
        flex: 1 0 auto;
        
    }
    .article-content {
        order: 1; 
        width: 100%; 
        flex: 1 0 auto;
    }
    .navbar {
        flex-wrap: wrap; 
        justify-content: center; 
    }
    .nav-link {
        padding: 10px; 
        font-size: 14px; 
    }
    .sidebar, .article-content {
        flex: 0 0 100%; 
    }
    .body-container, .content-container, .article-content {
        min-width: 0; 
        padding: 10px;
    }
    h1, h2, h3, h4 {
        margin-top: 0.5em; 
        margin-bottom: 0.5em;
    }
    .header-browser, .navbar, .quote-container {
        margin-bottom: 0; 
        padding-bottom: 0; 
      }
}

/* Contains entire viewport */
.body-container {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    padding: 20px;
    min-width: 598px;
    max-width: 1200px;
    margin: 0 auto;    
}

/* Text Elements */
body {
    background-size: cover;
    font-size: 16px;
}
a:link {
    color: #333333;
    font-weight: bold; 
    text-decoration: none;
    
}
a:visited {
    color: #333333;
    font-weight: bold;
    text-decoration: none;
}
.a:hover {
    text-decoration: underline;
    background-color: white;
}
p { 
    font-family: verdana, arial, "ms sans serif", sans-serif; 
    font-size: 12px; 
    margin: 10px;
    line-height: 18px;
    padding-left: 8px;
    color: #333333;
}
li {
    font-family: verdana, arial, "ms sans serif", sans-serif; 
    font-size: 12px; 
    margin: 5px;
    line-height: 18px;
    color: #333333;

}

h2 {
    font-family: verdana, arial, "ms sans serif", sans-serif;
    font-size: 25px; 
    margin: 10px;
    line-height: 18px;
    color: #5A6F5A;
}
h3 { 
    font-family: verdana, arial, "ms sans serif", sans-serif;
    font-size: 16px; 
    margin: 10px;
    line-height: 18px;
    padding-left: 5px;
    color: #e9ffe9;
}
h4 { 
    font-family: verdana, arial, "ms sans serif", sans-serif;
    font-size: 16px; 
    margin: 10px;
    line-height: 18px;
    padding-left: 5px;
}
.header { 
    font-family: verdana, arial, "ms sans serif", sans-serif;
    font-size: 18px; 
    font-weight: bold;
    margin: 10px;
    line-height: 13px;
    color: #333333;
}
.small{ 
    font-family: verdana, arial, "ms sans serif", sans-serif; 
    font-size: 10px; 
    font-weight: normal;
    line-height: 14px;
    color: #e9ffe9;
}
.small a,.small a:visited{
    color: #e9ffe9;
    font-weight: bold;
} 
.smalldark{ 
    font-family: verdana, arial, "ms sans serif", sans-serif; 
    font-size: 10px; 
    font-weight: normal;
    line-height: 14px;
    color: #333333;
}
.smalldark a,.smalldark a:visited{
    color: #333333;
    font-weight: bold;
}
.basic{ 
    font-family: verdana, arial, "ms sans serif", sans-serif; 
    font-size: 10px; 
    line-height: 10px;
    color: #5A6F5A;
    padding: 1px;
}
.basic a,.basic a:visited{
    color: #46644C;
}
input, textarea, select {
    background-color: #CCCCCC;
    border-style: solid;
    border-width: 1px;
    font-family: verdana, arial, sans-serif;
    font-size: 10px;
    color: #333333;
    padding: 0px;
}
.style1 {color: #C1FF64}


/*  Nav Bar */
.navbar {
    display: flex;
    border-bottom-style: solid;
    border-right-style: solid ;
    border-left-style: solid;

    border-color: white;

    border-bottom-width: 1px;
    border-right-width: 1px;
    border-left-width: 1px;

    border-top-style: none;


    justify-content: flex-end;
    align-items: center; 
    background-color: #7F907F; 
    padding: 0;
    margin: 0;
    height: 30px; 
    width: 100%; 
    max-width: 1000px; 

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

    
}
.nav-link {
    font-family: verdana, arial, "ms sans serif", sans-serif;
    font-size: 10px;
    border: 1px solid white;
    color: #e9ffe9;
    text-decoration: none;
    padding: 1px 10px; 
    border: 1px solid #e9ffe9; 
    margin-left: 5px;
}
.nav-link:last-child {
    margin-right: 5px; 
}
.nav-link:hover, .nav-link:focus {
    color: #ffffff;
    font-weight: bold;
    background-color: #6a806a; 
}
.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px; 
    min-width: 598px;;
    margin: 0 auto; 
    width: 100%; 
    box-sizing: border-box; 
}
.header-browser {
    background-color: #5A6F5A;
    border: solid white 1px;
    color: white;
    justify-content: space-between; 
    align-items: center; 
    height: 40px; 
    width: 100%; 
    max-width: 1000px; 
    min-width: 598px;
}
.header-browser h3 {
    margin: 0;
    padding-top: 5px;
    padding-left: 5px;
}
.header-browser .tagline {
    margin: 0;
    padding-right: 5px;
    text-align: right;
    font-size: 10px; 
    font-weight: normal;
    line-height: 14px;
    color: #e9ffe9;
}


/* images */
.image-with-caption {
    text-align: right; 
    width: 99%; 
    margin: auto; 
}
.image-with-caption img {
    border: 2px solid #000; 
    display: block; 
    width: 99%; 
    height: auto; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.image-with-caption figcaption {
    font-style: italic; 
    font-size: 12px; 
}


/* Managing gif button grid */
.centered-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 88px); 
    grid-gap: 5px; 
    justify-content: center; 
    margin: auto;
}
.grid-item {
    display: flex; 
    justify-content: center; 
    align-items: center; 
}
.grid-item.full-width {
    grid-column: span 2; 
}
.button-image {
    width: 100%;
    height: auto;
    border: 3px solid #FEFBF6; 
}

/* Main content */
.main-container {
    display: flex;
    width: 100%; 
    background-color: #CCCCCC;
    border: solid white 1px;
    max-width: 1000px; 
    min-width: 598px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    overflow-x: auto; 
    overflow-y: hidden;
}
.sidebar {
    background-color: #CCCCCC;
    width: 130px; 
    margin-right: 2px; 
    flex: 0 0 200px;
}
.content-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap; 
    align-items: flex-start; 
    background-color: #CCCCCC; 
}
#quote {
    display: flex;
    flex-direction: column;
    background-color: #5A6F5A;
    text-align: right;
    width: 100%;
    border: solid 1px;
    max-width: 1000px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#credit {
    font-family: verdana, arial, "ms sans serif", sans-serif; 
    font-size: 10px; 
    font-weight: normal;
    line-height: 14px;
    color: #333333;
}


/* For articles */
.article-content {
    background-color: #CCCCCC;
    flex-grow: 1; 
    width: 100%;
    max-width: 1200px;
    min-width: 598px;
    margin: 5px;
    overflow-x: auto; 
    overflow-y: hidden;
}
.article-content a{
    text-decoration: underline;
}
.article-content a:hover {
    background-color: white;
}
.timestamp {
    text-align: left;
    margin-left: 20px;
    margin-top: 5px;
}
.article-footer {
    text-align: right;
}
.comment-box {
    margin: 10px;
}

/* list pages */
.list-container {

    border: 2px solid #ccc;
    
    padding: 2px;
    background-color: #f9f9f9;
}
.header a {
    text-decoration: none; 
    color: #000; 
}

.header a:hover {
    text-decoration: underline; 
}


/* Sidebar Tables */
.outer-container {
    background-color: #5A6F5A; 
    padding: 1px; 
    width: auto; 
    margin-left: 5px;
    margin-top: 5px;
}
.inner-shadow {
    background-color: #ffffff; 
    padding: 2px; 
}
.sidebar-container {
    background-color: #7F907F; 
    padding: 2px; 
    width: 176px; 
}
.sidebar-header {
    color: white;
    padding: 2px;
    font-weight: bold;
    margin-bottom: 2px; 
    font-size: 12px;
    font-family: verdana, arial, "ms sans serif", sans-serif; 
    font-weight: normal;
    line-height: 14px;
    color: #e9ffe9;
}
.sidebar-section {
    background-color: #9FAC9F;
    padding: 2px;
    margin: 2px 0; 
    font-family: verdana, arial, "ms sans serif", sans-serif; 
    font-size: 11px; 
    color: #5A6F5A;
    padding: 4px;
}
.sidebar-section a:link {
    color: #333333;
    font-weight: bold; 
    text-decoration: underline;
}
.sidebar-section a:hover {
    background-color: white;
}
.sidebar-section a:visited {
    color: #333333;
    font-weight: bold;
    text-decoration: none;
}
.sidebar-section b {
    color: #333333;
    font-weight: bold; 
}


/* Notification Bar */
.notification-bar {
    background-color: #333;
    font-family: verdana, arial, "ms sans serif", sans-serif; 
    font-size: 12px; 
    width: 100%;
    margin: 0 auto;
    line-height: 18px;
    color: #fff;
    width: 100%;
    padding: 10px;
    text-align: center;
    position: fixed;
    top: -50px; 
    left: 0;
    transition: top 0.5s ease; 
    z-index: 1000;
}
.notification-bar a {
    font-family: verdana, arial, "ms sans serif", sans-serif; 
    font-size: 12px; 
    line-height: 18px;
    color: #fff;
    text-decoration: underline;
}
.notification-bar button {
    background: none;
    border: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

/* Cursor */
.ghost-cursor {
    position: absolute;
    pointer-events: none;
    opacity: 0.7; 
    transition: opacity 0.7s ease-out, transform 0.2s ease-out;
    z-index: 10000; 
    background: url('/images/cursors/cursor.png') no-repeat center center; 
    background-size: contain; 
    width: 20px; 
    height: 20px; 
}


  /* Marquee */
  marquee {
    display: block;
    width: 500px;
    margin: 0 auto;
    padding: 5px 0;
    border: 1px solid #333;
    font-weight: 700;
    color: #c0392b;
}
  

* {
    box-sizing: border-box; 
  }


  /* Additional CSS for the card layout */
  
  .card-container {
    background-color: #CCCCCC;
    flex-grow: 1; 
    width: 100%;
    max-width: 1200px;
    min-width: 598px;
    margin: 5px;
    overflow-x: auto; 
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.card-container a{
    text-decoration: underline;
}
.card-container a:hover {
    background-color: white;
}
.card {
    background: white;
    border-radius: 2px;
    display: inline-block;
    height: auto;
    margin: 1rem;
    position: relative;
    width: 90%;
    box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    padding: 10px;
    font-family: verdana, arial, "ms sans serif", sans-serif;
    font-size: 12px;
    overflow-x: auto; 
    overflow-y: hidden;
    border-radius: 15px;
}

.card h3 {
    text-align: center;
    padding: 5px;
    font-size: 20px;
    color: black;
}

.card table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.card table thead {
    background-color: #f2f2f2;
}

.card table thead th {
    padding: 10px;
    background-color: #5A6F5A; /* Change to your preferred color */
    color: white;
}

.card table tbody td {
    padding: 10px;
    vertical-align: top;
}

.card table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.card table tbody tr:hover {
    background-color: #9FAC9F;
}
.card table tbody tr {
    transition: background-color 0.3s ease;
}


/* Review Summary Box */
.summary-box {
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    font-family: verdana, arial, "ms sans serif", sans-serif;
    gap: 10px;
    padding: 10px;
    background: black;
    width: 70%;
    margin: 0 auto;
    border: solid #5A6F5A;
}

.top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid black;
}

.icon {
    background: grey;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;

}
.icon-image {
    width: 70%;
    height: 100%;
}

.score {
    font-size: 48px;
    font-weight: bold;
    position: relative;
    color: white;
    display: flex;
    align-items: flex-start;
}

.percent-symbol {
    font-size: 24px;
    position: relative;
    color: white;
}

.middle-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.score-bar {
    height: 10px;
    background-color: #ddd;
    border: 1px solid #bbb;
}

.score-fill {
    height: 100%;
    background-color: #5A6F5A;
    width: 100%; 
}

.description div {
    font-size: 12px;
    padding: 3px;
    background: #e6e6e6; 
    border-left: 3px solid #5A6F5A;
    margin: 2px 0;
}

.bottom-section {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    background-color: #5A6F5A;
    padding: 3px 0;
}
