* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    font-family: 'Lato', sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.box {
    padding: 32px;
    background-color: #ffffff;
    box-shadow: 0px 8px 32px rgba(0 0 0 / .16);
    border-radius: 16px;
    width: fit-content;
}

#app {
    display: grid;
    grid-template-rows: 40px 1fr;
    gap: 24px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    color: #333;
}

header i {
    padding: 16px;
    border-radius: 50%;
    color: #666;
}

header i:hover {
    background-color: #ece0fd;
}

main {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* tres colunas que se adaptem ao conteudo */
    gap: 16px;
}

main > div {
    width: 82px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
}

main > div:hover {
    background-color: #ece0fd;
    border-radius: 8px;
}

main > div.active {
    background: #c1008a;
    border-radius: 8px;
    font-weight: 700;
    color: white;
}

