@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');

/* Cores: #5576D9 | #324359 | #ACCAF2 | #E2F26B | #F2B33D */

* {
    margin: 0px;
    padding: 0px;
}

html {
    scroll-behavior: smooth !important;
}

body {
    overflow: auto;
    background: #ACCAF2;
}

header{
    max-width: 100vw;
    background: #324359;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0px 20px;
}

h1 {
    font-family: 'Indie flower';
    color: #ffffff;
}

a {
    text-decoration: none;
}

i {
    color: white;
}

li {
    display: flex;
    align-items: center;
    width: 90vw;
    border-bottom: 1px solid white;
    margin: 0px 0px 10px 10px;
}

li > a {
    font-size: 1.5rem;
    color: white;
    transition: 1s ease-in-out;
}

li > a:hover {
    color: #E2F26B;
}

#listaMenu {
    display: none;
    z-index: 2;
    position: absolute;
    top: 34px;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #324359;
    animation: fadeIn 1s;
}

main {overflow-x: hidden;}

#imagemBanner{
    object-fit: cover;
    width: 100vw;
    filter: grayscale(20);
}

.banner {
    display: inline-block;
    position: relative;
}

.banner p {
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font: bolder 20px 'Indie flower' ;
    color: #E2F26B;
}

#filmes {
    text-align: center
}

.titulo{
    font: bolder 2em 'Indie Flower';
    color: #E2F26B;
    text-decoration: underline #5576D9 3px;
    
    width: 100vw;
    text-align: center;
}

#filme, #premiacoes, #museuGhibli{
    display: flex;
    align-items: center;
    flex-direction: column;
}

#filme {
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    animation: aparecer 2s;
}

.cards, .premios {
    width: 290px;
    height: 600px;
    margin: 10px 0px ;
    padding: 5px 0px;
    border: 1px solid #324359;
    border-radius: 5px;
    text-align: center;
    background: #5576D9;
    box-shadow: 2px 2px 6px #324359;
}

.cardsTitulo, .fundador-conteudo-titulo, .premiosTitulo{
    font: 1.5em 'Indie Flower';
    margin: 0px 0px 5px 0px;
    color: #ffffff;
    text-decoration: underline #324359 1.5px;
}

.cardsTitulo { 
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cardsImagem {
    width: 100%;
}

.cardsDescricao {
    overflow: hidden;
    margin: 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cards > button {
    font: bolder 1rem 'Indie Flower';
    width: 200px;
    padding: 10px;
    background: #F2B33D;
    color: #324359;
    border: none;
    border-radius: 5px;
    transition: .2s all;
    cursor: pointer;
}

.cards > button:hover {
    transform: scale(1.1);
    background: #324359;
    color: #F2B33D;
}

#filmes > button {
    background: #324359;
    padding: 10px;
    color: #E2F26B;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all .2s;
}

#filmes > button:hover {
    background: #E2F26B;
    color: #324359;
}

/* FUNDADORES */
#fundadores {
    margin-top: 25px;
}
.fundadores-fundador {
    background-color: #5576D9;
    padding: 10px 5px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 2px 2px 6px #324359;
}

.fundadores-fundador > img {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.fundador-conteudo {
    width: 100%;
}

.fundador-conteudo > p {
    text-align: center;
}

p.fundador-conteudo-descricao {
    margin: 5px;
    text-align: left;
}

/* PREMIAÇÕES */

#premiacoes {
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0px 50px;
}

#premiacoes > section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#premiacoes .premios{
    width: 290px;
    height: 130px;
}

#premiacoes .premios:hover{
    transform: scale(1.1);
}

#premiacoes i {
    position: relative;
    padding: 5px;
    background-color: #324359;
    border-radius: 50%;
    top: 25px;
}

#premiacoes .premiosTitulo{
    margin-top: 10px;
}

/* MUSEU GHIBLI */
#museuGhibli,footer {
    margin: 10px 0px;
    padding: 10px;
    background-color: #5576D9;
}

#museuGhibli iframe{
    border-radius: 5px;
    width: 290px;
}

#museuGhibli p.conteudo {
    margin-top: 50px;
    color: #ffffff;
}

footer {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer section {
    display: flex;
    flex-direction: column;
}

footer a {
    color: #E2F26B;
    text-decoration: underline;
}

footer p { color: #ffffff;}

@keyframes aparecer {
  0% {
    opacity: 0;
    margin-right: 100%;
  }
  100% {
    opacity: 1;
    margin-right: 0%;
  }
}

@media (min-width: 580px) {
    header {
        height: 70px;
    }

    nav {
        height: 100%;
        display: flex;
        align-items: center;
    }

    nav i {
        display: none;
    }

    li {
        width: auto;
        height: auto;
        border-bottom: 0px;
        margin: 0px ;
    }

    li > a {
        font-size: 1rem;
        color: white;
    }

    #listaMenu {
        top: 0px;
        right: 0px;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        font: 1em;
        z-index: 0;
        position: relative;
        width: auto;
        height: 70px;
    }

    #filme {
        gap: 30px;
        margin: 10px;
    }

    .fundadores-fundador > img {
        height: auto;
        width: 600px;
    }
    
    .fundador-conteudo > p {
        text-align: start;
        margin-left: 10px;
    }

}

@media (min-width: 1400px) {
    p, li > a, .cards > button, #filmes > button, footer a,#premiacoes i {
        font-size: 2em;
    }

    h1, .titulo, .cardsTitulo, .fundador-conteudo > p, #premiacoes .premiosTitulo, .banner p{
        font-size: 3em;
    }

    #listaMenu {
        display: flex;
        gap: 50px;
    }

    .cards {
        height: 950px;
        width: 400px;
    }

    .cardsTitulo {
        height: 220px;
    }

    #premiacoes .premios {
        height: 510px;
    }

    #premiacoes .premiosTitulo  {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 210px;
    }

    #premiacoes i { 
        top: 40px;
        padding: 20px;
    }

    #museuGhibli iframe {
        width: 50vw;
    }    
}