.article-card-search {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

div.space {
    margin-top: 10px;
    margin-bottom: 10px;
}

.article-card img {
    width: 100%; 
    height: 180px; 
    border-radius: 10px; 
    object-fit: cover; 
    transition: transform 0.3s ease-in-out;
}

.article-card img:hover {
    transform: scale(1.05); 
}
.search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 5px 12px;
    border: 1px solid #ddd;
    width: 280px;
    max-width: 100%;
    transition: box-shadow 0.3s ease-in-out;
}

.search-bar input {
    border: none;
    outline: none;
    padding: 8px;
    width: 100%;
    font-size: 14px;
    border-radius: 20px;
    background: transparent;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #222831;
    transition: color 0.3s ease-in-out;
}


.search-bar:focus-within {
    box-shadow: 0 4px 8px rgba(0, 119, 182, 0.2);
}


.search-bar button:hover {
    /*color: #005a8d;*/
	color: #005a8d;
}

@media (max-width: 768px) {
    .search-bar {
        width: 180px;  
        padding: 4px 8px;
    }
    
    .search-bar input {
        font-size: 12px; 
        padding: 6px;
    }
    
    .search-bar button {
        font-size: 16px;
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /*overflow-x: hidden;*/
}
header {
    background-color: #222831;
    padding: 15px;
    color: white;
    width: 100%;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    max-width: 1200px;
    width: 100%;
}
.logo {
    font-size: 1.5em;
    font-weight: bold;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.menu-toggle {
            display: none;
            font-size: 24px;
            background: none;
            border: none;
            color: white;
            cursor: pointer;
}
.content-container {
            width: 90%;
            max-width: 1200px;
            padding: 20px;
            text-align: center;
            margin: 0 auto;
 }       
		
.hero {
    background: url('../images/rules.jpg');
    text-align: center;
    padding: 80px 20px;
    color: #f8f9fa; 
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
}

.hero h1
{
    position: relative;
    z-index: 1; 
    font-size:36px;
    font-weight:bold;
    color:white;
}

.hero p {
    position: relative;
    z-index: 1; 
    font-size:26px;
    font-weight:bold;
    color:white;
    
}


.hero .btn {
    position: relative;
    z-index: 1; 
}

.hero .btn {
    background: #ffdd57;
    color: #333;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.hero .btn:hover {
    background: #ffc107;
    transform: scale(1.05);
}
		
.featured-articles {
    text-align: center;
    padding: 30px 20px;
    width: 100%;
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}
.article-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
footer {
    text-align: center;
    padding: 15px;
    background: #333;
    color: white;
    width: 100%;
}
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }
    .menu-toggle {
        display: block;
        align-self: flex-end;
        margin-right: 20px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #222831;
        padding: 10px 0;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .dropdown-content {
        position: static;
        background-color: transparent;
        box-shadow: none;
    }
    .article-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 50px 10px;
        font-size: 14px;
    }
    .content-container {
        width: 90%;
        margin: 0 auto;
        padding: 10px;
    }
}		
		
.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-content h1 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
}


.post-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
}

.post-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.post-content img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

.post-content blockquote {
    font-style: italic;
    padding: 10px 20px;
    border-left: 4px solid #222831;
    background: #f8f9fa;
    color: #555;
    margin: 20px 0;
}


.post-content ul, 
.post-content ol {
    margin-left: 20px;
    padding-left: 20px;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .post-content {
        padding: 15px;
    }

    .post-content h1 {
        font-size: 1.8em;
    }

    .post-content img {
        max-height: 300px;
    }
}

.categories {
    padding: 20px;
    text-align: center;
    color: white;
}
         .categories a {
            color: white;
            text-decoration: none;
            padding: 10px 15px;
            display: inline-block;
            border-radius: 5px;            
			background: #222831;
            margin: 5px;
        }
		.categories a:hover {
            background-color:#222831;
            transition: 0.3s ease-in-out;
        }

.hero2 {
	   padding: 20px;
       background: white !important;
       box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
       border-radius: 10px;
      
	
}
.section2 {
	   max-width: 800px;
       padding: 20px;
       background: white;
       box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
       border-radius: 10px;
       margin: 20px;
	
}

.hero2{
font-size:18px !important;	
}

li{
font-size:18px !important;
list-style: none;
	
}

footer a {
    color: white;
    text-decoration: none;
	font-size:18px;
}

footer p {
    color: white;
    text-decoration: none;
	font-size:18px;
}

.top-ad-container {
    width: 100%;
    text-align: center;
    background-color: #f8f8f8;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    max-height: 120px; 
    overflow: hidden;  
}


.top-ad-container ins.adsbygoogle {
    display: block !important;
    max-height: 120px !important;
    overflow: hidden !important;
}

button#start, button#reset{
    padding: 5px;
    margin-top:10px;
    margin-bottom:10px;
    font-weight:bold;
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    width: 70px;
    height: 35px;
    border-radius: 5px;
    font-size: 15px;
}

button:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.6;
}