/* Styles principaux de CodeNawak - Site style années 2000 */

body {
    background-image: url('https://web.archive.org/web/20090830094347/http://geocities.com/heatseeker0/stars.gif');
    background-color: #000080;
    color: #FF00FF;
    font-family: "Comic Sans MS", cursive;
    margin: 0;
    padding: 0;
    cursor: url('/api/placeholder/32/32'), auto;
}

.container {
    width: 800px;
    margin: 0 auto;
    border: 5px solid #00FFFF;
    background-color: #000000;
    box-shadow: 0 0 20px #FF00FF;
}

.marquee {
    background-color: #FF0000;
    color: #FFFF00;
    font-size: 24px;
    font-weight: bold;
    padding: 5px;
    text-align: center;
}

.header {
    text-align: center;
    padding: 20px;
    background-image: url('/api/placeholder/800/120');
    background-color: #000000;
    border-bottom: 3px dashed #00FFFF;
}

.logo {
    font-size: 48px;
    color: #FFFF00;
    text-shadow: 3px 3px #FF0000, 6px 6px #00FFFF;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 5px;
}

.slogan {
    font-size: 18px;
    color: #00FFFF;
    font-style: italic;
    margin-bottom: 10px;
}

.counter {
    background-color: #FFFFFF;
    color: #FF0000;
    display: inline-block;
    padding: 5px 10px;
    border: 3px ridge #FFFF00;
    margin-top: 10px;
    font-weight: bold;
}

.navigation {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.nav-button {
    display: table-cell;
    background: linear-gradient(to bottom, #0099FF, #000066);
    color: #FFFF00;
    text-align: center;
    padding: 10px 5px;
    font-weight: bold;
    font-size: 14px;
    border: 2px outset #00FFFF;
    text-shadow: 1px 1px #000000;
    cursor: pointer;
}

.nav-button:hover {
    background: linear-gradient(to bottom, #FF00FF, #990099);
    color: #FFFFFF;
}

.content {
    display: flex;
    min-height: 500px;
}

.sidebar {
    width: 200px;
    background-color: #000066;
    padding: 10px;
    border-right: 3px dashed #00FFFF;
}

.sidebar-title {
    background-color: #FF0000;
    color: #FFFF00;
    text-align: center;
    padding: 5px;
    margin-bottom: 10px;
    font-weight: bold;
    border: 2px outset #FFFF00;
}

.sidebar-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 10px;
    padding-left: 20px;
    background-image: url('/api/placeholder/16/16');
    background-repeat: no-repeat;
    background-position: left center;
}

.sidebar-links a {
    color: #00FFFF;
    text-decoration: none;
}

.sidebar-links a:hover {
    color: #FFFF00;
    text-decoration: underline;
}

.main-content {
    flex: 1;
    padding: 15px;
    background-color: #000000;
}

.welcome-message {
    text-align: center;
    font-size: 24px;
    color: #FFFF00;
    margin-bottom: 20px;
    text-shadow: 2px 2px #FF0000;
}

.section {
    margin-bottom: 30px;
    border: 2px dashed #FF00FF;
    padding: 10px;
    background-color: #000033;
}

.section-title {
    background-color: #9900CC;
    color: #FFFFFF;
    padding: 5px 10px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    border: 2px outset #FF00FF;
    letter-spacing: 2px;
}

.tutorials {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tutorial-card {
    width: 45%;
    background-color: #003366;
    margin-bottom: 15px;
    border: 3px ridge #00FFFF;
    padding: 5px;
}

.tutorial-title {
    background-color: #FF6600;
    color: #FFFFFF;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    margin-bottom: 10px;
}

.guestbook-form {
    display: flex;
    flex-direction: column;
}

.guestbook-form input, .guestbook-form textarea {
    margin-bottom: 10px;
    background-color: #000033;
    color: #00FFFF;
    border: 2px inset #00FFFF;
    padding: 5px;
}

.guestbook-form button {
    background: linear-gradient(to bottom, #FF0000, #990000);
    color: #FFFFFF;
    border: 2px outset #FF0000;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    align-self: center;
}

.links-section {
    margin-top: 20px;
    text-align: center;
}

.links-title {
    color: #FFFF00;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.webring {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.webring a {
    margin: 0 10px;
    display: inline-block;
    border: 2px outset #00FFFF;
    padding: 5px;
    background-color: #000066;
    color: #FFFF00;
    text-decoration: none;
    font-weight: bold;
}

.banners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.banner {
    margin: 5px;
    border: 2px solid #FFFFFF;
    background-color: #FFFF00;
    width: 88px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #000000;
    font-weight: bold;
}

.footer {
    background-color: #000033;
    color: #00FFFF;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    border-top: 3px dashed #00FFFF;
}

.footer a {
    color: #FF00FF;
}

.construction {
    text-align: center;
    margin: 10px 0;
}

.construction img {
    width: 100px;
    height: 100px;
}

/* Animations and special effects */
.blink {
    animation: blink 1s infinite;
}

.rainbow-text {
    animation: rainbow 2s infinite;
}

@keyframes rainbow {
    0% { color: red; }
    14% { color: orange; }
    28% { color: yellow; }
    42% { color: green; }
    57% { color: blue; }
    71% { color: indigo; }
    85% { color: violet; }
    100% { color: red; }
}

/* Fire text effect */
.fire-text {
    background-image: linear-gradient(0deg, #ff0000, #ffff00);
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
    animation: fire 1s infinite;
}

@keyframes fire {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mobile Responsive (for SEO) */
@media (max-width: 820px) {
    .container {
        width: 100%;
        border: none;
        box-shadow: none;
    }
    
    .content {
        flex-direction: column;
    }
    
    .sidebar {
        width: auto;
        border-right: none;
        border-bottom: 3px dashed #00FFFF;
    }
    
    .tutorial-card {
        width: 100%;
    }
}

/* Accessibility improvements (for SEO) */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-to-content:focus {
    position: static;
    width: auto;
    height: auto;
}

/* SEO-friendly but hidden tags */
.seo-tags {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
    color: #FFFFFF;
    text-align: center;
    padding: 3px;
    font-weight: bold;
    margin-bottom: 5px;
}

.tutorial-image {
    text-align: center;
    margin-bottom: 5px;
    background-color: #FFFFFF;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #000000;
    border: 2px inset #CCCCCC;
}

.tutorial-text {
    color: #00FFFF;
    font-size: 12px;
    margin-bottom: 5px;
}

.new-icon {
    display: inline-block;
    background-color: #FF0000;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.guestbook {
    margin-top: 20px;
    background-color: #003366;
    padding: 10px;
    border: 3px ridge #00FFFF;
}

.guestbook-title {
    background-color: #FF6600;}
    