/* General styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Verdana', Arial, monospace;
    background: #121212;
    color: #f0f0f0;
    overflow-x: hidden;
}

p {
    font-size: 1em;
}

html {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100%;
}

.section {
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}



#navbar.show-navbar {
    display: flex !important; /* Ensure the navbar is displayed */
}

.container {
    width: 80%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}



.navbar a {
    color: grey;
    margin: 0 10px;
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar a:hover {
    color: white;
}

.welcome-section {
    font-family: "Press Start 2P", system-ui;
    background: #1a1a1a;
    position: relative;
    width: 100%;
    height: 100vh;
}

#welcome-banner {
    max-width: 80%;
    height: auto;
    opacity: 0;
    animation: fadeIn 3s forwards;
}

.about-section {
    background: #121212;
    padding: 50px 20px;
    width: 100%;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

.about-section p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-top: 1%;
    text-align: justify;
}

.about-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for mobile devices */
}

.about-image {
    flex: 0 0 auto; /* Prevent image from growing */
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.about-text {
    flex: 1; /* Allow text to grow and fill remaining space */
}

/* Ensure the image doesn't exceed a certain height */
.about-image img {
    max-height: 300px; /* Adjust max-height as needed */
}



.games-title img {
    max-width: 200px;
    margin-bottom: 0.5%;
}

.game-description {
    margin-bottom: 20px;
    font-size: 1.2em;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}









.sound-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.wishlist-button .button {
    display: inline-block;
    background-color: #3d3d3d;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.wishlist-button .button:hover {
    background-color: #e03b3b;
}

.scroll-text {
    bottom: 20px;
    margin: 10% auto;
    font-size: 1em;
    text-align: center;
    cursor: pointer;
    animation: fadeInOut 2s infinite;
    color: #f0f0f0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}


.modal-content {
    background-color: #1a1a1a;
    color: #f0f0f0;
    border-radius: 10px;
}

.modal-header, .modal-footer {
    border-bottom: 1px solid #333;
    padding: 10px;
}

.modal-body {
    padding: 20px;
}

.form-check-label {
    margin-left: 10px;
    color: #f0f0f0;
}

.btn-primary {
    background-color: #0F70B7;
    border-color: #0F70B7;
}

.btn-secondary {
    background-color: #555;
    border-color: #555;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    background-color: #333;
    color: #f0f0f0;
    border: 1px solid #555;
}

.form-control:focus {
    border-color: #ff4c4c;
    box-shadow: none;
}

.form-check-label {
    margin-left: 10px;
    color: #f0f0f0;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.d-custom  {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 3%;
    border-radius: 10px;
}

.social-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    text-align: center;
    z-index: 2000;
}

.floating-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #1b2838;
    opacity: 0.8;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.floating-widget img {
    height: 50px;
    margin-right: 10px;
    border-radius: 5px;
}

.steam-wishlist-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #4c6b0f;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s;
    z-index: 1111;
}

.steam-wishlist-button:hover {
    background-color: #24a0ed; 
    color: white;
    text-decoration: none;
}

.steam-wishlist-button i {
    margin-right: 8px;
}

.mailing-list-container {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #1b2838;
    opacity: 0.8;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-right: 15px;
    margin-bottom: 20px;
}

.mailing-list-container input {
    padding: 8px;
    font-size: 1em;
    background-color: #121212;
    color: #f0f0f0;
    border: 1px solid #333;
    margin-right: 10px;
    border-radius: 5px;
    width: 310px;
    height: 50px;  /* Adjust input height to match button */
}

.mailing-list-container button {
    background-color: #0F70B7;
    border: none;
    padding: 8px 15px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    color: #fff;
    height: 50px;  /* Same height as input */
}

.mailing-list-container button:hover {
    background-color: #055d9b;
}

.social-bar {
    display: flex;
    align-items: center;
    height: 50px;  /* Match container height */
}

.social-bar a {
    color: grey;
    margin-left: 10px;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 50px;  /* Ensure icons are centered */
}

.social-bar a:hover {
    color: white;
}

.flash-messages {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
}

.alert {
    width: 100%;
    padding: 15px;
    margin: 0;
    text-align: center;
    font-size: 1.2em;
    color: #f0f0f0;
    border: none;  /* No borders */
    background-color: #0F70B7;  /* Main blue for success */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);  /* Add subtle shadow for a modern look */
    border-radius: 0;  /* Remove rounded corners */
}

.alert-danger {
    background-color: #ff4c4c;  /* Red for errors */
}

.alert-success {
    background-color: #0F70B7;  /* Blue for success */
}

.alert-info {
    background-color: #4c6b0f;  /* Darker green for informational messages */
}
