* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
html{
    height: 100%;
}
body {
    background-color: #0f0f0f;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 10vh;
}

header {
    background-image: url(img/Dragon_Ball_Z_Logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #ff7b00;
    padding: 20px;
    text-align: center;
    height: 90px;
    
}

nav {
    display: flex;
    justify-content: space-around; /* espalha até o fim da tela */
    align-items: center;           /* centraliza verticalmente */
    width: 100%;
    background-color: #ffae00;
    padding: 15px 0;
}
nav a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    transition: 0.3s;
}

nav a:hover {
    background-color: orange;
    color: #fff;
    text-decoration: underline;
    border-radius: 5px;
}

main {
    padding: 30px;
    flex: 1;
}

section {
    margin-bottom: 25px;
}

h2 {
    margin-bottom: 10px;
    color: #ffae00;
}

ul {
    margin-left: 20px;
}

footer {
    background-color: #000;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}




/* Index.html */
#index section{
    width: 100%;
    height: 300px;
    margin-top: 40px;
}

#index section h2{ 
    
    width: 80%;
    margin: 0 10px 20px 20px;
    text-align: left;
    color: #ffae00;
}

#index section img{
    width: 400px;
    height: 230px;
    float: left;
    margin: 0 15px 10px 10px;
}

#index section p{
    text-align: justify;
    font-size: 17px;
    margin-right:70px;
    
    
    
}

#index section p:nth-of-type(2){
    margin-top: 40px;
}



#index .criador{
    display: flex;
    flex-direction: column;
    align-items: center
}

#index .criador img{
    width: 300px;
    border: 2px solid #a19b9b;
    border-radius: 5px;
}

#index .criador  p{
    text-align: center;
    padding: 10px 30px;
    color: #ffae00
}
/* Final DO INDEX */

/* COMEÇO SAGAS */
#sagas section{
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#sagas .card{
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    
    
}

#sagas .card:nth-child(even){
    flex-direction: row-reverse;
}

#sagas .card img{
    width: 320px;
    max-width: 100%;
    height: 250px;
    /* object-fit: cover; */
    
    border-radius: 8px;
    flex-shrink: 0;
}

#sagas .card p{
    text-align: justify;
    font-size: 16px;
    line-height: 1.6;
}

#sagas .texto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    
    
}



#sagas .texto h2{
    color: #ffae00;
}
#sagas .texto p{
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

#sagas .card .vilao{
    width: 260px;    
    max-width: 100%;
    padding: 12px;
    background: radial-gradient(circle,#ffae00 0%, #1a1a1a 70%);
    border-radius: 12px;
    border: 2px solid #ffae00;
    box-shadow: 0 0 15px rgba(255, 174, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#sagas .vilao:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255, 94, 0, 0.9);
}

#sagas .vilao img,
#sagas img.vilao {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Freeza */
#sagas .vilao.freeza {
    border-color: #c084fc;
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.8);
    background: radial-gradient(circle,#c084fccc 0%, #1a1a1a 70%);
}

/* Cell */
#sagas .vilao.cell {
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
    background: radial-gradient(circle,#22c55ecc 0%, #1a1a1a 70%);
}

/* Boo */
#sagas .vilao.boo {
    border-color: #f472b6;
    box-shadow: 0 0 20px rgba(244, 114, 182, 0.8);
    background: radial-gradient(circle,#f472b6cc 0%, #1a1a1a 70%);
}

/*Final SAGAS*/

/* COMEÇO TRANSFORMAÇÂO*/


#transformacao .card-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: nowrap; /* quebra só se precisar */
}

#transformacao .card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 150px;
    height: 200px;

    background-color: #a19b9b;
    border-radius: 20px;
    padding: 10px;
    text-align: center;
}
#transformacao .card img{
    width: 100%;
    height: 140px;
    border-radius: 10px;
    object-fit: contain;

}

#transformacao .card p{
    margin-top: 5px;
    font-weight: bold;
    color: #333;
}


/*FINAL TRANSFORMACOES*/

/*INICIO PERSONAGENS*/

#personagem .Personagem{
    display: flex;
    gap: 20px;
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    align-items: center;
}

#personagem .Personagem img{
    width: 470px;
    height: auto;
    border-radius: 12px;
    flex-shrink: 0;
}

#personagem .Personagem h2{
    color: #ffae00;
    margin-bottom: 10px;
}

#personagem .Personagem p{
    text-align: justify;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 12px;
}

/*FINAL TRANSFORMAÇÕES */

/*INICIO SOBRE*/

#sobre main{
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

#sobre section{
    display: flex;
    flex-direction: row;
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
}

#sobre .sobre-conteudo{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

#sobre .criador img{
    display: flex;
    flex-direction: column;
}
#sobre .criador img{    
    width: 250px;
    align-items: center;
    border-radius: 12px;
    border: 3px solid #ffae00;
    box-shadow: 0 0 70 rgba(255, 174, 0, 0.6);
}

#sobre .sobre-conteudo p{
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
    
}

#sobre form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    width: 400px;
    max-width: 90%;
    padding: 20px;
    background-color: #1a1a1a;
    color: #fff;
    border: 2px solid #ffae00;
}

#sobre form fieldset{
    border: none;
    flex-direction: column;
    margin-bottom: 15px;
    width: 100%;
}

#sobre form legend{
    margin-bottom: 10px;
}

#sobre form input,
#sobre form textarea{
    width: 100%;
    padding: 8px 10px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ffae00;
    color: #fff;
    background-color: #0f0f0f;
    font-size: 14px;
    margin-bottom: 10px;

}


#sobre form button{
    width: 120px;
    padding: 8px;
    background-color: #ffae00;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

#sobre form button:hover{
    background-color: orange;
    transform: scale(1.05);
}

/* FINAL SOBRE */

/*COMEÇO DO DESEJO*/


#desejo .shenlong{
    height: 100vh;
    width: 100%;
    background-image: url(img/desejo.png);
    background-size: contain;      /* MOSTRA A IMAGEM INTEIRA */
    background-position: center;
    background-repeat: no-repeat;
    background-color: black;       /* preenche sobras */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#desejo .overlay{
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

#desejo .fala{
    position: relative;
    text-align: center;
    color: gold;
    text-shadow: 
    0 0 5px #fff,
    0 0 15px #ffd700,
    0 0 30px orange,
    0 0 50px red;
    animation: aparecer 2s ease-in-out;
}

#desejo .fala h1{
    font-size: 3rem;
    letter-spacing: 5px;
}

#desejo .fala h2{
    font-size: 4rem;
    margin-top: 10px;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
    
/*FINAL DO DESEJO*/

