@charset "UTF-8";

/*Salva variaveis para todo projeto*/
:root{
    --primary-color: #F5CF06;
    --secundary-color: #8E4106;
}


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Righteous", sans-serif;
    font-weight: 400;
    font-style: normal;
}

a{
    text-decoration: none;
    color: inherit;
}

li, ul, ol{
    list-style: none;
}

body{
    background-color: var(--primary-color);
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    padding: 70px;
    padding-bottom: 0;

}

header{
    font-family: "Rigtheous";
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 32px;
    color: var(--secundary-color);

}

main{
    flex-grow: 1; /*Faz com que a div em questao preencha todo o espaço possivel, empurrando os outros elementos dentro do pai (funciona so se o pai for flex)*/
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.download{
    background-color: var(--secundary-color);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 381px;
    height: 100px;
    margin-right: 20px;
    font-size: 48px;
    color: white;
    gap: 20px;
}

h1#tituloTras{
    position: absolute;
    top: 40%;
    left: 50%;

    transform: translate(-50%, -50%);
    font-size: 27vw;
    color: rgba(255, 255, 255, 0.2);

}

h1#tituloFrente{
    transform: translateY(25%);
    font-size: 22vw;
    color: white;
}

#pikachuImg{
    position: absolute;
    top: 60%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 559px;
}

section#secao-paragrafo{
    display: flex;
    width: 100vw;
    padding: 0px 70px;
    justify-content: space-between;
    align-items: flex-end;
}

#secao-title{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.pMain{
    width: 530px;
    z-index: 3;
    color: var(--secundary-color);
}

.pMain p{
    font-size: 20px;

}

.pMain h1{
    font-size: 64px;
}

footer{
    display: flex;
    align-items: center;    
    justify-content: center;
    margin-bottom: 24px;
    margin-top: 73px;
    color: var(--secundary-color);
}


/*Tablet*/
@media (max-width: 1024px) { 
    *{
        overflow-x: hidden;
    }

    body{
        padding: 30px;
    }

    footer{
        display: none;
    }

    h1#tituloTras{
        transform: translate(-50%, -145%);
    }

    h1#tituloFrente{
        transform: translate(0, -87%);
    }

    section#secao-paragrafo{
        padding: 0px 30px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: space-around;
        gap: 11px;
    }

    #pikachuImg{
        transform: translate(-50%, -70%);
        width: 549px;
    }
    
    .download{
        width: 411px;
    }
}

/*Mobile*/
@media (max-width: 480px) {
    *{
        overflow-x: hidden;
    }


    h1#tituloTras{
        transform: translate(-50%, -175%);
    }

    h1#tituloFrente{
        transform: translate(0, -130%);
    }

    section#secao-paragrafo{
        gap: 5px;
    }

    .pMain p{
        display: none;
    }

    #pikachuImg{
        transform: translate(-50%, -70%);
        width: 350px;
    }
    
    .download{
        width: 312px;
        margin-right: 0px;
        font-size: 40px;
    }

    .download img{
        width: 40px;
    }

    .pMain h1{
        font-size: 40px;
    }
}