Simplesmente o display flex não esta funcionando não sei o pq. Alguém me explicar?
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<title>document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="container">
<img src="./assets/images/image-omelette.jpeg" alt="Imagem de um omelette">
<h1> Simpls Omelette</h1>
</main>
</body>
</html>
*{
padding: 0px;
margin: 0px;
}
body{
box-sizing: border-box;
background-color: var(--eggshell);
}
.container{
background-color: var(--white);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 40%;
padding: 40px;
margin: 5% 0%;
border-radius: 25px;
}
.container img {
width: 100%;
border-radius: 15px;
}