/*
Theme Name: Q-Link Theme
Theme URI: https://retropute.com
Author: Gabriel Perez
Description: A retro WordPress theme inspired by Quantum Link.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: qlink-theme
*/

/* Base Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    font-family: 'Press Start 2P', monospace;
    color: #00ff00;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Expanded Menu Styles --- */
#expanded-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 100vh;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.qlink-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #000;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 90vw;
    max-width: 600px;
    aspect-ratio: 1/1;
    background: #000;
    padding: 0;
}

.grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.2s;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-align: center;
}

.grid-item a {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.grid-item:hover {
    opacity: 0.8;
}

.button-1 { background: #fc5454; }
.button-2 { background: #a700a8; }
.button-3 { background: #5354fc; }
.button-4 { background: #a95401; }
.button-5 { background: #55fdfd; }
.button-6 { background: #fbfc00; }
.button-7 { background: #55fc54; }
.button-8 { background: #01a800; }

.center-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    box-sizing: border-box;
    border: 15px solid #666;
}

.center-logo img {
    max-width: 80%;
    display: block;
}

/* --- Collapsed Menu Styles --- */
#collapsed-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 50px;
    background: #000;
    padding-top: 50px;
    display: none; /* Hidden by default */
    transition: opacity 0.3s ease;
}

#collapsed-menu nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

#collapsed-menu nav ul li a {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

/* --- Blog Posts Section --- */
#blog-posts {
    margin-top: 100vh; /* Push blog posts below the expanded menu initially */
    /* Adjust as needed */
}

/*
#collapsed-menu {
    position: fixed;
    top: 50px !important;
    left: 0;
    width: 100%;
    z-index: 9999;
    height: 50px;
    background: #000;
    display: none; /* toggled via JS 
    transition: opacity 0.3s ease;
}
*/

/* Blog Posts Section Styling */
#blog-posts {
    background: #111;       /* Dark background for blog area */
    padding: 20px;
  }
  
  #blog-posts .post {
    font-family: 'Arial', sans-serif; /* Change font family */
    color: #e0e0e0;        /* Set text color */
    margin-bottom: 30px;
    padding: 20px;
    background: #222;      /* Background for each post */
    border-radius: 5px;
  }
  
  body #blog-posts .post h2 {
    font-size: 54px;
    color: #fc5454 !important;
    margin-top: 0;
}

#blog-posts .post h2 a {
    color: #fc5454 !important;
}
  
  #blog-posts .post .post-content {
    font-size: 16px;
    line-height: 1.5;
  }

/* --- Collapsed Menu Items Styling --- */
#collapsed-menu nav ul li:nth-child(1) a { 
    background: #fc5454; 
    color: #fff; 
    padding: 5px 10px;
}

#collapsed-menu nav ul li:nth-child(2) a { 
    background: #a700a8; 
    color: #fff; 
    padding: 5px 10px;
}
  
#collapsed-menu nav ul li:nth-child(3) a { 
    background: #5354fc; 
    color: #fff; 
    padding: 5px 10px;
}

#collapsed-menu nav ul li:nth-child(4) a { 
    background: #a95401; 
    color: #fff; 
    padding: 5px 10px;
}

#collapsed-menu nav ul li:nth-child(5) a { 
    background: #55fc54; 
    color: #fff; 
    padding: 5px 10px;
}

#collapsed-menu nav ul li:nth-child(6) a { 
    background: #55fdfd; 
    color: #fff; 
    padding: 5px 10px;
}

#collapsed-menu nav ul li:nth-child(7) a { 
    background: #fbfc00; 
    color: #fff; 
    padding: 5px 10px;
}

#collapsed-menu nav ul li:nth-child(8) a { 
    background: #01a800; 
    color: #fff; 
    padding: 5px 10px;
}


/*Trying stuff*/

#collapsed-menu .logo-container {
    width: 100%;          /* Full width of the viewport */
    background-color: #000; /* Ensure the background is black */
    text-align: center;   /* Center the logo within its box */
    padding-bottom: 10px; /* Extra space below the image */
}

#collapsed-menu .logo-container img {
    width: 50vw;          /* Responsive width (50% of viewport width) */
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* For Single Blog Posts */

.single #blog-posts {
    margin-top: 50px; /* Adjust this value as needed */
}

.single #blog-posts .post .post-content {
    color:#00ff00;

}