@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');

*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

body{
    background-color: 	#f6e7d3; /*cor fundo da página*/
    font-family:"Mulish", Arial;
    font-weight: 400;
}

header{
    background-color: #eac9a5;
    padding:20px 0px ;
    display: flex;
    flex-direction: column;
    justify-content:center ;
    align-items: center;
}

header img { /*tamanho da imagem*/
    width: 300px; /*largura*/
    height:auto ; /*altura*/
    margin-bottom:5px ;
}

nav a{
    color: black;
    font-weight: bold;
    font-size: 16px;
    text-decoration:none;
    padding:5px 6px ;
    
}

nav a:hover{
    color: black;
    background-color:#8aab50 ;
    border-radius: 15px; /*arredondar a borda*/
}

main {
    /*deixar o texto centralizado*/
    text-align: center;
    margin: 20px;
}

h2{
    margin: 15px auto;
}

p{
    margin: auto 100px;
    margin-bottom: 30px;
}
.cast-container{
    display: flex;
    flex-wrap: wrap;
    max-width: 2000px;
    margin: 0 auto;
    margin-left: 70px;
    text-align: center;
    margin-bottom: 70px;
}
.cast-member{
    display: flex;
    /*flex: É a junção da flex-grow + flex-shrink + flex-basis em uma propriedade só, ou 
    seja, define a proporção de crescimento, encolhimento e tamanho base de um item 
    flexível.
    Recebe três valores na seguinte ordem: flex-grow | flex-shrink | flex-basis */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin: 10px;
    padding: 30px;
    background-color:#8aab50;
    width: 250px;
    height: auto;
    overflow: hidden;
    text-align: center;
    margin-bottom: 50px;
 
}
.cast-member p{
    font-size: 1rem;
    color: black;
}
.cast-member img{
    max-width: 100%;
    border-radius: 50%;
    transition: transform 0.3s;
    height: 150px;
    object-fit: cover;
    width: 150px;
}
.cast-member img:hover{
    transform: scale(1.1);
}
.cast-member details{
    color: #874a27;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 8px;
    word-wrap: break-word;
}

.cast-member summary{
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
}


footer{
    background-color: #8aab50;
    color: white;
    text-align: center; /*alinhar o texto*/
    padding:15px 0px ;
} 



footer img{
    width:25px ;
    height:auto;
    transition:transform 0.2s ease; /*duração do tempo do efeito*/
    margin:10px 3px ;
}

footer img:hover{
    transform: scale(1.5);
}

#whatsapp{
    width: 35px;
}