@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

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

body {
    font-family: "Roboto", sans-serif;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #c655e9;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Conteúdo principal */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.pomodoro-container {
    background-color: white;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: auto;
    display: flex;
    flex-direction: column;  /* mantém timer em cima e botões abaixo */
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

#timer {
    font-size: 48px;
    font-weight: bold;
    color: #c655e9;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    gap: 10px; /* espaço entre os botões */
    margin-bottom: 20px;
}

button {
    background-color: #c655e9;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #8414a7;
}

footer {
    background-color: #eee;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    color: #777;
}

/* .landing-header {
    text-align: center;
    padding: 60px 20px;
    background-color: #ff6b6b;
    color: white;
} */

.landing-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.landing-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.landing-main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.cabecalho {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 24px;
}

.cabecalho-menu-item {
    color: white;
    text-decoration: none;
}

.cabecalho-menu-item:hover {
    color: rgb(244, 244, 244);
}

.cta-button {
    background-color: #c655e9;
    color: white;
    padding: 16px 32px;
    font-size: 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 30px;
    display: inline-block;
}


.cta-button:hover {
    background-color: #8414a7;
}

.moedas-info {
    position: absolute;
    top: 130px; /* distância a partir do topo */
    left: 20px; /* distância da lateral esquerda */
    font-size: 18px;
}

.conteudo-principal-imagem {
    flex: 1;
    height: auto;
    max-width: 400px;
    border-radius: 5px;
    margin-left: auto;
}

.botao-ambiente {
    display: block;
    margin: 20px auto 0 auto; /* margem superior de 20px e centralização horizontal */
    background-color: #c655e9;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.botao-ambiente:hover {
    background-color: #8414a7;
}

.reset-sessoes {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #e53935;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.reset-sessoes:hover {
  background-color: #c62828;
}

.botao-voltar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 15px 0 10px 20px;
    background-color: #c655e9;
    color: white;
    text-decoration: none;
    border-radius: 50%; /* deixa redondo */
    font-size: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.botao-voltar:hover {
    background-color: #d32f2f;
    transform: scale(1.05); /* pequeno efeito de zoom ao passar o mouse */
}

/* ====== SEÇÃO DE TÓPICOS ====== */
.topicos-estudo {
    margin-left: 50px;
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.topicos-estudo h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Campo para adicionar novo tópico */
.adicionar-topico {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.adicionar-topico input {
    flex: 1;
    max-width: 400px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1em;
}

.adicionar-topico button {
    background-color: #ff6b6b;
    border: none;
    border-radius: 8px;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.adicionar-topico button:hover {
    background-color: #ff4c4c;
}

/* Estilo dos tópicos */
.lista-topicos .topico {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fafafa;
}

.topico-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topico-header h3 {
    margin: 0;
    color: #444;
}

.botoes-topico {
    display: flex;
    gap: 8px;
}

.botoes-topico button {
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
    color: white;
}

.botoes-topico .iniciar {
    background-color: #4caf50;
}

.botoes-topico .concluir {
    background-color: #2196f3;
}

.botoes-topico .excluir {
    background-color: #e53935;
}

.botoes-topico button:hover {
    opacity: 0.85;
}

.horarios {
    font-size: 0.9em;
    color: #555;
    margin-top: 10px;
    line-height: 1.4;
}
