@import url('https://fonts.googleapis.com/css?family=Roboto');


html {
  font-family: 'Roboto', sans-serif;
  color: #464646;
  -webkit-user-select: none; /* Safari */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently not supported by any browser */
}

body {
  background-color: white;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight color (iOS Safari) */
}

#loggedOutContent {
  display: none;
}




header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  padding: 8px 4px;
  height: 45px;
  font-size: 26px;
  z-index: 1;
}

header div {
  margin: 0 auto;
}

#Alt_under {
  margin-top: 80px;
  margin-bottom: 60px;
}

h2 {
max-height: 10px;
}

.table {
  position: relative;
  border-collapse: separate;
  min-width: 100%;
  padding: 10px;
  table-layout: fixed;
  transition: all 0.5s ease-in-out;
  transform: translateX(0);
  -webkit-overflow-scrolling: touch;
}

td {
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
}



tr {
    box-shadow: 0px 2px 1px rgb(0 0 0 / 12%), 0px -1px 6px rgb(0 0 0 / 25%);
    border-radius: 10px;
    align-items: center;
    display: flex;
    min-height: 60px;
    margin-bottom: 15px;
}


#task {
  position: relative;
  border-collapse: separate;  
  padding-left: 0px;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 20%;
  padding-bottom: 14px;
  padding-top: 14px;
  padding-right: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 10px;
}



#delete {
  border: none;
  background-color: white;
  color: #464646;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 0px;
    }



#move {
    margin-left: 3%;
    }
    
#task_head {
 font-weight:bold;
 font-size: large;
}







input {
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  min-height: 24px;
  margin-bottom: 16px;
  border: none;
  width: 90%;
  padding: 16px;
  outline: none;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  background-color: #fafafa;
}

input:focus {
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

  
.create-new-goal-form {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}

.create-new-goal-form-content {
  background-color: #fefefe;
  margin: 30% auto;
  padding: 20px;
  width: 80%;
  box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.12), 0px -1px 6px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  text-align: center;
}

.NewGoalHead {
  margin: 10px 0px 20px 0px;
}

.Fortryd {
  padding-left: 20px;
  padding-right: 20px;
  height: 48px;
  display: inline-flex;
  position: relative;
  align-items: center;
  border: none;
  background: #F7F2FA;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  border-radius: 26px;
  color: #6750A4;
  font-size: 16px;
}

.Gem {
  padding-left: 20px;
  padding-right: 20px;
  height: 48px;
  display: inline-flex;
  position: relative;
  align-items: center;
  border: none;
  background: #6750A4;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  border-radius: 26px;
  color: #ffffff;
  font-size: 16px;
}



  #knapper button {
    margin: 0 10px;
    margin-bottom: 10px;
  }    







    
  .circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    background-color: #fefefe;
    border: 2px solid #000;
  }
  
  .green-border {
    border-color: #05b905;
  }



    #left {
      left: 20px;
    }
    
  #right {
      right: 20px;
    }
    
    #create {
      left: 50%;
      transform: translate(-50%, 0);
      padding-left: 20px;
      padding-right: 20px;
      height: 48px;
      display: inline-flex;
      position: relative;
      align-items: center;
      border: none;
      background: #6750A4;
      box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);      
      border-radius: 26px;
      color: #ffffff;
      font-size: 16px;
    }
  
  
    nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      background-color: white;
      box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.12);
      padding-bottom: 20px;
      padding-top: 10px;
      box-shadow: 0px -2px 1px rgba(0, 0, 0, 0.12);
    }
    
    
        
    #left, #right {
      position: absolute;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      text-align: center;
      border: 0px;
      background-color: white;
      
  }
  
  
  .actionmenu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    padding-left: 20px;
  }
  
  .actionmenu.open {
    transform: translateY(0%);
  }
  
  .actionmenuitem {
    position: relative;
    padding-left: 10px;
    height: 48px;
    border: none;
    background: none;
    border-radius: 26px;
    color: #464646;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease-in-out;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
  }
  
  .actionmenuitem:hover {
    background-color: #f2f2f2;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }
  
  .overlay.open {
    display: block;
  }
  

  .actionmenuitem i.material-icons {
    margin-right: 10px;
  }
  
  
  







  .profile-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 16px;
    box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease-out;
    transform: translateY(100%);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  
  .profile-popup.open {
    transform: translateY(0%);
  }
  
  .profile-popup h2 {
    font-size: 18px;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 30px;
  }
  
  .profile-popup h1 {
    font-size: 24px;
    margin-top: 10px;
  }
  
  .profile-popup button {
    padding-left: 20px;
    padding-right: 20px;
    height: 48px;
    display: block;
    margin: auto;
    margin-top: 20px;
    border: none;
    background: #6750A4;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
    border-radius: 26px;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  
  #profile-button {
    position: absolute;
    right: 8px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin-left: auto;
  }
  




  

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .fade-in {
    animation-name: fadeIn;
    animation-duration: 500ms;
    animation-fill-mode: both;
  }
  





















  body.dark-mode {
    background-color: #282c35;
    color: #fff;
  }
  
  .dark-mode button {
    background-color: #fff;
    color: #282c35;
  }
  

  .dark-mode header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #282c35;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    padding: 8px 4px;
    height: 45px;
    font-size: 26px;
    z-index: 1;
  }
  


