
	@font-face {
    font-family: 'Rubik';
    src: url('font/Rubik-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

		html { font-size: 20px; }
		h2 {font-size: 1.3em;}
		body {
				margin:0;
				padding:0;	
				font-family: Rubik;
				font-weight: 500;
			}
		
		.card {
				background-color: #4c00a4;
				color: white;
				padding: 0.2rem;
				border-radius:10px;
				cursor: pointer;
				transition: transform 0.2s;
				user-select: none;
				text-align: center;
			}

		.cards {
				max-width: 1080px;
				padding: 10px;
				display: grid;
				gap: 1rem;
				grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
			}
			
			
		.card:hover {
		
				transform: scale(1.2);
			}
			
	    .card img {
	        
	            border-radius:10px;
	            width: 100%;
	    }	
	    
	    .card a {
	        
	            text-decoration: none;
	            align-items: center;
	            color: #fff;
	            font-size: .7rem;
	    } 
	
	nav {
    background-color: #4c00a4;
    color: #ff9a00;
    display: flex;
    align-items: center;
    padding: 10px 20px;
	width: 100%;
	position:fixed;
	z-index:99999;
  }
  
  .logo {
    font-size: 1.3rem;
	padding: 2px;
	font-weight: 700;
	margin-left: 10px;
  }
  
  .logo a {
      text-decoration:none;
      color: #ff9a00 !important;
  }
  
  .logo a:visited {
 color: #ff9a00;
}
  
.hamburger {
    font-size: 24px;
    cursor: pointer;
    margin-right: 20px;
}
 
  
 .main-container {
 max-width: 1560px;
 margin: 0 auto;
 padding: 80px 0 20px 80px ;
 }
 
 .game-area {
 
	max-width:960px;
	width: 95%;
	min-height: 512px;
	border-radius:20px;
	
	margin: 20px 10px;
	vertical-align: top;
	display: inline-block;
	}
 
 .description {
	max-width:960px;
	min-height: 512px;
	border-radius:20px; 
	background-color: #efefef;
	padding: 10px;
 }
 
 
 .game {
	height: 512px;
	border-radius:20px;
	background-color: yellow;
 }
 
 .bottom-stripe {
	background-color:#4c00a4;
	padding: 10px 0;
	text-align:right;
	width: 100%;
	user-select: none;
	color: #fff;
	font-weight: 700;
	}
 
 .adbox {
	

	min-height: 300px;
	min-width:300px;
	display: inline-block;
 
 }
 
 #like-button {
 
	cursor: pointer;
	transition: all 0.2s;
 
 }
 
 #like-button:hover {
 
	font-size: 24px;
 
 }
 
 #full-screen {
	padding: 0 20px;
	}

	
 #game-name {
 float: left;
 padding-left: 10px;
 }

		
.sidebar {
    width: 60px; /* Collapsed width */
    background-color: #33007b;
    color: white;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 60px;
    overflow-x: hidden;
    transition: all 0.3s; /* Transition for the width change */
	font-size: 18px;
	font-weight: 400;
		z-index:99999;
}

.sidebar:hover {
    width: 280px; /* Expanded width on hover */
}

.sidebar.active {
    display: block;
}

.sidebar.active .text {
    opacity: 1;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    padding:5px;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
}

.sidebar a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    line-height: 1.5em;
}

.icon {
    margin-right: 10px;
    min-width: 40px; /* Ensure icon stays aligned */
    text-align: center;
}

.text {
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap; /* Prevent text from wrapping */
}

.sidebar:hover .text {
    opacity: 1;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    list-style-type: none;
    padding: 0;
    margin-top:10px !important;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.has-submenu:hover .submenu {
    max-height: 300px; /* Adjust as needed */
    opacity: 1;
}

.submenu li {
    padding: 10px;
    padding-left: 20px; /* Indent submenu items */
	border-radius: 10px;
	color: #fff !important;
}

.submenu li a {
    padding-left: 28px; /* Align text with icons */
}

.sidebar li:hover a {
	color: #ff9a00;
}

.sidebar li:hover .submenu a{
color: #fff;
}

.submenu li:hover {
    background-color: #ff9a00; /* Highlight submenu items on hover */
}

@media (max-width: 768px) {
    .sidebar {
        left:-280px;
		width: 280px;
    }

    .sidebar.active {
        left: 0; /* Show sidebar when active */
    }
	
	.main-container {
		padding: 80px 5px;
	}
	
	.logo {
	    justify-content: center;
	}

}