/*DISPLAY
DISPLAY FLEX
flex-direction = row(linha), column (coluna)
justify-content (alinha os itens de acordo com o eixo principal)
align-item (alinha os itens de acordo com o eixo secundário
flex-wrap= wrap(quebra a linha e o bloco vai pra baixo)
flex-basis= Define o tamanho base inicial de um item flexível antes do espaço ser distribuído*/
/* Importar fonte (https://fonts.google.com/) */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=TikTok+Sans:opsz,wght@12..36,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');
/* seletor "*" *seleciona a pagina inteira*/
*{
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}
body {
    background-color: #f1c6fa;
    font-family: "Lora";
    font-weight: 04;
}

header {
    /*Degrade de cores*/
    background: linear-gradient(to right, #fefc93, #d497f8);
    padding: 20px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header img {
    /*Altura e largura*/
    /*Se mudar a largura (width) deixar a altura (height) automatica (height: auto */
    width: 100%px;
    height: auto;
    margin-bottom: 10px;
}

nav a {
    /* a:link - link/botão ainda não visitado
   a:visited - quando o link/botão foi visitado
   a:hover - ativado quando passamos o mouse por cima do link/botão
   a:active - ativado no momento do clique no link/botão */
    color: #5E5FB9;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    padding: 5px 12px; 
    margin: 0px 20px;
}
nav a:hover {
    /* a:hover - ativado quando passamos o mouse por cima do link/botão */
    color: #772ffb;
    background-color:  #fffa75;
    border-radius: 15px;
}

main {
    /*deixar o texto centralizado*/
    text-align: center;
    margin: 20px;
}

#frase {
    /*letter-spacing: Define o espaçamento entre os caracteres do texto*/
    letter-spacing: 1px;
    color:  #843126;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: "Lobster Two";
    /* TEXT- SHADOW- 
    Define sombras para o texto. 
    Recebe quatro valores logo
    na seguinte ordem: deslocamento horizontal | deslocamento vertical | desfoque/suavização da sombra | cor*/
    text-shadow: 0px 0px 8px rgba(140, 55, 71, 0.418);
}

h1 {
    color: #913dcd;
    font-size: 2rem;
    /*Padding (Preenchimento): Espaço interno entre o conteúdo e a borda*/
    padding: 20px;
}

h2 {
    color: rgb(255, 255, 80);
}
.main-container{
    display: flex;
    max-width: 1000px;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0 auto;
}
.main-block{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 200px;
    background-color: #d593ed;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 6px #888888;
    /*Space-evenly da um espacemntto difente de center*/
    justify-content: space-evenly;
    align-items: center;
}
.main-block a{
    color: #913dab;
    background-color: rgb(255, 255, 80);
    text-decoration: none;
    padding: 5px 12px;
    margin: 3px 0px;
    border-radius: 15px;
    font-weight: 500;
}
.main-block a:hover{
    color: #9320b6;
    background-color: rgb(250, 250, 157);
}
.trailer{
    max-width: 1000px;
    background-color: #d593ed;
    border-radius: 10px;
    box-shadow: 0px 0px 6px #888888;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}
.trailer h2{
    margin-bottom: 8px;
}
.thumbnail{
    width: 100%;
    /*a imagem só vai aparecer com esse aspect-ratio*/
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0px 0px 6px #888888;
    margin-top: 10px;
}
#voar{
    margin-top: 20px;
    font-family: "Lobster Two";
}
#voar a {
    color:  #843126;
    text-decoration: none;
    font-weight: 650;
    font-size: 19px;
}

#voar a:hover {
    color: rgb(255, 255, 80);
}

footer {
    background-color: #59136a;
    color: #ffffff;
    text-align: center;
    padding: 20px 0px;
}
.redes-sociais{
    margin-top: 10px;
}

footer .redes-sociais img {
    width: 24px;
    height: 24px;
    /*transition: Define efeitos de transição entre estados. 
 Recebe dois valores na seguinte ordem: propriedade que será animada | duração do efeito de transição*/
    transition: transform 0.3s ease;
    margin: 0px 3px;
}

footer .redes-sociais img:hover {
    /*transform: Aplica transformações 2D ou 3D ao elemento. como rotação, escalonamento, translação ou inclinação. 
    Os valores variam conforme o tipo de transformação.  (Exemplos: rotate(45deg), scale(1.5), translateX(10px))*/
    transform: scale(1.3);
}