/*
Theme Name: Typing Swift Theme - Typing Tutorial
Description: A gaming theme for typing tutorials with sky blue and orange colors
Version: 1.0
*/

:root {
    --primary-blue: #87CEEB;
    --secondary-blue: #4682B4;
    --accent-orange: #FF8C00;
    --dark-orange: #FF6347;
    --light-bg: #F0F8FF;
    --dark-text: #2F4F4F;
    --white: #FFFFFF;
    --sidebar-width: 120px;
    --header-height: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');


body {
     font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-style: normal;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
        padding: 2rem;
}

/* Layout Container */
.site-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.site-content {
    display: flex;
    flex: 1;
}

/* Left Sidebar */
.left-sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 20px 10px;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo {

  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-style: normal;

    color: var(--white);
    font-size: 18px;
    text-decoration: none;
    display: block;
    padding: 10px;
  /*  background-color: var(--accent-orange); */
    border-radius: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 15px;
    margin-left: 10px;
}

.sidebar-menu a {
    display: block;
    width: 80px;
    height: 80px;
    background-color: #236193;
  /*  background: url('https://typingswift.com/wp-content/themes/typing-swift-theme/img/buttons/menuone.png'); */
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sidebar-menu a:hover, .sidebar-menu a:active {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    background-color: #ffac00;
   /* background: url('https://typingswift.com/wp-content/themes/typing-swift-theme/img/buttons/menuoneh.png'); */
}

.sidebar-menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: #3472a7;
    border-radius: 6px;
}

/* Updated button text styling - text inside button, centered, 95% width */
.sidebar-menu a::after {
    content: attr(title);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 21px;
    color: #5ecfee;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    width: 95%;
    text-align: center;
    font-family: "Lilita One", sans-serif;
    font-weight: 400;
    font-style: normal;
    
        overflow: hidden;
    white-space: normal;
    line-height: 1.2em;
}

/* Main Wrapper */
.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    
    min-height: calc(100vh - var(--header-height));
}

/* .main-content {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-blue);
} */

/* Footer */
.site-footer {
    background:  var(--dark-text);
    color: var(--white);
    padding: 20px;
    text-align: center;
    margin-left: var(--sidebar-width);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background: var(--accent-orange);
    border: none;
    color: var(--white);
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .left-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .left-sidebar.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    .main-wrapper,
    .site-footer {
        margin-left: 0;
    }
}

/* Game-specific Styles */
.typing-game-element {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    text-align: center;
    font-family: 'Lilita+One', cursive;
}

.game-button {
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Lilita+One', cursive;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.game-button:hover {
    background: var(--dark-orange);
    transform: scale(1.05);
}