
:root{
  padding: 0;
  margin: 0;
  --agua: #00B3BB;
  --light-aqua: #00E6AA;
  --dark-aqua: #0E9AA1;
  --agua-gradient: linear-gradient(90deg, var(--agua), var(--light-aqua));

  --background: linear-gradient(90deg, var(--agua), var(--light-aqua));

  font-family: 'Poppins', sans-serif;
}

*,
*::before,
*::after{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

.body{

}

.content{
  /*Keeps footer at bottom*/
  min-height: 100vh; 
  display: flex;
  flex-direction: column;
}

a{
  text-decoration: none;
  color: inherit;
}

.black-to-white-filter{
  filter: invert(100%) sepia(1%) saturate(2554%) hue-rotate(180deg) brightness(120%) contrast(100%);
}
/*Header Section*/
.header{
  display: flex;
  align-items: center;

  background: var(--background);

  height: 75px;
  gap: 3rem;
  padding: 30px;
}

.title{
  font-size: 2rem;
  color: white;
}

.logo{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.header-icon{
  width: auto;
  height: 2rem;
}

#menu-button{
  border-radius: 3px;
  background: var(--agua);
  cursor: pointer;
}

/*Main section*/
.main{
  display: flex;
  justify-content: center;
  flex: 1;
}
/*Nav section in Main*/
.nav{
  display: flex;
  flex-direction: column;
  
  width: 0px;
  height: 100vh;

  position: static;

  padding: 30px;
  background-color: whitesmoke;

  transition: 0.3s ease-in-out;

  transform: translateX(-100%);
}

.nav.toggled{
  transform: translateX(0%);
  width: 300px;
}
.nav-content-container{
  /*
  flex: 1;
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  */
}

.timeline-container{
  /*Don't display until I implement its function*/
  display: none;
  flex-direction: column;
  flex: 1;

  gap: 20px;
  margin-top: 20px;
}

.nav-button{
  display: flex;
  justify-content: start;
  align-items: center;

  border-radius: 3px;
  background-color: white;

  cursor: pointer;
}
.nav-icon,
.add-icon{
  height: 40px;
  width: auto;
  cursor: pointer;
}

.projects-container{
  flex: 1;
  display: flex;
  flex-direction: column;

  overflow-y: auto;
  gap: 20px;
}

.projects-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  padding: 10px;
  border-bottom: 2px solid;
}

.projects{
  display: flex;
  flex-direction: column;
  flex: 1;
  
  gap: 20px;
}

.projects-list{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.project-tab{
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;

  border-radius: 3px;
  background-color: white;
  
  cursor: pointer;
}

h2{
  overflow: hidden;
}
/*New Project Form*/

#new-project-form{
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;


  background-color: white;
  border-radius: 3px;
  
  border: 2px solid black;

  cursor: pointer;
}


.project-form{
  display: none;
  flex-direction: column;
  gap: 20px;
}
.project-input{
  flex: 1;
  height: 100%;
  outline: none;
  padding-left: 1rem;
}

.project-buttons-container{
  display: flex;
  justify-content: space-between;
}

.project-button,
.task-button{
  text-align: center;
  width: 80px;
  height: 40px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 3px;
}

.add{
  background-color: #aaffaa;
  border-color: #99dd99;
}

.cancel{
  background-color: #ffbebe;
  border-color: #eeadad;
}

.active-project{
  background-color: var(--light-aqua);
}
/*Tasks Section*/

.tasks-container{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  gap: 20px;
}

.create-task-container{
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 10px;
  
}

.create-task-form{
  display: none;
  flex-direction: column;
  gap: 15px;
  border-radius: 3px;
  border: 2px solid;
  background-color: whitesmoke;

  position: absolute;
}

.create-task-buttons{
  display: flex;
  justify-content: space-between;
  padding: 10px;
  margin-top: -10px;
  gap: 20px;
}

.add-task-header{
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  background: var(--light-aqua);
  padding: 10px;
}
input,
select,
label{
  padding: 5px;
  font-size: 1rem;
  font-weight: bold;
  width: 100%;
}

.tasks-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid lightgray;
  width: 75%;
}

.tasks{
  display: flex;
  flex-direction: column;
  width: 75%;
  border-radius: 3px;
}

.task:hover{
  background-color: whitesmoke;
}

.task{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  font-weight: bold;
  font-size: 1.3rem;
  gap: 2.9rem;
  transition: 0.3s ease-in-out;
}

.task-left, 
.task-right{
  display: flex;
  align-items: center;
  gap: 5px;
}


/*Task overflow to next line*/
@media (max-width: 900px) {
  .task{
    flex-direction: column;
    font-size: 1.2rem;
    align-items: start;
  }
}



.icon{
  width: 40px;
  height: auto;
}


/*Task Priority Coloring*/
.priority1{
  border-left: 2px solid red;
}

.priority2{
  border-left: 2px solid orange;
}

.priority3{
  border-left: 2px solid green;
}

/*Footer Section*/
.footer{
  margin-top: auto;

  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;

  font-family: inherit;
  font-size: 1.2rem;

  color: white;
  background: var(--background);

}

#github_link{
  display: flex;
  justify-content: center;
  align-items: center;
}

/*Github icon*/
#github-icon{
  width: 25px;
}