* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", "Inter", sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
}

.wrapper {
  width: 60%;
  margin: 25px auto;
  display: flex;
  flex-direction: column;
}

/* navigation bar */
a {
  text-decoration: none;
  color: #222;
  display: inline-block;
  transition: transform 0.3s ease;
}

a:hover {
  transform: scale(1.1);
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  font-size: 1.2rem;
  margin-block: 4rem 8rem;
}

nav img {
  width: 120px;
  max-width: 100%;
  height: auto;
}

/* main section */

.container {
  width: 100%;
  /* background-color: #F8F9FA; */
  background-color: #ffffff;
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.076); */
  margin-bottom: 4rem;
  border: 1px solid #9b9b9b;
}

.todoTitle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

/* form */

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 2rem;
  justify-content: start;
}

form input {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
  border: 2.5px solid #ccc;
  font-size: 1rem;
  border-radius: 10px;
}

form label {
  font-weight: 700;
  font-size: 1.1rem;
}

form button {
  width: 100%;
  padding: 1rem;
  background-color: #4b4b4b;
  color: #fff;
  border-radius: 10px;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
form button:hover {
  background-color: #777777;
}

.form-group {
  width: 100%;
}

/* todo list */

.itemList {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#completedList .item .inner h3 {
  text-decoration: line-through;
}

.checkButton {
  width: 30px;
  height: 30px;
  background: url("/assets/check-button.svg") no-repeat center center;
  background-size: contain;
  border: none;
  transition: filter 0.3s ease;
}
.removeButton {
  width: 30px;
  height: 30px;
  background: url("/assets/remove-button.svg") no-repeat center center;
  background-size: contain;
  border: none;
  transition: filter 0.3s ease;
  margin-left: 0.5rem;
}
.undoButton {
  width: 30px;
  height: 30px;
  background: url("/assets/undo-button.svg") no-repeat center center;
  background-size: contain;
  border: none;
  transition: filter 0.3s ease;
}

.checkButton:hover,
.removeButton:hover,
.undoButton:hover {
  filter: brightness(2);
  cursor: pointer;
}

.inner {
  margin-right: auto;
}

.item {
  margin-top: 0.6rem;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.teamProfile {
  display: flex;
  flex-direction: column;
  gap: 60px;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #9b9b9b;
  border-radius: 10px;
  padding: 5% 0;
  margin-bottom: 15%;
}

.teamNameText {
  font-weight: 700;
  font-size: 18px;
}

.teamTitleText {
  font-weight: 300;
  font-size: 14px;
}

.activeNav {
  font-weight: 600;
  font-style: italic;
  transition: all 0.3s;
}

.section {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 25px;
}

.section-title {
  align-self: stretch;
  height: 36.68px;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  font-size: 25px;
  font-weight: 700;
}

.section-text {
  align-self: stretch;
  text-align: justify;
  font-size: 20px;
  font-weight: 400;
  word-wrap: break-word;
}

.bold {
  font-weight: 700;
}


@media (max-width: 600px ) {
  .teamProfile{
    padding: 10%;
  }
  .wrapper{
    width: 90%;
  }
  nav{
    gap: 3rem;
  }
}
