* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #4b73e0, #2c3e9e);
    font-family: sans-serif;
    color: #fff;
}

/* HEADER */
header {
    display: flex;
    justify-content: center;
    padding: 20px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav li {
    font-family: "Agbalumo", sans-serif;
    cursor: pointer;
}

/* LOGO */
.logo-topo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-topo img {
    height: 200px;
}

/* CONTAINER */
.container {
    max-width: 700px;
    margin: auto;
    padding: 20px;
}

/* CARDS (GLASS EFFECT) */
.criar-habito,
.seus-habitos,
.progresso {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* INPUT */
.input-area {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.input-area input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
}

.input-area button {
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #fff;
    cursor: pointer;
}

/* HÁBITO */
.habito {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.2);
    transition: 0.2s;
}

.habito:hover {
    transform: scale(1.02);
}

.habito.feito {
    background: rgba(0,255,100,0.3);
}

.habito-acao {
    display: flex;
    gap: 10px;
}

.btn-delete {
    background: #ff4d4d;
    color: #fff;
}

/* BARRA */
.barra-container {
    width: 100%;
    height: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    margin-top: 15px;
}

.barra {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    background: #00ff88;
    transition: width 0.3s ease;
}

/* UTIL */
.hidden {
    display: none;
}


#boas-vindas {
    text-align: center;
    margin-bottom: 10px;
    font-family: "Agbalumo", sans-serif;
}

#btn-reset {
    color: #ffaaaa;
}