/* Reset e estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    background-color: #1E1E2E;
    color: #FAF3E3;
    font-family: 'Press Start 2P', monospace;
    line-height: 1.6;
    padding: 20px;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.site-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 4px solid #8FA2C3;
}

.site-header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #B8E0FF;
    text-shadow: 3px 3px 0px #000;
}

.tagline {
    font-size: 1em;
    color: #8FA2C3;
}

/* Navigation */
.main-nav {
    margin: 20px 0;
    padding: 10px;
    background-color: #2A2A3C;
    border: 2px solid #8FA2C3;
    border-radius: 8px;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #B8E0FF;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: #FFD700;
    background-color: #3A3A4C;
    transform: translateY(-2px);
}

/* Pixel Box Style */
.pixel-box {
    background-color: #2A2A3C;
    border: 4px solid #8FA2C3;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    border-radius: 8px;
}

.pixel-box::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 100%;
    height: 100%;
    background-color: #1E1E2E;
    z-index: -1;
    border: 4px solid #676278;
    border-radius: 8px;
}

/* Welcome Section */
#welcome {
    text-align: center;
    padding: 40px 20px;
}

#welcome h2 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: #FFD700;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.course-card {
    text-align: center;
    padding: 20px;
    background-color: #2A2A3C;
    border: 2px solid #8FA2C3;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 0px #676278;
}

.course-card h3 {
    color: #B8E0FF;
    margin-bottom: 15px;
}

.course-card p {
    margin-bottom: 20px;
    font-size: 0.9em;
}

/* Resources Section */
.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.resources-list li {
    text-align: center;
    font-size: 0.9em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #676278;
    color: #FAF3E3;
    border: 2px solid #8FA2C3;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #8FA2C3;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px #1E1E2E;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 4px solid #8FA2C3;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: #B8E0FF;
    margin: 0 10px;
    font-size: 0.9em;
}

.social-links a:hover {
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .site-header h1 {
        font-size: 2em;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .courses-grid,
    .resources-list {
        grid-template-columns: 1fr;
    }
}

/* sobre mim updated */

.sobre-mim {
    background-color: #1E1E2E;
    color: #FAF3E3;
    padding: 40px 20px;
}

.sobre-mim-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sobre-mim-imagem {
    width: 120px;
    /* Ajuste o tamanho da imagem aqui */
    height: auto;
    border: 3px solid #8FA2C3;
    border-radius: 50%;
}

.sobre-mim-texto {
    max-width: 600px;
}

.sobre-mim h2 {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

/* Alteração de links */
#guias a:visited,
#artigos a:visited {
    color: #fffe2a; /* Roxo vibrante */
    background-color: #3A3A4C; /* Mantendo o fundo do hover */
}

#guias a:disabled,
#artigos a:disabled {
    color: #92959a;
    background-color: #3A3A4C;
}



