/* sora font */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');


a{
  text-decoration: none;
}

.sora-time-font {
  font-family: "Sora", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 7rem;
}

.font-size18px {
  font-size: 1.125rem;
  font-weight: 500;
}

.join{
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: bold;
  font-size: 1rem;
  font-variation-settings:
    "wdth" 100;
  background: none;
  border: none;
  color:#F8F8F8;
  width: 70dvw;
  margin: 0 auto;
  height: 100dvh;
  position: relative;
}


.top_bg{
  width: 100dvw;
  height: 10dvh;
  position: fixed;
  top:0;
  left:0;
  background-color: rgba(0,0,0, 0.28);
  z-index: 80;
}

.todo-form{
    height: 10dvh;
    width: auto;
    margin-bottom: 2.5rem;
    z-index: 200;
    position: relative;
}


.todolist_button{
  position: absolute;
  right: -1rem;
  top:0;
  margin-top: 2dvh;
  width: auto;
  padding: 10px;
  display: flex;
  justify-content: center;
}

.todolist_button>span{
  display: block;
  padding: 0 0.3rem 0 1rem;
  color: #F8F8F8;
  margin-top: 4px;
}

.todolist_button>img{
  position: relative;
  width: 35px;
  padding-left: 0.5rem;
  height: auto;
  object-fit: cover;
}

.todo_wrap{
  position: absolute;
  right: 0.5rem;
  top:4.4rem;
  height: auto;
  padding:1rem 2rem 1.2rem 2rem;
  border-radius: 30px;
  background-color: #F8F8F8;
  color:#000000;
}

.todo_number{
  display: flex;
}

.todo_number>span:nth-child(1){
  flex-grow: 2;
  text-align: right;
}

.todo_number>span:nth-child(2){
  color:#6F94F2;
  font-weight: bold;
  padding: 0 10px;
}

.todolist-input{
  width: 350px;
  padding: 0.9rem 0;
  position: relative;
}

.todolist-text{
  position: relative;
  padding: 10px 2rem;
  margin: 0 auto;
  width: 350px;
  border-radius: 20px;
  border: #6F94F2 3px solid;
}

.todolist-input>button{
  position: absolute;
  right: 10px;
  top:calc(0.9rem + 7px);
  left:auto;
  width: 25px;
  height: 25px;
  border: none;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: 0px;
  background-color: transparent;
  background-image: url(../img/ic--outline-plus.png);
  background-size: 25px auto;
}


.todo-list{
  max-height: 60dvh;
  overflow: scroll;
  -ms-overflow-style: none;
}

.todo-list::-webkit-scrollbar{
   width: 0.6rem;
}

.todo-list::-webkit-scrollbar-track {
    background-color: transparent;
}

.todo-list::-webkit-scrollbar-thumb { 
    border-radius: 1rem;
    border: 0.5rem solid #DCDCDC;
   
}

.todo-list::-webkit-scrollbar-button, .todo-list::-webkit-scrollbar-corner {
    display: none;
}

li{
  list-style: none;
  display: flex;
  padding: 1rem;
  border-bottom: 2px solid #e6e6e6;
}

li:hover{
  background-color: #e6e6e6;
}

li:hover>span{
  color:rgba(0, 0, 0, 0.5);
}

li:last-child{
  border-bottom: none;
}

li>span{
  width: 280px;
  margin-right: 0.6rem;
  flex-grow: 2;
  font-size: 0.875rem;
  word-break: break-all;
}

li>a{
  margin-right: 0.2rem;
  color:#747474;
  cursor: pointer;
  margin: auto 0;
}

.greeting{
  font-weight: 600;
  font-size: 1.5rem;
}

#nowdate{
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.footer_wrap{
  z-index: 50;
  position: absolute;
  bottom: 10dvh;
  width: 100%;
}

.footer_wrap>hr{
  display: block;
  width: 100%;
  border:rgba(255, 255, 255, 0.6) solid 0.98px;
}

.author, .proverb, .translation{
  width: 100%;
  display: block;
  padding: 0.5rem 0 0 0;  
}

.footer_wrap_top{
  display: flex;
  line-height: 50px;
}

.author{
  width: auto;
  padding: 0; 
  color:#DCDCDC;
  flex-grow: 2;
  line-height: 3.3rem;
}

.proverb{
  font-size: 1.5rem;
  margin-top: 0.3rem;
}

.translation{
  color: #DCDCDC;
  font-size: 1.125rem;
}

.footer_wrap_top > img{
  width: 50px;
  height: auto;
  margin-top: -15px;
  margin-left: 1rem;
  position: relative;
}


#weather{
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.9);
}
#weather>span{
  text-align: right;
  line-height: 1.3rem;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9)
}

#weather>span:nth-child(1){
  margin-top: -0.3rem;
}













@media all and (max-width:580px) {

  .todolist_button{
    margin-top: 1rem;
    font-size: 0.875rem;
  }

  .join{
    width: 90dvw;
  }

  .todo_wrap{
      width: 70dvw;
      top:4.2rem;
      padding:1rem 1.3rem 1.2rem 1.5rem;
      border-radius: 1.25rem;
  }

  .todolist-input{
    width: 100%;
    padding: 0.9rem 0;
  }

  .todolist-text{
    padding: 10px 2.5rem 10px 1.5rem;
    width: 100%;
  }

  li>span{
    width: calc(100% - 2.2rem);
    margin-right: 1rem;
    flex-grow: 2;
    font-size: 0.875rem;
  }

  .greeting{
    word-break: break-all;
    width: 100%;
  }

  .sora-time-font {
    margin: 0 auto;
    font-size: 5.5rem;
    display: block;
  }

  .footer_wrap{
    bottom: 5dvh;
  }

  .footer_wrap_top{
    display: block;
    height: 2.5rem;
    line-height: 50px;
  }

  .author{
    font-size: 0.875rem;
    line-height: 2rem;
    height: 2rem;
  }

  .proverb{
    font-size: 0.875rem;
    line-height: 1rem;
    margin-top: 0.3rem;
  }

  .translation{
    padding-top:0.3rem;
    font-size: 0.875rem;
    font-weight: 400;
  }

  #weather, .footer_wrap_top > img{
    position: absolute;
    top:-2.8rem;
    right:0;
  }

  #weather{
    position: absolute;
    right:calc(50px + 0.5rem);
  }

  .footer_wrap_top > img{
    position: absolute;
    left:auto;
    margin-top: -8px;
    margin-left:0;
  }
}


