@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Estilos padrão (Tema Escuro) */
body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(-45deg, #ce0909, #b00ae2, #4d0000, #800080);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #b6b4b4;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.5s, color 0.5s; /* Transição suave */
}

body.light {
    font-family: 'Courier New', monospace;
    background: linear-gradient(-45deg, #e90b0b, #ff002b, #2707e0, #001780);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #e6e6e6;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.5s, color 0.5s; /* Transição suave */
}

button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: rgba(26, 0, 34, 0.8);
    border-bottom: 2px solid #4d004d;
    text-align: center;
}

.ascii-art {
    font-size: 18px;
    white-space: pre;
    line-height: 1;
    color: #ff66ff;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.ascii-art:hover {
    transform: scale(1.1);
}

.header-text h1 {
    font-size: 4em;
    margin: 0;
    color: #ff1aff;
    transition: text-shadow 0.3s ease;
}

.header-text h1:hover {
    text-shadow: 0 0 10px #ff1aff, 0 0 20px #ff1aff;
}

.quote {
    font-size: 1em;
    color: #cc00cc;
    font-style: italic;
    margin-top: 10px;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    flex-grow: 1;
}

h2 {
    border-bottom: 2px solid #4d004d;
    padding-bottom: 10px;
    color: #ff66ff;
}

#skills > ul {
    list-style-type: none;
    padding: 0;
}

#skills > ul > li {
    background-color: rgba(26, 0, 34, 0.6);
    margin: 15px 0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(255, 26, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

#skills > ul > li:hover {
    background-color: rgba(42, 0, 51, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(255, 26, 255, 0.2);
}

.dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.dropdown li {
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown.active {
    max-height: 500px;
}

.dropdown.active li {
    opacity: 1;
    transform: translateY(0);
}

#skills > ul > li:hover .dropdown {
    max-height: 500px;
}

#skills > ul > li:hover .dropdown li {
    opacity: 1;
    transform: translateY(0);
}

footer { background-color: rgba(26, 0, 34, 0.8);
    padding: 20px;
    text-align: center;
    color: #e6e6e6;
}

#activityChart {
    width: 100%;  
    max-width: 800px; 
    height: auto;  
    aspect-ratio: 2 / 1;  
    display: block;
}


#bug-bounty {
    background-color:  rgba(26, 0, 34, 0.6);
    border-radius: 15px;
    margin: 20px 0;
    color: #e6e6e6;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

#bug-bounty:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

#bug-bounty h2 {
    color: #ff66ff;
    text-align: left;
    font-size: 2em;
    margin-bottom: 20px;
}

#bug-bounty ul {
    list-style-type: none;
    padding: 0;
}

#bug-bounty li {
    margin: 15px 0;
    padding: 15px;
    background: rgba(42, 0, 51, 0.8);
    border-radius: 10px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #ffb3ff;
}

#bug-bounty li:hover {
    background-color: rgba(50, 0, 60, 0.9);
}

#bug-bounty li strong {
    color: #ff66ff;
    font-size: 1.2em;
    margin-bottom: 5px;
}

#bug-bounty li p {
    color: #e6e6e6;
    font-size: 0.9em;
}

#bug-bounty li .icon {
    color: #cc00cc;
    font-size: 1.4em;
    margin-right: 10px;
}

#articles {
    background-color:  rgba(26, 0, 34, 0.6);
    border-radius: 15px;
    margin: 20px 0;
    color: #e6e6e6;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#articles h2 {
    color: #ff66ff;
    text-align: left;
    font-size: 2em;
    margin-bottom: 20px;
}

#articles ul {
    list-style-type: none;
    padding: 0;
}

#articles li {
    margin: 15px 0;
    padding: 15px;
    background: rgba(42, 0, 51, 0.8);
    border-radius: 10px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#articles li:hover {
    background-color: rgba(50, 0, 60, 0.9);
}

#articles li strong {
    color: #ff66ff;
    font-size: 1.2em;
}

#articles li p {
    color: #e6e6e6;
    font-size: 0.9em;
}

#articles li a {
    color: #cc00cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

#articles li a:hover {
    color: #ff1aff;
}

@media (min-width: 768px) {
    #bug-bounty {
        transition: transform 0.3s ease;
    }

    #bug-bounty:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 768px) { 
    #activityChart {
        height: 300px;  
    }
}

@media (max-width: 480px) {
    #activityChart {
        height: 200px; 
    }
}

#hosting-projects {
    background-color: rgba(26, 0, 34, 0.6);
    border-radius: 15px;
    margin: 20px 0;
    color: #e6e6e6;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#hosting-projects h2 {
    color: #ff66ff;
    text-align: left;
    font-size: 2em;
    margin-bottom: 20px;
}

#hosting-projects ul {
    list-style-type: none;
    padding: 0;
}

#hosting-projects li {
    margin: 15px 0;
    padding: 15px;
    background: rgba(42, 0, 51, 0.8);
    border-radius: 10px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#hosting-projects li:hover {
    background-color: rgba(50, 0, 60, 0.9);
}

#hosting-projects li strong {
    color: #ff66ff;
    font-size: 1.2em;
}
