body {
    background-color: rgb(243, 205, 248);
    margin: 0;
    padding: 0;
}

h1 {
    color: rgb(255, 253, 144);
    text-shadow: 1px 1px 2px rgb(60, 24, 82);
    text-align: center;
    font-size: 50px;
}

h2 {
    color: rgb(23, 110, 106);
    font-size: 25px;
    text-align: center;
}

main {
    padding: 10px;
    margin: 10px;
}

footer {
    background-color: #433878;
    color: white;
    text-align: center;
    padding: 1px 0;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    font-size: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}

a {
    background-color: #904caf;
    border: none;
    color: white;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    color: rgb(48, 4, 49);
    text-decoration: none;
}

a[href*="game"] {
    font-size: 26px;
    color: rgb(65, 12, 95);
    background-color: #4c98af;
}

a[href*="game"]:hover {
    background-color: #ffaa00;
    color: #fff;
}

a:hover {
    color: rgb(190, 255, 164);
}

.homepage {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: large;
}

.homepage a {
    background-color: #904caf;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.ratingsa, .authorsa {
    align-items: center;
    text-align: center;
}

 ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.ratingsa a {
    background-color: #4c7aaf;
    border: none;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    color: rgb(48, 4, 49);
    text-decoration: none;
}

.authorsa a {
    background-color: #4c7aaf;
    border: none;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    color: rgb(48, 4, 49);
    text-decoration: none;
}

.ratingsa a:hover {
    background-color: #514fdf;
    color: rgb(255, 255, 255);
}

.authorsa a:hover {
    background-color: #2bc7bf;
    color: rgb(255, 255, 255);
}

.homepage a:hover {
    background-color: #5e2977;
    color: rgb(234, 240, 152);
}

.back_button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

.back_button a {
    cursor: pointer;
}

#about {
    max-width: 600px;
    text-align: justify;
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    background-color: #92bdee;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.games-page-container {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px; 
}

.games-page-container .game-item {
    flex: 1 1 calc(33.333% - 40px);
    box-sizing: border-box; 
    background-color: #bd88e0; 
    padding: 20px; 
    border: 1px solid #1e0852; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    text-align: center;
}

.game-header {
    text-align: center;
    margin-bottom: 20px;
}

.game-header h2 {
    font-size: 2rem;
    color: #4c7aaf;
}

.game-item {
    border: 1px solid #ccc;
    border-radius: 15px;
    background-color: #bd88e0;
    margin-bottom: 30px;
    padding: 10px;
    width: 300px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.game-item h2 {
    margin-top: 0;
}

.game-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.game-art {
    max-width: 600px;
    max-height: 400px;
    min-width: 500px;
    min-height: 300px;
    width: auto;
    height: auto;
    border: 5px solid #904caf;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.comment-section {
    width: 100%;
    margin-top: 20px;
    align-items: center;
    text-align: center;
}

.comment-section h2 {
    text-align: center;
    color: #4c7aaf;
}

.comment {
    background-color: #6893c4;
    border: 1px solid #4c7aaf;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment strong {
    color: #355e8d;
}

.main-header {
    background-color: #8b54be;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar a {
    background-color: #6292ca;
    color: rgb(29, 65, 75);
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar a:hover, .traditional-login button:hover, .oauth-login a:hover, .register a:hover, .btn-primary:hover {
    background-color: #2bc7bf;
    color: #fff;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
    max-width: 600px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.oauth-login, .traditional-login {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.traditional-login, .oauth-login, .register {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.traditional-login button, .oauth-login a, .register a, .btn-primary {
    background-color: #6292ca;
    color: rgb(29, 65, 75);
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    border: none;
    max-width: fit-content;
    align-self: center;
}

.login-container {
    background-color: #bed8f5;
}
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    align-items: center;      
    width: 100%;
}