@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');

*{
    font-family: "Roboto", sans-serif;
    margin: 0px;
    padding: 0px;
}
header{
    background-color: #001313;
    box-shadow: 2px 2px 2px #000000a1;

}
h1{
    font-family: "acme", sans-serif;
    text-align: center;
    padding: 10px;
    text-shadow: 1px 2px 1px #000000d3;
}
#dataAtual{
    font-family: "acme", sans-serif;
    text-align: center;
    font-size: 20px;
    color: #faebd7c7;
    padding: 2px;
    text-shadow: 2px 2px 1px #000000b7;
    transition-duration: 0.5s;
}
body, html{
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #002020;
    color: aliceblue;
    background-image: url(imagens/fundo\ retrato.png);
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}

#buttonCalendar {
    display: block;
    position: fixed;
    background-color: #001313;
    box-shadow: 1px 2px 2px #0000004f;
    border-radius: 50%;
    top: 12px;
    right: 20px;
    cursor: pointer;
    padding: 8px;

}
#buttonCalendar:hover{
    opacity: 80%;
    box-shadow: 1px 1px 1px black;
}
.conteiner {
    display: block;
    position: relative;
    background-color: #001313;
    box-shadow: 2px 2px 4px #0000007e;
    border: 0.5px solid #002020;
    border-radius: 20px;
    width: 80vw;
    height: 72vh;
    padding: 10px 20px;
    margin: 50px auto 0px;
    transition-duration: 0.5s;
}
#cabecalhoAdd{
    display: flex;
    justify-content: center;
    
}
.input{
    border: none;
    border-radius: 5px;
    padding-left: 10px;
    margin: 10px;
    width: 60vw;
    height: 30px;
    background-color: #002020;
    box-shadow: 1px 2px 2px #0000004f;
    color: aliceblue;

}
.input:focus{
    outline: none;
}
.button-add {
    box-shadow: 1px 2px 2px #0000004f;
    background-color: #002020;
    color: aliceblue;
    padding: 6px 10px;
    border: none;
    border-radius: 5px;
    margin: 10px;
    height: 30px;
    float: right;
    cursor: pointer;

}
.button-add:hover{
    opacity: 0.8;
}
.button-add:active{
    opacity: 0.6;
}

.lista{
    list-style: none;
    width: 95%;
}
.itens{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background-color: #8d3f00;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 3px 4px 5px #0000004f;
    height: 30px;
    transition-duration: 1s;
}
.itens:hover{
    cursor: pointer;
}
#tarefas{
    display: block;
    overflow-y: scroll;
    height: 56vh;
    margin: 20px 10px;
}

img{
    height: 20px;
}
img:hover{
    background-color: #000000;
    border-radius: 50%;
    height: 21px;
    opacity: 0.5;
}

.done {
    background-color: #002020;
    text-decoration: line-through;
    transition: 1s;
}
/* Calendário */
.calendar {
    display: none;
    position: fixed;
    top: 65px;
    right: 10px; 
    width: 400px;
    height: 195px;
    background-color: #001313;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    font-size: 12px;
    opacity: 90%;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #001313;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.596);
    color: white;
}
.calendar-header .nav {
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}
.calendar-body {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}

.day-of-week {
    width: 14%;
    text-align: center;
    margin-bottom: 5px;
}

.days {
    display: flex;
    flex-wrap: wrap;
}

.days .day {
    width: 14%;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 4px;
}

.days .day:hover {
    background-color: #8d3f00;
    color: white;
    transition-duration: 0.4s;
}

.days .day.inactive {
    color: #cccccc5d;
}


footer{
    display: block;
    position: fixed;
    background-color: #00131391;
    color: rgba(240, 248, 255, 0.589);
    width: 100vw;
    bottom: 0px;
    padding: 6px;
    margin: 0px;
    font-size: 10px;
    text-align: center;
}
a {
    text-decoration: none;
    color: rgba(240, 248, 255, 0.589);
}
a:hover{
    text-decoration: underline;
    color: rgba(240, 248, 255, 0.781);
    ;
}

/*ROLAGEM VERTICAL*/
::-webkit-scrollbar {
    width: 12px; /* Largura da barra de rolagem */
  }
  
  /*trilho*/
  ::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
  }
  
  /*polegar*/
  ::-webkit-scrollbar-thumb {
    background: #8d3f00; 
    border-radius: 10px;
    
  }
  
  /* Cor do polegar ao passar o mouse */
  ::-webkit-scrollbar-thumb:hover {
    background: #8d3f00b7;
    cursor: pointer;
  }


/*telas médias*/
@media (min-width: 768px) and (max-width: 1023px) {
    .calendar{
        display: none;
        
    }
    .conteiner {
        width: 80vw;
    }
    .input {
        width: 40vw;
    }

}
/*telas grandes*/
@media (min-width: 1024px) {
    body, html {
        background-image: url(imagens/fundo\ paisagem.png);
    }
    .calendar{
        display: none;
        
    }
    .conteiner {
        width: 60vw;
    }
    .input {
        width: 30vw;
    }
}