
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');


*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body{
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  background-color: whitesmoke;
}
header{
  background-color: white;
}

button{
  padding: 8px;
  outline: none;
  cursor: pointer;
  border: 1px solid black;
  background-color: whitesmoke;
}

button:hover{
  background-color: rgb(0, 0, 0, 0.1);
}

.container{
  width: 95%;
  margin: auto;
}

.test{
  border: 1px solid black;
  background-color: rgb(122, 132, 127);
  display: flex;
  justify-content: space-between;
  padding-left: 35%;
  padding-right: 5%;
}
.nav{
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: auto;
  padding: 20px 0;
  background-color: white;
}

.nav button{
  font-family: inherit;

}
.create-box{
  width: 380px;
  margin: auto;
  padding: 20px;
  margin-top: 10px;
  border-radius: 5px;
  background-color: rgb(167, 37, 37);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.504);
}
.create-box textarea{
  width: 100%;
  border-radius: 5px;
  font-family: inherit;
  border: 1px solid lightgray;

}
.create-box button{
  width: fit-content;
}
.items{
  
  width: 100%;
  margin: auto;
  
}
.item{
  width: 100%;
  height: 24px;
 
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.504);
}
.item h2{
  font-size: 1rem;
}

.line{
  color: red;
}
@media(max-width:768px){
  .item{
    margin: auto;
  }
  .item{
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
@media(max-width:480px){
  .nav{
    flex-direction: column;
    align-items: center;
  }

  .create-box{
    width: 100%;
    
  }
  .item{
    width: 100%;
  }
}
