@import url('https://fonts.googleapis.com/css2?family=Averia+Gruesa+Libre&family=DM+Serif+Text:ital@0;1&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: "Averia Gruesa Libre", system-ui;
    font-weight: 400;
}
:root{
  --bg: linear-gradient(180deg, rgb(243, 243, 243), rgb(233, 233, 233));
  --bgbutton: black;
  --fontColor: #111;
  --cardcolor: rgb(223, 237, 255);
}
body{
    background: var(--bg);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.cor{
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fontColor);
    background-color: var(--bgbutton);
    border-radius: 100%;
    font-size: 100px;
    padding: 1.5rem;
}
#container{
    width: 90%;
    max-width: 65rem;
    min-height: 40rem;
    height: auto;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.6rem;
}
#lado_esquerdo{
    overflow: hidden;
    border: none;
    background: linear-gradient(rgb(10, 69, 247), rgb(107, 75, 225));
    width: 100%;
    max-width: 30rem;
    height: auto;
    min-height: 10rem;
    border-radius: 8px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 1);
    
}
#lado_direito{
    overflow: hidden;
    border: none;
    background: linear-gradient(rgb(10, 69, 247), rgb(107, 75, 225));
    width: 100%;
    max-width: 30rem;
    height: auto;
    min-height: 10rem;
    border-radius: 8px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 1);

}
#itens{
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: 2rem

}
#tarefa{
    width: 12rem;
    height: 2rem;
    background-color: var(--cardcolor);
    border-radius: 8px;
    border: transparent;
    padding-left: 15px;
}
#tarefa:focus{
    outline: none;
}
#titulo{
    font-size: 2rem;
    color: var(--fontColor);
    display: flex;
    justify-content: center;
    background-color: var(--cardcolor);
    height: auto;
    width: auto;
}
#prioridade{
    border-radius: 5px;
    border: transparent;
    background-color: transparent;
   
}
#prioridade:focus{
    outline: none;
}
#enviar{
   font-size: 3rem;
   background-color: transparent;
    border: transparent;
}
#inserir_data{
    background-color: var(--cardcolor);
    color: var(--fontColor);
    width: 9rem;
    border: transparent;
    border-radius: 5px;
}
#fundo-prioridade{
    width: auto;
    border-radius: 5px;
    background-color: var(--cardcolor);
    color: var(--fontColor);
    text-align: center;
    padding-left: 5px;
}
#cima-esquerdo, #baixo-esquerdo{
    display: flex;
    gap: 1rem;
    align-items: center;
}
h1{
    color: var(--fontColor);
    height: 3rem;
    background-color: var(--cardcolor);
    text-align: center;
    
}
.container-menor{
    overflow-y: auto;
    width: auto;
    height: 27rem;
}
#tarefa_direito{
    
    margin-left: 3rem;
    margin-top: 2rem;
}
.bloco-tarefa{
    width: fit-content;
    min-width: 81%;
    margin-top: 2rem;
    height: 5rem;
    background-color: var(--cardcolor);
    color: var(--fontColor);
    border-radius: 2rem;
    padding: 3px;
}
.prioridade-direito{
    margin-left: 2rem;
}
.conteudo{
    font-size: large;
    font-weight: bold;
    margin-left: 2rem;
}
.apagar{
    float: right;
    margin-right: 2rem;
    background-color: transparent;
    border: none;
}
.data{
    margin-left: 2rem;
}
@media (max-width: 768px){
    #container{
        flex-direction: column;
        gap: 1.5rem;
    }
}
.tema-claro{
    --bg: linear-gradient(180deg, #f4f6f8, rgb(203, 214, 218));
    --bgbutton: black;
    --fontColor: rgb(223, 237, 255);
    --cardcolor: rgb(57, 58, 60);
}
.tema-escuro{
    --bg: linear-gradient(180deg, rgb(46, 46, 46), rgb(56, 55, 55));
    --bgbutton: white;
    --fontColor: rgb(57, 58, 60);
    --cardcolor: rgb(223, 237, 255);
}