.dark-mode #delete {
  border: none;
  background-color: #282c35;
  color: #ffffff;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 0px;
    }

    .dark-mode #profile-button {
      position: absolute;
      right: 8px;
      border: none;
      background-color: transparent;
      color: #ffffff;
      cursor: pointer;
      margin-left: auto;
    }
    
  
    .dark-mode .circle {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      text-align: center;
      background-color: #282c35;
      border: 2px solid #000;
      color: #ffffff;
    }
    

    .dark-mode input {
      box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12);
      border-radius: 4px;
      min-height: 24px;
      margin-bottom: 16px;
      border: none;
      width: 90%;
      padding: 16px;
      outline: none;
      transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      font-family: 'Roboto', sans-serif;
      font-size: 16px;
      background-color: #282c35;
    }

    .dark-mode .create-new-goal-form-content {
      background-color: #282c35;
      margin: 30% auto;
      padding: 20px;
      width: 80%;
      box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.12), 0px -1px 6px rgba(0, 0, 0, 0.25);
      border-radius: 10px;
      text-align: center;
    }


      
    .dark-mode nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      background-color: #282c35;
      box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.12);
      padding-bottom: 10px;
      padding-top: 10px;
      box-shadow: 0px -2px 1px rgba(0, 0, 0, 0.12);
    }

  .dark-mode  #left #right {
      position: absolute;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      text-align: center;
      border: 0px;
      background-color: #282c35;
      color: #ffffff;  
  }
  

  .dark-mode .Fortryd {
    padding-left: 20px;
    padding-right: 20px;
    height: 48px;
    display: inline-flex;
    position: relative;
    align-items: center;
    border: none;
    background: #F7F2FA;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
    border-radius: 26px;
    color: #6750A4;
    font-size: 16px;
  }
  
  .dark-mode .Gem {
    padding-left: 20px;
    padding-right: 20px;
    height: 48px;
    display: inline-flex;
    position: relative;
    align-items: center;
    border: none;
    background: #6750A4;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
    border-radius: 26px;
    color: #ffffff;
    font-size: 16px;
  }
  








  
    
  .menu-btn {
    cursor: pointer;
    height: 30px;
    position: absolute;
    left: 20px;
    top: 15px;
    width: 35px;
    z-index: 1200;
  }

  
.btn-line {
  background-color: #282c35;
  height: 3px;
  margin-top: 5px;
  transition: all 0.2s ease-in-out;
}



.menu-btn.open .btn-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.open .btn-line:nth-child(2) {
  opacity: 0;
}

.menu-btn.open .btn-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.menu {
  background-color: #fff;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  height: 100%;
  left: -100%;
  overflow: hidden;
  position: fixed;
  top: 0;
  transition: all 0.3s ease-in-out;
  width: 200px;
  z-index: 1100;
}

.menu.open {
  left: 0;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 60px;
  width: 100%;
}

.menu-items li {
  border-bottom: 1px solid #282828;
  display: flex;
  align-items: center;
}

.menu-items li:last-child {
  border-bottom: none;
}

.menu-items a {
  color: #282c35;
  display: flex;
  align-items: center;
  padding: 20px;
  text-decoration: none;
}

.menu-items a i {
  font-size: 24px;
  margin-right: 10px;
}

.menu-items a span {
  font-size: 18px;
}
